To get the number of orders per customer, you need to join the customers and orders tables on the customer_id, count the order_id, and group the results by customer_name. The correct SQL syntax, as outlined in Databricks SQL documentation, is to use GROUP BY on the selected customer field and use COUNT for aggregation. Only option A does this correctly, while the other options contain syntax errors or incorrect field names.