CREATE TABLE customers (customer_id VARCHAR(255), customer_name VARCHAR(255)); CREATE TABLE customers_policies (date_opened VARCHAR(255), date_closed VARCHAR(255), customer_id VARCHAR(255))
Retrieve the open and close dates of all the policies associated with the customer whose name contains "Diana"
    
SQL: SELECT t2.date_opened, t2.date_closed FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name LIKE "%Diana%"