Black Friday Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Oracle 1z0-071 Exam Made Easy: Step-by-Step Preparation Guide

Questions 81

View the Exhibit and examine the structure of the ORDERS table.

The columns ORDER_MODE and ORDER TOTAL have the default values'direct “and respectively.

Which two INSERT statements are valid? (Choose two.)

Options:

A.

INSERT INTO (SELECT order_id, order date, customer_id FROM orders) VALUES (1, ‘09-mar-2007“,101);

B.

INSERT INTO orders (order_id, order_date, order mode,customer_id, order_total) VALUES (1, TO_DATE (NULL),‘online‘,101, NULL) ;

C.

INSERT INTO orders VALUES (1, ‘09-mar-2007’, ‘online’,’ ’,1000);

D.

INSERT INTO orders (order id, order_date, order mode, order_total)VALUES (1,‘10-mar-2007’,’online’, 1000)

E.

INSERT INTO orders VALUES(‘09-mar-2007’,DEFAULT,101, DEFALLT);

Buy Now
Questions 82

Which two statements are true about the data dictionary?

Options:

A.

Views with the prefix dba_ display only metadata for objects in the SYS schema.

B.

Views with the prefix all_ display metadata for objects to which the current user has access.

C.

The data dictionary is accessible when the database is closed.

D.

Views with the prefix all_, dba_ and useb_ are not all available for every type of metadata.

E.

The data dictionary does not store metadata in tables.

Buy Now
Questions 83

Examine the description of the BRICKS table;

1z0-071 Question 83

Examine the description of the BRICKS_STAGE table;

1z0-071 Question 83

Which two queries execute successfully?

Options:

A.

SELECT shape,color,weight from bricks

MINUS

SELECT * FROM bricks_stage;

B.

SELECT shape,color FROM bricks

MINUS

SELECT WEIGHT,color FROM bricks_stage;

C.

select * from bricks

MINUS

select * from bricks_stage;

D.

SELECT shape,color FROM bricks

MINUS

SELECT color,shape FROM bricks_stage;

E.

SELECT brick_id,shape FROM bricks

MINUS

SELECT WEIGHT,COLOR from bricks_stage;

Buy Now
Questions 84

Which three statements are true about a self join?

Options:

A.

It must be an inner join.

B.

It must be an equijoin.

C.

The query must use two different aliases for the table.

D.

The on clause can be used.

E.

The on clause must be used.

F.

It can be an outer join.

Buy Now
Questions 85

Examine the description of the MEMBERS table;

SELECT city,last_name LNAME FROM members …

You want to display all cities that contain the string AN. The cities must be returned in ascending order, with the last names further sorted in descending order.

Which two clauses must you add to the query?

Options:

A.

ORDER BY 1,2.

B.

ORDER BY last_name DESC,city ASC

C.

CORADER BY 1, LNAME DESC

D.

WHERE city=’%AN%;

E.

WHERE city LIKE ’%AN%;

F.

WHERE city IN (’%AN%’)

Buy Now
Questions 86

Examine this query:

SELECT TRUNC (ROUND(156.00,-2),-1) FROM DUAL; What is the result?

Options:

A.

16

B.

160

C.

150

D.

200

E.

100

Buy Now
Questions 87

Which three statements are true about built-in data types?

Options:

A.

A VARCHAR2 blank-pads column values only if the data stored is non-numeric and contains no special characters.

B.

The default length for a CHAR column is always one character.

C.

A VARCHAR2 column definition does not require the length to be specified.

D.

A BLOB stores unstructured binary data within the database.

E.

A CHAR column definition does not require the length to be specified.

F.

A BFILE stores unstructured binary data in operating system files.

Buy Now
Questions 88

Examine this statement which executes successfully:

Which statement will violate the CHECK constraint?

Options:

A.

UPDATE emp80

SET department_id=90

WHERE department_id=80;

B.

DELETE FROM emp80

WHERE department_id=90;

C.

SELECT *

FROM emp80

WHERE department_id=80;

D.

SELECT *

FROM emp80

WHERE department_id=90;

Buy Now
Questions 89

Which three statements are true about defining relations between tables in a relational database?

Options:

A.

Foreign key columns allow null values.

B.

Unique key columns allow null values

C.

Primary key columns allow null values.

D.

Every primary or unique key value must refer to a matching foreign key value.

E.

Every foreign key value must refer to a matching primary or unique key value.

Buy Now
Questions 90

Examine these requirements:

1. Display book titles for books purchased before January 17, 2007 costing less than 500 or more than 1000.

2. Sort the titles by date of purchase, starting with the most recently purchased book.

Which two queries can be used?

Options:

A.

SELECT book_title FROM books WHERE (price< 500 OR >1000) AND (purchase date< '17-JAN-2007') ORDER BY purchase date DESC;

B.

SELECT book_title FROM books WHERE (price IN (500, 1000)) AND (purchase date < '17-JAN-2007') ORDER BY purchase_date ASC;

C.

SELECT book_title FROM books WHERE (price NOT BETWEEN 500 AND 1000) AND (purchase_date< '17-JAN-2007') ORDER BY purchase_date DESC;

D.

SELECT book_title FROM books WHERE (price BETWEEN 500 AND 1000) AND (purchase_date<'17-JAN-2007') ORDER BY purchase_date;

Buy Now
Exam Code: 1z0-071
Exam Name: Oracle Database 12c SQL
Last Update: Dec 13, 2024
Questions: 326

PDF + Testing Engine

$164.99
$66

Testing Engine

$124.99
$50

PDF (Q&A)

$104.99
$42

Oracle Free Exams

Oracle Free Exams
Examstrack offers comprehensive free resources and practice tests for Oracle exams.