Question: What are the phone numbers of all customers and suppliers.
Schema: create table suppliers (customer_phone varchar, supplier_phone varchar, PRIMARY KEY (customer_phone)); create table customers (customer_phone varchar, supplier_phone varchar, PRIMARY KEY (customer_phone))
SQL: select customer_phone from customers union select supplier_phone from suppliers