haitao · 2005-10-19 03:11:58 · 阅读: 644 select max( isnull(Customid, -1) ) from custominfo 不过max里遇到null不会导致结果是null吧,加是遇到null会导致结果是null