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,5853,7406,7443,7406,7472,7456,7070,7120,7642,7645,7652,3874,7298,7674,2635,8048,8047,6003,906,6691,7406,2795,7238,7083,7654,7094,2989,7124,4769,2677,5995,7670,7666,7594,7647,5647,446,7642,2632,7122,3964,7114,7661,4406,7662,7081,4082,5602,7359,4936,7279,7272,4944,7093,5995,2294,3725,7280,7118,5066,7671,6905,8449,7120,653,6938,7195,6932,7644,7105,6935,8053,8011,8166,6930,7115,7278,8203,7252,7253,4752,7644,7643,8080,8080,8080,7104,7124,8081,7261,7088,7088,7088,7658,7286,7975,8041,8041,8574,8713,7078,7120,7261,7150,7077,7109,7655,7099,7155,8832,7295,7661,7662,8771,8771,7111) ORDER BY , is_available DESC,(total_rating/no_of_ratings) DESC,title ASC,publisher ASC,active DESC,author ASC