Aggregate functions are not allowed
select id, city, address, price, status
from Apartments
where price > avg(price) and status = "Not rented"
order by price
Объясните пожалуйста почему выводится ошибка
select id, city, address, price, status
from Apartments
where price > avg(price) and status = "Not rented"
order by price
Объясните пожалуйста почему выводится ошибка