QuestionQ38

VerifiedDevelopment and Ingestion

A data engineer has been given a new record of data:

id STRING = 'a1'

rank INTEGER = 6

rating FLOAT = 9.4

Which SQL commands can be used to append the new record to an existing Delta table my_table?

Explanation

Appending a new row to an existing table uses the standard SQL DML statement INSERT INTO table_name VALUES (...). The other options either place keywords in an invalid order (INSERT VALUES ... INTO) or use UPDATE, which modifies existing rows rather than appending new ones.

Community Discussion

No comments yet. Be the first to start the discussion!