New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Certified Data Engineer Associate Exam - Topic 2 Question 25 Discussion

Actual exam question for Databricks's Databricks Certified Data Engineer Associate exam
Question #: 25
Topic #: 2
[All Databricks Certified Data Engineer Associate Questions]

A data engineering team has two tables. The first table march_transactions is a collection of all retail transactions in the month of March. The second table april_transactions is a collection of all retail transactions in the month of April. There are no duplicate records between the tables.

Which of the following commands should be run to create a new table all_transactions that contains all records from march_transactions and april_transactions without duplicate records?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

0/2000 characters
Leota
3 months ago
I doubt option E would work, MERGE isn’t a standard SQL command for this.
upvoted 0 times
...
Judy
3 months ago
I’m surprised there’s no mention of duplicates in the tables!
upvoted 0 times
...
Sherita
3 months ago
Wait, why would you use INNER JOIN? That doesn't fit the requirement.
upvoted 0 times
...
Helga
4 months ago
I think B is correct too, makes sense!
upvoted 0 times
...
Fletcher
4 months ago
Option B is the right choice! UNION combines them without duplicates.
upvoted 0 times
...
Yan
4 months ago
I thought OUTER JOIN was for including all records, but that might not help with duplicates either. I'm confused about the right command.
upvoted 0 times
...
Krystina
4 months ago
I practiced a similar question, and I feel like UNION is definitely the way to go for combining distinct records.
upvoted 0 times
...
Bo
4 months ago
I'm not entirely sure, but I remember something about INNER JOIN not being suitable for this since it requires matching records.
upvoted 0 times
...
Ernest
5 months ago
I think we need to combine the two tables without duplicates, so maybe UNION is the right choice?
upvoted 0 times
...
Melita
5 months ago
This is a good one! I think the key is understanding the difference between UNION and INTERSECT. UNION will combine the two tables and remove duplicates, while INTERSECT will only keep the records that are present in both tables. Since the question says there are no duplicates, UNION is the way to go.
upvoted 0 times
...
Donette
5 months ago
I'm a little confused by the OUTER JOIN option. Isn't that for combining tables with matching keys, not just concatenating two tables? I'm leaning towards UNION, but I want to double-check that before submitting my answer.
upvoted 0 times
...
Vi
5 months ago
Okay, I've got this. Since the question specifies there are no duplicates between the tables, UNION is the way to go. That will combine the two tables while automatically removing any duplicates. Easy peasy!
upvoted 0 times
...
Elise
5 months ago
Hmm, I'm a bit unsure about this one. The wording is a bit tricky - it says there are no duplicate records between the tables, so I'm not sure if UNION or INTERSECT is the right approach. I'll have to think this through carefully.
upvoted 0 times
...
Hannah
5 months ago
This looks like a straightforward SQL question. I think the key is to combine the two tables in a way that avoids duplicates, so I'll focus on the UNION and INTERSECT options.
upvoted 0 times
...
Earleen
5 months ago
Okay, let's see here. I remember from the course materials that MCOs usually have a formal program for overseeing delegated activities. I think option D sounds like it's describing the purpose of that program, so I'll go with that.
upvoted 0 times
...
Lizbeth
5 months ago
Ah, I remember learning about this in class. The key is that PPPoE requires the server and client to be in the same broadcast domain. With a router in between, that wouldn't work. B is the correct answer.
upvoted 0 times
...
Lezlie
5 months ago
Okay, I've got this. An e-commerce system with electronic data interchange and electronic funds transfer should lead to faster cash flow and lower inventory and receivables, so the answer is A.
upvoted 0 times
...
Sharika
5 months ago
I'm leaning towards C since it has something to do with collaboration, but I really can't recall if it applies to mobile access specifically.
upvoted 0 times
...
France
10 months ago
MERGE? Is this a data engineering exam or a relationship counseling session? Let's keep it professional, folks!
upvoted 0 times
Lai
9 months ago
Agreed, using UNION is the way to go for this data engineering task.
upvoted 0 times
...
Lonna
9 months ago
That's the correct command to combine the records from both tables without duplicates.
upvoted 0 times
...
Erick
9 months ago
Agreed, let's stick to professional terms in data engineering.
upvoted 0 times
...
Benedict
9 months ago
B) CREATE TABLE all_transactions AS SELECT * FROM march_transactions UNION SELECT * FROM april_transactions;
upvoted 0 times
...
Bettina
9 months ago
That's the correct command to combine the records without duplicates.
upvoted 0 times
...
Cherelle
10 months ago
B) CREATE TABLE all_transactions AS SELECT * FROM march_transactions UNION SELECT * FROM april_transactions;
upvoted 0 times
...
...
Melda
10 months ago
INTERSECT? Really? That would only return the common records between the two tables, which is not what we need here.
upvoted 0 times
...
Ammie
10 months ago
Hmm, OUTER JOIN would include all records from both tables, even if there are duplicates. Not the best choice for this scenario.
upvoted 0 times
Stephanie
9 months ago
B) CREATE TABLE all_transactions AS SELECT * FROM march_transactions UNION SELECT * FROM april_transactions;
upvoted 0 times
...
Leontine
10 months ago
A) CREATE TABLE all_transactions AS SELECT * FROM march_transactions UNION SELECT * FROM april_transactions;
upvoted 0 times
...
...
Alecia
11 months ago
I agree with Rickie. UNION is the way to go here, as we want to combine the two tables without any duplicates.
upvoted 0 times
Margart
9 months ago
No, I think you guys are right. UNION is the best choice to combine the tables without duplicates.
upvoted 0 times
...
Michael
9 months ago
I'm not sure about that. Maybe we should consider other options as well.
upvoted 0 times
...
Johnathon
10 months ago
Yes, I agree. We need to use UNION to merge the tables without duplicate records.
upvoted 0 times
...
Latanya
10 months ago
I think option B) is the correct one. UNION combines the two tables without duplicates.
upvoted 0 times
...
...
Arlean
11 months ago
I'm not sure, but I think B makes sense because it combines the records from both tables.
upvoted 0 times
...
Rickie
11 months ago
Option B is the correct answer. The UNION operator combines the results of two queries while removing any duplicate records.
upvoted 0 times
...
Beatriz
11 months ago
I agree with Iola, UNION is used to combine records without duplicates.
upvoted 0 times
...
Iola
11 months ago
I think the answer is B.
upvoted 0 times
...

Save Cancel