Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Data Engineer Associate All Questions

View all questions & answers for the Certified Data Engineer Associate exam

Exam Certified Data Engineer Associate topic 1 question 68 discussion

Actual exam question from Databricks's Certified Data Engineer Associate
Question #: 68
Topic #: 1
[All Certified Data Engineer Associate Questions]

A data engineer is working with two tables. Each of these tables is displayed below in its entirety.



The data engineer runs the following query to join these tables together:



Which of the following will be returned by the above query?

  • A.
  • B.
  • C.
  • D.
  • E.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
kz_data
Highly Voted 11 months, 3 weeks ago
Selected Answer: C
C is correct
upvoted 7 times
...
80370eb
Most Recent 3 months, 1 week ago
Selected Answer: C
c is correct when performing left join the sales values are only taken.
upvoted 1 times
...
potaryxkug
5 months, 1 week ago
C is correct
upvoted 3 times
...
nedlo
11 months, 3 weeks ago
Selected Answer: C
C is correct answer
upvoted 3 times
...
55f31c8
12 months ago
Selected Answer: C
The LEFT JOIN keyword returns all records from the left table (table1), and the matching records from the right table (table2). The result is 0 records from the right side, if there is no match.
upvoted 3 times
...
Blacknight99
1 year ago
Selected Answer: C
C is the correct answer
upvoted 2 times
...
Huroye
1 year ago
The answer is C. this is a Left Join. In this case you show everything on the left side regardless of whether they appear on the right. When it does not appear on the right you represent that with a Null. So, for a3, store id is null.
upvoted 2 times
...
dev_soumya369
1 year ago
C is the correct answer. In a LEFT JOIN, all the records from the left table are included, and only the matching records from the right table are added. In this case, "a1" and "a4" from the left table (favorite_stores) match with "a1" and "a4" from the right table (sales). So, these matching records are fetched. Additionally, all the records from the left table, including "a3," are included. Since "a3" has no corresponding store_id in the right table, the store_id for "a3" will be NULL. Therefore, after the LEFT JOIN, the result will include "a1," "a3" (with a NULL store_id), and "a4."
upvoted 1 times
...
mokrani
1 year ago
C is correct. please refer to this simple blog if any confusion regarding JOINS https://sql.sh/cours/jointures
upvoted 1 times
...
anandpsg101
1 year, 1 month ago
Selected Answer: C
c is corret
upvoted 2 times
...
meow_akk
1 year, 1 month ago
Ans C: Left join only keeps left recs and only the matching recs from Right table. in other words : the left table is preserved as is.
upvoted 1 times
...
kishanu
1 year, 1 month ago
Selected Answer: C
A typical LEFT JOIN scenario
upvoted 1 times
...
[Removed]
1 year, 1 month ago
Selected Answer: C
The LEFT JOIN keyword returns all records from the left table, even if there are no matches in the right table.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...