What is the start and end dates of all policies?
select start_date, end_date from policies
For the policies of "Dayana Robel"?
select start_date, end_date from policies as t1 join customers as t2 on t1.customer_id = t2.customer_id where t2.customer_details = "Dayana Robel"
What about the policy type code instead.
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"