删除sc表中degree字段删除,下列SQL语句正确的是( )。
ALTER TABLE sc DROP degree
B. ALTER TABLE sc DELETE degree
C. MODIFY TABLE sc DROP degree
D. MODIFY TABLE sc DELETE degree
将student表中sbirthday字段改名为sbirth,数据类型为date,下列SQL语句正确的是( )。
ALTER TABLE student CHANGE sbirthday sbirth date
B. ALTER TABLE student RENAME sbirth sbirthday date
C. MODIFY TABLE student CHANGE sbirthday sbirth date
D. MODIFY TABLE student RENAME sbirth sbirthday date
使用SQL语句删除表mytest,下列SQL语句正确的是( )。
A. DROP TABLE mytest IF EXISTS
B. DROP TABLE IF EXISTS mytest
C. ALTER TABLE IF EXISTS mytest C.ALTER TABLE mytest IF EXISTS
设关系数据库中一个表SC的结构为SC(sid,cid,grade),其中sid为学号,cid为课程号,二者均为字符型,grade为成绩,数值型,取值范围0-100。若要把学号为202102,课程号为100101,成绩为80分的数据插入SC表中,下列SQL语句正确的是( )。
ADD INTO SC VALUES ('202102','100101','80')
B. INSERT INTO SC VALUES ('202102','100101','80')
C. ADD INTO SC VALUES ('202102','100101',80)
D. INSERT INTO SC VALUES ('202102','100101',80)