选择题:
1)Which statement shows the maximum salary paid in each job category of each department?_______
A、select dept_id, job_cat,max(salary) from employees where salary > max(salary);
B、select dept_id, job_cat,max(salary) from employees group by dept_id,job_cat;
C、select dept_id, job_cat,max(salary) from employees;
D、select dept_id, job_cat,max(salary) from employees group by dept_id;
E、select dept_id, job_cat,max(salary) from employees group by dept_id,job_cat,salary;
2)description of the students table:
sid_id number
start_date date
end_date date
which two function are valid on the start_date column?_________。
A、sum(start_date)
B、avg(start_date)
C、count(start_date)
D、avg(start_date,end_date)
E、min(start_date)
F、maximum(start_date)
3)for which two constraints does the oracle server implicitly create a unique index?______。
A、not null
B、primary
C、foreign key
D、check
E、unique
4)in a select statement that includes a where clause,where is the group by clause placed in the select statement?______。
A、immediately after the select clause
B、before the where clause
C、before the from clause
D、after the order by clause
E、after the where clause
5)in a select statement that includes a where clause,where is the order by clause placed in the select statement?______。
A、immediately after the select clause
B、before the where clause
C、after all clause
D、after the where clause
E、before the from clause
6)evaluate there two sql statements______。
Select last_name,salary from employees order by salary;
Select last_name,salary from employees order by 2 asc;
A。the same result B。different result C。the second statement returns a syntax error
7) you would like to display the system date in the format“20051110 14:44:17”。Which select statement should you use?______。
A、select to_date(sydate,’yearmmdd hh:mm:ss’)from dual;
B、select to_char(sydate,’yearmonthday hh:mi:ss’)from dual;
C、select to_date(sydate,’yyyymmdd hh24:mi:ss’)from dual;
D、select to_char(sydate,’yyyymmdd hh24:mi:ss’)from dual;
E、select to_char(sydate,’yy-mm-dd hh24:mi:ss’)from dual;
8)which select statement will the result ‘ello world’from the string‘Hello world’?______。
A、select substr(‘Hello World’,1)from dual;
B、select substr(trim(‘Hello World’,1,1))from dual;
C、select lower(substr(‘Hello World’,1))from dual;
D、select lower(trim(‘H’from‘Hello World’))from dual;
9)which are DML statements(choose all that apply)______。
A、mit B、merge C、update D、delete E、creat F、drop
10)Select 语句中用来连接字符串的符号是___C___。
A、“+” B、“&” C、“||” D、“|”
2020年河北新闻网两学一做
时间:2023-09-18 07:0:242020年河北新闻网两学一做
时间:2023-09-15 11:0:59两学一做学习教育知
时间:2023-09-21 06:0:302020年开展两学一做学习教
时间:2023-09-19 21:0:30
博达数据通信笔试题和面试题答案目2023-09-20 00:08:43
浦发银行笔试题和面试题答案2023-09-18 07:07:52
陕西国际商贸学院在重庆高考专业招生计划(人数+代码)2025-05-22 10:38:12
安徽建筑大学和新余学院哪个好 分数线排名对比2025-05-22 10:36:54
襄阳职业技术学院广西录取分数线及招生人数 附-2020最低位次排名2025-05-22 10:35:29
长江大学和新疆师范大学哪个好 分数线排名对比2025-05-22 10:34:16
锦州师范高等专科学校在辽宁高考专业招生计划(人数+代码)2025-05-22 10:32:49
山东高考排名在17550的考生能报什么大学(原创)2025-05-22 10:31:33
广州华立学院的英语专业分数线(附2020-最低分排名怎么样)2025-05-22 10:30:14
兰州石化职业技术大学的理化测试与质检技术专业分数线(附2020-最低分排名怎么样)2025-05-22 10:29:06
泉州师范学院和亳州学院哪个好 分数线排名对比2025-05-22 10:27:53
贵州医科大学在江西高考专业招生计划(人数+代码)2025-05-22 10:26:23
东莞城市学院和西安工商学院哪个好 分数线排名对比2025-05-22 10:24:51
山东海事职业学院的水路运输安全管理专业分数线(附2020-最低分排名怎么样)2025-05-22 10:23:44 


