MySQL根据某字段查询近12小时的数据

record_time > DATE_SUB( NOW(), INTERVAL 12 HOUR )
record_time是时间字段;

posted @ 2022-04-07 08:54  丙炎  阅读(423)  评论(0)    收藏  举报