Hi guys, can any one tell me whats wrong with this statement
SELECT product_id
FROM special_pricing s
WHERE NOT
EXISTS (
SELECT *
FROM products p
WHERE p.prod_id = s.product_id)
What i am trying to do here is i have 2 tables, products and special_pricing with product_id=prod_id...i have deleted some entries from the product table but entries with the same prod_id are still in the special_pricing table, i am trying to list those entries.