Foreign key is?

PPSC 5 Years Past Papers Subject Wise (Solved with Details) / All - Multiple-choice practice

فارن کی کیا ہے؟

  1. A. A key used to delete records
  2. B. A password for database security
  3. C. A key that uniquely identifies a record in the same table
  4. D. A field in one table that refers to the primary key of another table

Correct answer

A field in one table that refers to the primary key of another table

Explanation

Explanation A foreign key is a column in one table that creates a link to the primary key of another table. It helps to: Maintain data integrity Establish relationships between tables Prevent invalid data entry It is an important concept in relational databases.

Continue with All MCQs, explore all PPSC 5 Years Past Papers Subject Wise (Solved with Details) topics, or try the All practice quiz.

More All questions

Found an error? Report a correction with this page URL and a supporting source.