Chinaunix首页 | 论坛 | 博客
  • 博客访问: 143982
  • 博文数量: 260
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 2966
  • 用 户 组: 普通用户
  • 注册时间: 2018-07-05 13:59

Oracle dba培训、OCP、OCM、MYSAL认证,可以找我们,cuug专业做这些







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

阅读(494) | 评论(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数据时,会实现隐式转换。.........【阅读全文】

阅读(521) | 评论(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.........【阅读全文】

阅读(594) | 评论(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).........【阅读全文】

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

发布时间:2019-02-27 11:42:10

View the Exhibit and examine the details of the ORDER_ITEMS table.Evaluate the following SQL statements:SELECT MAX(unit_price*quantity) "Maximum Order"Statement 2:FROM order_itemsWhich statements are true regarding the output of these SQL statements? (Choose all that apply.).........【阅读全文】

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

登录 注册