Archived
Given the following 'sales' table:
| sale_id | product_id | sale_date | quantity |
|---------|------------|------------|----------|
| 1 | 1 | 2023-01-01 | 5 |
| 2 | 2 | 2023-01-02 | 8 |
| 3 | 1 | 2023-01-03 | 3 |
Which SQL query retrieves the total sales quantity for each product?
2
Community EvaluationsNo one has reviewed this question yet, be the first!
12
Write a SQL query to insert data into a table15
Update a column in an SQL table33
Write a SQL query to retrieve the list of employees with a salary greater than 5100.12
Which SQL keyword is used to sort the result of a SELECT statement?15
Select only distinct values in a column using SQL10
Write the SQL query to delete a column from 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.