+ 2

Write a query to output the apartments whose prices are greater than the average and are also not rented, sorted by the 'Price'

G https://www.sololearn.com/discuss/2768101/?ref=app

29th Apr 2021, 2:17 AM
Ashraf Ali Qhtan Hammam
Ashraf Ali Qhtan Hammam - avatar
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
30th May 2021, 3:15 PM
Quadri Lasisi
Quadri Lasisi - avatar
+ 2
SELECT * FROM Apartments WHERE price > 750 AND status = 'Not rented' ORDER BY price
15th Sep 2022, 6:45 AM
MOHD QASIM
MOHD QASIM - avatar