sql去重複數據

Oracle oracle數據庫使用group by:select中字段必須是group by 後面出現的字段或者是其它字段的聚合函數(Min()、Max()、Sum()、Avg()等函數),即select中的字段不能夠單獨出現,必須出如今group語句中或者在組函數中。mysql delete from t_test t1 where t1.id in ( select min(t2.id)
相關文章
相關標籤/搜索