If a variable is declared in a compound statement within a function, the variable( )
A.
is valid in the compound statement only
B.
is valid in the function
C.
is valid in the program
D.
is an illegal variable
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】如果学生表STUDENT是使用下面的SQL语句创建的: CREATE TABLE STUDENT(SNO C(4) PRIMARY KEY NOT NULL,,; SN C(8),; SEX C(2),; AGE N(2) CHECK(AGE>15 AND AGE<30)) 下面的SQL语句中可以正确执行的是( )。 A
【单选题】如果学生表STUDENT是使用下面的SQL语句创建的: CREATE TABLE STUDENT(SNO C(4)PRIMARY KEY NOT NULL. SN C(8), SEX C(2), AGE N(2)CHECK(AGE>15 AND AGE<25)) 下面的SQL语句中可以正确执行的是( )。
A.
INSERT INTO STUDENT(SN,SEX,AGE)VALUES(”王磊”,”男”,20)
B.
INSERT INTO STUDENT(SN0,SEX,AGE)VALUES(”S9”,”男”,17)
C.
INSERT INTO STUDENT(SEX,AGE)VALUES(”男”,20)
D.
INSERT INTO STUDENT(SN0,SN,AGE)VALUES(”S9”,”王磊”,14)