摘要: 有张表50W条数据,今天写了个JOB每隔10秒对其进行分组查询并获取每组的第一条数据。 select ( select KVARH_Total from e_monitorhours where MobusId=a.MobusId order by Id DESC limit 1 ) as KVAR 阅读全文
posted @ 2020-05-11 20:16 屌丝大叔的笔记 阅读(2929) 评论(0) 推荐(0) 编辑