PrepAway - Latest Free Exam Questions & Answers

Which type of join do these results represent?

You have a Customer table and an Order table. You join the Customer table with the Order table by
using the CusromerID column.
The results include:
All customers and their orders
Customers who have no orders
Which type of join do these results represent?

PrepAway - Latest Free Exam Questions & Answers

A.
Complete join

B.
Partial join

C.
Inner join

D.
Outer join

6 Comments on “Which type of join do these results represent?

  1. Kedo says:

    Hello Olivia, I did not understand it to return all customers and Their orders the command would INNER JOIN now to return Customers who have no orders in my opinion the command would OUTER JOIN , understand?

    I selected the otion INNER JOIN.
    Thanks!!!




    0



    0
  2. avalon333 says:

    (INNER) JOIN: Returns records that have matching values in both tables
    LEFT (OUTER) JOIN: Return all records from the left table, and the matched records from the right table
    RIGHT (OUTER) JOIN: Return all records from the right table, and the matched records from the left table
    FULL (OUTER) JOIN: Return all records when there is a match in either left or right table

    The results include:
    All customers and their orders
    Customers who have no orders

    So this is either a LEFT JOIN (but thats not an answer, and I guess there are no order without a customer). Or an FULL Outer join, so the answer must be D.




    7



    0

Leave a Reply