Re: Find two sets of records

2008-04-15 Thread Bill Newton
Try using the sub query as a derived table ala: SELECT eo_name_table.eo_name, eo_name_table.eo_pub_date FROM eo_name_table LEFT JOIN (SELECT prod.prod_title FROM prod WHERE prod.prod_discont = 0) fake_prod on eo_name_table.eo_name = fake_prod.prod_title WHERE prod.prod_title IS NULL I'm not

Find two sets of records

2008-04-15 Thread Jerry Schwartz
I'm drawing a blank here. I need to extract two sets of records from a pair of tables. `eo_name_table` is a list of titles, `prod` is a list of products having titles and a discontinued flag. I want all of those records from `eo_name_table` that do not have a matching title in `prod`. I also want