select * from 表名 where create_time BETWEEN UNIX_TIMESTAMP('2018-11-01 00:00:00') AND UNIX_TIMESTAMP(NOW()) select