Unknown column 'osbag081' in 'where clause'
SELECT pr.productID as productID, pr.`name_ru` AS name, pr.Price, pr.slug, pr.brief_description_ru, ABS(pr.Price - rel.Price) as absPrice FROM SC_products AS pr JOIN SC_products AS rel ON (rel.`productID` = pr.`productID`) WHERE pr.`categoryID`=578 AND pr.enabled = 1 AND pr.productID <> 3250-osbag081-peanut AND (pr.in_stock && 1 = 1) AND pr.productID IN(758,761,776,777,800,801,3355,968,975,2788,3416,1002,1010,1011,1354,1355,1393,1525,1592,1593,1594,2445,2707,3350,3419,3418,3429,3407,3406,3405,3404,3412,3411,3410,3400,3399,3398,3397,3395,3394,3389,3393,3391,3390,3388,3387,3386,3385,3384,3383,3382,3381,3451,969,967,3430,3409,2392,2831,2402,2403,956,2405,2412,2419,2420,2422,2429,2434,2440,2441,2442,2444,2447,2448,2459,2827,3375,2619,2662,2678,2681,2682,2683,2684,2691,2693,2695,2702,2704,2705,2706,2708,2709,2710,2724,807,2730,3414,3402,3401,3413,3379,3380,2436,2777,2783,2785,3354,2816,2832,2836,2837,2842,2843,2844,2845,3415,2767,993,2860,2865,2868,2873,2906,2907,2908,2910,2912,2914,2915,2916,2918,2920,2921,2928,2929,2933,2937,2938,2941,2942,2943,3353,2946,2949,2954,2970,3356,3367,3347,911,3173,913,2449,3427,2997,2998,3000,3001,3002,3003,3004,3005,3006,3007,3008,3009,3010,3011,3012,3013,3015,3016,3017,3047,3048,3049,3054,3055,3056,3057,3058,3059,3060,3061,3062,3064,3063,3069,3070,3071,3091,3085,3090,2838,2841,2703,3097,3106,3431,3124,3132,754,3138,3403,3152,3154,3159,3162,3166,3167,756,3171,3172,3176,3177,3181,3183,3184,3188,3207,3208,3352,3315,3221,3224,3225,3226,3227,3228,3229,3230,3231,3232,3233,3234,2911,3250,3251,3252,3253,3254,3257,3258,3263,3372,3277,3278,3279,3280,3092,3168,3293,3294,2418,979,3366,3299,3300,3303,3304,2823,2347,3099,3450,3327,3328,3329,3330,3331,3332,3053,3358,3360,3363,3364,2947,2948,3014,3153,3440,3441,3442,3443,2917,2994,2996,2999,3189,3438,3439,3449,3107,3446,3437,3216,3448,3348,3444,3445,3447,2673,1527,3436,926,2472,3178,3179,2859,1595,1679) ORDER BY absPrice ASC LIMIT 12