Unknown column '1008a' 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`=612 AND pr.enabled = 1 AND pr.productID <> 1008a-almp-006h-tan AND (pr.in_stock && 1 = 1) ORDER BY absPrice ASC LIMIT 12