Questions
Questions
Single choice

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

Options
A.Primary key can store null value, whereas a unique key cannot store null value.
B.We can have only one primary key in a table while we can have multiple unique keys
C.None of these
D.Primary key cannot be a date variable whereas unique key can be
View Explanation

View Explanation

Verified Answer
Please login to view
Step-by-Step Analysis
The question asks about the difference between a PRIMARY KEY and a UNIQUE KEY in a database table, and provides four answer options to evaluate. Option 1: 'Primary key can store null value, whereas a unique key cannot store null value.' This is incorrect. A PRIMARY KEY cannot contain NULL values, whereas a UNIQUE constraint can allow a single NULL in some da......Login to view full explanation

Log 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!

More Practical Tools for International Students

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!