2017-08-18 68 views

回答

1

集團被列你想成爲獨一無二的,使用聚合函數獲取其他列的最大值。

select col1, max(col2), max(col3) 
from your_table 
group by col1 
相關問題