Question from the SQL - Fundamentals test

Write a SQL query to count the number of orders placed by customer 1001.

Archived

Given the following 'orders' table:

| order_id | customer_id | order_date |
|----------|-------------|------------|
| 1        | 1001        | 2022-01-10 |
| 2        | 1002        | 2022-01-11 |
| 3        | 1001        | 2022-01-12 |

Which SQL query/queries count(s) the number of orders placed by customer 1001?

Author: ManuvaiStatus: Archived(New question!)(Update)Question passed 592 times
0
Community EvaluationsNo one has reviewed this question yet, be the first!