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