nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #61

You have two tables in an ANSI-SQL compliant database with identical columns that you need to quickly combine into a single table, removing duplicate rows from the result set. What should you do?

Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #61. The question stem and answer options stay visible for context.

Working with Data Storage and Databases

Question

You have two tables in an ANSI-SQL compliant database with identical columns that you need to quickly combine into a single table, removing duplicate rows from the result set. What should you do?

Options

  • AQuery the tables from a Linux shell, combine the results into a single CSV, and re-import the rows
  • BUse the JOIN operator in SQL to combine the tables.
  • CUse nested WITH statements to combine the tables.
  • DUse the UNION operator in SQL to combine the tables.

Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#SQL#UNION operator#Data manipulation#Database querying
Full PROFESSIONAL-CLOUD-DEVELOPER Practice