A data scientist is merging two tables. Table 1 contains employee IDs and roles. Table 2 contains employee IDs and team assignments. Which of the following is the best technique to combine these data sets?
A common best practice in this scenario is to treat the “employee” table (Table 1) as the primary (“left”) table and bring in the matching information from Table 2. That way, all employees in Table 1 appear in the result—even if some are missing from Table 2—while still merging in the team assignments for those that do match. In SQL terms, this is a LEFT JOIN of Table 1 to Table 2.
Hence, the best choice is:
B. LEFT JOIN on Table 1 with Table 2.
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.DY0-001 Exam Questions
Log in to ExamTopics
Sign in:
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.
SuntzuLegacy
1 month, 1 week ago