select
id,
time,
mrsp,
marks
from mh_otc_bourse_trendgram
where date(time) between date_sub(curdate(), INTERVAL 6 DAY) and curdate()
mysql 查询最近七天的数据,生产趋势图
于 2023-02-18 19:40:26 首次发布
select
id,
time,
mrsp,
marks
from mh_otc_bourse_trendgram
where date(time) between date_sub(curdate(), INTERVAL 6 DAY) and curdate()