DISTINCT can also be used with COUNT and other aggregates: postgres=# select col1,count(distinct(col1)) from test group by col1; ...
確定! 回上一頁