考试报名
考试报名
考试内容
考试大纲
在线客服
返回顶部

备考刷题,请到

CDA认证小程序

Understanding the characteristics of table data is the premise of using it. Which of the following statements about the characteristics of table data is correct?
A. The number of rows of different fields can be different
B. Fields cannot have null values
C. One row can only have one data type
D. The primary key can consist of multiple fields
上一题
下一题
收藏
点赞
评论
题目解析
题目评论(0)

All fields must have the same number of rows; Fields can have null values; One row can have different data types; Primary key can be one or multiple fields.

正确答案是:D: 主键可以由多个字段组成。

分析:
A: 不正确。表格数据的不同字段的行数应该是相同的,因为每一行代表一个完整的记录,包含所有字段的数据。
B: 不正确。字段可以有空值(NULL),这在数据库设计中是非常常见的。
C: 不正确。一行中的各个字段可以有不同的数据类型,例如一个字段是整数类型,另一个字段是字符串类型。
D: 正确。主键可以由多个字段组成,这种情况下称为复合主键(Composite Key),它用于唯一标识表中的每一行记录。

因此,D选项是关于表格数据特征的正确陈述。