Question: Which query will return rows from the first Select statement that are identical to rows in the second select statement a) SELECT ProductID FROM Invoices

Which query will return rows from the first Select statement that are identical to rows in the second select statement

a) SELECT ProductID FROM Invoices UNION SELECT ProductID FROM Inventory

b) SELECT ProductID FROM Invoices INTERSECT SELECT ProductID FROM Inventory

Which query will return rows from the first Select statement that are identical to rows in the second select statement

a) SELECT ProductID FROM Invoices UNION SELECT ProductID FROM Inventory

b) SELECT ProductID FROM Invoices INTERSECT SELECT ProductID FROM Inventory

c) SELECT ProductID FROM Invoices EXCEPT SELECT ProductID FROM Inventory

d) SELECT ProductID FROM Invoices UNION ALL SELECT ProductID FROM Inventory

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!