blob: f4bd69e30828455621af6273d34864058b888803 [file] [log] [blame]
select customer.country as c0, customer.state_province as c1, customer.city as c2 from customer as customer, sales_fact_1997 as sales_fact_1997, promotion as promotion where sales_fact_1997.customer_id = customer.customer_id and sales_fact_1997.promotion_id = promotion.promotion_id and promotion.promotion_name = 'Bag Stuffers' and (customer.country = 'USA') group by customer.country, customer.state_province, customer.city order by customer.country ASC NULLS LAST, customer.state_province ASC NULLS LAST, customer.city ASC NULLS LAST;