sql 去重 查找並刪除重複記錄而且只留一條記錄

1.支持單條件或者多條件,查找重複記錄,語句:sql select * from stock a where (a.state,a.org_id,a.material_id) in (select state,org_id,material_id from stock where state = 1 group by state,org_id ,material_id having c
相關文章
相關標籤/搜索