你可能感兴趣的试题
SELECT姓名FROM学生表WHERE EXISTS;
(SELECT学号FROM成绩表WHERE成绩>90) SELECT姓名FROM学生表WHERE EXISTS;
(SELECT学号FROM成绩表WHERE学号=学生表.学号AND成绩>90) SELECT姓名FROM学生表WHERE学号EXISTS;
(SELECT学号FROM成绩表WHERE学号=学生表.学号AND成绩>90) SELECT姓名FROM学生表WHERE学号=;
(SELECT学号FROM成绩表WHERE成绩>90)
SELECT 城市 FROM 仓库 WHERE 仓库号IN;SELECT 仓库号 FROM 职工 WHERE 年龄>60 SELECT 城市 FROM 仓库 WHERE 仓库号 IN;(SELECT 仓库号 FROM 职工 WHERE年龄>60) SELECT 仓库号 FROM 职工 WHERE 年龄>60 IN;SELECT 城市 FROM 仓库 WHERE 仓库号 SEIECT 仓库号 FROM 职工 WHERE 年龄>60 IN;(SELECT 城市 FROM 仓库 WHERE 仓库号)
SELECT DISTINCT歌手号FROM歌手WHERE最后得分>=(SELECT MAX(最后得分)FROM歌手WHERE SUBSTR(歌手号,1,1)="2") SELECT DISTINCT歌手号FROM歌手WHERE最后得分>=(SELECT MIN(最后得分)FROM歌手WHERE SUBSTR(歌手号,1,1)="2") SELECT DISTINCT歌手号FROM歌手WHERE最后得分>=ANY(SELECT最后得分FROM歌手WHERE SUBSTR(歌手号,1,1)="2") SELECT DISTINCT歌手号FROM歌手WHERE最后得分>=SOME(SELECT最后得分FROM歌手WHERE SUBSTR(歌手号,1,1)="2")
where did Lucy come from where Lucy comes from where Lucy came from where has Lucy come from
where was I from where I come from where I was from where I was come from
SELECTDISTINCT系号FROM教师WHERE工资>=; (SELECTMAX(工资)FROM教师WHERE系号="02") SELECTDISTINCT系号FROM教师WHERE工资>=; (SELECTMIN(工资)FROM教师WHERE系号="02") ELECTDISTINCT系号FROM教师WHERE工资>=; ANY(SELECT工资FROM教师WHERE系号="02") SELECTDISTINCT系号FROM教师WHERE工资>=; SOME(SELECT工资FROM教师WHERE系号="02")
SEIECT 城市 FROM 仓库 WHERE 仓库号 IN; SELECT 仓库号 FROM 职工 WHERE 年龄>60 SELECT 城市 FROM 仓库 WHERE 仓库号 IN; (SELECT 仓库号 FROM 职工 WHERE 年龄>60) SELECT 仓库号 FROM 职工 WHERE 年龄>60 IN; SEIECT 城市 FROM 仓库 WHERE 仓库号 SELECT 仓库号 FROM 职工 WHERE 年龄>60 IN; (SELECT 城市 FROM 仓库 WHERE 仓库号)
SELECTDISTINCT系号FROM教师WHERE工资>=;
(SELECTMAX(工资)FROM教师WHERE系号=”02’,) SELECTDISTINCT系号FROM教师WHERE工资>=;
(SELECTMIN(工资)FROM教师WHERE系号=”02’,) SELECTDISTINCT系号FROM教师WHERE工资>=;
ANY(SELECT工资FROM教师WHERE系号=”02’,) SELECTDISTINCT系号FROM教师WHERE工资>=;
SOME(SELECT工资FROM教师WHERE系号=”02’,)
where he comes where he was from where he is from where does he come from
SELECT姓名FROM学生表WHERE EXISTS;
(SELECT学号FROM成绩表WHERE成绩>90) SELECT姓名FROM学生表WHERE EXISTS;
(SELECT学号FROM成绩表WHERE学号=学生表.学号AND成绩>90) SELECT姓名FROM学生表WHERE学号EXISTS;
(SELECT学号FROM成绩表WHERE学号=学生表.学号AND成绩>90) SELECT姓名FROM学生表WHERE学号=;
(SELECT学号FROM成绩表WHERE成绩>90)
SELECT*FROM学生WHERE学号IN(SELECT学号FROM选课WHERE成绩>=90) SELECT*FROM学生WHERE学号NOT IN(SELECT学号FROM选课WHERE成绩<90) SELECT*FROM学生WHERE学号EXISTS(SELECT学号FROM选课WHERE成绩<90) SELECT*FROM学生WHERE学号=ANY(SELECT学号FROM选课WHERE成绩>=90)
where it is from where it would be from where is it from where had it been from
where do you come from where you are from where are you from where live you
SELECTDISTINCT系号FROM教师WHERE工资>=; (SELECTMAX(工资)FROM教师WHERE系号="02") SELECTDISTINCT系号FROM教师WHERE工资>=; (SELECTMIN(工资)FROM教师WHERE系号="02") ELECTDISTINCT系号FROM教师WHERE工资>=; ANY(SELECT工资FROM教师WHERE系号="02") SELECTDISTINCT系号FROM教师WHERE工资>=; SOME(SELECT工资FROM教师WHERE系号="02")
SELECT*FROM 学生 WHERE EXISTS; (SELECT*FROM 选课 WHERE学生号=学生.学生号) SELECT*FROM 学生 WHERE NOT EXISTS; (SELECT*FROM 选课 WHERE 学生号=学生.学生号) SELECT*FROM 学生 WHERE EXISTS; (SELECT*FROM 选课 WHERE 学生号=学生号) SELECT*FROM 学生 WHERE NOT EXISTS; (SELECT*FROM 选课 WHERE 学生号=学生号)
SELECT 城市 FROM 仓库 WHERE 仓库号 IN; SELECT 仓库号 FROM 职工 WHERE 年龄>60 SELECT 城市 FROM 仓库 WHERE 仓库号 IN; (SELECT 仓库号 FROM 职工 WHERE 年龄>60) SELECT 仓库号 FROM 职工 WHERE 年龄>60 IN; SELECT 城市 FROM 仓库 WHERE 仓库号 SELECT 仓库号 FROM 职工 WHERE 年龄>60 IN; (SELECT 城市 FROM 仓库 WHERE 仓库号)
ALL (SELECT 工资 FROM 教师 WHERE 系号="02") 与如上语句等价的SQL语句是( )。 SELECT DISTINCT 系号 FROM 教师 WHERE 工资>=; (SELECT MAX(工资) FROM 教师 WHERE 系号="02") SELECT DISTINCT 系号 FROM 教师 WHERE 工资>=; (SELECT MIN(工资) FROM 教师 WHERE 系号="02") SELECT DISTINCT 系号 FROM 教师 WHERE 工资>=;ANY (SELECT 工资 FROM 教师 WHERE 系号="02") SELECT DISTINCT 系号 FROM 教师 WHERE 工资>=; SOME (SELECT 工资 FROM 教师 WHERE 系号="02")
SELECT班级名称FROM班级表WHERE班级号IN;
SELECT班级号FROM学生表WHERE民族!="汉" SELECT班级名称FROM班级表WHERE班级号IN;
(SELECT班级号FROM学生表WHERE民族!="汉") SELECT班级名称FROM班级表WHERE学号IN;
SELECT学号FROM学生表WHERE民族!="汉" SELECT班级名称FROM班级表WHERE学号IN;
(SELECT学号FROM学生表WHERE民族!="汉")
SELECT城市FROM仓库WHERE仓库号 IN; SELECT仓库号FROM职工WHERE年龄>60 SELECT城市FROM仓库WHERE仓库号 IN; (SELECT仓库号FROM职工WHERE年龄>60) SELECT仓库号FROM职工WHERE年龄>60 IN; SELECT城市FROM仓库WHERE仓库号 SEIECT仓库号FROM职工WHERE年龄>60IN; (SELECT城市FROM仓库WHERE仓库号)
SELECT 姓名 FROM STUD; WHERE 学号 SELECT 学号 FROM SC WHERE课程号 IN; (SELECT 课程号 FROM KC WHERE 课程名="数据结构") SELECT 姓名 FROM STUD; WHERE 学号 in (SELECT 学号 FROM SC WHERE 课程号 UNION; (SELECT 课程号 FROM KC WHERE课程名="数据结构")) SELECT 姓名 FROM STUD; WHERE SELECT 课程号 FROM KC WHERE课程名="数据结构" SELECT 姓名 FROM STUD; WHERE 学号 IN(SELECT 学号 FROM SC WHERE 课程号 IN; (SELECT 课程号 FROM KC WHERE 课程名="数据结构"))