比如现在七点半,数据库更新了七点的,我就要取到七点的数。这个sql语句怎么写
select * from table where ccoolldatetime = (select max(ccoolldatetime) from table)
做个插入触发器 实时更新数据呢?
你这个需要定时刷新报表才可以
JS实现定时刷新报表-https://help.fanruan.com/finereport/doc-view-1202.html
JS实现决策报表定时刷新-https://help.fanruan.com/finereport/doc-view-1457.html