I've two tables where I like to select from the second table where it has a foreign key to first table.
The conditions are: (1). The qty field of second table must have a value greater than 0
Or
(2). First table record doesn't have a corresponding entry in the second table.