
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
Question 19
A data engineer wants to horizontally combine two tables as a part of a query. They want to use a shared column as a key column, and they only want the query result to contain rows whose value in the key column is present in both tables.
Which of the following SQL commands can they use to accomplish this task?
A
INNER JOIN
B
OUTER JOIN
C
LEFT JOIN
D
MERGE
E
UNION
Explanation:
An INNER JOIN is the correct SQL command for this scenario because:
Why other options are incorrect:
The key requirements in the question are: