How many characteristics does the product named "sesame" have?
create table product_characteristics (product_id varchar, PRIMARY KEY (product_id)); create table products (product_id varchar, product_name varchar, PRIMARY KEY (product_id))
select count(*) from products as t1 join product_characteristics as t2 on t1.product_id = t2.product_id where t1.product_name = "sesame"