【单选题】S(S#,SN,,AGE,DEPT) C(C#,CN) SC(S#,C#,GRADE)其中:S#为学号,SN为姓名,为性别,AGE为年龄,DEPT为系别,C#为课程号, CN为课程名,GRADE为成绩。检索所有比“王华”年龄大的学生姓名、年龄和性别。正确的SELECT语句是______。
A.
SELECT SN,AGE, FROM S WHERE AGE>(SELECT AGE FROM S WHERE SN='王华')
B.
SELECT SN, AGE, FROM S WHERE SN='王华'
C.
SELECT SN,AGE, FROM S WHERE AGE>(SELECT AGE WHERE SN='王华')
D.
SELECT SN,AGE, FROM S WHERE AGE>王华AGE
【单选题】使用SQL语句向学生表S(SNO,SN,AGE,)中添加一条新记录,学号(SNO)、姓名(SN)、性别()、年龄(AGE)字段的值分别为0401、、女、18,正确命令是
A.
APPEND INTO S(SNO,SN,,AGE)VALUES(‘0401’,‘’,‘女’,18)
B.
APPEND S VALUES(‘0401’‘’,18,‘女’)
C.
INSERT INTO S(SNO,SN,,AGE)VALUES(‘0401’,‘’,‘女’,18)
D.
INSERT S VALUES(‘0401’,‘’,18,‘女’)
【单选题】已知S(S#,SN,AGE,),S#学号,SN姓名,AGE年龄,性别。若要检索所有比‘王华‘年龄大的学生姓名、年龄和性别,正确的SQL语句是( )
A.
SELECT SN,AGE, FROM S WHERE AGE> (SELECT AGE FROM S WHERE SN='王华')
B.
SELECT SN,AGE, FROM S WHERE SN='王华'
C.
SELECT SN,AGE, FROM S WHERE AGE> (SELECT AGE WHERE SN='王华')
D.
SELECT SN,AGE, FROM S WHERE AGE> 王华.AGE
【简答题】使用SQL语句向学生表S(SNO,SN,AGE,)中添加一条新记录,字段学号(SNO)、姓名(SN)、性别()、年龄(AGE)的值分别为0401、、女、18,正确的命令是______ A) APPEND INTO S (SNO,SN,SXE,AGE)valueS ('0401','','女',18) B) APPEND S valueS ('0401','','女',18)...