select * from Mls where ID in (122779,113674,116720,119433,111405,119317,121500,116020,101014,126044,125559,124257,123532,80649,122761,122676,125439,38644,99251,113678,98176,120340,126099,122415,125875,81879,85749,104190,81837,58904,124037,123517,126153,126636,126603,125925,123728,50504,60611,125705,120428,98530,125791,126132,124767,125428,124628,125561,124636,125034,126778,126787,121498,76526,123654,123764,126692,126632,126652,126570,126540,126156,126168,126119,126145,126097,126098,126043,126045,126049,126102,126054,126047,126104,126053,126056,126032,125985,125993,125988,126003,125924,125964,125849,125879,125894,125897,125900,125901,125750,125780,125781,125845,125676,125651,125610,125566,125510,125514,125521,125478,125524,124722,125530,125330,125268,125178,125436,125434,125422,125427,125391,120980,125442,125353,125354,125358,125359,125383,125360,125362,125328,125291,125292,125335,125248,125261,125195,125255,125210,125214,125148,125149,125150,125135,125094,125048,125049,125056,125017,125019,125022,124998,124971,124956,124912,124908,124909,124759,124890,124870,124871,124873,124875,124880,124831,124819,124820,124676,124678,124746,124769,124725,124696,124727,124697,124698,124699,124731,124641,124657,124633,124639,124304,124305,124296,124299,124300,124307,124199,124034,124152,123918,123973,123971,123968,124163,124262,124218,124220,124219,124222,124243,124187,124568,124119,124130,124131,123998,124085) ORDER BY FIELD(ID, 122779,113674,116720,119433,111405,119317,121500,116020,101014,126044,125559,124257,123532,80649,122761,122676,125439,38644,99251,113678,98176,120340,126099,122415,125875,81879,85749,104190,81837,58904,124037,123517,126153,126636,126603,125925,123728,50504,60611,125705,120428,98530,125791,126132,124767,125428,124628,125561,124636,125034,126778,126787,121498,76526,123654,123764,126692,126632,126652,126570,126540,126156,126168,126119,126145,126097,126098,126043,126045,126049,126102,126054,126047,126104,126053,126056,126032,125985,125993,125988,126003,125924,125964,125849,125879,125894,125897,125900,125901,125750,125780,125781,125845,125676,125651,125610,125566,125510,125514,125521,125478,125524,124722,125530,125330,125268,125178,125436,125434,125422,125427,125391,120980,125442,125353,125354,125358,125359,125383,125360,125362,125328,125291,125292,125335,125248,125261,125195,125255,125210,125214,125148,125149,125150,125135,125094,125048,125049,125056,125017,125019,125022,124998,124971,124956,124912,124908,124909,124759,124890,124870,124871,124873,124875,124880,124831,124819,124820,124676,124678,124746,124769,124725,124696,124727,124697,124698,124699,124731,124641,124657,124633,124639,124304,124305,124296,124299,124300,124307,124199,124034,124152,123918,123973,123971,123968,124163,124262,124218,124220,124219,124222,124243,124187,124568,124119,124130,124131,123998,124085) LIMIT -20,20
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 '-20,20' at line 1