【Oracle 12c】最新CUUG OCP-071考试题库(58题)

58、(16-1) choose the best answer:

Examine the structure of the BOORSTRANSACTIONS table:

Examine the SQL statement:

SQL> SELECT FROM books_transactions WHERE borrowed_date

MEMBER_ID IN (‘A101‘, ‘A102‘);

Which statement is true about the outcome?

A) It displays details only for members who have borrowed before today with RM as TRANSACTION_TYPE.

B) It displays details for members who have borrowed before today‘s date with either RM as TRANSACTION_TYPE or MEMBER_ID as A101 and A102.

C) It displays details for members who have borrowed before today with RM as TRANSACTION_TYPE and the details for members A101 or A102.

D) It displays details for only members A101 and A102 who have borrowed before today with RM as TRANSACTION_TYPE.

Answer:C

(解析:该题的核心是考查大家对 and 与 or 两个逻辑操作符同时存在时的优先级顺序。其优先级顺序依次是: 所有比较操作符、 NO 、 AND 、 OR)

原文地址:https://blog.51cto.com/13854012/2358214

时间: 2024-11-10 16:25:06

【Oracle 12c】最新CUUG OCP-071考试题库(58题)的相关文章

【OCP题库-12c】最新CUUG OCP 071考试题库(69题)

69.(31-1)choose the best answer: Evaluate the following query: SELECT INTERVAL '300' MONTH, INTERVAL '54-2' YEAR TO MONTH, INTERVAL '11:12:10.1234567' HOUR TO SECOND FROM dual; What is the correct output of the above query? A) +25-00 , +00-650, +00 1

【OCP题库-12c】最新CUUG OCP 071考试题库(70题)

70.(31-2)choose the best answer: View the Exhibit and examine the structure of the Book table. The BOOKS table contains details of 100 books. Examine the commands executed and their outcome: SQL>INSERT INTO books VALUES ('ADV112', 'Adventures of Tom

【OCP题库-12c】最新CUUG OCP 071考试题库(71题)

71.(32-18) choose three Which three statements indicate the end of a transaction? (Choose three.) A) after a CREATE statement is issued B) after a SELECT statement is issued C) after a ROLLBACK is issued D) after a SAVEPOINT is issued E) after a COMM

【OCP题库-12c】最新CUUG OCP 071考试题库(72题)

72.View the exhibit for the structure of the STUDENTand FACULTYtables. STUDENT Name Null? Type STUDENT_ID NOT NULL NUMBER(2) STUDENT_NAME VARCHAR2(20) FACULTY_ID VARCHAR2(2) LOCATION_ID NUMBER(2) FACULTY Name Null? Type FACULTY_ID NOT NULL NUMBER(2)

【OCP-12c】2019年CUUG OCP 071考试题库(74题)

74.View the exhibit and examine the structure of ORDERS and CUSTOMERS tables. ORDERS Name     Null?       Type ORDER_ID  NOT NULL  NUMBER(4) ORDER_DATE  NOT NULL   DATE ORDER_MODE   VARCHAR2(8) CUSTOMER_ID NOT NULL  NUMBER(6) ORDER_TOTAL   NUMBER(8,

【OCP-12c】2019年CUUG OCP 071考试题库(73题)

73.Which statement correctly grants a system privilege? A. GRANT CREATE VIEW ON table1 TO user1; B. GRANT ALTER TABLE TO PUBLIC; C. GRANT CREATE TABLE TO user1, user2; D. GRANT CREATE SESSION TO ALL; Correct Answer: C Section: (none) Explanation 解析:无

【OCP-12c】2019年CUUG OCP 071考试题库(75题)

75.Which statements are correct regarding indexes? (Choose all that apply.) A. A non-deferrable PRIMARY KEYor UNIQUE KEYconstraint in a table automatically attempts to creates a unique index. B. Indexes should be created on columns that are frequentl

【OCP-12c】2019年CUUG OCP 071考试题库(76题)

76.View the exhibit and examine the description of the DEPARTMENTSand EMPLOYEEStables. The retrieve data for all the employees for their EMPLOYEE_ID, FIRST_NAME, and DEPARTMENT NAME, the following SQL statement was written: SELECT employee_id, first_

【OCP-12c】2019年CUUG OCP 071考试题库(77题)

77.Which two statements are true about sequences created in a single instance database? (Choose two.) A. When the MAXVALUElimit for the sequence is reached, you can increase the MAXVALUElimit by using the ALTER SEQUENCEstatement. B. DELETE < sequence

【OCP-12c】2019年CUUG OCP 071考试题库(78题)

78.View the exhibit and examine the structure of the CUSTOMERStable. Which two tasks would require subqueries or joins to be executed in a single statement? A. finding the number of customers, in each city, whose credit limit is more than the average