阅 读 文 章

有答案的DB2 700,701题库

[来源:网上转载 (http://www.chinaunix.net) | 作者:网友(axjlxy) | 时间:2007-05-27 | 浏览: 人次 ]


Which of the following statements will display the player's name, number and points for all players with an entry in both tables?
  A. SELECT names.name, names.number, points.points 
FROM names INNER JOIN points ON names.name=points.name  
  B. SELECT names.name, names.number, points.points 
FROM names FULL OUTER JOIN points ON names.name=points.name  
  C. SELECT names.name, names.number, points.points 
FROM names LEFT OUTER JOIN points ON names.name=points.name  
  D. SELECT names.name, names.number, points.points 
FROM names RIGHT OUTER JOIN points ON names.name=points.name  

A    44.  Which of the following products is designed for analyzing data with more than two dimensions?
A. DB2 OLAP Server   
B. DB2 Warehouse Manager  
C. DB2 Relational Connect    
D. DB2 Data Links Manager  

B    45.  Given the following table definition:
STAFF 
  id       INTEGER 
  name     CHAR(20) 
  dept     INTEGER 
  job      CHAR(20) 
  years    INTEGER 
  salary   DECIMAL(10,2) 
  comm     DECIMAL(10,2)
Which of the following SQL statements will return a result set that satisfies these conditions?
Displays the total number of employees in each department 

Displays the corresponding department ID for each department 

Includes only departments with at least one employee receiving a commission (comm) greater than 5000 

Sorted by the department employee count from greatest to least
A. SELECT dept, COUNT(*) FROM staff GROUP BY dept HAVING comm >; 5000 ORDER BY 2 DESC  
 B. SELECT dept, COUNT(*) FROM staff 
WHERE comm >; 5000 
GROUP BY dept, comm
TAG标签 : 题库 答案 c1 INT selected. SELECT NULL 1record c2

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表
网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.newhtm.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.