distinct group by

 

select num from test_test group by num; 比 select distinct(num) from test_test;  效率高

 

select count(distinct (num)from test_test

posted @ 2013-12-02 09:26  jason&li  阅读(154)  评论(0编辑  收藏  举报