Write a query to output the apartments whose prices are greater than the average and are also not rented, sorted by the 'Price' | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 3

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

I'm finding it difficult to execute this task! Pls I need hint on this

27th Apr 2021, 5:46 PM
Kebiru Idakwo
Kebiru Idakwo - avatar
1 Réponse
0
So the secret is in subqueries. You will need to compare the price with the average of price.
28th Apr 2021, 6:08 PM
Kail Galestorm
Kail Galestorm - avatar