阅 读 文 章

有答案的DB2 700,701题库

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


 A. SELECT * FROM staff ORDER BY job
 B. SELECT job, name FROM staff GROUP BY name, job
 C. SELECT * FROM staff GROUP BY name, job, id, dept, years, salary, comm
 D. SELECT * FROM staff ORDER BY name, job, id, dept, years, salary, comm

A    34.  Which of the following SQL statements can remove all rows from a table named COUNTRY?
 A. DELETE FROM country
 B. DELETE TABLE country
 C. DELETE * FROM country
 D. DELETE ALL FROM country

D    35.  USER3 has created table TAB1 and has no additional authorities. 
Which of the following statements is USER3 authorized to execute?
 A. GRANT LOAD ON TABLE tab1 TO user8
 B. GRANT CONTROL ON TABLE tab1 TO user8
 C. GRANT OWNERSHIP ON TABLE tab1 TO user8
 D. GRANT ALL PRIVILEGES ON TABLE tab1 TO user8

AC   36.  Given the following table definitions:
  CREATE TABLE employee 
   (empid INT NOT NULL PRIMARY KEY, 
    emp_fname CHAR(30), 
    emp_lname CHAR(30)  
    )
  CREATE TABLE payroll  
  (empid INTEGER, 
   weeknumber INTEGER, 
   paycheck DECIMAL(6,2), 
   CONSTRAINT fkconst FOREIGN KEY (empid) 
    REFERENCES employee (empid) ON DELETE SET NULL, 
   CONSTRAINT chk1   
    CHECK (paycheck>;0  AND weeknumber BETWEEN 1 and 52))
The appropriate indexes exist to support the tables created with the previous CREATE statements. Which two of the following operations can cause the enforcement of a constraint defined on PAYROLL?
(Select 2)
 A. Update of a row in PAYROLL
 B. Deletion of a row in PAYROLL
 C. Deletion of a row in EMPLOYEE
 D. Addition of a new column to PAYROLL
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):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.