分组统计 1. groups sets(field1,field2,field3, (field1,field2)) 样例如下: select dt,tenantCode,nvl(platform,'all') as platform, ) as uv_one from( select tenantCode,platform,dt,deviceId,count(deviceId) as pv from dw_stg.tmp_tg_user_behavior_day a group by tena…