阅 读 文 章

有答案的DB2 700,701题库

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


And, given the statement
SELECT cities, name FROM country
Which of the following clauses must be added to the statement for it to return rows sorted by NAME and the sorted by CITIES?
A.  ORDER BY 2, 1 
B.  GROUP BY 2, 1 
C.  ORDER BY 1, 2 
D.  GROUP BY 1, 2

A   38.  An application is bound with uncommitted read isolation level it issues a request that retrieves 20 rows out of 200000 in the table, which of the following describes the rows that are locked as a result of this request?
 
A.  None of the rows are locked 
B.  The retrieved rows are locked 
C.  The last row of the result set is locked 
D.  The rows not previously updated by another application are locked 

 
A   39.  A user wishes to store a numeric with a maximum value of 100,000 which data type will allow the user to store these values while using the least amount of storage?
A.  BIGINT 
B.  INTEGER   
C.  IDENTITY  
D.  SMALLINT

BC   40.   Which two of the following can be done using the ALTER TABLE statement?
 
A.  define a trigger 
B.  define a primary key 
C.  add a check constraint 
D.  add a non-unique index 
E.  change a column’s name




 

D   41.  Given the following information:
Create table tab4 (c1 char(4), c2 integer)
Insert into tab4 values (‘123’,345)
Update tab4 set (c1,c2)=(‘null’,0)
What will be the result of the following statement if issued in the Command Line Processor?
Select *from tab4
 
A.  c1   c2
   ---   ------
- 0
1 record (s) selected
B.   C1   C2
-----   -------
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):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.