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
- Public Network Graphics
- Private Network Graphics
- Portable Network Graphics
- None of the above
اس سوال کو وضاحت کے ساتھ پڑھیں
روٹر کا بنیادی کام کیا ہے؟
- To print documents
- To connect different networks
- To scan files
- To store data
اس سوال کو وضاحت کے ساتھ پڑھیں
ایک سیکنڈ کا ایک اربواں حصہ کس اکائی کے برابر ہوتا ہے؟
- Millisecond
- Microsecond
- Nanosecond
- Picosecond
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر میں درج ذیل میں سے کون سی میموری سب سے کم وقت تک ڈیٹا محفوظ رکھتی ہے؟
- RAM
- Cache Memory
- Register
- Hard Disk
اس سوال کو وضاحت کے ساتھ پڑھیں
سیکیورٹی میں ہیشنگ کا کیا مقصد ہے؟
- Encrypt data for recovery
- Verify data integrity
- Increase storage
- Compress files