📜  mysql 1 小时前 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:10.450000             🧑  作者: Mango

代码示例1
DELETE FROM wp_posts
 WHERE post_date < DATE_SUB(NOW(), INTERVAL 1 HOUR)
   AND post_status = 'publish'