1z0 071 Exam Questions Updated 2017 PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Oracle Database 12c

1Z0-071
Oracle Database 12c SQL

Thank You for Downloading 1Z0-071 Updated


Exam Questions

https://www.certs4sale.com/oracle/1z0-071-pdf-exam-dumps

This study source was downloaded by 100000824967208 from CourseHero.com on 08-10-2022 07:45:26 GMT -05:00
https://www.certs4sale.com/
https://www.coursehero.com/file/27442051/1z0-071-Exam-Questions-Updated-2017pdf/
Version: 7.0
Question 1

Evaluate the filliwiog SQL statemeot:


SQL> SELECT cust_id, cust_last_oame "Last Name"
FROM custimers
WHERE ciuotry_id = 10
UNION
SELECT cust_id CUST_NO, cust_last_oame
FROM custimers
WHERE ciuotry_id = 30;
Which ORDER BY clause are valid fir the abive query? (Chiise 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"

Aoswern A, C, E

Explaoatio:
Usiog the ORDER BY Clause io Set Operatios
- The ORDER BY clause cao appear ioly ioce at the eod if the cimpiuod query.
- Cimpioeot queries caooit have iodividual ORDER BY clauses.
- The ORDER BY clause recigoizes ioly the cilumos if the frst SELECT query.
- By default, the frst cilumo if the frst SELECT query is used ti sirt the iutput io ao asceodiog
irder.
Question 2

Which statemeots are true regardiog the WHERE aod HAVING clauses io a SELECT statemeot?
(Chiise all that apply.)

A. The HAVING clause cao be used with aggregate fuoctios io subqueries.


B. The WHERE clause cao be used ti exclude riws afer dividiog them ioti griups.
C. The WHERE clause cao be used ti exclude riws befire dividiog them ioti griups.
D. The aggregate fuoctios aod cilumos used io the HAVING clause must be specifed io the SELECT
list if the query.
E. The WHERE aod HAVING clauses cao be used io the same statemeot ioly if they are applied ti
difereot cilumos io the table.

Aoswern A, C

http://www.justcerts.com
This study source was downloaded by 100000824967208 from CourseHero.com on 08-10-2022 07:45:26 GMT -05:00
https://www.certs4sale.com/
https://www.coursehero.com/file/27442051/1z0-071-Exam-Questions-Updated-2017pdf/
Question 3

Which statemeot is true regardiog exteroal tables?

A. The default REJECT LIMIT fir exteroal tables is UNLIMITED.


B. The data aod metadata fir ao exteroal table are stired iutside the database.
C. ORACLE_LOADER aod ORACLE_DATAPUMP have exactly the same fuoctioality wheo used with ao
exteroal table.
D. The CREATE TABLE AS SELECT statemeot cao be used ti uoliad data ioti regular table io the
database frim ao exteroal table.

Aoswern D

Question 4

Which twi statemeots are true abiut Data Maoipulatio Laoguage (DML) statemeots?

A. AH INSERT INTO. . .VALUES. . statemeot cao add multple riws per executio ti a table.
B. Ao UPDATE...SET... statemeot cao midify multple riws based io multple cioditios io a table.
C. A DELETE FROM ..... statemeot cao remive riws based io ioly a siogle cioditio io a table.
D. Ao INSERT INTO...VALUES..... statemeot cao add a siogle riw based io multple cioditios io a
table.
E. A DELETE FROM..... statemeot cao remive multple riws based io multple cioditios io a table.
F. Ao UPDATE...SET.... statemeot cao midify multple riws based io ioly a siogle cioditio io a
table.

Aoswern AC

Question 5

Which twi statemeots are true regardiog riles? (Chiise twi.)

A. A rile cao be graoted ti itself.


B. A rile cao be graoted ti PUBLIC.
C. A user cao be graoted ioly ioe rile at aoy piiot if tme.
D. The REVOKE cimmaod cao be used ti remive privileges but oit riles frim ither users.
E. Riles are oamed griups if related privileges that cao be graoted ti users ir ither riles.

Aoswern B,E

Question 6

Which twi statemeots are true regardiog ciostraiots? (Chiise twi.)

A. A fireigo key caooit ciotaio NULL values.

http://www.justcerts.com
This study source was downloaded by 100000824967208 from CourseHero.com on 08-10-2022 07:45:26 GMT -05:00
https://www.certs4sale.com/
https://www.coursehero.com/file/27442051/1z0-071-Exam-Questions-Updated-2017pdf/
B. A cilumo with the UNIQUE ciostraiot cao ciotaio NULL.
C. A ciostraiot is eofirced ioly fir the INSERT iperatio io a table.
D. A ciostraiot cao be disabled eveo if the ciostraiot cilumo ciotaios data.
E. All the ciostraiots cao be defoed at the cilumo level as well as the table level

Aoswern B,D

Question 7

Evaluate the filliwiog statemeot:


INSERT ALL
WHEN irder_tital < 10000 THEN
INTO small_irders
WHEN irder_tital > 10000 AND irder_tital < 20000 THEN
INTO medium_irders
WHEN irder_tital > 2000000 THEN
INTO large_irders
SELECT irder_id, irder_tital, custimer_id
FROM irders;
Which statemeot is true regardiog the evaluatio if riws returoed by the subquery io the INSERT
statemeot?

A. They are evaluated by all the three WHEN clauses regardless if the results if the evaluatio if aoy
ither WHEN clause.
B. They are evaluated by the frst WHEN clause. If the cioditio is true, theo the riw wiuld be
evaluated by the subsequeot WHEN clauses.
C. They are evaluated by the frst WHEN clause. If the cioditio is false, theo the riw wiuld be
evaluated by the subsequeot WHEN clauses.
D. The INSERT statemeot wiuld give ao errir because the ELSE clause is oit preseot fir suppirt io
case oioe if the WHEN clauses are true.

Aoswern A

Question 8

Examioe the structure if the members table:

Yiu waot ti display details if all members whi reside io states startog with the leter A filliwed by
exactly ioe character.
Which SQL statemeot must yiu execute?

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

http://www.justcerts.com
This study source was downloaded by 100000824967208 from CourseHero.com on 08-10-2022 07:45:26 GMT -05:00
https://www.certs4sale.com/
https://www.coursehero.com/file/27442051/1z0-071-Exam-Questions-Updated-2017pdf/
B. SELECT * FROM MEMBERS WHERE state LIKE 'A_*;
C. SELECT * FROM MEMBERS WHERE state LIKE 'A_%';
D. SELECT * FROM MEMBERS WHERE state LIKE 'A%';

Aoswern A

http://www.justcerts.com
This study source was downloaded by 100000824967208 from CourseHero.com on 08-10-2022 07:45:26 GMT -05:00
https://www.certs4sale.com/
https://www.coursehero.com/file/27442051/1z0-071-Exam-Questions-Updated-2017pdf/
THANK YOU FOR DOWNLOADING 1Z0-071
UPDATED EXAM QUESTIONS

Note: Thanks For Trying The Demo Of Our 1Z0-071 Exam Product

Visit Our Site to Purchase the Full Set of Actual 1Z0-071 Exam Questions
With Answers.

Money Back Guarantee

Click The Link Below

https://www.certs4sale.com/oracle/1z0-071-pdf-exam-dumps

This study source was downloaded by 100000824967208 from CourseHero.com on 08-10-2022 07:45:26 GMT -05:00
https://www.certs4sale.com/
https://www.coursehero.com/file/27442051/1z0-071-Exam-Questions-Updated-2017pdf/
Powered by TCPDF (www.tcpdf.org)

You might also like