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,5516,1425,1307,5915,446,4788,2451,5995,5371,1145,1681,1485,5719,375,386,6082,377,7076,7094,7118,7072,7124,7113,7150,7109,7246,254,1572,1981,6140,1988,3574,6648,6383,6176,3967,6984,6947,7032,7033,1153,1983,4923,1380,1296,5719,2889,4362,587,2399,6583,7641,6726,7158,5769,8230,8109,1070,6366,3302,1988,5719,5719,3449,6428,6428,3522,8352,8352,7976,7976,7918,1526,6702,4694,9030,6122,7874,834,5961,2503,6428,2503,2503,6428,970,4639,8358,9258,6383,8356,6984,6967,4779,4791,6963,1741,466,566,1056,4788,4788,7708,5719,2995,6966,6962,6396,4029,4029,1207,1207,2776,6584,7084,7084,7272,7708,7708,6586,6586,6578,6578,6700,8613,4435,8255,6801,8544,6631,4979,6715,5568,8217,3598,915,8292,7912,5681,6733,7711,6774,5719,7708,6807,3449,1988,7708,7965,8354,3732,4349,3732,4349,3732,4349,6174,6740,7238,7472,8220,4769,7840,6003,7879,7878,7592,3913,7554,7754,7755,7756,8509,7539,446,7927,7445,2041,9359) ORDER BY , is_available DESC,(total_rating/no_of_ratings) DESC,title ASC,publisher ASC,active DESC,author ASC