电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

OracleOCP11g考试题库VIP免费

OracleOCP11g考试题库_第1页
1/63
OracleOCP11g考试题库_第2页
2/63
OracleOCP11g考试题库_第3页
3/63
1. Which statement is true regarding the COALESCE function? A. It can have a maximum of five expressions in a list B. It returns the highest NOT NULL value in the list for all rows C. It requires that all expressions in the list must be of the same data type D. It requires that at least one of the expressions in the list must have a NOT NULL value Answer: C 2. View the Exhibit and examine the structure of the PROMOTIONS table. Which SQL statements are valid? (Choose all that apply.) A. SELECT promo_id, DECODE (NVL(promo_cost,0), promo_cost, promo_cost * 0.25, 100) "Discount" FROM promotions; B. SELECT promo_id, DECODE (promo_cost, 10000, DECODE (promo_category, 'G1', promo_cost *.25, NULL), NULL) "Catcost" FROM promotions; C SELECT promo_id, DECODE(NULLIF(promo_cost, 10000), NULL, promo_cost*.25, 'N/A') "Catcost" FROM promotions; D. SELECTpromo_id,DECODE(promo_cost, >10000, 'High',<10000, 'Low') "Range" FROM promotions; Answer: A, B 3. View the Exhibit and examine the structure of ORDERS and CUSTOMERS tables. There is only one customer with the cust _last_name column having value Roberts. Which INSERT statement should be used to add a row into the ORDERS table for the customer whose CUST LAST NAME is Roberts and CREDIT LIMIT is 600? A. INSERT INTO orders VALUES (1, '10-mar-2007', 'direct', (SELECT customer_id FROM customers WHERE cust last name= 'Roberts' AND credit_limit=600), 1000); B. INSERT INTO orders (order_id,order_date,order_mode, (SELECT customer_id FROM customers WHERE cust last name= 'Roberts' AND credit_limit=600),order_total) VALUES(1, '10-mar-2007', 'direct', &&customer_id, 1000); C. INSERT INTO(SELECT o.order_id, o.order_date,o.order_mode,c.customer_id, o.order_total FROM orders o, customers c WHERE o....

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

OracleOCP11g考试题库

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部