Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Analytics-DA-201 Exam - Topic 1 Question 17 Discussion

You have two tables named Employeelnfo and DepartmentInfo. Employeelnfo contains four fields named Full Name, Department ID, Start Date, and Salary.DepartmentInfo contains four fields named Department Name, Size, Department ID, and VP.You want to combine the tables to meet the following requirements:. Each record in Employeelnfo must be retained in the combined table.. The records must contain the Department Name, Size, and VP fields.* Every record must have a full name.Which type of join should you use?
B) Left
A) Inner
C) Full outer
D) Union

Salesforce Analytics-DA-201 Exam - Topic 1 Question 17 Discussion

Actual exam question for Salesforce's Analytics-DA-201 exam
Question #: 17
Topic #: 1
[All Analytics-DA-201 Questions]

You have two tables named Employeelnfo and DepartmentInfo. Employeelnfo contains four fields named Full Name, Department ID, Start Date, and Salary.

DepartmentInfo contains four fields named Department Name, Size, Department ID, and VP.

You want to combine the tables to meet the following requirements:

. Each record in Employeelnfo must be retained in the combined table.

. The records must contain the Department Name, Size, and VP fields.

* Every record must have a full name.

Which type of join should you use?

Show Suggested Answer Hide Answer
Suggested Answer: B

To combine the tables and meet the requirements, you should use a left join. A left join will keep all the records from the left table (Employeelnfo) and match them with the records from the right table (DepartmentInfo) based on the common field (Department ID). If there is no matching record in the right table, the fields from the right table will be null. This way, you will retain all the records from Employeelnfo, and also include the Department Name, Size, and VP fields from DepartmentInfo. Every record will have a full name because it is a field from the left table. A left join will look like this:


Join Your Data - Tableau

Join Types in Tableau

Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel