Courseiva
hardMultiple ChoiceObjective-mapped

FC0-U71 Practice Question: A report requires data from two tables: Customers…

A report requires data from two tables: Customers and Orders. Which SQL clause is used to combine rows from both tables based on a related column?

⚠ Common exam trap

The FC0-U61 exam often tests the distinction between set operations (UNION, INTERSECT) and join operations, so the trap here is that candidates confuse UNION (which stacks rows) with JOIN (which combines columns from related tables).

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

JOIN

The JOIN clause (specifically an INNER JOIN) is used to combine rows from two or more tables based on a related column between them, such as a foreign key. In this scenario, the Customers and Orders tables would typically be linked by a CustomerID column, and a JOIN allows you to retrieve data like customer names alongside their order details in a single result set.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • UNION

    Why it's wrong here

    UNION combines result sets vertically, not based on relationships.

  • SUBQUERY

    Why it's wrong here

    A subquery is nested inside another query; it does not combine tables in the same way.

  • JOIN

    Why this is correct

    JOIN merges rows from tables based on a condition, typically a foreign key.

  • INTERSECT

    Why it's wrong here

    INTERSECT returns common rows from two queries, not a join.

About these practice questions

One of 988 original FC0-U71 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This FC0-U71 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the FC0-U71 exam.