text: CREATE TABLE customers (customer_details VARCHAR) -- List the names of all the customers in alphabetical order. SELECT customer_details FROM customers ORDER BY customer_details CREATE TABLE customers (customer_id VARCHAR, customer_details VARCHAR); CREATE TABLE policies (customer_id 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" CREATE TABLE policies (policy_type_code VARCHAR) -- Which type of policy is most frequently used? Give me the policy type code. SELECT policy_type_code FROM policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1 CREATE TABLE policies (policy_type_code VARCHAR) -- Find all the policy types that are used by more than 2 customers. SELECT policy_type_code FROM policies GROUP BY policy_type_code HAVING COUNT(*) > 2 CREATE TABLE claim_headers (amount_piad INTEGER) -- Find the total and average amount paid in claim headers. SELECT SUM(amount_piad), AVG(amount_piad) FROM claim_headers CREATE TABLE claim_headers (amount_claimed INTEGER, claim_header_id VARCHAR); CREATE TABLE claims_documents (claim_id VARCHAR, created_date VARCHAR); CREATE TABLE claims_documents (created_date VARCHAR) -- Find the total amount claimed in the most recently created document. SELECT SUM(t1.amount_claimed) FROM claim_headers AS t1 JOIN claims_documents AS t2 ON t1.claim_header_id = t2.claim_id WHERE t2.created_date = (SELECT created_date FROM claims_documents ORDER BY created_date LIMIT 1)