blob: cab17cb73a07ab419b1f12022d57bfc3817be70d [file] [log] [blame]
select store.store_country as c0, store.store_state as c1 from store as store, inventory_fact_1997 as inventory_fact_1997, warehouse as warehouse where inventory_fact_1997.store_id = store.store_id and inventory_fact_1997.warehouse_id = warehouse.warehouse_id and warehouse.warehouse_country = 'Canada' group by store.store_country, store.store_state order by store.store_country ASC NULLS LAST, store.store_state ASC NULLS LAST;