+ 2
Write a query to output the apartments whose prices are greater than the average and are also not rented, sorted by the 'Price'
2 ответов
- 2
Hi Ashraf Ali Qhtan Hammam
This looks like an SQL problem.
I will help you out
SELECT * FROM Apartments
WHERE price > 750
AND status = 'Not rented'
ORDER BY price
+ 2
SELECT * FROM Apartments
WHERE price > 750
AND status = 'Not rented'
ORDER BY price