Error Number: 1064
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 'AND p.ReadyStatus>=6 GROUP BY ez ORDER BY cnt DESC' at line 3
/*diagram_zodiak*/SELECT substring(p.EuroZodiak,4) as ez, count(p.PersonID) as cnt FROM `persons` p AND p.ReadyStatus>=6 GROUP BY ez ORDER BY cnt DESC
Filename: /var/www/u1905948/data/www/lichnosti.info/models/search_model.php
Line Number: 424