网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
SELECT * FROM Student INNER JOIN SC ON Student.Sno = SC.Sno语句可将Student与 SC连接起来。
参考答案
更多 “SELECT * FROM Student INNER JOIN SC ON Student.Sno = SC.Sno语句可将Student与 SC连接起来。” 相关考题
考题
SQL语句:SELECT*FROM班级WHERE班级号NOT IN;(SELECT班级号FROM学生)该语句等价于:SELECT*FROM班级WHERE NOT______;(SELECT*FROM学生WHERE班级号=班级.班级号)
考题
有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")
考题
下列SELECT语句语法正确的是( )。A)SELECT木FROM‘teacher' WHERE性别=‘男’B)SELECT宰FROM‘teacher’WHERE性别=男C)SELECT木FROM teacher WHERE性别=男D)SELECT木FROM teacher WHERE性别=‘男’
考题
下列SQL语句中,能够完成并运算的是()。A. SELECT*FROM篮球爱好者UNION SELECT*FROM足球爱好者B. SELECT*FROM篮球爱好者INTERSECT SELECT*FROM足球爱好者C. SELECT*FROM篮球爱好者EXCEPT SELECT*FROM足球爱好者D. SELECT*FROM篮球爱好者,足球爱好者
考题
对由SELECT—FROM—WHERE—GROUP—ORDER组成的SQL语句,其在被DBMS处理时,各子句的执序次序(43)。A.SELECT—FROM—GROUP—WHERE—ORDERB.FROM—SELECT—WHERE—GROUP—ORDERC.FROM—WHERE—GROUP—SELECT—ORDERD.SELECT—FROM—WHERE—GROUP—ORDER
考题
Examine the data in the EMPLOYEES table:Which three subqueries work? ()
A. SELECT * FROM employees where salary (SELECT MIN(salary) FROM employees GROUP BY department _ id);B. SELECT * FROM employees WHERE salary = (SELECT AVG(salary) FROM employees GROUP BY department _ id);C. SELECT distinct department_id FROM employees Where salary ANY (SELECT AVG(salary) FROM employees GROUP BY department _ id);D. SELECT department_id FROM employees WHERE SALARY ALL (SELECT AVG(salary) FROM employees GROUP BY department _ id);E. SELECT last_name FROM employees Where salary ANY (SELECT MAX(salary) FROM employees GROUP BY department _ id);F. SELECT department_id FROM employees WHERE salary ALL (SELECT AVG(salary) FROM employees GROUP BY ANG (SALARY));
考题
Click the Exhibit button and examine the data in the EMPLOYEES table.Which three subqueries work? ()
A.SELECT * FROM employees where salary (SELECT MIN(salary) FROM employees GROUP BY department_id);B.SELECT * FROM employees WHERE salary = (SELECT AVG(salary) FROM employees GROUP BY department_id);C.SELECT distinct department_id FROM employees WHERE salary ANY (SELECT AVG(salary) FROM employees GROUP BY department_id);D.SELECT department_id FROM employees WHERE salary ALL (SELECT AVG(salary) FROM employees GROUP BY department_id);E.SELECT last_name FROM employees WHERE salary ANY (SELECT MAX(salary) FROM employees GROUP BY department_id);F.SELECT department_id FROM employees WHERE salary ALL (SELECT AVG(salary) FROM employees GROUP BY AVG(SALARY));
考题
与“SELECT*FROM教师表INTO DBF A”等价的语句是A.SELECT*FROM教师表TO DBF AB.SELECT*FROM教师表TO TABLE AC.SELECT*FROM教师表INTO TABLE AD.SELECT*FROM教师表INTO A
考题
下图是使用查询设计器完成的查询,与该查询等价的SQL语句是 ______。A.select学号,数学from sc where 数学>(select avg(数学)from sC)B.select学号where数学>(select avg(数学)from sC)C.select数学avg(数学)from scD.select数学>(select avg(数学)from sC)
考题
在学生表中查找没有选课的学生,下列语句正确的是( )。A.SELECT*FROM 学生 WHERE EXISTS; (SELECT*FROM 选课 WHERE学生号=学生.学生号)B.SELECT*FROM 学生 WHERE NOT EXISTS; (SELECT*FROM 选课 WHERE 学生号=学生.学生号)C.SELECT*FROM 学生 WHERE EXISTS; (SELECT*FROM 选课 WHERE 学生号=学生号)D. SELECT*FROM 学生 WHERE NOT EXISTS; (SELECT*FROM 选课 WHERE 学生号=学生号)
考题
有如下SQL语句: SELECT姓名FROM学生表WHERE学号IN; (SELECT学号FROM成绩表WHERE成绩>90) 下列哪条命令与该SQL语句等价A.SELECT姓名FROM学生表WHERE EXISTS; (SELECT学号FROM成绩表WHERE成绩>90)B.SELECT姓名FROM学生表WHERE EXISTS; (SELECT学号FROM成绩表WHERE学号=学生表.学号AND成绩>90)C.SELECT姓名FROM学生表WHERE学号EXISTS; (SELECT学号FROM成绩表WHERE学号=学生表.学号AND成绩>90)D. SELECT姓名FROM学生表WHERE学号=; (SELECT学号FROM成绩表WHERE成绩>90)
考题
有SQL语句: SELECT DISTINCT 系号 FROM 教师 WHERE 工资>=; ALL(SELECT 工资 FROM 教师 WHERE 系号 =“02”) 与如上语句等价的SQL语句是A.SELECT DISTINCT 系号 PROM 教师 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”)
考题
( 30 )与 “ SELECT * FROM 教师表 INTO DBF A ” 等价的语句是A ) SELECT * FROM 教师表 TO DBF AB ) SELECT * FROM 教师表 TO TABLE AC ) SELECT * FROM 教师表 INTO TABLE AD ) SELECT * FROM 教师表 INTO A
考题
以下哪条SELECT语句将返回一个数字值?()A、SELECT SYSDATE + 600 / 24 FROM 雇员;B、SELECT ROUND(聘用日期, DAY) FROM 雇员;C、SELECT (SYSDATE - 聘用日期) / 7 FROM 雇员;D、SELECT SYSDATE - 7 FROM 雇员;
考题
How can a Job with EXEC as Internal Status be stopped in the Job Scheduling Console?()A、 select Kill from the menuB、 select Release from the menuC、 select Cancel Job from the menuD、 select Cancel Pending from the menu
考题
下面哪条语句可以取出薪水最高的前三个人:()A、SELECT * FROM (SELECT * FROM EMPLOYEES ORDER BY SALARY );B、SELECT * FROM (SELECT * FROM EMPLOYEES ORDER BY SALARY ) WHERE ROWNUM=3;C、SELECT * FROM (SELECT * FROM EMPLOYEES ORDER BY SALARY DESC) WHERE ROWNUM=3;D、SELECT * FROM EMPLOYEES WHERE ROWNUM=3 ORDER BY SALARY DESC;
考题
下列SQL语句中,能够完成并运算的是()。A、SELECT * FROM 篮球爱好者 UNION SELECT * FROM 足球爱好者B、SELECT * FROM 篮球爱好者 INTERSECT SELECT * FROM 足球爱好者C、SELECT * FROM 篮球爱好者 EXCEPT SELECT * FROM 足球爱好者D、SELECT * FROM 篮球爱好者 ,足球爱好者
考题
下列SQL语句中,能够完成求某列最大值的是()。A、SELECT AVG(Age) FROM StudentB、SELECT MAX(Age) FROM StudentC、SELECT MIN(Age) FROM StudentD、SELECT COUNT(*) FROM Student
考题
下列命令不能执行的是()。A、SELECT * FROM [select]B、SELECT * FROM @MyTableC、SELECT * FROM [MyTable]D、SELECT * FROM MyTable
考题
设有一自由表xx.dbf,下列SELECT-SQL命令中语法错误的是()A、SELECT * FROM xxB、SELECT * FROM xx INTO CURSOR tempC、SELECT * FROM xx INTO TABLE tempD、SELECT * FROM xx INTO temp
考题
在Transact-SQL语法中,以下SELECT语句正确的是()。A、SELECT * FROM studentB、SELECT * FROM student WHERE GETDATE()C、SELECT * FROM student ORDER st_idD、SELECT * FROM student BY St_name
考题
Which of the following SQL statements will return the year and average salary for all employees hired within a given year that have a salary greater than $30,000?()A、SELECT * FROM t1 UNION SELECT * FROM t2B、SELECT * FROM t1 UNION DISTINCT SELECT * FROM t2C、SELECT * FROM t1 INTERSECT SELECT * FROM t2D、SELECT * FROM t1 WHERE (c1,c2)= (SELECT c1,c2 FROM t2)
考题
Which three SELECT statements displays 2000 in the format "$2,000.00"? ()A、SELECT TO CNAR(2000, '$#,###.##') FROM dual;B、SELECT TO CNAR(2000, '$0,000.00') FROM dual;C、SELECT TO CNAR(2000, '$9,999.00') FROM dual;D、SELECT TO CNAR(2000, '$9,999.99') FROM dual;E、SELECT TO CNAR(2000, '$2,000.00') FROM dual;F、SELECT TO CNAR(2000, '$N,NNN.NN') FROM dual;
考题
Which three SELECT statements display 2000 in the format "$2,000.00"? ()A、SELECT TO_CHAR(2000, '$#,###.##') FROM dual;B、SELECT TO_CHAR(2000, '$0,000.00') FROM dual;C、SELECT TO_CHAR(2000, '$9,999.00') FROM dual;D、SELECT TO_CHAR(2000, '$9,999.99') FROM dual;E、SELECT TO_CHAR(2000, '$2,000.00') FROM dual;F、SELECT TO_CHAR(2000, '$N,NNN.NN') FROM dual;
考题
Which SELECT statement should you use to extract the year from the system date and display it in the format "1998"?()A、SELECT TO_CHAR(SYSDATE,'yyyy') FROM dual;B、SELECT TO_DATE(SYSDATE,'yyyy') FROM dual;C、SELECT DECODE(SUBSTR(SYSDATE, 8), 'YYYY') FROM dual;D、SELECT DECODE(SUBSTR(SYSDATE, 8), 'year') FROM dual;E、SELECT TO_CHAR(SUBSTR(SYSDATE, 8,2),'yyyy') FROM dual;
考题
Examine the data in the EMPLOYEES table: LAST_NAME DEPARTMENT_ID SALARY Getz 10 3000 Davis 20 1500 Bill 20 2200 Davis 30 5000 ... Which three subqueries work? ()A、SELECT * FROM employees where salary (SELECT MIN(salary) FROM employees GROUP BY department _ id);B、SELECT * FROM employees WHERE salary = (SELECT AVG(salary) FROM employees GROUP BY department _ id);C、SELECT distinct department_id FROM employees Where salary ANY (SELECT AVG(salary) FROM employees GROUP BY department _ id);D、SELECT department_id FROM employees WHERE SALARY ALL (SELECT AVG(salary) FROM employees GROUP BY department _ id);E、SELECT last_name FROM employees Where salary ANY (SELECT MAX(salary) FROM employees GROUP BY department _ id);F、SELECT department_id FROM employees WHERE salary ALL (SELECT AVG(salary) FROM employees GROUP BY ANG (SALARY));
考题
当需要返回当前用户的名字,可以执行如下()SQL语句。A、SELECT user FROM V$DBAB、SELECT user FROM dualC、SELECT name FROM dualD、SELECT name FROM V$DBA
考题
Which SELECT statement will the result ‘ello World’ from the string ‘Hello World’?()A、SELECT SUBSTR( ‘Hello World’,1) FROM dual;B、SELECT INITCAP(TRIM (‘Hello World’, 1,1)) FROM dual;C、SELECT LOWER(SUBSTR(‘Hello World’, 1, 1) FROM dual;D、SELECT LOWER(SUBSTR(‘Hello World’, 2, 1) FROM dual;E、SELECT LOWER(TRIM (‘H’ FROM ‘Hello World’)) FROM dual;
热门标签
最新试卷