午夜精品久久久久久久99老熟妇,天堂中文www官网,未满十八18勿进黄网站,太粗太深了太紧太爽了,天天爽夜夜爽夜夜爽

考試報名
考試報名
考試內(nèi)容
考試大綱
在線客服
返回頂部

備考刷題,請到

CDA認(rèn)證小程序

Primary key is an important concept in table data. Which of the following statements about it is incorrect?
A. A table can only have one primary key
B. Primary key cannot have null values
C. Primary key can only be one field
D. Primary key cannot have duplicate values
上一題
下一題
收藏
點贊
評論
題目解析
題目評論(0)

A primary key consisting of multiple fields is called a compound primary key.

正確答案是C: Primary key can only be one field。

專業(yè)分析:
1. **A: A table can only have one primary key**
這條陳述是正確的。一個表只能有一個主鍵,但這個主鍵可以由多個字段組成,這就是所謂的復(fù)合主鍵。

2. **B: Primary key cannot have null values**
這條陳述也是正確的。主鍵的一個基本特性就是它不允許有空值(NULL),因為主鍵用于唯一標(biāo)識表中的每一行數(shù)據(jù)。

3. **C: Primary key can only be one field**
這條陳述是不正確的。雖然一個表只能有一個主鍵,但這個主鍵可以由多個字段組成,即復(fù)合主鍵。因此,主鍵不一定只能是一個字段。

4. **D: Primary key cannot have duplicate values**
這條陳述是正確的。主鍵的另一個基本特性就是它必須唯一,不能有重復(fù)的值。每一個主鍵值都唯一地標(biāo)識表中的一行數(shù)據(jù)。

綜上所述,C選項關(guān)于主鍵只能是一個字段的說法是不正確的,因此C是正確答案。