Chinaunix首页 | 论坛 | 博客
  • 博客访问: 673814
  • 博文数量: 487
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 4936
  • 用 户 组: 普通用户
  • 注册时间: 2018-07-05 13:59
个人简介

ocp考试资料群:569933648 验证码:ocp OCP 12c 19c考试题库解析与资料群:钉钉群号:35277291

文章分类

全部博文(487)

文章存档

2024年(2)

2023年(37)

2021年(151)

2020年(37)

2019年(222)

2018年(38)

我的朋友

发布时间: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.........【阅读全文】

阅读(982) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(1486) | 评论(0) | 转发(0)

发布时间: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数据时,会实现隐式转换。.........【阅读全文】

阅读(1491) | 评论(0) | 转发(0)

发布时间: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.........【阅读全文】

阅读(1554) | 评论(0) | 转发(0)

发布时间: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).........【阅读全文】

阅读(1450) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册