ocp考试资料群:569933648 验证码:ocp OCP 12c 19c考试题库解析与资料群:钉钉群号:35277291
全部博文(487)
发布时间:2019-03-01 11:53:56
Examine the structure of the SHIPMENTS table:You want to generate a report that displays the PO_ID and the penalty amount to be paid(罚款数额) if the SHIPMENT_DATE is later than one month from the PO_DATE. The penalty is $20 per day.SQL> SELECT po_id, CASETO_CHAR((shipment_date - po_da.........【阅读全文】
发布时间:2019-02-28 11:51:14
View the Exhibit and examine the description for the PRODUCTS and SALES table.PROD_ID is a primary key in the PRODUCTS table and foreign key in the SALES table with ON DELETE CASCADE option. The SALES table contains data for the last three years. You want to remove all the rows from the PRODUC.........【阅读全文】
发布时间:2019-02-28 11:35:19
You need to calculate the number of days from 1st January 2007 till date.Which two SQL statements would give the required output?B) SELECT SYSDATE - TO_DATE ('01/JANUARY/2007') FROM DUAL;D) SELECT SYSDATE - TO_DATE ('01-JANUARY-2007') FROM DUAL;Answer:BD数据时,会实现隐式转换。.........【阅读全文】
发布时间:2019-02-28 10:14:47
Examine the data in the CUST_NAME column of the CUSTOMERS table.----------------------Renske LadwigJason Mallinplace of the first name as follows:-----------------------**** Manuel UrmanA) SELECT LPAD(SUBSTR(cust_name,INSTR(cust_name,' ')),LENGTH(cust_name),'*') "CUST N.........【阅读全文】
发布时间:2019-02-28 09:33:02
View the Exhibit and examine the data in the EMPLOYEES table.You want to generate a report showing the total compensation paid to each employee to date(迄今为止支付给每位员工的总补偿).SQL>SELECT ename ||' joined on '|| hiredate ||TO_CHAR(ROUND(ROUND(SYSDATE-hiredate)/365) * sal + comm).........【阅读全文】