select * from u_md_dm.s_temp_import_d; 1、按照年和姓名来统计每个人每年的签到次数 select k.dates,sum(case when k.pro_d_name='张三' then k.times else 0 end) 张三,sum(case when Read More
posted @ 2017-08-07 14:49 BruceDu Views(1959) Comments(0) Diggs(0) Edit