摘要: CREATE TABLE temp2 AS SELECT MAX(id) id FROM sys_oper_procenter GROUP BY pro_title 创建一个temp2的表 根据标题分组,取最大的id 将id存入temp2表中 DELETE FROM sys_oper_procenter WHERE id NOT IN(SELECT id FROM temp2) ... 阅读全文
posted @ 2017-09-25 13:32 破晓e 阅读(281) 评论(0) 推荐(0) 编辑