DELETE FROM Comment WHERE CommentID NOT IN (
SELECT MAX(CommentID) FROM Comment  GROUP BY CommentContent, CommentDateTime
)

CommentContent, CommentDateTime 为重复的列

相关文章:

  • 2022-01-01
  • 2022-03-06
  • 2022-12-23
  • 2021-10-04
  • 2021-08-15
  • 2021-08-04
  • 2022-12-23
猜你喜欢
  • 2022-01-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-09-24
相关资源
相似解决方案