移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

计算机考试 | Oracle认证考试

模式切换

0 0 0
我的错题 我的收藏 学习笔记

章节目录

多选题 Examine the description of the STUDENTS table: Which two aggregate functions are valid on the START_DATE column?()

A

SUM(start_date)

B

AVG(start_date)

C

COUNT(start_date)

D

AVG(start_date, end_date)

E

MIN(start_date)

F

MAXIMUM(start_date)

单选题 A data manipulation language statement ().

A

completes a transaction on a table

B

modifies the structure and data in a table

C

modifies the data but not the structure of a table

D

modifies the structure but not the data of a table

多选题 What are two reasons to create synonyms? ()

A

You have too many tables.

B

Your tables are too long.

C

Your tables have difficult names.

D

You want to work on your own tables.

E

You want to use another schema's tables.

F

You have too many columns in your tables.

单选题 Which SQL statement defines a FOREIGN KEY constraint on the DEPTNO column of the EMP table?()

A

CREATE TABLE EMP (empno NUMBER(4), ename VARCHAR2(35), deptno NUMBER(7,2) NOT NULL, CONSTRAINT emp_deptno_fk FOREIGN KEY deptno REFERENCES dept deptno);

B

CREATE TABLE EMP (empno NUMBER(4), ename VARCHAR2(35), deptno NUMBER(7,2) CONSTRAINT emp_deptno_fk REFERENCES dept (deptno));

C

CREATE TABLE EMP (empno NUMBER(4), ename VARCHAR2(35), deptno NUMBER(7,2) NOT NULL, CONSTRAINT emp_deptno_fk REFERENCES dept (deptno) FOREIGN KEY (deptno));

D

CREATE TABLE EMP (empno NUMBER(4), ename VARCHAR2(35), deptno NUMBER(7,2) FOREIGN KEY CONSTRAINT emp_deptno_fk REFERENCES dept (deptno));

单选题 Which SQL statement displays the date March 19, 2001 in a format that appears as "Nineteenth of March 2001 12:00:00 AM"? ()

A

SELECT TO_CHAR(TO_DATE('19-Mar-2001', 'DD-Mon-YYYY'), 'fmDdspth of Month YYYY fmHH:MI:SS AM') NEW_DATE FROM dual;

B

SELECT TO_CHAR(TO_DATE('19-Mar-2001', 'DD-Mon-YYYY'), 'Ddspth of Month YYYY fmHH:MI:SS AM') NEW_DATE HH:MI:SS AM') NEW _ DATE FROM dual;

C

SELECT TO_CHAR(TO_DATE('19-Mar-2001', 'DD-Mon-YYYY'), 'fmDdspth of Month YYYY NEW _ DATE FROM dual;

D

SELECT TO_CHAR(TO_DATE('19-Mar-2001', 'DD-Mon-YYYY), 'fmDdspth of Month YYYYfmtHH:HI:SS AM')NEW_DATE FROM dual;

单选题 Which view should a user query to display the columns associated with the constraints on a table owned by the user?()

A

USER_CONSTRAINTS

B

USER_OBJECTS

C

ALL_CONSTRAINTS

D

USER_CONS_COLUMNS

E

USER_COLUMNS

多选题 Which three are true regarding the use of outer joins? ()

A

You cannot use IN operator in a condition that involves an outerjoin.

B

You use (+) on both sides of the WHERE condition to perform an outerjoin.

C

You use (*) on both sides of the WHERE condition to perform an outerjoin.

D

You use an outerjoin to see only the rows that do not meet the join condition.

E

In the WHERE condition, you use (+) following the name of the column in the table without matching rows, to perform an outerjoin.

F

You cannot link a condition that is involved in an outerjoin to another condition by using the OR operator.

多选题 Which four are types of functions available in SQL? ()

A

string

B

character

C

integer

D

calendar

E

numeric

F

translation

G

date

H

conversion

单选题 The CUSTOMERS table has these columns: Which statement finds the rows in the CUSTOMERS table that do not have a postal code?()

A

SELECT customer_id, customer_name   FROM customers   WHERE postal_code CONTAINS NULL;

B

SELECT customer_id, customer_name   FROM customers   WHERE postal_code = '________';

C

SELECT customer_id, customer_name   FROM customers   WHERE postal_code IS NULL;

D

SELECT customer_id, customer_name   FROM customers   WHERE postal code IS NVL;

E

SELECT customer_id, customer_name   FROM customers   WHERE postal_code = NULL;

最新资讯

首页 上一页 1 2 3 4 5 尾页 /

到第