题目
题目
单项选择题

Question at position 26 What is the difference between a PRIMARY KEY and a UNIQUE KEY?Primary key cannot be a date variable whereas unique key can beNone of thesePrimary 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 keys

选项
A.Primary key cannot be a date variable whereas unique key can be
B.None of these
C.Primary key can store null value, whereas a unique key cannot store null value.
D.We can have only one primary key in a table while we can have multiple unique keys
查看解析

查看解析

标准答案
Please login to view
思路分析
First, we restate the question and enumerate the answer options to set the scene for analysis. Question: What is the difference between a PRIMARY KEY and a UNIQUE KEY? Options: 1) Primary key cannot be a date variable whereas unique key can be 2) None of these 3) Primary key can store null value, whereas a unique key cannot store null value. 4) We can have only one primary key in a table while we can have multiple unique keys Now evaluating each option in turn: Option 1: Primary key cannot be a date variable whereas unique key can be This claim mixes data type with key type. In......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!