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
PostgreSQL Essentials v16 Student
PDF
No ratings yet
PostgreSQL Essentials v16 Student
400 pages
Foundations PostgreSQL Administration 13
PDF
100% (1)
Foundations PostgreSQL Administration 13
307 pages
Student Guide - SQL-4402 MySQL Performace Tuning
PDF
No ratings yet
Student Guide - SQL-4402 MySQL Performace Tuning
372 pages
PostgreSQL Essentials v16 Student
PDF
No ratings yet
PostgreSQL Essentials v16 Student
462 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 Final
PDF
No ratings yet
Oracle SQL Final
87 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 E-Business Suite Training Material
PDF
No ratings yet
Oracle E-Business Suite Training Material
229 pages
SQL Server Notes
PDF
No ratings yet
SQL Server Notes
103 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
SQL Study Material-Other Stream
PDF
No ratings yet
SQL Study Material-Other Stream
109 pages
Oracle SQL and PL SQL Notes
PDF
No ratings yet
Oracle SQL and PL SQL Notes
438 pages
SQL Server DBA 2008
PDF
0% (1)
SQL Server DBA 2008
371 pages
SQL Programming
PDF
No ratings yet
SQL Programming
237 pages
Oracle SQL
PDF
No ratings yet
Oracle SQL
108 pages
SQL Handbook
PDF
No ratings yet
SQL Handbook
127 pages
Oracle PL SQL
PDF
100% (2)
Oracle PL SQL
137 pages
1Z0-062 - Oracle Database 12cinstallation and Administration
PDF
100% (3)
1Z0-062 - Oracle Database 12cinstallation and Administration
146 pages
Oracle DBA
PDF
100% (2)
Oracle DBA
187 pages
SQL DBA PDF (20 Files Merged)
PDF
No ratings yet
SQL DBA PDF (20 Files Merged)
114 pages
Oracle Database 11g Advanced PLSQL
PDF
No ratings yet
Oracle Database 11g Advanced PLSQL
744 pages
SQL Oracle11g Notes
PDF
No ratings yet
SQL Oracle11g Notes
125 pages
SQL Notes 1
PDF
No ratings yet
SQL Notes 1
101 pages
Complete Oracle Database Administration Course (19C, 21C) - Udemy
PDF
No ratings yet
Complete Oracle Database Administration Course (19C, 21C) - Udemy
8 pages
Oracle PracticeTest 1z0-071 v2019-06-19 by Camilla 131q
PDF
No ratings yet
Oracle PracticeTest 1z0-071 v2019-06-19 by Camilla 131q
133 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
Oracle Database Advanced PL-SQL
PDF
100% (1)
Oracle Database Advanced PL-SQL
2 pages
Basic PL SQL Notes For Students
PDF
No ratings yet
Basic PL SQL Notes For Students
11 pages
PerconaMonitoringAndManagement-1 15 0 PDF
PDF
No ratings yet
PerconaMonitoringAndManagement-1 15 0 PDF
265 pages
SQL Solutions
PDF
No ratings yet
SQL Solutions
46 pages
Link To New World
PDF
No ratings yet
Link To New World
2 pages
Oracle 1Z0 071
PDF
No ratings yet
Oracle 1Z0 071
2 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 Steps
PDF
No ratings yet
Oracle SQL Tuning Steps
12 pages
Oracle 19c DataGuard Step by Step
PDF
No ratings yet
Oracle 19c DataGuard Step by Step
6 pages
Sas fAQ'S
PDF
No ratings yet
Sas fAQ'S
112 pages
Oracle Database 12c Database SQL 1Z0 071 Exam+ (2018!06!30)
PDF
No ratings yet
Oracle Database 12c Database SQL 1Z0 071 Exam+ (2018!06!30)
75 pages
Ibm Redbook - Db2 Web Query
PDF
No ratings yet
Ibm Redbook - Db2 Web Query
606 pages
Oracle Database 11g SQL Fundamentals 1
PDF
No ratings yet
Oracle Database 11g SQL Fundamentals 1
2 pages
Oracle Database SQL Certified Expert
PDF
No ratings yet
Oracle Database SQL Certified Expert
3 pages
1z0-148.exam.47q: Number: 1z0-148 Passing Score: 800 Time Limit: 120 Min
PDF
No ratings yet
1z0-148.exam.47q: Number: 1z0-148 Passing Score: 800 Time Limit: 120 Min
52 pages
GTID Based Replication For MySQL High Availability 0570
PDF
No ratings yet
GTID Based Replication For MySQL High Availability 0570
48 pages
Dum OCP
PDF
No ratings yet
Dum OCP
55 pages
SQL Server 2008 Tutorial
PDF
No ratings yet
SQL Server 2008 Tutorial
38 pages
An To Cloud Databases: A Guide For Administrators
PDF
No ratings yet
An To Cloud Databases: A Guide For Administrators
46 pages
Oracle Database 11g: SQL Fundamentals I: D49996GC10 Edition 1.0 August 2007 D52128
PDF
No ratings yet
Oracle Database 11g: SQL Fundamentals I: D49996GC10 Edition 1.0 August 2007 D52128
14 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
SQL Server-Interview Question
PDF
No ratings yet
SQL Server-Interview Question
8 pages
Advance SQL
PDF
No ratings yet
Advance SQL
103 pages
Oracle Database SQL 1Z0-071 Review Materilas
PDF
No ratings yet
Oracle Database SQL 1Z0-071 Review Materilas
2 pages
1Z0-071 Sample Questions
PDF
No ratings yet
1Z0-071 Sample Questions
8 pages
Oracle Certifications:: (Any One Exam Out of 3) - Click The Link To Get More Info. or
PDF
No ratings yet
Oracle Certifications:: (Any One Exam Out of 3) - Click The Link To Get More Info. or
6 pages
Oracle Database 10g: Introduction To SQL: Duration
PDF
No ratings yet
Oracle Database 10g: Introduction To SQL: Duration
5 pages
Oracle Technical Certification Path
PDF
No ratings yet
Oracle Technical Certification Path
8 pages
Oracle GoldenGate 101 - Introduction
PDF
No ratings yet
Oracle GoldenGate 101 - Introduction
73 pages
Dbms Scheduler
PDF
No ratings yet
Dbms Scheduler
2 pages
SQL NOTES by Example
PDF
No ratings yet
SQL NOTES by Example
12 pages
Oracle Database: Introduction To SQL: Duración
PDF
No ratings yet
Oracle Database: Introduction To SQL: Duración
5 pages
Troubleshooting SQL
PDF
No ratings yet
Troubleshooting SQL
1 page
1Z0-047 Oracle Database SQL Expert
PDF
No ratings yet
1Z0-047 Oracle Database SQL Expert
2 pages