Prep for Oracle OCA Exam 1Z0-047 Oracle Database SQL Expert. (Compare to
Oracle ... Prepare better, score higher and take the exam with more confidence.
Oracle Database 10g: Introduction to SQL Prep for Oracle OCA Exam 1Z0-047 Oracle Database SQL Expert (Compare to Oracle University course Oracle Database 10g : Introduction to SQL)
Duration: 5 Days Benefits • • • • • • • • • •
Become Oracle (OCA) Certified! Pass Oracle Exam 1Z0-047, guaranteed ¹ Less expensive than Oracle University! Prepare better, score higher and take the exam with more confidence Add Oracle Database to your resume Tips and Best Practices from an Industry Expert One-to-one communication with your instructor, even before class starts! Hands-on workshops for all lessons Free practice exam Money-back satisfaction guarantee ²
What You Will Learn • Learn how to query an Oracle Database with the SQL programming language • Relational database concepts • Code SQL queries including joins, sub-queries, compound queries and hierarchical queries • Search for data with operators such as LIKE, IN, BETWEEN, ANY and ALL • Use Oracle functions like substring and search data with Unix-like regular expressions
• Aggregating data with the GROUP BY clause and Oracle SQL functions like MIN, MAX and AVG • Update data stored in an Oracle database with data manipulation (DML) statements • Create your own tables and other Oracle objects • Learn to grant and revoke Oracle object and system security privileges • Use Oracle tools like iSQL*Plus, SQL*Plus and SQL Developer
What You Will Receive • Printed and online versions of a detailed, 200+ page course book • All sample scripts and workshop solutions • Hands-on access to all required hardware and software (high-speed internet connection required) • Download a completely free version of Oracle Database to install on your workstation or laptop • Personal, one-to-one communication with your instructor • Answers to all your Oracle SQL questions • A printed course completion certificate
Audience • • • • • • • • •
Application Developers Business Intelligence Developers Database Administrators End Users Forms Developers APEX Developers PL/SQL Developers Portal Developers Migrating from MS SQL Server
Prerequisites • Familiarity with information technology concepts. Experience with another programming language is helpful but not required.
Course Topics Introduction • Introduction to Oracle Database 10g (Main Features, Primary Components) • Introduction to Related Products for the Developer (internet platform, application server and the developer suite) • Understanding the Relational and Object Relational Database Designs
• • • • •
Overview of the System Development Life Cycle Understanding Data Models Methods of Sorting Data Multiple Tables and Relationships Understanding SQL and Communication to the Database
Writing SQL SELECT Statements • • • • • • • • • •
Understanding projection, selection, and join terminology SQL SELECT statement syntax Select all columns with wildcard notation Simple rules and Guidelines for writing SQL statements Some SQL Best Practices Using arithmetic operators in SQL SELECT Statements Using the concatenation operator to create a character expression Working in the iSQL*Plus Environment iSQL*Plus commands Common SQL Statements
Filtering and Sorting Data • • • • • • •
Coding the WHERE clause to filter rows from the result set Coding comparison operators in the WHERE clause Pattern matching with the LIKE operator Using the logical operators AND, OR, NOT Learning the rules of precedence for the conditions Sort the result set with the ORDER BY clause iSQL*Plus ampersand substitution to restrict and sort output at run time
Coding Single-Row Functions • • • • • • • • • • •
Coding single row (scalar) functions Compare scalar to multiple row (aggregate) functions Categories of character functions (case manipulation / character manipulation) Best practices with the character manipulation functions Best practices with the numeric functions Understand the Oracle date datatype Coding date functions Use the SYSDATE function to retrieve the current date in the default format List the rules for applying the arithmetic operators on dates Use the arithmetic operators with dates in the SELECT clause Using the DUAL table to view function results
Aggregating Data with the Group Functions • • • • • • • • •
Introduction to the group functions Coding the group functions Using the DISTINCT keyword Understanding the impact of nulls Coding the GROUP BY clause Grouping data by multiple columns The Golden GROUP BY Rule Coding the HAVING clause to filter groups Tips and Best Practices
Retrieving Data from Multiple Tables : Joins • • • • • • • • •
Introduction to Types of Join Operations Understanding and Coding Natural Joins Coding table aliases (abbreviations and fixing ambiguous references) Coding the USING clause to define the relationship Coding the ON clause Coding three-way joins Understanding Outer Joins: LEFT, RIGHT, and FULL Creating a Cartesian Product Tips and Best Practices for Coding Joins
Coding Sub-queries • • • • • • • •
Sub-query syntax Sub-query rules Types of sub-queries Coding single row sub-queries Coding aggregate functions in the sub-query Coding multi-level sub-queries Understanding and coding the ANY and ALL operators in sub-queries Tips and Best Practices for Sub-Queries
Using the Set Operators to Create Compound Queries • • • • • • •
Understand and Code the UNION operator UNION vs UNION ALL Understand and Code the INTERSECT operator Understand and Code the MINUS operator Order results when using the UNION operator Rules for coding compound queries Tips and Best Practices for Compound Queries and Set Operations
Manipulating Data • • • • • • • • •
Code INSERT statements to add new rows to a table Code INSERT with sub-select to copy rows from another table Code UPDATE statements to change existing data Code DELETE statements to remove rows from a table Code scripts to manipulate data Understand Oracle transaction rules Code COMMIT, ROLLBACK and SAVEPOINT statements Understand the Oracle read consistency model Using the Oracle TRUNCATE statement
Coding Data Definition (DDL) Statements to Create and Manage Tables • • • • • • • • • • •
Getting familiar with common database objects Understanding the Oracle schema CREATE TABLE Syntax, including DEFAULT Introduction to Oracle Constraints Exceptions caused by constraint violations Creating Oracle tables with a query Changing table structure with ALTER TABLE statement DROP Table statement and the Oracle 10g Recyclebin RENAME Table statement Common Data Model tools that help creating tables Tips and Best Practices for Creating Tables
Creating Other Schema Objects • • • • • • • • •
Understanding “views” Create simple and complex views Selecting data through a view Creating read-only views DML Limitations on complex views Understanding, creating and using Oracle sequences Understanding B-Tree indexes Tips and Best Practices for indexes Understanding, creating and using synonyms
Managing Objects with Data Dictionary Views • What is the Oracle data dictionary and what can it do for me? • Describing dictionary views • Learn the purpose of common dictionary views
• Querying the data dictionary to answer common questions • Using the COMMENT statement to document Oracle objects • Common data dictionary queries
Oracle Security - Controlling User Access • • • • • • • • • •
Introduction to Oracle Security Understanding System Privileges Understanding Object Privileges Granting Object Privileges Confirming Privileges Granted Revoking Object Privileges Using roles to simplify privilege management Resetting user passwords Introduction to database links for remote table access Creating and using a database link
Manage Schema Objects • • • • • • • • • •
What can be done with the ALTER TABLE statement Adding columns to a table Modifying table columns Dropping columns from a table Setting a column UNUSED in a table Adding, enabling and disabling constraints When, why and how to create function-based indexes (FBI) Checking if the FBI is used Understanding and using FLASHBACK operations Understanding, creating and using external tables
Manipulating Large Data Sets • • • • • • • •
Understanding the MERGE Statement Coding the MERGE statement MERGE Tips and Techniques Coding DML statements that incorporate sub-queries Using the RETURNING clause in DML statements Introduction to the multi-table INSERT statement DML error logging Managing and undoing data change with Flashback Version Query
Advanced Grouping and Aggregation • Review the GROUP BY clause
• • • • • •
Review the HAVING clause Using the ROLLUP and CUBE operators Create subtotal groups using the GROUPING clause Combing GROUP BY options with GROUPING SETS Coding composite GROUP BY columns Coding concatenated groupings
Managing Data in Different Time Zones • • • • •
Understand Oracle time zone support Coding date, time and timestamp functions Understanding TIMESTAMP Data Types Differentiating between DATE and TIMESTAMP Converting dates and timestamps
Advanced Sub-Queries • • • • • •
Sub-query review Coding multiple-column sub-queries Coding a sub-query in the FROM clause (inline views) Understanding and coding correlated sub-queries Reusing query blocks using the WITH Clause Tips and Best Practices with Advanced Sub-Queries
Hierarchical Retrieval • • • • •
Understanding hierarchical data within a relational database Coding hierarchical queries with the CONNECT BY clause Identifying levels with the LEVEL clause Formatting the result set with LEVEL and the LPAD function Pruning branches with the WHERE and CONNECT BY clauses
Regular Expression Support • • • • • • • •
Introduction to regular expression support in Oracle Describing simple and complex patterns for searching and manipulating data Coding the REGEXP_LIKE operator Common metasymbols Coding Perl expressions Using Matching Sets and Repeaters Using Backreferences Tips for Regular Expressions
Notes 1. Students who have passed the pre-course prerequisite quiz can retake the course at no cost up to 4 times or until successfully passing the Oracle exam. Exam must be retaken after each course. 2. Students can drop-out of the course during the 1st 7 hours of instruction and receive a 100% refund. Course materials must be returned prior to receiving refund. 2 Copyright © 2009 www.skillbuilders.com 1-888-803-5607