PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 17 Code project : Apartments
print(
"""
select *
from Apartments
where status = 'Not rented'
and price > (select AVG(price) from Apartments)
order by price
"""
)
# Keep learning & happy coding :D
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run