SELECT SQL_CALC_FOUND_ROWS pd158.*, IF(pd158.price>0,1,0) AS flag_price FROM pd158 WHERE (pd158.approved=1) AND (pd158.published=1) AND (pd158.brand='142') AND (pd158.model IN (24984,24397,7109,7107,7101,7108,7102,7105,7103,7106,7104,25689,22677,22318,24973,24407,22678,22679,23412,22667,24409,23410,24410,20153,22685,22681,22682,24411,24404,20154,20155,20156,25462,20157,22658,21820,26607,26608,25524,25523,25522,25528,25527,25526,25525,27326,25692,23409,25691,26606,26605,25688,25690,10383,10385,10386,517,518,522,523,10393,10389,19180,519,520,521,23762,21039,21040,24816,22680,20146,22691,24403,22690,23470,21036,20148,20147,22688,22686,22687,21038,21037,23411,24414,22683,22684,24413,24412,20149,20150,20151,20152,25695,25696,26604,25699,25698,25697,508,509,24400,507,510,514,515,516,10379,10380,511,512,513,24405,25706,25705,10377,18846,20144,20143,23407,24402,22692,24401,21035,503,504,505,506,20145,25694,25693,23408,24399,22694,22693,24398,24408,24406,20158,20159,20160,20161,10399,10400,19179,10397,2303,2304,2305,526,10395,524,525,2301,10384,10387,10394,50)) GROUP BY pd158.crkp_id ORDER BY flag_price DESC, , , pd158.year LIMIT 10 OFFSET 10
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' , pd158.year LIMIT 10 OFFSET 10' at line 1
Ford Ranger ราคาฟอร์ด เรนเจอร์ เรียงตามปี-ราคา หน้าละ 10 รายการ หน้าที่ 2 | เช็คราคา.คอม