你可能感兴趣的试题
SELECT sno FROM sc WHERE cno=“c1”AND cno=“c2” SELECT sno FROM sc WHERE cno=“c1”AND SELECT sno FROM sc WHERE cno=“c2” SELECT sno FROM sc WHERE cno=“c1”UNION SELECT sno FROM sc WHERE cno=“c2” SELECT sno FROM sc WHERE cno=“c1”AND sno IN(SELECT sno FROM sc WHERE cno=“c2”)
(Sno,Tno)和{Cno,Cname,Grade,Tno,Tname} (Sno, Cno, Tno)和{Sno, Sname, Sex, Birthday, Cno} (Sno, Cno)和{Sno, Sname, Sex, Birthday, Cno, Cname, Grade} (Sno, Cno, Tno)和{Sno, Sname, Sex, Birthday, Tno, Tname}
SELECT sno,cno FROM sc WHERE grade=NULL SELECT sno,cno FROM sc WHERE grade IS‘’ SELECT sno,cno FROM sc WHERE grade IS NULL SELECT sno,cno FROM sc WHERE grade=‘’
(Sno,Tno)和Cno,Cname,Grade,Tno,Tname (Sno, Cno,Tno) 和Sno, Sname, Sex, Birthday, Cno (Sno, Cno)和Sno, Sname, Sex, Birthday, Cno, Cname, Grade (Sno, Cno,Tno)和Sno, Sname, Sex, Birthday, Tno, Tname
SNO=SC.SNO and SEX='女'and CNAME='计算机' SNO=SC.SNO and C.CNO=SC.CNO and CNAME='计算机' SEX='女'and CNAME='计算机' SNO=SC.SNO and C.CNO=SC.CNO and SEX='女'and CNAME='计算机'
INSERT INTO SC(SNO,CNO,GRADE)VALUES(′S1 01′,′C11′,′98′) INSERT INTO SC(SNO,CNO,GRADE)VALUES(S101,C11,98) INSERT(′S101′,′C11′,′98′)INTO SC INSERT INTO SC VALUES(′S101′,′C11′,98)
SEI,ECT sno FROM SC WH ERE grade BETWEEN O AND 60 SELECT sno FROM SC WHERE grade<60 SELECT sno FROM SC HAVlNG grade BETWEEN O AND 60 SELECT sno FROM SC HAVING grade<60
SELECT sno FROM sc WHERE cno="c1"AND cno="c2" SELECT sno FROM sc WHERE cno="cl',AND SELECT sno FROM sc WHERE cno="c2" SELECT sno FROM sc WHERE cno="cl" UNION SELECT sno FROM sc WHER:E cno="c2" SELECT sno FROM sc WHERE cno="cl"AND sno IN(SELECT sno FROM sc WHERE cno="c2")
SELECT sno FROM sc WHERE cno="c1"AND cno="c2" SELECT sno FROM sc WHERE cno="cl',AND SELECT sno FROM sc WHERE
cno="c2" SELECT sno FROM sc WHERE cno="cl" UNION SELECT sno FROM sc WHER:E
cno="c2" SELECT sno FROM sc WHERE cno="cl"AND sno IN(SELECT sno FROM sc WHERE
cno="c2")
ALTER TABLE SC SET GRADE+10 WHERE CNO='DB' ALTER TABLE SC SET GRADE=GRADE+10 WHERE CNO='DB' UPDATE SC SET GRADE+10 WHERE CNO='DB' UPDATE SC SET GRADE=GRADE+10 WHERE CNO='DB'
SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE DETWEEN 60 AND 90 SELECT SNO FROM SC WHERE CNO=′DB′OR GRADE BETWEEN 60 AND 90 SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE>=60 AND 90 SELECT SNO FROM SC WHERE CNO=′DB′AND GRADE<=60 AND GRADE>=90
(Sno,Tno)和{Cno,Cname,Grade,Tno,Tname} (Sno, Cno,Tno) 和{Sno, Sname, Sex, Birthday, Cno} (Sno, Cno)和{Sno, Sname, Sex, Birthday, Cno, Cname, Grade} (Sno, Cno,Tno)和{Sno, Sname, Sex, Birthday, Tno, Tname}
ALTER TABLE SC SET GRADE+10 WHERE CNO='DB' ALTER TABLE SC SET GRADE=GRADE+10 WHERE CNO='DB' UPDATE SC SET GRADE+10 WHERE CNO='DB' UPDATE SC SET GRADE=GRADE+10 WHERE CNO='DB'
SELECT sno,cno FROM sc WHERE grade=NULL SELECT sno,cno FROM sc WHERE grade IS‘’ SELECT sno,cno FROM sc WHERE grade IS NULL SELECT sno,cno FROM sc WHERE grade=‘’
(Sno,Tno)和Cno,Cname,Grade,Tno,Tname (Sno,Cno,Tno)和Sno,Sname,Sex,Birthday,Cno (Sno,Cno)和Sno,Shame,Sex,Birthday,Cno,Cname,Grade (Sno,Cno,Tno)和Sno,Sname,Sex,Birthdayr,Tno,Tname
SELECT sno,cno FROM sc WHERE grade=NULL SELECT sno,cno FROM sc WHERE grade IS" SELECT sno,cno FROM sc WHERE grade IS NULL SELECT sno,cno FROM sc WHERE grade=''