165
164
新闻中心
- 【第43题】OCP考试题库-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 which........详情
- 【第44题】OCP考试题库-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 sta........详情
- 【第45题】OCP考试题库-071最新考试真题分享2019-06-03
OCP考试题库以前是比较稳定的,但在2018年随着oracle的调整,不断的有新题出现,增加考试的难度,对此,我们专门收集整理了071的考试真题,分享给大家。--------------------------------------------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(迄今为止支付给每........详情
- 【第46题】OCP考试题库-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
Wh........详情
- 【第47题】OCP考试题库-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 DUAL;........详情
- 【第48题】OCP考试题库-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 three ye........详情
- 【第49题】OCP考试题库-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
TO_C........详情
- 【第50题】OCP考试题库-071最新考试真题分享2019-06-03
071题库分享-第50题、choose two
Examine the structure of the MARKS table:
Which two statements would execute successfully?
A) SELECT SUM(subjectl+subject2+subject3)
FROM marks
WHERE student_name IS NULL;
B) SELECT SUM(DISTINCT NVL(subject1,0)), MAX(subjectl)
FROM marks
WHERE subjectl subject2;.....详情
- 【第41题】OCP考试题库-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考试题库-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 an a........详情
- 【第37题】OCP考试题库-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?
A) Both the statements execute and give differ........详情
- 【第38题】OCP考试题库-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考试题库-071最新考试真题分享2019-05-27
071题库分享-第39题、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 through th........详情
- 【第40题】OCP考试题库-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 through th........详情
- 【第31题】OCP考试题库-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 SQL qu........详情
- 【第32题】OCP考试题库-071最新考试真题分享2019-05-27
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 been entered.
Examine this partial SQL statement:
SQL UPDATE books_transactions
SET book_id = 'INVALID'
WHERE...............
Which condition must be used in the WHERE clause to perform th........详情
- 【第33题】OCP考试题库-071最新考试真题分享2019-05-27
OCP考试题库以前是比较稳定的,但在2018年随着oracle的调整,不断的有新题出现,增加考试的难度,对此,我们专门收集整理了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>SELECT c1.c........详情
- 【第34题】OCP考试题库-071最新考试真题分享2019-05-27
OCP考试题库以前是比较稳定的,但在2018年随着oracle的调整,不断的有新题出现,增加考试的难度,对此,我们专门收集整理了071的考试真题,分享给大家。--------------------------------------------071题库分享-第34题、choose twoWhich 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 i........详情
- 【第35题】OCP考试题库-071最新考试真题分享2019-05-27
OCP考试题库以前是比较稳定的,但在2018年随着oracle的调整,不断的有新题出现,增加考试的难度,对此,我们专门收集整理了071的考试真题,分享给大家。--------------------------------------------071题库分享-第35题、choose the best answer:View the Exhibit and examine the structure of the ORDERS table.Which UPDATE statement is valid?A) UPDATE ordersSET order_date = '12-mar-2007'AND order_total = TO_NUMBER(N........详情
- 【第36题】OCP考试题库-071最新考试真题分享2019-05-27
OCP考试题库以前是比较稳定的,但在2018年随着oracle的调整,不断的有新题出现,增加考试的难度,对此,我们专门收集整理了071的考试真题,分享给大家。--------------------------------------------071题库分享-第36题、choose the best answerExamine 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.W........详情