Error in query: SELECT `code`,`from`,`till`,`operator` FROM `phones_prefixes_personal` where `code` = 7006 AND `from` <= 877880 AND `till` >= 877880