Data Ingestion and Transformation

Two sources contain nonoverlapping sales records with identical schemas. Which operation combines every record into one dataset without removing duplicates?

Show the answer

Correct answerA. UNION ALL

AWhy this is right: UNION ALL appends all rows from compatible datasets without deduplication.

BWhy not this: GROUP BY forms groups for aggregation rather than preserving every source record.

CWhy not this: An inner join matches rows using a condition rather than appending every source row.

DWhy not this: SELECT DISTINCT removes duplicate rows, contrary to the requirement.

UNION ALL appends rows from compatible datasets and preserves duplicates. INNER JOIN combines matching rows across columns rather than appending all source records.