Unknown column 'osbrief8803' 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`=577 AND pr.enabled = 1 AND pr.productID <> 3508-osbrief8803-brown AND (pr.in_stock && 1 = 1) AND pr.productID IN(810,1165,1166,1167,1168,1177,1178,1179,1180,1213,1217,1218,1220,1328,2517,2734,3570,3538,2926,3042,3043,3044,3045,3083,3084,3089,3100,3101,3102,3103,3122,3123,3562,3157,3161,3255,3291,3292,3333,3361,3362,3417,3432,3434,3454,3455,3469,1325,3508,3507,3509) ORDER BY absPrice ASC LIMIT 12