2014-01-18 66 views

回答

0

使用GROUP BY

SELECT col1,col2 FROM TABLE 
GROUP BY col1,col2 
0

使用distinct

select distinct 
    col1,col2 
from 
    tbl 
; 

使用group by

select 
    col1,col2 
from 
    tbl 
group by col1, col2 
; 
相關問題