日期:2014-05-18 浏览次数:20565 次
select count(distinct Name) from test
------解决方案--------------------
select * from test a whrere not exists(select 1 from test where name=a.name and job>a.job)
------解决方案--------------------
select count(distinct Name) from test
------解决方案--------------------
select count(distinct name ) from tb