blob: 43b0eafe9e7a7a4ea8b512d4d4a4327d2f20d911 [file] [log] [blame]
select distinct a1 from ( select SUM(case when c_bigint is null then 0 else 1 end) from alltypes_with_nulls group by c_date order by SUM(case when c_bigint is null then 0 else 1 end)) as dt(a1);