Mysql查询当天第一天记录

select bm.MarketCode from bills_market bm where bm.create_time >= date(now()) and bm.create_time < DATE_ADD(date(now()),INTERVAL 1 DAY) ORDER BY bm.MarketCode DESC LIMIT 1

没有Top 1

posted @ 2020-05-09 14:00  一只java小菜鸡  阅读(388)  评论(0编辑  收藏  举报