blob: cfff4b63da52fe7d08f96bc307ebc439f609d33d [file] [log] [blame]
select customer.gender as c0, customer.marital_status as c1 from customer as customer, sales_fact_1997 as sales_fact_1997 where sales_fact_1997.customer_id = customer.customer_id and (customer.gender in ('F', 'M')) group by customer.gender, customer.marital_status order by customer.gender ASC NULLS LAST, customer.marital_status ASC NULLS LAST;