Question from the SQL - Fundamentals test

Write a SQL query to retrieve the products with a price less than 1000 and sort the results in descending order of price.

Easy

Given the following 'products' table:

| product_id | name     | price |
|------------|----------|-------|
| 1          | Laptop   | 1200  |
| 2          | Tablet   | 600   |
| 3          | Monitor  | 300   |

Which SQL query retrieves the products with a price less than 1000 and sorts the results in descending order of price?

Author: Vincent CotroStatus: PublishedQuestion passed 2016 times
Edit
10
Community EvaluationsNo one has reviewed this question yet, be the first!