Hi
Building an e-commerce store,
got a product table, with a price field
got a discounts table with product_id, and an active field
my query left joins discounts onto products, but I only want to pull in the discount if discount.active = '1'... but if I use 'WHERE discount.active = '1' ' - then it restricts all products to ones with an active discount...
help!