есть запрос:
$sql_query = "SELECT `Rooms`,`street`,`HomeNumber`,`Floor`, count(*) as counter FROM `realty` where `NewHouse`!=1 group by `Rooms`,`street`,`HomeNumber`,`Floor` having count(*)>1";
в базе поле Rooms имеет значения от 0 до 9, как модифицировать запрос, чтобы значения 0 и 9 были равны?
туплю![:хммм:](https://forum.ngs23.ru/static/img/graemlins/frown.gif)
$sql_query = "SELECT `Rooms`,`street`,`HomeNumber`,`Floor`, count(*) as counter FROM `realty` where `NewHouse`!=1 group by `Rooms`,`street`,`HomeNumber`,`Floor` having count(*)>1";
в базе поле Rooms имеет значения от 0 до 9, как модифицировать запрос, чтобы значения 0 и 9 были равны?
туплю
![:хммм:](https://forum.ngs23.ru/static/img/graemlins/frown.gif)