blob: d4865da1b9410d12ab312fe7f518f21db8703da7 [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 = 'Mexico' group by store.store_country, store.store_state order by store.store_country ASC NULLS LAST, store.store_state ASC NULLS LAST;