Foreign key is?
فارن کی کیا ہوتی ہے؟
- A key that uniquely identifies a record in the same table
- A key used to delete records
- A field in one table that refers to the primary key of another table
- A password for database security
Explanation
- A Foreign Key is a field in one table that refers to the Primary Key of another table.
- It is used to create a relationship between two database tables.
- A foreign key helps maintain referential integrity by ensuring valid data links.
Additional information:
- Primary Key: Uniquely identifies each record in a table.
- Candidate Key: A field that can become a primary key.
- Composite Key: A key made from two or more columns.
- Super Key: One or more columns that uniquely identify a record.
Last verified on 06-07-2026
Related MCQs
فِشنگ کیا ہے؟
- A method of encrypting data for security
- Cybercrime involving fraudulent emails or messages to obtain sensitive information
- A technique to speed up network connections
- A way to block access to websites
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر نیٹ ورکس میں فائر وال کا بنیادی کام کیا ہے؟
- To prevent/block unauthorized access
- To block viruses
- To speed up network traffic
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
فارن کی کیا ہوتی ہے؟
- A key that uniquely identifies a record in the same table
- A key used to delete records
- A field in one table that refers to the primary key of another table
- A password for database security
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپائلر کیا ہے؟
- Name given to the computer operator
- Translator of source program to object / Translator of high-level program to machine
- Part of the digital machine to store the information
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
کیش میموری کہاں موجود ہوتی ہے؟
- CPU
- Software
- Window
- None of these