摘要: 1. 多表关联统计,(rollup在每个分组下都会有统计汇总) SELECT quxian, SUM(cnt) cnt,type from ( select xiangongsi quxian,count(taiqubianma) cnt, '1' type from ypgt_wudiyayong 阅读全文
posted @ 2020-08-03 22:39 VVII 阅读(2212) 评论(0) 推荐(0)