Questions
Single choice
Question at position 24 What is the difference between a PRIMARY KEY and a UNIQUE KEY?None of thesePrimary key cannot be a date variable whereas unique key can beWe can have only one primary key in a table while we can have multiple unique keysPrimary key can store null value, whereas a unique key cannot store null value.
Options
A.None of these
B.Primary key cannot be a date variable whereas unique key can be
C.We can have only one primary key in a table while we can have multiple unique keys
D.Primary key can store null value, whereas a unique key cannot store null value.
View Explanation
Verified Answer
Please login to view
Step-by-Step Analysis
In this question, we are comparing a PRIMARY KEY and a UNIQUE KEY.
Option 1: None of these. This would be incorrect because there is a true, well-known difference between primary keys and unique keys in relational databases.
O......Login to view full explanationLog in for full answers
We've collected over 50,000 authentic exam questions and detailed explanations from around the globe. Log in now and get instant access to the answers!
Similar Questions
Which of the following is NOT true about Candidate keys?
Question at position 40 One solution for a table without any candidate keys is to create an auto-increment attribute.TrueFalse
Question at position 50 One solution for a table without any candidate keys is to create an auto-increment attribute.TrueFalse
Question at position 35 What is the difference between a PRIMARY KEY and a UNIQUE KEY?Primary key can store null value, whereas a unique key cannot store null value.We can have only one primary key in a table while we can have multiple unique keysNone of thesePrimary key cannot be a date variable whereas unique key can be
More Practical Tools for International Students
Making Your Study Simpler
Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!