当前位置: fuhua-pet-> 071题库
165
164

新闻中心

  • 【第44题】OCP考试1Z0-071近期考试原题分享2019-06-03
  • 071考试原题分享-第44题、choose all that apply View the Exhibit and examine the details of the ORDER_ITEMS table. Evaluate the following SQL statements: Statement 1: SELECT MAX(unit_price*quantity) "Maximum Order" FROM order_items; Statement 2: SELECT MAX(unit_price*quantity) "Maximum Order" FROM order_items GROUP BY order_id; Which statements are true regarding the output of these SQL........详情
  • 【第45题】OCP考试1Z0-071近期考试原题分享2019-06-03
  • 071考试原题分享-第45题、choose the best answer: 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(迄今为止支付给每位员工的总补偿). You issue the following query: SQLSELECT ename ||' joined on '|| hiredate || ', the total compensation paid is '|| TO_CHAR(ROUND(ROUND(SYSDATE-hiredate)/365)........详情
  • 【第46题】OCP考试1Z0-071近期考试原题分享2019-06-03
  • 071考试原题分享-第46题、choose two: Examine the data in the CUST_NAME column of the CUSTOMERS table. CUST_NAME ---------------------- Lex De Haan Renske Ladwig Jose Manuel Urman Jason Mallin You want to extract only those customer names that have three names and display the * symbol in place of the first name as follows: CUST_NAME ----------------------- *** De Haan **** Manuel Urman........详情
  • 【第47题】OCP考试1Z0-071近期考试原题分享2019-06-03
  • 071考试原题分享-第47题、choose two You need to calculate the number of days from 1st January 2007 till date. Dates are stored in the default format of dd-mon-rr. Which two SQL statements would give the required output? A) SELECT TO_DATE (SYSDATE, 'DD/MONTH/YYYY') - '01/JANUARY/2007' FROM DUAL; B) SELECT SYSDATE - TO_DATE ('01/JANUARY/2007') FROM DUAL; C) SELECT SYSDATE -'01-JAN-2007' FROM D........详情
  • 【第48题】OCP考试1Z0-071近期考试原题分享2019-06-03
  • 071考试原题分享-第48题、choose the best answer 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 PRODUCTS table for which no sale was done for the last thre........详情
  • 【第49题】OCP考试1Z0-071近期考试原题分享2019-06-03
  • 071考试原题分享-第49题、choose the best answer 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. Evaluate the following two queries: SQL SELECT po_id, CASE WHEN MONTHS_BETWEEN (shipment_date,po_date)1 THEN ........详情
  • 【第50题】OCP考试1Z0-071近期考试原题分享2019-06-03
  • 071考试是OCP认证的一个重要科目,不少考生都在这里受伤,对此我们专门收集整理了近期071考试的原题,并对071题库进行了讲解,希望帮助大家顺利通过071考试。--------------------------------------------071考试原题分享-第50题、choose twoExamine the structure of the MARKS table:Which two statements would execute successfully?A) SELECT SUM(subjectl+subject2+subject3)FROM marksWHERE student_name IS NULL;B) SELE........详情
  • 【第43题】OCP考试1Z0-071近期考试原题分享2019-06-03
  • 071考试原题分享-第43题、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 rows of 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 w........详情
  • 【第41题】OCP考试1Z0-071近期考试原题分享2019-06-03
  • 071考试原题分享-第41题、choose two View 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);.....详情
  • 【第42题】OCP考试1Z0-071近期考试原题分享2019-06-03
  • 071考试原题分享-第42题、choose three Which three tasks can be performed by DDL statements? A) preventing data retrieval from a table outside of office hours B) modifying a table to prevent data that violate certain conditions from being entered in a column C) preventing any data modification to a table D) creating multiple savepoints to enable partial rollback of a transaction E) providing ........详情
  • 【第36题】OCP考试1Z0-071近期考试原题分享2019-05-27
  • 071考试原题分享-第36题、choose the best answer Examine the structure of the MEMBERS table: You want to display details of all members who reside in states starting with the letter A followed by exactly one character. Which SQL statement must you execute? A. SELECT * FROM MEMBERS WHERE state LIKE 'A%’; B. SELECT * FROM MEMBERS WHERE state LIKE 'A_%’; C. SELECT * FROM MEMBERS WHERE state LI........详情
  • 【第37题】OCP考试1Z0-071近期考试原题分享2019-05-27
  • 071考试原题分享-第37题、choose the best answer The PRODUCTS table has the following structure: Evaluate the following two SQL statements: SQLSELECT prod_id, NVL2(prod_expiry_date, prod_expiry_date + 15,'') FROM products; SQLSELECT prod_id, NVL(prod_expiry_date, prod_expiry_date + 15) FROM products; Which statement is true regarding the outcome?.....详情
  • 【第38题】OCP考试1Z0-071近期考试原题分享2019-05-27
  • 071考试原题分享-第38题、choose two View the Exhibit and examine the structure of ORDER_ITEMS and ORDERS tables. You need to remove from the ORDER_ITEMS table those rows that have an order status of 0 or 1 in the ORDERS table. Which two DELETE statements are valid? (Choose two.) A) DELETE FROM order_items WHERE order_id IN (SELECT order_id FROM orders WHERE order_status in (0,1));.....详情
  • 【第39题】OCP考试1Z0-071近期考试原题分享2019-05-27
  • 071考试是OCP认证的一个重要科目,不少考生都在这里受伤,对此我们专门收集整理了近期071考试的原题,并对071题库进行了讲解,希望帮助大家顺利通过071考试。--------------------------------------------071考试原题分享-第39题、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 ch........详情
  • 【第40题】OCP考试1Z0-071近期考试原题分享2019-05-27
  • 071考试原题分享-第40题、choose two Which 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 dropping and re-creating it. C) The WITH CHECK OPTION constraint can be used in a view definition to restrict the columns displayed throug........详情
  • 【第31题】OCP考试1Z0-071近期考试原题分享2019-05-27
  • 071考试原题分享-第31题、choose the best answer: Examine the structure of the EMPLOYEES table: There is a parent/child relationship between EMPLOYEE_ID and MANAGER_ID. You want to display the name, joining date, and manager for all the employees. Newly hired employees are yet to be assigned a department or a manager. For them, 'No Manager' should be displayed in the MANAGER column. Which SQ........详情
  • 【第32题】OCP考试1Z0-071近期考试原题分享2019-05-27
  • 071考试是OCP认证的一个重要科目,不少考生都在这里受伤,对此我们专门收集整理了近期071考试的原题,并对071题库进行了讲解,希望帮助大家顺利通过071考试。--------------------------------------------071考试原题分享-第32题、choose the best answer:Examine the structure of the BOOKS_TRANSACTIONS table.You want to update this table such that BOOK_ID is set to 'INVALID' for all rows where no MEMBER_ID has b........详情
  • 【第33题】OCP考试1Z0-071近期考试原题分享2019-05-27
  • 071考试是OCP认证的一个重要科目,不少考生都在这里受伤,对此我们专门收集整理了近期071考试的原题,并对071题库进行了讲解,希望帮助大家顺利通过071考试。--------------------------------------------071考试原题分享-第33题、choose two:Examine the data in the CUSTOMERS table:You want to list all cities that have more than one customer along with the customer details.Evaluate the following query:SQL>SE........详情
  • 【第34题】OCP考试1Z0-071近期考试原题分享2019-05-27
  • 071考试原题分享-第34题、choose two Which two statements are true regarding operators used with subqueries? (Choose two.) A) =ANY and =ALL operators have the same functionality. E) The NOT IN operator is equivalent to is NULL. C) The D) The NOT operator can be used with IN, ANY and ALL operators. E) The IN operator cannot be used in single-row subqueries......详情
  • 【第35题】OCP考试1Z0-071近期考试原题分享2019-05-27
  • 071考试原题分享-第35题、choose the best answer: View the Exhibit and examine the structure of the ORDERS table. Which UPDATE statement is valid? A) UPDATE orders SET order_date = '12-mar-2007' AND order_total = TO_NUMBER(NULL) WHERE order_id = 2455;.....详情