mysql 删除重复记录 DELETE FROM dc_company_ex WHERE id NOT IN( select min(id) from dc_company group by stock_code )