1064 - 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 ') and categories_id in () order by products_id, categories_id' at line 1

select slave_values_id, products_id, categories_id from products_master where products_id in (48,46,64,65,67,69,227,224,133,81,83,84,86,87,92,95,132,605,263,109,112,114,115,116,120,215,194,137,136,610,611,175,178,185,186,187,188,600,601,192,223,199,217,228,237,238,240,243,244,247,251,253,256,257,268,599,272,330,280,282,288,289,290,291,602,302,297,640,308,309,326,333,353,356,372,598,368,375,565,391,784,411,625,555,636,534,558,560,572,562,573,574,579,580,581,582,586,589,590,591,592,593,595,597,705,710,711,716,717,718,720,724,727,728,782,731,732,733,734,736,738,739,740,741,743,745,746,747,748,749,750,751,752,754,755,756,757,758,783,762,763,764,771,775,776,777,778,780,785,786,787,788,) and categories_id in () order by products_id, categories_id

[TEP STOP]