0% found this document useful (0 votes)
29 views

Oracle 1Z0 071 Oracle Database 12c SQL

The document advertises ExamsBoost's practice exam questions and answers for the Oracle Database 12c SQL certification exam (1Z0-071). It provides a sample question about SQL statements and ordering clauses. It then displays additional sample multiple choice questions about SQL, databases, and Oracle concepts. At the end, it encourages purchasing the full product for exam preparation and lists features like free updates, money back guarantee, and customer support.

Uploaded by

Felipe Gonçales
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Oracle 1Z0 071 Oracle Database 12c SQL

The document advertises ExamsBoost's practice exam questions and answers for the Oracle Database 12c SQL certification exam (1Z0-071). It provides a sample question about SQL statements and ordering clauses. It then displays additional sample multiple choice questions about SQL, databases, and Oracle concepts. At the end, it encourages purchasing the full product for exam preparation and lists features like free updates, money back guarantee, and customer support.

Uploaded by

Felipe Gonçales
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

ExamsBoost

Boost up Your Certification Score

Oracle
1Z0-071
Oracle Database 12c SQL

http://www.examsboost.com/

 Up to Date products, reliable and verified.


 Questions and Answers in PDF Format.

Full version is available at http://www.examsboost.com/test/1z0-071/


ExamCode: 1Z0-071
ExamName: Oracle Database 12c SQL
Vendor Name: Oracle
Edition = DEMO

Question: 1
Evaluate the following SQL statement:
SQL> SELECT cust_id, cust_last_name "Last Name"
FROM customers
WHERE country_id = 10
UNION
SELECT cust_id CUST_NO, cust_last_name
FROM customers
WHERE country_id = 30;
Which ORDER BY clause are valid for the above query? (Choose all that apply.)

A. ORDER BY 2,1
B. ORDER BY CUST_NO
C. ORDER BY 2,cust_id
D. ORDER BY "CUST_NO"
E. ORDER BY "Last Name"

Answer: A, C, E
Explanation:
Using the ORDER BY Clause in Set Operations
- The ORDER BY clause can appear only once at the end of the compound query.
- Component queries cannot have individual ORDER BY clauses.
- The ORDER BY clause recognizes only the columns of the first SELECT query.
- By default, the first column of the first SELECT query is used to sort the output in an ascending order.

Question: 2
Which statements are true regarding the WHERE and HAVING clauses in a SELECT statement?
(Choose all that apply.)

A. The HAVING clause can be used with aggregate functions in subqueries.


B. The WHERE clause can be used to exclude rows after dividing them into groups.
C. The WHERE clause can be used to exclude rows before dividing them into groups.
D. The aggregate functions and columns used in the HAVING clause must be specified in the SELECT list
of the query.

Full version is available at http://www.examsboost.com/test/1z0-071/


E. The WHERE and HAVING clauses can be used in the same statement only if they are applied to
different columns in the table.

Answer: A, C

Question: 3
Which statement is true regarding external tables?

A. The default REJECT LIMIT for external tables is UNLIMITED.


B. The data and metadata for an external table are stored outside the database.
C. ORACLE_LOADER and ORACLE_DATAPUMP have exactly the same functionality when used with an
external table.
D. The CREATE TABLE AS SELECT statement can be used to unload data into regular table in the database
from an external table.

Answer: D

Question: 4
Which two statements are true about Data Manipulation Language (DML) statements?

A. AH INSERT INTO. . .VALUES. . statement can add multiple rows per execution to a table.
B. An UPDATE...SET... statement can modify multiple rows based on multiple conditions on a table.
C. A DELETE FROM ..... statement can remove rows based on only a single condition on a table.
D. An INSERT INTO...VALUES..... statement can add a single row based on multiple conditions on a table.
E. A DELETE FROM..... statement can remove multiple rows based on multiple conditions on a table.
F. An UPDATE...SET.... statement can modify multiple rows based on only a single condition on a table.

Answer: AC

Question: 5
Which two statements are true regarding roles? (Choose two.)

A. A role can be granted to itself.


B. A role can be granted to PUBLIC.
C. A user can be granted only one role at any point of time.
D. The REVOKE command can be used to remove privileges but not roles from other users.
E. Roles are named groups of related privileges that can be granted to users or other roles.

Full version is available at http://www.examsboost.com/test/1z0-071/


Answer: B,E

Question: 6
Which two statements are true regarding constraints? (Choose two.)

A. A foreign key cannot contain NULL values.


B. A column with the UNIQUE constraint can contain NULL.
C. A constraint is enforced only for the INSERT operation on a table.
D. A constraint can be disabled even if the constraint column contains data.
E. All the constraints can be defined at the column level as well as the table level

Answer: B,D

Question: 7
Evaluate the following statement:
INSERT ALL
WHEN order_total < 10000 THEN
INTO small_orders
WHEN order_total > 10000 AND order_total < 20000 THEN
INTO medium_orders
WHEN order_total > 2000000 THEN
INTO large_orders
SELECT order_id, order_total, customer_id
FROM orders;
Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT
statement?

A. They are evaluated by all the three WHEN clauses regardless of the results of the evaluation of any
other WHEN clause.
B. They are evaluated by the first WHEN clause. If the condition is true, then the row would be evaluated
by the subsequent WHEN clauses.
C. They are evaluated by the first WHEN clause. If the condition is false, then the row would be
evaluated by the subsequent WHEN clauses.
D. The INSERT statement would give an error because the ELSE clause is not present for support in case
none of the WHEN clauses are true.

Answer: A

Question: 8

Full version is available at http://www.examsboost.com/test/1z0-071/


Examine the structure of the members table:

You want to display details of all members who reside in states starting with the letter A followed by
exactly one character.
Which SQL statement must you execute?

A. SELECT * FROM MEMBERS WHERE state LIKE '%A_* ;


B. SELECT * FROM MEMBERS WHERE state LIKE 'A_*;
C. SELECT * FROM MEMBERS WHERE state LIKE 'A_%';
D. SELECT * FROM MEMBERS WHERE state LIKE 'A%';

Answer: A

Full version is available at http://www.examsboost.com/test/1z0-071/


EXAMSBOOST

Thank You for Trying Our Product

Click the Link Below To Get Full Detail


http://www.examsboost.com/

FEATURES

 90 Days Free Updates


 Money Back Pass Guarantee
 Instant Download or Email Attachment
 24/7 Live Chat Support
 PDF file could be used at any Platform
 50,000 Happy Customer

WE ACCEPT

Full version is available at http://www.examsboost.com/test/1z0-071/

Powered by TCPDF (www.tcpdf.org)

You might also like