select * from sys_member where create_time >=(NOW() - interval 24 hour)
sql查询24小时内的数据
原文:https://www.cnblogs.com/suruozhong/p/11731356.html