Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
504 views
657 pages
Oca Oracle SQL PDF
Uploaded by
Cristina Tomiță
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Oca-Oracle-SQL.pdf For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
504 views
657 pages
Oca Oracle SQL PDF
Uploaded by
Cristina Tomiță
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Oca-Oracle-SQL.pdf For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Oca-Oracle-SQL.pdf For Later
You are on page 1
/ 657
Search
Fullscreen
CERTIFICATION PROGRAM SOL Certified Expert Exam Guide (Exam 120-047) Complete Exam Preparation y 200+ Barger ES TATA McGRAW-HILL Steve O’Heam EDITIONInformation has been obtained by Publisher from sources believed to be reliable, However, because of the possibility of human or mechanical error by our sources, Publisher, oF others, Publisher does not guarantee to the accuracy, adequacy. or completeness of any information included in this work and is not responsible for any errors or omissions or the results obtained from the use of such information Tata McGraw-Hill Oracle Corporation does not make any representations or warranties as to the accuracy, adequacy. ot completeness of any information contained in this work, and is not responsible for any errors ‘or omissions OCA Oracle Database SQL Certified Expert Exam Guide (Exam 120-047) Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. No part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system. without the prior written permission of Publisher, with the ‘exception that the program listings may be entered. stored, and exceuted in a computer system, but they may not be reproduced for publication Oracle is registered trademark of Oracle Corporation andior its affiliates. AI other trademarks are the property of their respective owners, and McGraw-Hill makes no claim of ownership by the mention of products that contain these marks Screen display’ of copyrighted Oracle software programs have been reproduced herein with the permission of Oracle Corporation and/or its affiliates ‘Tata McGraw-Hill Edition 2010 RZAYCRLZDXLXY [Reprinted in India by arrangement with The McGraw-Hill Companies, Inc., New York. Sales territories: India, Pakistan, Nepal, Bangladesh, Sri Lanka and Bhutan cs taloging-in-Publication Data is on file with the Library of Congress ISBN-13: 978-0-07-070141-0 ISBN-10; 0-07-070141-5 Published by Tata McGraw Hill Education Private Limited, 7 West Patel Nagar, New Delhi 110 008, and printed at Pashupati Printers Pvt. Ltd., Dethi 110 095CONTENTS AT A GLANCE 1__ Introduction to SQL 1 2__Using DDL Statements w Create and Manage Tables 45 3 Manipulating Data. 93 4 Retrieving Data Using the SQL SELECT Statement 137 3 Restricting and Sorting Daca 169 6 Using Single-Row Functions to Customize Ourput 209 7_Reporting Aggregated Data Using the Group Funetions 275 $__Displaying Data from Multiple Tab 31 9 Retrieving Data Using Subgueries 345 10 Creating Other Schema Objects 381 L1__ Managing Schema Objects 423 12__Using the Set Operators 487 13__ Generating Reports by Grouping Relared Data. su 14 Managing Objects with Data Dictionary Views 533 15__ Manipulating Large Data Sets 559 16 Hierarchical Retrieval 615 17_ Regular Expression Support 639 18 Controlling User Access 673 A About the CD... 709 Glossary 713 Index we m9CONTENTS Acknowledgments xxi Prefwce x Enmroduction sauix L_Inntrodnetion 60 SOM. o.oo ooo nn one ssc r esses ees 1 ‘The Exam: An Overview Z “SQL Fundamentals I” Versus “SQL Expert” 4 Whar to Expect 10 erst > Basics of the RDBMS 1 Design Con 17 Define and Understand the Basics of SOL 13 Und i the Oracle RDBMS and Oras le SQL 21 js the N 2 Certification: Ormcie SOL Versus ANSI SOL 2B Certification: Oracle SQL Versus Oracle SQL*Plus 2B Oracle's Toots for Working with SQL 2B he Unique Role of SQL in Modem Software Systems 26 SOL Is 3 4GL 26 SOL: Gateway to the RDBMS for All Orher Languages Syntax Is Confirm Approptia 3 . 2 Documentarion 32 Cenification Summary 4 X i 5 Self Test 38Xi OCA Oracle Database SQL Certified Expert Exam Guide (Exam |Z0-047) 2__Using DDL Statements to Create and Manage Tables . 4S Categorize the Main Database Obj / Tw Q&A Self Tese Self Test Answers Manipulating Data... se eeeessseeeeeeeeeerees 93° Describe Each Data Manipulation Language (DML) Statement. ement Overview Insert Rows i a a Tbe. Defaule a Update nares ina Table epressions = z « WHERE Clase Delete Rows from a Table 1 Copyrighted materialConan Summary O&A STs cee i eed ier ‘Self Test Anse ? Restricting and Sorting Data .....++++ Limit the Rows That Are Retrieved by a Qui Sore the Rows That Are Retrieved by Ques Reference byName os ce vnsessecereesessesenssooren 165 189 Copyrighted materialiV OCA Oracle Database SQL Certified Expert Exam Guide (Exam 10.047) Certification Summary 194 Two-Minute Drill 196 QGA Self Test 525s i oe 198 | Self Tese Answers _. ‘ii a .. 104 6 Using Single-Row Functions to Customize Output ... 209 Describe Various Types of Functions That Are Available in SOL. 210 Chanierer Functions yi 22 pee 212, : —-- - zs aera ‘Coordinared Universal Tame (UTC) Time Zone Datatype: Time Zone Fu a Zone Conversion Functions AT LOCAL QGA SelfTest SelfTest Answers Copyrighted materialFunctions Identify the Available Group Functions cribe the Use of Group Functions 7__ Reporting Aggregated Data Using the Group ibeladdo cor Epchide Croupedl flows by ng the HAVING Clause 296 Certification Summary. Sta bacon ee 298 ¥_Two-Minure Drill 299 DSA. 8__ Displaying Data from Multiple Tables .............. 341 Copyrighted materialXVI OCA Oracle Database SQL Certified Expert Exam Guide (Exam 1Z0-047) Certification Summary. Two-Minute Drill QSA SelfTese Self Test Answers. 336 . 342 9 Retrieving Data Using Subqueries .....-...+.+++++ 345. ‘Define Subqueries 346 ‘Describe the Types of Problems That Subgueries Can Solve 347 List the Types of Subqueries 348 Write Single ‘Row and Multiple Row Subqueri 349 ‘Write a Multiple Column Subquery 356 ‘Use Scalar Subqueries in SQL 358 Solve Problems with Correlated Subqueries. . 360 correlated Subyverics 362 ‘UepaTe witha Coctelated| Sub ery. .. 362 Ise the EXISTS and NOT EXISTS Operavors Use the WITH Clause: Certification Summary bpraievs sam smnonss au Two-Minute Dail oa 369 QS&A SelfTest .... ; : 372 Self Test Answers 378 10 Creating Other Schema Objects ................. 381 Jue Seale and Complex Views beeas aren, “SO Copyrighted materialComents xvii Composite . z - a 402 Unique 403 Dropping 404 Greate Private and Public Sony 404 Private : 405 Public 406 Object Privileges . veveeees 406 Name Priority a - 408 Dropping se 410 ion Summary 410 fo-Minute Drill 2 QUA Self Testo... senee wee reveencennes M1G Managing Schema Objects .. Add and Modify: Renaming Columns Drop Columns and Set Column UNUSED Dropping Columns UNUSED Add Constraints Using ALTER TABLE to Add Constraints Modifying Constraints Removing Constraints Disabling and Enabling Constraints... sae. : SE Neal DELETE and ON DELETE .. DEFERRABLE and DEFERRED Renaming Constraints aoe 4 Create Indexes Using the € ATE TABLE Statement Tanke, AGN Create Function-Based Indexes 457 Perform FLASHBACK Operations Overview RecXViiE OCA Oracle Database SQL Certified Expert Exam Guide (Exam 120-047) Recovering Tables in Time sus 463 Marking Time 465 Create and Use External Tables 468 Benefits eo iia 469 al Tables. » sesees 69 Creating Exte Use a Set Operator to Combine Multinle Quert INION. ree oe * 4 soe * 90 UNION ALL MINUS ORDER BY-—B: 497 ORDER BY—By Reference 499 Certification Summary 500 ¥ Two-Minute Drill 501 Q&A Self Test 502 Self Test Answers 508 13 Generating Reports by Grouping Related Data .....- 1 ‘Use the ROLLU 2 ‘Use the CUBE Operation to Prox 515 Use the GROUPING Function to Mentify the Row Values Created by ROLLUP or CUBE... . Use GROUPING SETS to. Produc Self Test AnswersContents ix 14 Managing Objects with Data Dictionary Views ...... 533 Use the Data Dictionary Views to Research Data on Your Objects 534 ‘Structure, ‘ Zi 55 Dynamic Performance Views i i - 8 Reading Comments 540 Adding Comments 541 Data Dictionary View Ghecking Privileges Inspecting Constraints Finding Columns Certification Summary 549 ¥ Two-Minute Dail 55) Q&A Self Test Self Fest 15 Manipulating Large Data Sets Manipulate Dat Ans Subqueries it “lt UPDATE and Correlated Subqueries Describe the Features of Multitable INSERTS Use the Following Types of Mulritable INSERTS: Unconditional, Conditional, and Pivor a Unconditional ...... wean oe OT Merge Rows ina 582 Tak the Changes Data ssera Pv of Tine -. 586 Flashback Query wk 588 Flashback Version Query 594 Flashback Transaction ¢ Copyrighted material
You might also like
Oracle APEX Developer Professional Activity Guide D107336GC10
PDF
No ratings yet
Oracle APEX Developer Professional Activity Guide D107336GC10
454 pages
MySQL For Database Administrators (Student Guide - Volume II)
PDF
No ratings yet
MySQL For Database Administrators (Student Guide - Volume II)
448 pages
TP Devops OCI Pro
PDF
No ratings yet
TP Devops OCI Pro
282 pages
Microsoft SQL 2016 Step by Step Two Node Cluster
PDF
No ratings yet
Microsoft SQL 2016 Step by Step Two Node Cluster
53 pages
Matthew Morris - Study Guide For 1Z0-071 - Oracle Database 12c SQL - Oracle Certification Prep (2016, ODB Press)
PDF
100% (12)
Matthew Morris - Study Guide For 1Z0-071 - Oracle Database 12c SQL - Oracle Certification Prep (2016, ODB Press)
211 pages
Oracle 12C New Features SQL, PLSQL and Administration PDF
PDF
No ratings yet
Oracle 12C New Features SQL, PLSQL and Administration PDF
240 pages
Oracle SQL PDF
PDF
No ratings yet
Oracle SQL PDF
171 pages
SS1327 - SQL Study Material PDF
PDF
No ratings yet
SS1327 - SQL Study Material PDF
171 pages
Oracle 1Z0 071
PDF
No ratings yet
Oracle 1Z0 071
2 pages
SQL Study Material-Other Stream
PDF
No ratings yet
SQL Study Material-Other Stream
109 pages
SQL Handbook
PDF
No ratings yet
SQL Handbook
127 pages
20767C ENU Companion PDF
PDF
100% (1)
20767C ENU Companion PDF
194 pages
Oracle SQL Final
PDF
No ratings yet
Oracle SQL Final
87 pages
SQL Programming
PDF
No ratings yet
SQL Programming
237 pages
SQL Server Notes
PDF
No ratings yet
SQL Server Notes
103 pages
SQL DBA PDF (20 Files Merged)
PDF
No ratings yet
SQL DBA PDF (20 Files Merged)
114 pages
Mastering SQL Using Postgresql
PDF
No ratings yet
Mastering SQL Using Postgresql
319 pages
Foundations PostgreSQL Administration 13
PDF
100% (1)
Foundations PostgreSQL Administration 13
307 pages
Administering MS SQL Server 2019 Databases
PDF
No ratings yet
Administering MS SQL Server 2019 Databases
6 pages
Postgresql 11 A4 PDF
PDF
No ratings yet
Postgresql 11 A4 PDF
2,621 pages
Ebook Db2 Performance Handbook All en 1006
PDF
No ratings yet
Ebook Db2 Performance Handbook All en 1006
170 pages
Oracle Backup Recovery 18c Oracle Backup Recovery 18c em Oracle Enterprise
PDF
No ratings yet
Oracle Backup Recovery 18c Oracle Backup Recovery 18c em Oracle Enterprise
200 pages
Oracle Database Administration Interview Questions You'll Most Likely Be Asked
PDF
No ratings yet
Oracle Database Administration Interview Questions You'll Most Likely Be Asked
24 pages
Oracle Dba
PDF
50% (2)
Oracle Dba
15 pages
CIS PostgreSQL 11 Benchmark v1.0.0 PDF
PDF
No ratings yet
CIS PostgreSQL 11 Benchmark v1.0.0 PDF
189 pages
1Z0 062 Oracle Database 12cinstallation and Administration PDF
PDF
No ratings yet
1Z0 062 Oracle Database 12cinstallation and Administration PDF
146 pages
Oracle SQL Tuning 1230324983128347 2
PDF
No ratings yet
Oracle SQL Tuning 1230324983128347 2
97 pages
Writing SELECT Queries: Module Overview
PDF
No ratings yet
Writing SELECT Queries: Module Overview
22 pages
Keynote Mysql Essentials 403024
PDF
No ratings yet
Keynote Mysql Essentials 403024
128 pages
1Z0-062 - Oracle Database 12cinstallation and Administration
PDF
100% (3)
1Z0-062 - Oracle Database 12cinstallation and Administration
146 pages
Oracle SQL Tuning Steps
PDF
No ratings yet
Oracle SQL Tuning Steps
12 pages
CV 8317 Stud
PDF
No ratings yet
CV 8317 Stud
474 pages
Oracle Database Certified Professional Administrator 2019
PDF
100% (1)
Oracle Database Certified Professional Administrator 2019
1 page
Ce 1216 Stud
PDF
No ratings yet
Ce 1216 Stud
202 pages
Link To New World
PDF
No ratings yet
Link To New World
2 pages
Backup Strategies
PDF
100% (1)
Backup Strategies
44 pages
SQL Notes 1
PDF
No ratings yet
SQL Notes 1
101 pages
PLSQL Manual
PDF
No ratings yet
PLSQL Manual
272 pages
Oracle Database 11g SQL Fundamentals 1
PDF
No ratings yet
Oracle Database 11g SQL Fundamentals 1
2 pages
Test Guide
PDF
No ratings yet
Test Guide
163 pages
1Z0 - 068 - Oracle Database 12c RAC and Grid Infrastructure Administration
PDF
0% (2)
1Z0 - 068 - Oracle Database 12c RAC and Grid Infrastructure Administration
5 pages
Oracle Database SQL Certified Expert
PDF
No ratings yet
Oracle Database SQL Certified Expert
3 pages
Oracle Database 19c: New Features For Administrators: Course
PDF
100% (1)
Oracle Database 19c: New Features For Administrators: Course
3 pages
Sybex - Mcts.microsoft - sql.Server.2005.Implementation - And.maintenance - Study.guide - Exam.70 431.jul.2
PDF
100% (1)
Sybex - Mcts.microsoft - sql.Server.2005.Implementation - And.maintenance - Study.guide - Exam.70 431.jul.2
679 pages
Sas fAQ'S
PDF
No ratings yet
Sas fAQ'S
112 pages
Oracle Database Installation
PDF
No ratings yet
Oracle Database Installation
48 pages
SQL Server 2005 Admin
PDF
No ratings yet
SQL Server 2005 Admin
1,185 pages
Exam Available Online: Oracle Certification Program Oracle Database 11g: SQL Fundamentals I
PDF
No ratings yet
Exam Available Online: Oracle Certification Program Oracle Database 11g: SQL Fundamentals I
2 pages
Oracle GoldenGate 101 - Introduction
PDF
No ratings yet
Oracle GoldenGate 101 - Introduction
73 pages
Topicos 1Z0-071 Oracle
PDF
No ratings yet
Topicos 1Z0-071 Oracle
3 pages
Oracle 19c Install & Upgrade
PDF
No ratings yet
Oracle 19c Install & Upgrade
5 pages
An To Cloud Databases: A Guide For Administrators
PDF
No ratings yet
An To Cloud Databases: A Guide For Administrators
46 pages
20765B ENU Companion
PDF
No ratings yet
20765B ENU Companion
94 pages
Qatar Courses Sep 2021
PDF
No ratings yet
Qatar Courses Sep 2021
1 page
Ibm Redbook - Db2 Web Query
PDF
No ratings yet
Ibm Redbook - Db2 Web Query
606 pages
Ram - Apps DBA Consultant
PDF
No ratings yet
Ram - Apps DBA Consultant
6 pages
SQL Complete Notes
PDF
No ratings yet
SQL Complete Notes
82 pages
Oracle Database 10g: Introduction To SQL: Duration
PDF
No ratings yet
Oracle Database 10g: Introduction To SQL: Duration
5 pages
Oracle Database: Introduction To SQL: Duración
PDF
No ratings yet
Oracle Database: Introduction To SQL: Duración
5 pages
1Z0-047 Oracle Database SQL Expert
PDF
No ratings yet
1Z0-047 Oracle Database SQL Expert
2 pages