blob: 692b8aca56f54d4f914d2b1523e41b5c6e9d49b2 [file] [log] [blame]
select promotion.promotion_name as c0, product_class.product_family as c1 from promotion as promotion, sales_fact_1997 as sales_fact_1997, product as product, product_class as product_class where sales_fact_1997.promotion_id = promotion.promotion_id and product.product_class_id = product_class.product_class_id and sales_fact_1997.product_id = product.product_id group by promotion.promotion_name, product_class.product_family order by promotion.promotion_name ASC NULLS LAST, product_class.product_family ASC NULLS LAST;