blob: 1120f0879daf0690ba3d3d31e5a80f90a8f4fcc2 [file] [log] [blame]
select tt.gbyi, sum(tt.id), avg(tt.fl), count(tt.nul) from (select t.id, t.gbyi, t.fl, t.nul from `complex.json` t where t.nul is not null) tt group by tt.gbyi order by tt.gbyi;