网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
假设需要更改表名“CUSTOMER”为“CUSTOMER_CHANGE”,可以使用()语句。
A
ALTER TABLE CUSTOMER RENAME CUSTOMER_CHANGE
B
ALTER TABLE CUSTOMER RENAME TO CUSTOMER_CHANGE
C
RENAME TABLE CUSTOMER TO CUSTOMER_CHANGE
D
RENAME TABLE CUSTOMER CUSTOMER_CHANGE
参考答案
参考解析
解析:
暂无解析
更多 “单选题假设需要更改表名“CUSTOMER”为“CUSTOMER_CHANGE”,可以使用()语句。A ALTER TABLE CUSTOMER RENAME CUSTOMER_CHANGEB ALTER TABLE CUSTOMER RENAME TO CUSTOMER_CHANGEC RENAME TABLE CUSTOMER TO CUSTOMER_CHANGED RENAME TABLE CUSTOMER CUSTOMER_CHANGE” 相关考题
考题
将Student.dbf表中jg字段的名称改为籍贯,如下选项中正确的SQL语句是A)ALTER TABLE student ALTER COLUMN jg TO籍贯B)ALTER TABLE student ADD籍贯C(10)C)ALTER TABLE student RENAME jg TO籍贯D)ALTER TABLE student RENAME jg籍贯
考题
将Student.dbf表中jg字段的名称改为籍贯,如下选项中正确的SQL语句是( )。A.ALTER TABLE student ALTER COLUMN jg TO 籍贯B.ALTER TABLE student ADD 籍贯 C(10)C.ALTER TABLE student RENAME jg TO 籍贯D.ALTER TABLE student RENAME jg 籍贯
考题
在SQL的数据定义功能中,下列命令格式可以用来修改表中字段名的是A.CREATE TABLE数据表名NAME...B.ALTER TABLE数据表名ALTER字段名...C.ALTER TABLE数据表名RENAME COLUMN字段名TO...D.ALTER TABLE数据表名ALTER字段名SET DEFAULT...
考题
假设需要删除数据库中的CUSTOMER表,可以使用如下()方式。
A.DROP TABLE CUSTOMERB.DROP CUSTOMERC.DELETE TABLE CUSTOMERD.DELETE CUSTOMER
考题
假设需要删除Customer表中的LogoutTime列,可以使用如下()方式。
A.ALTER TABLE CUSTOMER DROP column LOGOUTTIMEB.UPDATE TABLE DROP column LOGOUTTIMEC.ALTER TABLE CUSTOMER DROP LOGOUTTIMED.UPDATE TABLE DROP LOGOUTTIME
考题
假设需要更改表名“CUSTOMER”为“CUSTOMER_CHANGE”,可以使用()语句。
A.ALTER TABLE CUSTOMER RENAME CUSTOMER_CHANGEB.ALTER TABLE CUSTOMER RENAME TO CUSTOMER_CHANGEC.RENAME TABLE CUSTOMER TO CUSTOMER_CHANGED.RENAME TABLE CUSTOMER CUSTOMER_CHANGE
考题
数据库xscj中有xs表,下列( )语句可以执行。A.rename table xs to xs1B.rename database xscj to xscj1C.use xscjD.use xs
考题
:在SQL的数据定义功能中,下列命令格式可以用来修改表中字段名的是A)CREATE TABLE 数据表名 NAME...B)ALTER TABLE 数据表名 ALTER字段名...C)ALTER TABLE 数据表名 RENAME COLUMN字段名 TO...D)ALTER TABLE 数据表名 ALTER 字段名 SET DEFAULT...
考题
数据库xscj中有xs表,下列()语句可以执行。A、use xscjB、use xsC、rename table xs to xs1D、rename database xscj to xscj1
考题
MySQL中修改数据表的名字的命令是()。A、Alter table tablename rename to new_nameB、Alter table tablename rename new_nameC、Rename tablename to newnameD、Rename tablename newname
考题
数据库xscj中有xs表,下列哪些语句可以执行()A、use xscjB、use xsC、rename table xs to xs1D、rename database xscj to xscj1
考题
设有一个表rsda,该表有一个名为zc的字段。如果要把字段名zc改为zhicheng,可以使用下列命令()A、ALTER TABLE rsda RENAME COLUMN zc TO zhichengB、ALTER TABLE rsda RENAME FIELD zc TO zhichengC、ALTER TABLE rsda COLUMN RENAME zc TO zhichengD、ALTER TABLE rsda FIELD zc RENAME TO zhicheng
考题
假设需要删除数据库中的CUSTOMER表,可以使用如下()方式。A、DROP TABLE CUSTOMERB、DROP CUSTOMERC、DELETE TABLE CUSTOMERD、DELETE CUSTOMER
考题
Which statement adds a constraint that ensures the CUSTOMER_NAME column of the CUSTOMERS table holds a value?()A、ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;B、ALTER TABLE customers MODIFY CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;C、ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn NOT NULL;D、ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn IS NOT NULL;E、ALTER TABLE customers MODIFY name CONSTRAINT cust_name_nn NOT NULL;F、ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name NOT NULL;
考题
假设需要更改表名“CUSTOMER”为“CUSTOMER_CHANGE”,可以使用()语句。A、ALTER TABLE CUSTOMER RENAME CUSTOMER_CHANGEB、ALTER TABLE CUSTOMER RENAME TO CUSTOMER_CHANGEC、RENAME TABLE CUSTOMER TO CUSTOMER_CHANGED、RENAME TABLE CUSTOMER CUSTOMER_CHANGE
考题
假设需要删除Customer表中的LogoutTime列,可以使用如下()方式。A、ALTER TABLE CUSTOMER DROP column LOGOUTTIMEB、UPDATE TABLE DROP column LOGOUTTIMEC、ALTER TABLE CUSTOMER DROP LOGOUTTIMED、UPDATE TABLE DROP LOGOUTTIME
考题
单选题假设需要删除数据库中的CUSTOMER表,可以使用如下()方式。A
DROP TABLE CUSTOMERB
DROP CUSTOMERC
DELETE TABLE CUSTOMERD
DELETE CUSTOMER
考题
单选题You work as a database administrator for Certkiller .com. You suspect that in one of your applications the customer table is being accessed by some unauthorized users. Which option would you use to monitor the queries being executed on the customer table?()A
Monitor thealert.logfileB
Enable server-side SQL tracing for user sessionsC
Enable fine-grained auditing for the customer tableD
Enable Fine-Grained Access Control (FGAC) for the customer tableE
Write a database trigger on the customer table on the SELECT event
考题
单选题假设需要删除Customer表中的LogoutTime列,可以使用如下()方式。A
ALTER TABLE CUSTOMER DROP column LOGOUTTIMEB
UPDATE TABLE DROP column LOGOUTTIMEC
ALTER TABLE CUSTOMER DROP LOGOUTTIMED
UPDATE TABLE DROP LOGOUTTIME
考题
多选题MySQL中修改数据表的名字的命令是()。AAlter table tablename rename to new_nameBAlter table tablename rename new_nameCRename tablename to newnameDRename tablename newname
考题
单选题假设需要更改表名“CUSTOMER”为“CUSTOMER_CHANGE”,可以使用()语句。A
ALTER TABLE CUSTOMER RENAME CUSTOMER_CHANGEB
ALTER TABLE CUSTOMER RENAME TO CUSTOMER_CHANGEC
RENAME TABLE CUSTOMER TO CUSTOMER_CHANGED
RENAME TABLE CUSTOMER CUSTOMER_CHANGE
考题
单选题Which statement adds a constraint that ensures the CUSTOMER_NAME column of the CUSTOMERS table holds a value?()A
ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;B
ALTER TABLE customers MODIFY CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;C
ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn NOT NULL;D
ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn IS NOT NULL;E
ALTER TABLE customers MODIFY name CONSTRAINT cust_name_nn NOT NULL;F
ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name NOT NULL;
考题
单选题设有一个表rsda,该表有一个名为zc的字段。如果要把字段名zc改为zhicheng,可以使用下列命令()A
ALTER TABLE rsda RENAME COLUMN zc TO zhichengB
ALTER TABLE rsda RENAME FIELD zc TO zhichengC
ALTER TABLE rsda COLUMN RENAME zc TO zhichengD
ALTER TABLE rsda FIELD zc RENAME TO zhicheng
热门标签
最新试卷