SQL - Set Operations
You have two tables:
You want to find products that exist in both tables with the same
Which query correctly uses INTERSECT to achieve this?
ProductsA with columns product_id, name, priceProductsB with columns product_id, name, priceYou want to find products that exist in both tables with the same
product_id and name, ignoring price differences.Which query correctly uses INTERSECT to achieve this?
