最新更新 sitemap 网站制作设计本站搜索
网页设计
国外网站 韩国网站 个人主页 手提袋设计 CSS 网页特效 平面设计 网站设计 Flash CMS技巧 服装网站 php教程 photoshop 画册 服务器选用 数据库 Office
虚拟主机 域名注册 云主机 网页设计 客服QQ:8208442
当前位置:首页 > 编程开发 > 数据库

某数据集团数据库初试笔试题

日期:09-14    来源:中国设计秀    作者:cnwebshow.com


 lNj中国设计秀

1)Which statement shows the maximum salary paid in each job category of each department?_______lNj中国设计秀
A. select dept_id, job_cat,max(salary) from employees where salary > max(salary);lNj中国设计秀
B. select dept_id, job_cat,max(salary) from employees group by dept_id,job_cat;lNj中国设计秀
C. select dept_id, job_cat,max(salary) from employees;lNj中国设计秀
D. select dept_id, job_cat,max(salary) from employees group by dept_id;lNj中国设计秀
E. select dept_id, job_cat,max(salary) from employees group by dept_id,job_cat,salary;lNj中国设计秀

2)description of the students table:lNj中国设计秀
  sid_id                       numberlNj中国设计秀
  start_date                   datelNj中国设计秀
  end_date                     datelNj中国设计秀
which two function are valid on the start_date column?_________。lNj中国设计秀
A. sum(start_date)lNj中国设计秀
B. avg(start_date)lNj中国设计秀
C. count(start_date)lNj中国设计秀
D. avg(start_date,end_date)lNj中国设计秀
E. min(start_date)lNj中国设计秀
F. maximum(start_date)lNj中国设计秀

3)for which two constraints does the oracle server implicitly create a unique index?______。lNj中国设计秀
A. not nulllNj中国设计秀
B. primarylNj中国设计秀
C. foreign keylNj中国设计秀
D. checklNj中国设计秀
E. uniquelNj中国设计秀

4)in a select statement that includes a where clause,where is the group by clause placed in the select statement?______。lNj中国设计秀
A. immediately after the select clauselNj中国设计秀
B. before the where clauselNj中国设计秀
C. before the from clauselNj中国设计秀
D. after the order by clauselNj中国设计秀
E. after the where clauselNj中国设计秀

5)in a select statement that includes a where clause,where is the order by clause placed in the select statement?______.lNj中国设计秀
A.immediately after the select clauselNj中国设计秀
B.before the where clauselNj中国设计秀
C.after all clauselNj中国设计秀
D.after the where clauselNj中国设计秀
E.before the from clauselNj中国设计秀

6)evaluate there two sql statements______.lNj中国设计秀
Select last_name,salary from employees order by salary;lNj中国设计秀
Select last_name,salary from employees order by 2 asc;lNj中国设计秀
A.the same result  B.different result C.the second statement returns a syntax errorlNj中国设计秀

7) you would like to display the system date in the format“20051110 14:44:17”。Which select statement should you use?______。lNj中国设计秀
A. select to_date(sydate,’yearmmdd hh:mm:ss’)from dual;lNj中国设计秀
B. select to_char(sydate,’yearmonthday hh:mi:ss’)from dual;lNj中国设计秀
C. select to_date(sydate,’yyyymmdd hh24:mi:ss’)from dual;lNj中国设计秀
D. select to_char(sydate,’yyyymmdd hh24:mi:ss’)from dual;lNj中国设计秀
E. select to_char(sydate,’yy-mm-dd hh24:mi:ss’)from dual;lNj中国设计秀

8)which select statement will the result ‘ello world’from the string‘Hello world’?______.lNj中国设计秀
A. select substr(‘Hello World’,1)from dual;lNj中国设计秀
B. select substr(trim(‘Hello World’,1,1))from dual;lNj中国设计秀
C. select lower(substr(‘Hello World’,1))from dual;lNj中国设计秀
D. select lower(trim(‘H’from‘Hello World’))from dual;lNj中国设计秀

9)which are DML statements(choose all that apply)______.lNj中国设计秀
A.commit  B.merge   C.update  D.delete E.creat  F.droplNj中国设计秀

10)Select 语句中用来连接字符串的符号是______.lNj中国设计秀
A. “+”   B. “&” C.“||” D.“|”lNj中国设计秀

问答题: 什么是聚集索引,什么是非聚集索引,什么又是主键?lNj中国设计秀

本文引用地址:/bc/article_61458.html
网站地图 | 关于我们 | 联系我们 | 网站建设 | 广告服务 | 版权声明 | 免责声明