-

SELECT (SELECT gp1.discount FROM products_graduated_prices gp1 WHERE gp1.products_id = 1659 AND gp1.price_group_id = 6 AND gp1.quantity =1 AND gp1.unitprice != 0 ) AS 'discount1'

[XT SQL Error]