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
سنٹرل پروسیسنگ یونٹ کس کام کا ذمہ دار ہے؟
- Processing instructions and calculations
- Displaying images and associated text
- Typing input for processing
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
سی پی یو کے اہم کام کیا ہیں؟
- Process input
- Output result
- Store data
- All of these
اس سوال کو وضاحت کے ساتھ پڑھیں
کالم اور قطار کے ملنے کی جگہ کو کیا کہتے ہیں؟
- Schema
- Cell
- Table
- Data
اس سوال کو وضاحت کے ساتھ پڑھیں
آٹوکیڈ میں کون سا کمانڈ کناروں کو گول کرنے کے لیے استعمال ہوتا ہے؟
- Trim
- Fillet
- Offset
- Extend
اس سوال کو وضاحت کے ساتھ پڑھیں
سڑک کی جیومیٹری کی ڈیزائننگ کے لیے عام طور پر کون سا سافٹ ویئر استعمال کیا جاتا ہے؟
- AutoCAD Civil 3D
- MS Excel
- MS Word
- Adobe Photoshop