What is the product category code for the product named "ginger"?
select product_category_code from products where product_name = "ginger"
Show the product characteristic value instead.
select t2.product_characteristic_value from products as t1 join product_characteristics as t2 on t1.product_id = t2.product_id where t1.product_name = "ginger"
How about the one with product named "sesame"
select t2.product_characteristic_value from products as t1 join product_characteristics as t2 on t1.product_id = t2.product_id where t1.product_name = "sesame"
Give its characteristic names.
select t3.characteristic_name from products as t1 join product_characteristics as t2 on t1.product_id = t2.product_id join characteristics as t3 on t2.characteristic_id = t3.characteristic_id where t1.product_name = "sesame"