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
میک آپریٹنگ سسٹم کو _____ نے تیار کیا ہے؟
- Samsung
- Microsoft
- Apple
- IBM
اس سوال کو وضاحت کے ساتھ پڑھیں
ایک مرتب کیا ہے؟
- A compiler is a special program that processes statements written in a particular programming language and turns them into machine language
- A compiler is a language providing very efficient execution
- A compiler does a conversion line by line as the program is run
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
درج ذیل میں سے کون سا اینڈرائیڈ کے آفیشل ورژن کا کوڈ نام نہیں ہے؟
- Muffin
- Cupcake
- Donut
- Lollipop
اس سوال کو وضاحت کے ساتھ پڑھیں
کسی ویب سائٹ کو صارف کی شناخت یاد رکھنے میں کون سی چیز مدد دیتی ہے؟
- Cookies
- Firewall
- Cache
- Compiler
اس سوال کو وضاحت کے ساتھ پڑھیں
جب صارف کمپیوٹر آن کرتا ہے تو آپریٹنگ سسٹم شروع کرنے کے عمل کو کیا کہا جاتا ہے؟
- Starting
- Loading
- Booting
- None of these