题目
单项选择题
Question at position 13 What is the difference between a PRIMARY KEY and a UNIQUE KEY?Primary key cannot be a date variable whereas unique key can bePrimary key can store null value, whereas a unique key cannot store null value.None of theseWe can have only one primary key in a table while we can have multiple unique keys
选项
A.Primary key cannot be a date variable whereas unique key can be
B.Primary key can store null value, whereas a unique key cannot store null value.
C.None of these
D.We can have only one primary key in a table while we can have multiple unique keys
查看解析
标准答案
Please login to view
思路分析
Question restatement: What is the difference between a PRIMARY KEY and a UNIQUE KEY? Options include a mix of factual claims, and we must assess each for accuracy before identifying the correct statement.
Option 1: 'Primary key cannot be a date variable whereas unique key can be' This is misleading. A primary key can be of any data type that uniquely identifies a row (including dates......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
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
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!