阅 读 文 章

有答案的DB2 700,701题库

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


D.  GRANT EXECUTE ON FUNCTION gen.fn1 (INT, CHAR) RETURNS CHAR TO usera

C  9.  An administrator issues:
GRANT ALL PRIVILEGES ON TABLE appl.tab1 TO user1 WITH GRANT OPTION
Which of the following statements is USER1 authorized to execute?
A. GRANT DROP ON TABLE appl.tab1 TO user8
B. GRANT OWNER ON TABLE appl.tab1 TO user8
C.  GRANT INSERT ON TABLE appl.tab1 TO user8
D.  GRANT CONTROL ON TABLE appl.tab1 TO user8

C  10.  Given the following table definition:
STAFF
Id  INTEGER
Name CHAR(20)
Dept INTEGER
Job CHAR(20)
Years INTEGER
Salary DECINAL(10,2)
Comm. DECINAL(10,2)
Which of the following statements will return all of the records by job with the salaries in descending order?
A. SELECT*FROM staff ORDER BY salary DESC.job
B. SELECT*FROM staff GROUP BY salary DESC.job
C.  SELECT*FROM staff ORDER BY job。salary DESC
D.  SELECT*FROM staff GROUP BY job.salary DESC

B  11.  Given tables that are defined in the following way
  Table1
     Col1   INT
     Col2   CHAR (30)
  Table2
     Col1   INT
     Col2   CHAR (30)
Which of the following statements will insert all the rows in TABLE2 into TABLE1?
A. INSERT INTO table1(table2.col1,table2.col2)
B. INSERT INTO table1SELECT col1, col2 FROM table2
C. INSERT INTO table1 VALUES(SELECT col1,col2FROM table2)
D.  INSERT INTO table1 (col1, col2) VALUES (SELECT col1, col2 FROM table2)

D  12.  Given the following two tables
  TAB1                          TAB2
C1    C2                        CX    CY
----    -----                      ------   -----
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):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.