Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

1Z0-071 Exam Questions - Verified Oracle 1Z0-071 Dumps 2021

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
08-07-2021
Written in
2020/2021

1Z0-071 Exam Questions to prepare and pass your Oracle 1Z0-071 exam in first attempt. You can Safe your effort, time or money because Officialdumps is providing you 100% verified 1Z0-071 exam dumps pdf 2021.

Institution
Course

Content preview

Oracle
1Z0-071 Exam
Oracle Database SQL




Questions & Answers
(Free - Demo Version)



Thank you for Downloading 1Z0-071 exam PDF Demo

Buy Full Product Here:
https://officialdumps.com/updated/oracle/1z0-071-exam-dumps/

, Oracle
1Z0-071 Exam
Oracle Database SQL Exam




Questions & Answers
Demo

,Questions & Answers PDF Page 2




Version: 10.0
Question: 1

Examine the structure of the MARKS table:




Which two statements would execute successfully? (Choose two.)

A. SELECT SUM(DISTINCT NVL(subject1,0)), MAX(subject1)FROM marksWHERE subject1 > subject2;
B. SELECT student_name subject1FROM marksWHERE subject1 > AVG(subject1);
C. SELECT SUM(subject1+subject2+subject3)FROM marksWHERE student_name IS NULL;
D. SELECT student_name,SUM(subject1)FROM marksWHERE student_name LIKE ‘R%’;

Answer: A,C

Question: 2

Examine the data in the CUSTOMERS table:




You want to list all cities that have more than one customer along with the customer details.
Evaluate the following query:

,Questions & Answers PDF Page 3




Which two JOIN options can be used in the blank in the above query to give the correct output?
(Choose two.)

A. LEFT OUTER JOIN
B. JOIN
C. NATURAL JOIN
D. RIGHT OUTER JOIN
E. FULL OUTER JOIN

Answer: B,D

Question: 3

Examine the structure proposed for the TRANSACTIONS table:




Which two statements are true regarding the creation and storage of data in the above table
structure? (Choose two.)

A. The CUST_STATUS column would store exactly one character.
B. The TRANS_VALIDITY column would have a maximum size of one character.
C. The CUST_CREDIT_LIMIT column would be able to store decimal values.
D. The CUST_STATUS column would give an error.
E. The TRANS_DATE column would be able to store day, month, century, year, hour, minutes,
seconds, and fractions of seconds.
F. The TRANS_VALIDITY column would give an error.

Answer: A,F

Question: 4

,Questions & Answers PDF Page 4




View the Exhibit and examine the structure of the PRODUCT_INFORMATION and INVENTORIES
tables.




You have a requirement from the supplies department to give a list containing PRODUCT_ID,
SUPPLIER_ID, and QUANTITY_ON_HAND for all the products wherein QUANTITY_ON_HAND is less
than five.
Which two SQL statements can accomplish the task? (Choose two.)

A. SELECT i.product_id, i.quantity_on_hand, pi.supplier_idFROM product_information pi JOIN
inventories iON (pi.product_id=i.product_id)WHERE quantity_on_hand < 5;
B. SELECT product_id, quantity_on_hand, supplier_idFROM product_informationNATURAL JOIN
inventories AND quantity_on_hand < 5;
C. SELECT i.product_id, i.quantity_on_hand, pi.supplier_idFROM product_information pi JOIN
inventories iON (pi.product_id=i.product_id) AND quantity_on_hand < 5;
D. SELECT i.product_id, i.quantity_on_hand, pi.supplier_idFROM product_information pi JOIN
inventories iON (pi.product_id=i.product_id)USING (product_id) AND quantity_on_hand < 5;

Answer: A,C

Question: 5

In the EMPLOYEES table there are 1000 rows and employees are working in the company for more
than 10 years.
Evaluate the following SQL statement:

,Questions & Answers PDF Page 5




What would be the result?

A. It executes successfully but no rows updated.
B. It executes successfully and updates the records of those employees who have been working in
the company for more than 600 days.
C. It gives an error because multiple NVL functions are used in an expression.
D. It gives an error because NVL function cannot be used with UPDATE.

Answer: B

Question: 6

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
Identify three ORDER BY clauses either one of which can complete the query.

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

Answer: A,B,D

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: 7

Which three statements are true regarding the WHERE and HAVING clauses in a SQL statement?
(Choose three.)

A. WHERE and HAVING clauses cannot be used together in a SQL statement.

,Questions & Answers PDF Page 6




B. The HAVING clause conditions can have aggregate functions.
C. The HAVING clause conditions can use aliases for the columns.
D. The WHERE clause is used to exclude rows before the grouping of data.
E. The HAVING clause is used to exclude one or more aggregated results after grouping data.

Answer: A,B,D

Question: 8

Which statement is true regarding external tables?

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

Answer: A

References:
https://docs.oracle.com/cd/B28359_01/server.111/b28310/tables013.htm

Question: 9

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

A. An 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: B, E

References:
http://www.techonthenet.com/sql/and_or.php

Question: 10

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

A. A role can be granted to itself.

, Questions & Answers PDF Page 7




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.

Answer: B, E

References:
http://docs.oracle.com/cd/E25054_01/network.1111/e16543/authorization.htm#autoId28

Written for

Course

Document information

Uploaded on
July 8, 2021
Number of pages
9
Written in
2020/2021
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Free
Get access to the full document:
Download

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
jaimesteph

Get to know the seller

Seller avatar
jaimesteph Exam
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
5 year
Number of followers
0
Documents
11
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions