Question: What is zip code of customer with first name as Carole and last name as Bernhard?
Schema: create table addresses (zip_postcode varchar, address_id varchar, PRIMARY KEY (zip_postcode)); create table customers (customer_address_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (customer_address_id))
SQL: select t2.zip_postcode from customers as t1 join addresses as t2 on t1.customer_address_id = t2.address_id where t1.first_name = "carole" and t1.last_name = "bernhard"