电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本
换一换
首页 金锄头文库 > 资源分类 > DOCX文档下载
分享到微信 分享到微博 分享到QQ空间

CUUG内部OCP题库解析-071-文档3

  • 资源ID:93170013       资源大小:548.82KB        全文页数:11页
  • 资源格式: DOCX        下载积分:0金贝
快捷下载 游客一键下载
账号登录下载
微信登录下载
三方登录下载: 微信开放平台登录   支付宝登录   QQ登录  
二维码
微信扫一扫登录
下载资源需要0金贝
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
如填写123,账号就是123,密码也是123。
验证码:   换一换

 
账号:
密码:
验证码:   换一换
  忘记密码?
    
1、金锄头文库是“C2C”交易模式,即卖家上传的文档直接由买家下载,本站只是中间服务平台,本站所有文档下载所得的收益全部归上传人(卖家)所有,作为网络服务商,若您的权利被侵害请及时联系右侧客服;
2、如你看到网页展示的文档有jinchutou.com水印,是因预览和防盗链等技术需要对部份页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有jinchutou.com水印标识,下载后原文更清晰;
3、所有的PPT和DOC文档都被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;下载前须认真查看,确认无误后再购买;
4、文档大部份都是可以预览的,金锄头文库作为内容存储提供商,无法对各卖家所售文档的真实性、完整性、准确性以及专业性等问题提供审核和保证,请慎重购买;
5、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据;
6、如果您还有什么不清楚的或需要我们协助,可以点击右侧栏的客服。
下载须知 | 常见问题汇总

CUUG内部OCP题库解析-071-文档3

CUUG内部OCP题库解析-071-文档3题库新特点:oracle 11g版本的ocp认证考试题库,来自cuug整理,考试题大部分都在这里能找到,如果想考ocp认证可以参考这些文档。(071-sql部分考试)下面的题是(071考试-第3个文档)里的一些考题。其他题找相关文档,或者在群里讨论101-5267-481Administrator CUUG内部OCP题库解析-052-文档2 7/17/1918、(8-7) choose twoWhich two statements are true regarding views? (Choose two.)A) A simple view in which column aliases have been used cannot be updated.B) The OR REPLACE option is used to change the definition of an existing view without droppingand re-creating it.C) The WITH CHECK OPTION constraint can be used in a view definition to restrict the columnsdisplayed through the view.D) Rows added through a view are deleted from the table automatically when the view is dropped.E) Rows cannot be deleted through a view if the view definition contains the DISTINCT keyword.F) A subquery used in a complex view definition cannot contain group functions or joins.Answer:BE(解析:只要是简单视图,使用别名的列是可以使用 UPDATE命令更新的。WITH CHECK OPTION用于限制通过视图更改基表的条件,禁止更改不包含在子查询条件里的行。)19、(8-14) choose twoView the Exhibit and examine the structure of the ORDERS table.The columns ORDER_MODE and ORDER_TOTAL have the default values 'direct' and 0 respectively.Which two INSERT statements are valid? (Choose two.)A) INSERT INTO(SELECT order_id,order_date,customer_id FROM orders)VALUES (1,'09-mar-2007', 101);B) INSERT INTO orders(order_id,order ate,order_mode,customer_id,order_total)VALUES(1,TO_DATE(NULL), 'online', 101, NULL);C) INSERT INTO ordersVALUES (1, '09-mar-2007', 'online','',1000);D) INSERT INTO orders(order_id,order_date,order_mode,order_total)VALUES (1,'10-mar-2007','online',1000);E) INSERT INTO ordersVALUES (1,'09-mar-2007', DEFAULT, 101, DEFAULT);Answer:AE(解析:验证过,考点是考如何插入默认值的列,实际插入过程中可以忽略列,或者用 default关键字显示插入。D语法没有错误,但是 customer_id是非空约束,所以无法插入)原来 047的考题。20、(9-1)choose the best answer:Which statement is true about the Oracle SQL, DELETE and TRUNCATE statements?A) DELETE but not TRUNCATE statement can be used to remove data from selective columns and rowsof a table.B) DELETE and TRUNCATE statements can have a rollback done to restore data into a table.C) DELETE and TRUNCATE statements remove all indexes for the tables on which they are performed.D) DELETE but not TRUNCATE statement can be used to selectively remove rows from a table.Answer:D(解析:Truncate是删除整张表的数据,delete不能删除某个列的数据,删除的是行的数据)21、(9-2)choose threeWhich three tasks can be performed by DDL statements?A) preventing data retrieval from a table outside of office hoursB) modifying a table to prevent data that violate certain co ditions from being entered in a columnC) preventing any data modification to a tableD) creating multiple savepoints to enable partial rollback of a transactionE) providing an alternative name for a tableAnser:BCE(解析:B 答案可以用添加约束来解决;C 答案可以用 alter 命令把表变成只读模式;E 答案可以通过创建同义词来实现,这道题比较灵活,表达的比较隐晦。22、(9-12)choose all that applyView the Exhibit and examine the details of the ORDER_ITEM table.Evaluate the following S statements:Statement 1:SELECT MAX(unit_price*quantity) "Maximum Order"FROM order_items;Statement 2:SELECT MAX(unit_price*quantit ) "Maximum Order"ROM order_itemsGROUP BY order_id;Which statements are true regarding the output of these SQL statements? (Choose all that apply.)A) Both statements would ignore NULL values for the UNIT_PRICE and QUANTITY columns.B) Statement 1 wou d return only one row of output.C) Both the statements would give the same output.D) Statement 2 would return multiple rows of output.E) Statement 1 would not return any row because the GROUP BY clause is missing.Anser:ABD(解析:对于 null值,Oracle计算的时候结果为空,但是在求最大值的时候,会忽略)SQL> select sal*comm from emp;SAL*COMM-4800006250001750000SQL> select max(sal*comm) from emp;MAX(SAL*COMM)-175000023、(9-16)choose the best answer:View the Exhibit and examine the data in the EMPLOYEES table.You want to generate a report showing the tota compensation paid to each employee to date(迄今为止支付给每位员工的总补偿).You issue the following query:SQL>S LECT ename |' joined on '| h redate |', the total compensation paid is '|TO_CHAR(ROUND(ROUND(SYSDATE-hiredate)/365) * sal + comm)"COMPENSATION UNTIL DATE"FROM employeesWhat is the outcome?A) It executes successfully and gives the correct output.B) It generates an error because the usage of the ROUND function in the expression is not valid.C) It generates an error because the concatenation operator can be used to combine only two items.D) It generates an error because the alias is not valid.E) It executes successfully but does not give the correct output.Answer:E(解析:因为 comm列上有空值,所以会导致某些计算的结果为空)24、(10-4) choose two:Examine the data in the CUST_NAME column of the CUSTOMERS table.CUST_NAME-Lex De HaanRenske LadwigJose Manuel UrmanJason MallinYou want to extract only those customer names that have t ee names and display

注意事项

本文(CUUG内部OCP题库解析-071-文档3)为本站会员(j***)主动上传,金锄头文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即阅读金锄头文库的“版权提示”【网址:https://www.jinchutou.com/h-59.html】,按提示上传提交保证函及证明材料,经审查核实后我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。

分享当前资源【CUUG内部OCP题库解析-071-文档3】到朋友圈,您即可以免费下载此资源!
微信扫一扫分享到朋友圈
二维码
操作提示:任选上面一个二维码,打开微信,点击“发现”使用“扫一扫”,即可将选择的网页分享到朋友圈
您可能感兴趣的------------------------------------------------------------------------------------------------------



关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.