【2019年8月版本】OCP 071认证考试最新版本的考试原题-第11题

Choose two.

Which two statements are true about a self join?

A) The join key column must have an index.

B) It can be a left outer join.

C) It must be a full outer join.

D) It can be an inner join.

E) It must be an equie join.

Answer:BD

(自连接其实跟两张表的连接一样。可以是等连接、左右外连接等等。

不过在进行内连接时为了区别表的名字,需要加别名

select w.ename,m.ename

from emp2 w

inner join emp2 m

on w.mgr=m.empno;

)

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

时间: 2024-11-06 23:13:36

【2019年8月版本】OCP 071认证考试最新版本的考试原题-第11题的相关文章

【2019年8月】OCP 071认证考试最新版本的考试原题-第28题

choose two The ORDERS table has a column ORDER_DATE of date type DATE The default display format for a date is DD-MON-RR Which two WHERE conditions demonstrate the correct usage of conversion functions? A) WHERE ordet_date > TO_CRAR(ADD_MONTHS(SYSDAT

【2019年8月】OCP 071认证考试最新版本的考试原题-第14题

Choose two. Examine this SQL statement: UPDATE orders o SET customer_name = (SELECT cust_last_name FROM customers WHERE customer_id=o.customer_id); Which two are true? A) The subquery is executed before the UPDATE statement is executed. B) All existi

【2019年8月】OCP 071认证考试最新版本的考试原题-第15题

Choone three Examine the description of the PRODUCTS table: Name Null? Type PRODUCT_ID NOT NULL NUMBER(2) PRODUCT_NANE VARCHAR2(10) UNIT_PRICE NUMBER(3) PURCHARGE VARCHAR2(2) EXPIRY_DATE DATE DELIVERY_DATE DATE Which three queres use valid expression

【2019年8月】OCP 071认证考试最新版本的考试原题-第16题

Choose two. Examine this partial command: CREATE TABLE cust ( cust_id NUMBER(2), credit_ limit NUMBER(10) ) ORGANIZATION EXTERNAL Which two clauses are required for this command to execute successfully? A) the DEFAULT DIRECTORY clause B) the REJECT L

【2019年8月】OCP 071认证考试最新版本的考试原题-第18题

Choose two Which two statements are true about the WHERE and HAVING clouses in a SELECT statement? A) The WHERE clause can be used to exclude rows after divding them into groups B) WHERE and HAVING clauses can be used In the same statement only if ap

【2019年8月】OCP 071认证考试最新版本的考试原题-第19题

Choose two The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOTCE_DATE column of data type DATE NLS_DATE_FORMAT is set to DD-MON-RR. Which two are true about data type conversions involving these columns in query expressions? A) i

【2019年8月】OCP 071认证考试最新版本的考试原题-第20题

Choose two The PRODUCT_INFORMATION table has a UNIT_PRICE column of data type NUMBER(8, 2). Evaluate this SQL statement: SELECT TO_CHAR(unit_price,'$9,999') FROM Product_intormation; Which two statements are true about the output? A) A row whose UNIT

【2019年8月】OCP 071认证考试最新版本的考试原题-第22题

Choose two Which two statements are true about transactions in the Oracle Database serve? A) An uncommitted transaction commits automatically if the user exits SQL*Plus B) Data Manipulation Language (DML) statements always start a new transaction. C)

【2019年8月】OCP 071认证考试最新版本的考试原题-第21题

choose two In the PROMOTIONS table, the PROMO_BEGTN_DATE columm is of datatype DATE and the default date format is DD-MON-RR. Which two statements are true about expressions using PROMO_BEGIN_DATE contained in a queny? A) TONUMBER(PROMO BEGIN_DATE) -

【2019年8月】OCP 071认证考试最新版本的考试原题-第23题

Choose two Which two statements are true about transactions in the Oracle Database serve? A) An uncommitted transaction commits automatically if the user exits SQL*Plus B) Data Manipulation Language (DML) statements always start a new transaction. C)