A. 主键约束只能用数据表中的一列数据来惟一标识数据库
B. 在数据表中存在主键相同的两行数据
C. 主键可以输入NULL值
D. 主键约束可使用数据表中的一列数据或多列数据来惟一地标识一行数据
您可能感兴趣的试卷
你可能感兴趣的试题
A.NULL
B.NO NULL
C.IDENTITY
D.UNIQUE
A.从authors表中查询出city是beijin,且名为count的记录数目。
B.从authors表中查询出city 是beijin的第一条记录
C.从authors表中查询出city 是beijin 的所有记录
D.从authors表中查询出city是beijin的记录总数目。
A.TRUNCATE TABLE 删除数据后可以恢复,而DELETE 不可以恢复
B.TRUNCATE TABLE 删除数据后不可以恢复,而DELETE 可以恢复
C.两者删除数据过后都可以恢复
D.两者删除数据后都不可以恢复
A.select * from authors where au_id =”72_-%”
B.select au_id=72_-% from authors
C.select * from authors where au_id like “72*-%”
D.select * from authors where au_id like “72_-%” _代表任意一个字符
A. select * from authors where au_name=”d”
B. select “d” from authors
C. select * from authors where au_name like “d%”
D. select au_name like “d%” from authors
A. select au_id from authors where price IN($15,:$20);
B. select au_id from authors where price between $15 and $20
C. select au_id from authors where price not between $15 and $20
D. select au_id from authors where price not IN($15,$20);
A. select au_id from authors where state IN(“ac”,:”sk”);
B. select au_id from authors where state between ac and sk
C. select au_id from authors where state not between ca and ks
D. select au_id from authors where state IN(“ca”,:”ks”);
A.sp_renamedb authors student
B.sp_rename authors student
C.sp_renamedata authors student
D.sp_renameview authors student
A.sp_spaceused authors
B.sp_depends authors
C.sp_help authors
D.sp_renamedb authors student
ALTER TABLE exa
ADD column_b VARCHAR(20) NULL
这条语句的语义为()
A.创建表格exa,使其增加一列
B.创建表格exa,使其删除一列
C.修改表格exa 定义,使其增加一列
D.修改表格 exa 定义,使其删除一列
最新试题
在MySQL中,用单条INSERT语句处理多个插入要比使用多条INSERT语句效率更高。
在MySQL中,使用insert语句向数据库表插入数据记录的方式有()
在MYSQL中,存储过程不可以带有参数。
想要实现级联删除必须在数据外键上设置“级联”的更新或删除。
批量记录插入,可以不要求插入数据结构匹配,与约束不冲突。
在insert语句中可以嵌入子查询,通过子查询将来自其他数据表的数据批量插入到所需的数据表中。
在MySQL中如果权限授予不合理,可以通过EVOKE ALL PRIVILEGES ON *.*FROM’username’@’localhost’来收回对所有数据库的所有权限。
在MySQL中,可以使用insert语句向数据库表插入数据记录方式有()
不同的用户合理地分配相应权限,能有效控制不同用户对不同数据的“增删秘方”权限,是保护数据的一种有效手段。
MySQL通过赋予/撤销某个用户对某个数据库或某个表的某项权力(读、写、更改、删除等),来保证数据安全。