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,6890,8440,3863,3863,3863,1771,9665,10255,2782,10256,5297,8682,9906,7696,10253,7751,10331,7973,9996,9669,3071,8946,659,10333,10251,9515,8730,7753,10053,7815,10545,10188,5297,8816,10565,10501,10549,7473,6721,9118,9118,9118,9118,9462,9462,207,207,207,207,207,3376,9615,9808,9750,9809,9807,9811,10300,6723,6722,6724,659,659,4156,11235,10530,9050,2590,9348,6861,9461,5,11492,10734,10046,107,10879,9500,9501,9782) ORDER BY , is_available DESC,(total_rating/no_of_ratings) DESC,title ASC,publisher ASC,active DESC,author ASC