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 counts the number of orders placed by customer 1001?
-1
Community EvaluationsNo one has reviewed this question yet, be the first!
12
Write a SQL query to insert data into a table10
Write a SQL query to retrieve the products with a price less than 1000 and sort the results in descending order of price.15
Select only distinct values in a column using SQL12
Which SQL keyword is used to sort the result of a SELECT statement?15
Update a column in an SQL table10
Write the SQL query to delete a column from a table33
Write a SQL query to retrieve the list of employees with a salary greater than 5100.