阅 读 文 章

有答案的DB2 700,701题库

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


CREATE DISTINCT TYPE kph AS INTEGER WITH COMPARISONS 
CREATE DISTINCT TYPE mph AS INTEGER WITH COMPARISONS
CREATE TABLE speed_limits 
   (route_num    SMALLINT, 
    canada_sl    KPH NOT NULL, 
    us_sl        MPH NOT NULL)
Which of the following is a valid query?
  A. SELECT route_num FROM speed_limits WHERE canada_sl >; 80  
  B. SELECT route_num FROM speed_limits WHERE canada_sl >; kph  
  C. SELECT route_num FROM speed_limits WHERE canada_sl >; us_sl  
  D. SELECT route_num FROM speed_limits WHERE canada_sl >; kph(80)  

?D   27.  Given the following UPDATE statement:
UPDATE address2 SET house_building=
(SELECT building FROM address1  
WHERE address2.id = address1.id)  
WHERE house_building IS NULL
Which of the following describes the result of the statement?
 A. The statement will succeed.  
 B. The statement will fail because a subquery cannot exist in an UPDATE statement.  
 C. The statement will succeed only if ADDRESS1.ID and ADDRESS2.ID are defined as primary keys.  
 D. The statement will succeed if the data retrieved from the subquery does not have duplicate values for ADDRESS1.ID.  

C   28. A table called EMPLOYEE has the following columns:
  NAME 
  DEPARTMENT 
  PHONE_NUMBER
Which of the following will allow USER1 to modify the PHONE_NUMBER column?
 A. GRANT INDEX (phone_number) ON TABLE employee TO user1  
 B. GRANT ALTER (phone_number) ON TABLE employee TO user1  
 C. GRANT UPDATE (phone_number) ON TABLE employee TO user1  
 D. GRANT REFERENCES (phone_number) ON TABLE employee TO user1  

C   29.  A developer is building a Windows embedded SQL application that will access DB2 UDB for OS/390 or OS/400 servers. Which of the following products is required to be installed on the Windows system in order to build the application?
TAG标签 : 题库 答案 c1 INT selected. SELECT NULL 1record c2

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

发表评论

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