CREATE TABLE policies (customer_id VARCHAR)
CREATE TABLE customers (customer_id VARCHAR, customer_details VARCHAR)

Find all the policy type codes associated with the customer 'Dayana Robel
SELECT policy_type_code FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t2.customer_details = "Dayana Robel"
SELECT "policy_type_code" FROM "policies" AS "t1" JOIN "customers" AS "t2" ON "Dayana Robel" = "t2"."customer_details" AND "t1"."customer_id" = "t2"."customer_id"