How would I filter this query to NOT show any items where "discontinued =1" and quantity=0"? I don't want to exclude all items with a value of discontinued =1. This only applies if the item has the value of discontinued=1 and the quantity =0.
select sku,producttitle,location,pt_type as type, vendor_name,
active,pricestatus, disc as discontinued,season,yourprice as
customerprice,costprice,quantity,stockvalue
from getskus