Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

1z0-071 Exam Dumps - Oracle Database 12c SQL

Go to page:
Question # 9

Which three statements are true about an ORDER BY clause?

A.

An ORDER BY clause always sorts NULL values last.

B.

An ORDER BY clause can perform a binary sort

C.

An ORDER BY clause can perform a linguistic sort

D.

By default an ORDERBY clause sorts rows in ascending order

E.

An ORDR BY clause will always precede a HAVI NG clause if both are used in the same top-level

Full Access
Question # 10

The SYSDATE function displays the current Oracle Server date as:

21 -MAY-19

You wish to display the date as:

MONDAY, 21 MAY, 201 9

Which statement will do this?

A.

SELECT TO _ CHAR (SYSDATE, ' FMDAY, DD MONTH, YYYY') FROM DUAL;

B.

SELECT TO _ DATE (SYSDATE, ' FMDAY, DD MONTH, YYYY') FROM DUAL;

C.

SELECT TO_ CHAR (SYSDATE, ' FMDD, DAY MONTH, YYYY') FROM DUAL;

D.

SELECT TO_ CHAR (SYSDATE, ' FMDAY, DDTH MONTH, YYYY') FROM DUAL;

Full Access
Question # 11

Examine the description of the ORDERS table:

Which three statements execute successfully?

A.

(SELECT * FROM orders

UNION ALL

SELECT* FROM invoices) ORDER BY order _id;

B.

SELECE order _id, order _ date FRON orders

LNTERSECT

SELECT invoice_ id, invoice_ id, order_ date FROM orders

C.

SELECT order_ id, invoice_ data order_ date FROM orders

MINUS

SELECT invoice_ id, invoice_ data FROM invoices ORDER BY invoice_ id;

D.

SELECT * FROM orders ORDER BY order_ id

INTERSEOT

SELECT * FROM invoices ORDER BY invoice_ id;

E.

SELECT order_ id, order_ data FROM orders

UNION ALL

SELECT invoice_ id, invoice_ data FROM invoices ORDER BY order_ id;

F.

SELECT * FROM orders

MINUS

SELECT * FROM INVOICES ORDER BY 1

G.

SELECT * FROM orders ORDER BY order_ id

UNION

SELECT * FROM invoices;

Full Access
Question # 12

Which three statements are true?

A.

A customer can exist in many countries.

B.

The statement will fail if a row already exists in the SALES table for product 23.

C.

The statement will fail because subquery may not be I contained in a values clause.

D.

The SALES table has five foreign keys.

E.

The statement will execute successfully and a new row will be inserted into the SALES table.

F.

A product can have a different unit price at different times.

Full Access
Question # 13

Which two statements are true about Entity Relationships?

A.

A Relationship can be mandatory for both entities

B.

A one-to-one relationship is always a self-referencing relationship

C.

A many-to-many relationship can be implemented only by using foreign keys

D.

A table name can be specified just once when selecting data from a table having a selfreferencing relationship

E.

A one-to-many relationship in one direction is a one-to-one relationship in the other direction

Full Access
Question # 14

SELECT *

FROM bricks,colors;

Which two statements are true?

A.

You can add an ON clause with a join condition.

B.

You can add a WHERE clause with filtering criteria.

C.

It returns the number of rows in BRICKS plus the number of rows in COLORS.

D.

You can add a USING clause with a join condition.

E.

It returnsthe same rows as SELECT * FROM bricks CROSS JOIN colors.

Full Access
Question # 15

Which three are true about multiple INSERT statements?

A.

They can be performed only by using a subquery.

B.

They can be performed on relational tables.

C.

They can be performed on views.

D.

They can be performed on remote tables.

E.

They can be performed on external tables using SQL*Loader.

F.

They can insert each computed row into more than one table.

Full Access
Question # 16

Examine this description of the PRODUCTS table:

Rows exist in this table with data in all the columns. You put the PRODUCTS table in read-only mode. Which three commands execute successfully on PRODUCTS?

A.

ALTER TAELE products DROP COLUMN expiry_date;

B.

CREATE INDEX price_idx on products (price);

C.

ALTER TABLE products SET UNUSED(expiry_date);

D.

TRUNCATE TABLE products;

E.

ALTER TABLE products DROP UNUSED COLUMNS

F.

DROP TABLE products

Full Access
Go to page: