blob: 2a5aca24a8a73f12220373ce058ffeaa5a67a4fc [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')) and (customer.marital_status = 'M') group by customer.gender, customer.marital_status order by customer.gender ASC NULLS LAST, customer.marital_status ASC NULLS LAST;