[query: SELECT count(*) cc FROM food_organiz organiz left join food_first first on organiz.KEYMAIN=first.company_id join food_rubric rubric on rubric.KEYRUBRIC=organiz.KEYRUBRIC join food_status status on status.KEYSTATUS=organiz.KEYSTATUS join food_street street on street.KEYSTREET=organiz.KEYSTREET join food_gorod gorod on gorod.KEYCITY=organiz.KEYCITY left join food_communic communic on communic.KEYMAIN=organiz.KEYMAIN and communic.COMTYPE="тел/факс" WHERE rubric.KEYRUBRIC= GROUP BY organiz.KEYMAIN
error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY organiz.KEYMAIN' at line 12
in file: /home/uralpages.ru_old/html/inc/auto/tap2.inc at line: 627]