mysql删除id最小的条目

DELETE FROM 表1 WHERE Mid in (select Mid from (SELECT Min(Mid) Mid FROM 表1 c1) t1);

posted on 2017-03-10 11:43  与非朋仔  阅读(1057)  评论(0编辑  收藏  举报

导航