Ошибка запроса к серверу баз данных: No database selected
SELECT c.*, cities.CT_NAME, metro.header as metro FROM company AS c LEFT JOIN cities ON cities.id = c.cityid LEFT JOIN metro ON metro.id = c.metro_id WHERE c.hidden_santorini>0 ORDER BY cities.CT_NAME, c.header