Question: Which SQL clause would join a Customers table with an Orders table assuming that they are related in a one-to-many relationship on a field called
Which SQL clause would join a Customers table with an Orders table assuming that they are related in a one-to-many relationship on a field called CustID in both tables?
a. WHERE Customers.CustID = Orders.CustID
b. WHERE Customers = Orders AND CustID = CustID
c. WHERE Customers.CustID & Orders.CustID
d. WHERE IN Customers, Orders (CustID)
Step by Step Solution
3.32 Rating (158 Votes )
There are 3 Steps involved in it
The correct answer is a WHERE CustomersCustID OrdersCustID This clause specifies that the ... View full answer
Get step-by-step solutions from verified subject matter experts
