What are the names of the customers and staff members?
SELECT customer_details FROM customers UNION SELECT staff_details FROM staff
names of the customers and staff members refers to UNION operation between customer_details from customers table and staff_details from staff table;