Question:

Assertion (A): We can retrieve records from more than one table in MYSQL.
Reason (R): Foreign key is used to establish a relationship between two tables.

Show Hint

Use foreign keys to relate tables structurally,
and use JOIN to retrieve combined data.
  • Both Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation for Assertion (A).
  • Both Assertion (A) and Reason (R) are true and Reason (R) is not the correct explanation for Assertion (A).
  • Assertion (A) is true but, Reason (R) is false.
  • Assertion (A) is false but, Reason (R) is true.
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

In MYSQL, it is possible to retrieve records from multiple tables
using operations like JOIN, which combines rows based on related columns.
So, Assertion (A) is true.
A foreign key is a field in one table that refers to the primary key of another table,
which helps to establish a relationship between them — so Reason (R) is true too.
However, the foreign key does not itself perform the retrieval;
it only defines how tables relate.
The actual retrieval is done using queries like JOIN statements.
Therefore, Reason (R) is true but not the correct explanation for Assertion (A).
So, option (B) is correct.
Was this answer helpful?
0
0

Top Questions on SQL

View More Questions