SELECT customers_firstname, customers_lastname,
COUNT(orders_id) AS Number
FROM customers LEFT JOIN orders AS o
USING (customers_id) GROUP BY (o.customers_id)
ORDER BY Number DESC LIMIT 5;
SELECT customers_firstname, customers_lastname,
COUNT(orders_id) AS Number
FROM customers LEFT JOIN orders AS o
USING (customers_id) GROUP BY (o.customers_id)
ORDER BY Number DESC LIMIT 5;