Bird
0
0

Which SQL keyword is used to combine rows from two tables based on a related column?

easy📝 Syntax Q12 of 15
SQL - Table Relationships
Which SQL keyword is used to combine rows from two tables based on a related column?
AJOIN
BSELECT
CWHERE
DGROUP BY
Step-by-Step Solution
Solution:
  1. Step 1: Identify the keyword for combining tables

    JOIN is used to link rows from two tables using a common column.
  2. Step 2: Differentiate from other keywords

    SELECT retrieves data, WHERE filters rows, GROUP BY groups rows; only JOIN combines tables.
  3. Final Answer:

    JOIN -> Option A
  4. Quick Check:

    JOIN combines tables = B [OK]
Quick Trick: JOIN links tables on common columns [OK]
Common Mistakes:
MISTAKES
  • Using SELECT to combine tables
  • Confusing WHERE with JOIN
  • Thinking GROUP BY combines tables

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SQL Quizzes