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

备考刷题,请到

CDA认证小程序

The primary key is an important component in table structured data. The correct descriptions regarding the characteristics of a primary key are:
A. The primary key field has the characteristics of being non-empty and unique.
B. The physical significance of the primary key field is to serve as the business record unit of the table.
C. The primary key field can be composed of multiple fields.
D. The primary key field of a table can be confirmed using SQL statements.
上一题
下一题
收藏
点赞
评论
题目解析
题目评论(0)

The business significance of the primary key field is to serve as the business record unit of the table; the physical significance is to locate a specific value in the table

正确答案是:A, C, D。

分析如下:

A: 主要键字段具有非空和唯一的特性。
这是正确的。主键的主要功能之一就是确保每一行数据的唯一性,因此主键字段必须是非空且唯一的。

B: 主要键字段的物理意义是作为表的业务记录单元。
这是不正确的。主要键的物理意义是确保数据的唯一标识,而不是作为业务记录单元。业务记录单元是业务逻辑层面的概念,而不是数据库层面的。

C: 主要键字段可以由多个字段组成。
这是正确的。一个表的主键可以是复合键,即由多个字段共同组成的键,这些字段的组合必须唯一标识表中的每一行记录。

D: 可以使用SQL语句确认表的主要键字段。
这是正确的。我们可以通过SQL语句(如`SHOW INDEX`或`DESCRIBE`等)来查看和确认表的主键字段。

因此,A, C, D 是正确的描述。