select customer.marital_status as c0, customer.gender as c1 from customer as customer, sales_fact_1997 as sales_fact_1997, store as store where sales_fact_1997.customer_id = customer.customer_id and sales_fact_1997.store_id = store.store_id and store.store_name = 'Store 19' group by customer.marital_status, customer.gender order by customer.marital_status ASC NULLS LAST, customer.gender ASC NULLS LAST; |