What products are available at store named "Miramichi"?
create table store_product (product_id varchar, store_id varchar, PRIMARY KEY (product_id)); create table store (store_id varchar, store_name varchar, PRIMARY KEY (store_id)); create table product (product varchar, product_id varchar, PRIMARY KEY (product))
select t1.product from product as t1 join store_product as t2 on t1.product_id = t2.product_id join store as t3 on t2.store_id = t3.store_id where t3.store_name = "miramichi"