CREATE TABLE problems (product_id VARCHAR2)
CREATE TABLE product (product_id VARCHAR2, product_name VARCHAR2)

How many problems are there for product voluptatem?
SELECT COUNT(*) FROM product AS T1 JOIN problems AS T2 ON T1.product_id = T2.product_id WHERE T1.product_name = "voluptatem"
SELECT COUNT(*) FROM "product" "T1" JOIN "problems" "T2" ON "T1"."product_id" = "T2"."product_id" WHERE "T1"."product_name" = "voluptatem"