有SQL语句:SELECT * FROM 教师 WHERE NOT(工资>3000 OR 工资<2000)与如下语句等价的SQL语句是A)SELECT*FROM 教师 WHERE 工资 BETWEEN 2000 AND 3000B) SELECT*FROM 教师 WHERE 工资>2000 AND 工资<3000C)SELECT*FROM 教师 WHERE 工资>2000 OR 工资<3000D) SELECT*FROM 教师 WHERE 工资<=2000 AND 工资>3000
第1题:
有SQL语句: SELECTDISTINCT系号FROM教师WHERE工资>=; ALL(SELECT工资FROM教师WHERE系号="02") 与如上语句等价的SQL语句是
A.SELECTDISTINCT系号FROM教师WHERE工资>=; (SELECTMAX(工资)FROM教师WHERE系号="02")
B.SELECTDISTINCT系号FROM教师WHERE工资>=; (SELECTMIN(工资)FROM教师WHERE系号="02")
C.ELECTDISTINCT系号FROM教师WHERE工资>=; ANY(SELECT工资FROM教师WHERE系号="02")
D.SELECTDISTINCT系号FROM教师WHERE工资>=; SOME(SELECT工资FROM教师WHERE系号="02")
第2题:
有SQL语句:SELECT * FROM教师WHERE NOT(工资>3000 OR 工资<2000)与如上语句等价的SQL语句是
A.SELECT*FROM 教师 HWERE 工资 BETWEEN 2000 AND 3000
B.SELECT*FROM 教师 HWERE 工资 >2000 AND 工资<3000
C.SELECT*FROM 教师 HWERE 工资>2000 OR 工资<3000
D.SELECT*FROM 教师 HWERE 工资<=2000 AND 工资>=3000
第3题:
1、已知关系模式: 教师(职工号,系号,姓名,工资,主讲课程) 学院(系号,系名) 与“SELECT * FROM 教师 WHERE NOT(工资>3000 OR 工资<2000)”等价的语句是()。
A.SELECT * FROM 教师 WHERE 工资 BETWEEN 2000 AND 3000
B.SELECT * FROM 教师 WHERE 工资>2000 AND 工资<3000
C.SELECT * FROM 教师 WHERE 工资>2000 OR 工资<3000
D.SELECT * FROM 教师 WHERE 工资<=2000 AND 工资>=3000
第4题:
有SQL语句: SELECT * FROM 教师 WHERE NOT (工资>3000 OR 工资<2000) 与如上语句等价的SQL语句是
A.SELECT*FROM 教师 WHERE 工资BETWEEN 2000 AND 3000
B.SELECT*FROM 教师 WHERE 工资>2000 AND 工资<3000
C.SELECT*FROM 教师 WHERE 工资>2000 OR 工资<3000
D.SELECT*FROM 教师 WHERE 工资<=2000 AND 工资>3000
第5题:
有SQL语句:SELECT DISTINCT系号FROM教师WHERE 工资>=ALL (SELECT 工资FROM教师WHERE系号=\"02\") 与如上语句等价的SQL语句是
A.SELECT DISTINCT系号FROM教师WHERE工资>=(SELECT MAX(工资)FROM教师WHERE 系号="02")
B.SELECT DISTINCT系号FROM教师WHERE工资>=(SELECT MIN(工资)FROM教师WHERE 系号="02")
C.SELECT DISTINCT系号FROM教师WHERE工资>=(ANY(SELECT(工资)FROM教师WHERE 系号="02")
D.SELECT DISTINCT系号FROM教师WHERE工资>=(SOME (SELECT(工资)FROM教师WHERE 系号="02")