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
- Supercomputers
- Minicomputers
- Microcomputers
- Mainframe computers
اس سوال کو وضاحت کے ساتھ پڑھیں
کیا ضرورت ہے جب ایک ہی وقت میں ایک سے زیادہ شخص مرکزی کمپیوٹر استعمال کرتا ہے۔
- Terminal
- Digitizer
- Mouse
- Light pen
- None
اس سوال کو وضاحت کے ساتھ پڑھیں
ٹھ کے ڈسپلے کی معیاری پکسل ریزولوشن کتنی ہوتی ہے؟
- 1920 x 1080
- 3840 x 2160
- 7680 x 4320
- 1024 x 768
اس سوال کو وضاحت کے ساتھ پڑھیں
ڈی وی ڈی کس چیز کی مثال ہے؟
- Hard disk
- Optical Disk
- Output devices
- Solis-State Storage Devices