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