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