Database: customers_and_orders
Question: How many customers have an order?
SQL:
SELECT count(DISTINCT customer_id) FROM Customer_orders