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

Exam Certified Data Analyst Associate All Questions

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

Exam Certified Data Analyst Associate topic 1 question 21 discussion

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

A data analyst runs the following command:
INSERT INTO stakeholders.suppliers TABLE stakeholders.new_suppliers;
What is the result of running this command?

  • A. The suppliers table now contains both the data it had before the command was run and the data from the new_suppliers table, and any duplicate data is deleted.
  • B. The command fails because it is written incorrectly.
  • C. The suppliers table now contains both the data it had before the command was run and the data from the new_suppliers table, including any duplicate data.
  • D. The suppliers table now contains the data from the new_suppliers table, and the new_suppliers table now contains the data from the suppliers table.
  • E. The suppliers table now contains only the data from the new_suppliers table.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ayush24
7 months, 2 weeks ago
Selected Answer: C
As per Databrick documents, https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-dml-insert-into.html We can Insert using a TABLE clause.
upvoted 3 times
...
libbster
8 months, 1 week ago
Selected Answer: C
C is correct based on official Databricks documentation and example: INSERT INTO students TABLE visiting_students;
upvoted 3 times
...
Devscope
10 months ago
Selected Answer: C
Try the following code, you will see that it runs without a problem: DROP TABLE IF EXISTS test; CREATE TABLE test (id INT, name VARCHAR(64)); INSERT INTO test VALUES (1, 'Person1'), (2, 'Person2'); -- SELECT * FROM test; DROP TABLE IF EXISTS test2; CREATE TABLE test2 (id INT, name VARCHAR(64)); INSERT INTO test2 VALUES (3, 'Person3'), (4, 'Person4'); -- SELECT * FROM test2; INSERT INTO test TABLE test2; SELECT * FROM test
upvoted 2 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 ...