美文网首页
无标题文章

无标题文章

作者: onesteng | 来源:发表于2015-06-30 17:13 被阅读0次

    DELETE
    FROM test3
    WHERE id NOT IN
    (SELECT a.id
    FROM
    (SELECT min(id) AS id
    FROM test3
    GROUP BY book_id,
    line_num HAVING count(*) > 1) a)

    相关文章

      网友评论

          本文标题:无标题文章

          本文链接:https://www.haomeiwen.com/subject/yvoeqttx.html