this
MySQL returned error
Error Description :
Error No : 1064
Description : 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 ' is_available DESC,(total_rating/no_of_ratings) DESC,title ASC,publisher ASC,act' at line 1
SQL Query
SELECT COUNT(`book`.id) AS CNT FROM `book` WHERE id!=0 AND book.id<>0 and book.active='yes' and city_id!='' and book.id in(0,8849,11380,11298,51,11298,6892,11089,7920,10874,11020,11101,9543,11784,4320,7143,8250,314,10844,1993,10687,1988,10846,1988,9734,9735,10613,11311,1974,8243,11318,11625,8302,11617,8563,10326,10327) ORDER BY , is_available DESC,(total_rating/no_of_ratings) DESC,title ASC,publisher ASC,active DESC,author ASC