What is a composite key in a database?
ڈیٹا بیس میں جامع کلید کیا ہے؟
- Set of one or more attribute that can be used to uniquely identify the records in a table
- The minimal set of attribute that uniquely identifies each occurrence of an entity type
- The candidate key that is selected to uniquely identify each occurrence of an entity type
- A candidate key that consists of two or more attributes
Explanation
In database design, a composite key is a candidate key that consists of two or more attributes (table columns) that together uniquely identify an entity occurrence (table row).
A compound key is a composite key for which each attribute that makes up the key is a simple (foreign) key in its own right.
Related MCQs
سب سے پہلے، کمپیوٹر وائرس ------- سے بنایا گیا تھا
- China
- Pakistan
- USA
- Israel
اس سوال کو وضاحت کے ساتھ پڑھیں
ڈیڈیکیٹیڈ کمپیوٹر سے کیا مراد ہے؟
- Which is assigned one and only one task
- Which is used by one person only
- Which is meant for application software
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ڈی ایم اے کا مطلب کیا ہے؟
- Direct Memory Access
- Direct Module Access
- Direct Memory Allocation
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ڈی او ایس کا مطلب کیا ہے؟
- Digital operating system
- Disk operation system
- Disk operating system
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
کسی مخصوص کام کو انجام دینے کے لیے کمپیوٹر کو دی گئی ہدایات کس کا مجموعہ ہے۔
- Monitor
- Hardware
- software
- Printer