OCP

【2019年8月】OCP 071认证考试最新版本的考试原题-第19题

匿名 (未验证) 提交于 2019-12-03 00:15:02
Choose two The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOTCE_DATE column of data type DATE NLS_DATE_FORMAT is set to DD-MON-RR. Which two are true about data type conversions involving these columns in query expressions? A) invoice_date > '01-02-2019' : uses implicit conversion B) qty_sold =' 05549821 ' : requires explicit conversion C) CONCAT(qty_sold, invoice_date) : reuires explicit conversion D) qty_sold BETWEEN '101' AND '110' : uses implicit convesion E) invoice_date = '15-march-2019' : uses implicit conversion Answer:DE (解析:D 答案中字符型是可以转换成数字型;E 的日期格式跟要求不一样

【2019年8月版本】OCP 071认证考试最新版本的考试原题-第6题

匿名 (未验证) 提交于 2019-12-03 00:15:02
choose three Which three statements are true about indexes and their administration in an Orade database? A) An INVISIBLE index is not maintained when Data Manipulation Language (DML) is performed on its underlying table. B) An index can be created as part of a CREATE TABLE statement. C) A DROP INDEX statement always prevents updates to the table during the drop opeaton D) A UNIQUE and non-unique index can be ceated on the same table colunn E) A descending index is a type of funcion-based index F) If a query filters on an indexed column then it will always be used during execution of the query

【2019年8月版本】OCP 071认证考试最新版本的考试原题-第3题

匿名 (未验证) 提交于 2019-12-03 00:14:01
choose two The CUSTOMERS table has a CUST_CREDT_LIMIT column of date type number. Which two queries execute successtully? A) SELECT TO_CHAR(NVL(cust_credit_limit * .15,'Not Available')) FROM customers; B) SELECT NVL2(cust_credit_limit * .15,'Not AvailabIe') FROM customers; C) SELECT NVL(cust_credit_limit * .15, 'Not Available') FROM customers; D) SLECT NVL(TO_CHAR(cust_credit_limit * .15),'Not available') from customers; E) SELECT NVL2(cust_credit_limit,TO_CHAR(cust_credit_limit * .15),'NOT Available') FROM customers; Answer:DE (解析:注意 nvl 返回的数据类型要与原来列的数据类型一致。此题库以前出现过。) 来源:51CTO 作者: cto_5359 链接

OCP 1z0-071 79题(第一版)

匿名 (未验证) 提交于 2019-12-02 23:43:01
OCP 1z0-071 79题(第一版) Oracle Database 12c SQL Version 2.0 时间:2019/6/16 QUESTION 79 Which three statements are true regarding the SQL WHERE and HAVING clauses? A. The HAVING clause conditions can have aggregating functions. B. The HAVING clause conditions can use aliases for the columns. C. The WHERE and HAVING clauses cannot be used together in a SQL statement. D. The WHERE clause is used to exclude rows before grouping data. E. The HAVING clause is used to exclude one or more aggregated results after grouping data. Correct Answer: ADE aggregating :v. 聚集;合计(aggregate 的现在分词) aliases :n. 别名

【2019年8月】OCP 071认证考试最新版本的考试原题-第19题

吃可爱长大的小学妹 提交于 2019-12-02 21:48:37
Choose two The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOTCE_DATE column of data type DATE NLS_DATE_FORMAT is set to DD-MON-RR. Which two are true about data type conversions involving these columns in query expressions? A) invoice_date > '01-02-2019' : uses implicit conversion B) qty_sold =' 05549821 ' : requires explicit conversion C) CONCAT(qty_sold, invoice_date) : reuires explicit conversion D) qty_sold BETWEEN '101' AND '110' : uses implicit convesion E) invoice_date = '15-march-2019' : uses implicit conversion Answer:DE (解析:D 答案中字符型是可以转换成数字型;E 的日期格式跟要求不一样

【免费】免费分享大量的IT资料

不打扰是莪最后的温柔 提交于 2019-12-02 06:52:11
一些资料下载地址: 资料 下载地址 各种操作系统下的数据库安装文件( Linux 、 Windows 、 AIX 等) https://pan.baidu.com/s/1nvUfAI1 小麦苗分享的资料 https://share.weiyun.com/57HUxNi 小麦苗课堂资料 https://share.weiyun.com/5fAdN5m 小麦苗出版的相关书籍 https://share.weiyun.com/5sQBQpY 小麦苗博客文章 https://share.weiyun.com/5ufi4Dx 数据库系列( Oracle 、 MySQL 、 NoSQL ) https://share.weiyun.com/5n1u8gv 公开课录像文件 https://share.weiyun.com/5yd7ukG 其它常用软件分享 https://share.weiyun.com/53BlaHX 其它 IT 资料( OS 、网络、存储等) https://share.weiyun.com/5Mn6ESi ★各种操作系统下的数据库安装文件(Linux、Windows、AIX等): https://pan.baidu.com/s/1nvUfAI1 ★小麦苗分享的资料: https://share.weiyun.com/57HUxNi ★小麦苗课堂资料: https:/

【2019年8月版本】OCP 071认证考试最新版本的考试原题-第11题

岁酱吖の 提交于 2019-12-01 18:27:27
Choose two. Which two statements are true about a self join? A) The join key column must have an index. B) It can be a left outer join. C) It must be a full outer join. D) It can be an inner join. E) It must be an equie join. Answer:BD (自连接其实跟两张表的连接一样。可以是等连接、左右外连接等等。 不过在进行内连接时为了区别表的名字,需要加别名 select w.ename,m.ename from emp2 w inner join emp2 m on w.mgr=m.empno; ) 来源: https://www.cnblogs.com/cnblogs5359/p/11711946.html

【2019年8月版本】OCP 071认证考试最新版本的考试原题-第8题

核能气质少年 提交于 2019-12-01 15:38:29
Choose the best answer The EMPLOYEES table contains columns EMP_ID of data type NUMBER and HIRE_DATE of data type DATE You want to display the date of the first Monday after the completion of six months since hiring The NLS_TERRITORY parameter is set to AMERICA in the session and, therefore, Sunday is the first day ofthe week Which query can be used? A) SELECT emp_id,NEXT_DAY(ADD_MONTHS(hite_date,6), 'MONDAY') FROM employees; B) SELECT emp_id,ADD_MONTHS(hire_date,6), NEXT_DAY('MONDAY') FROM employees; C) SELECT emp_id,NEXT_DAY(MONTHS_BETWEEN(hire_date,SYSDATE),6) FROM employees; D) SELECT emp

【2019年8月版本】OCP 071认证考试最新版本的考试原题-第7题

冷暖自知 提交于 2019-12-01 15:17:17
Choose three Which three are true about granting object privileges on tables, views, and sequences? A) UPDATE can be granted only on tables and views. B) DELETE can be granted on tables, views, and sequences. C) REFERENCES can be granted only on tables and views. D) INSERT can be granted on tables, vews, and sequences. E) SELECT can be granted only on tables and views. F) ALTER can be granted only on tables and sequences. Answer:ACF (解析:update 和 delete 只能在表和视图上授权,不能在 sequence 上。 只有 SELECT 和 ALTER 权限对序列有效; ) 来源: https://www.cnblogs.com/cnblogs5359/p/11690172.html

【2019年8月版本】OCP 071认证考试最新版本的考试原题-第6题

感情迁移 提交于 2019-12-01 11:43:26
choose three Which three statements are true about indexes and their administration in an Orade database? A) An INVISIBLE index is not maintained when Data Manipulation Language (DML) is performed on its underlying table. B) An index can be created as part of a CREATE TABLE statement. C) A DROP INDEX statement always prevents updates to the table during the drop opeaton D) A UNIQUE and non-unique index can be ceated on the same table colunn E) A descending index is a type of funcion-based index F) If a query filters on an indexed column then it will always be used during execution of the query