CREATE TABLE customers (customer_name VARCHAR2, customer_id VARCHAR2)
CREATE TABLE customer_address_history (date_from VARCHAR2, date_to VARCHAR2, customer_id VARCHAR2, address_id VARCHAR2)
CREATE TABLE addresses (city VARCHAR2, address_id VARCHAR2)

Show the customer name, customer address city, date from, and date to for each customer address history.
SELECT T2.customer_name, T3.city, T1.date_from, T1.date_to FROM customer_address_history AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id JOIN addresses AS T3 ON T1.address_id = T3.address_id
SELECT "T2"."customer_name", "T3"."city", "T1"."date_from", "T1"."date_to" FROM "customer_address_history" "T1" JOIN "customers" "T2" ON "T1"."customer_id" = "T2"."customer_id" JOIN "addresses" "T3" ON "T1"."address_id" = "T3"."address_id"