Getting Started with Oracle SQL
5 day - Syllabus
(Duration: 40 hours)
Introduction to SQL constructs
• Review of Basic SQL statements Aggregation in SQL
• Select, Project, Join
• Describing Oracle tables • Count(*)
• Restricting row returns • Sum
Using SQL*Plus • Avg
• Min and max
• Creating basic reports • Using the group by clause
• Using the set commands
• Column wrapping SQL access methods
• Creating breaks and summaries
• Adding prompts to queries • Review of Basic joining methods
• Merge join
Joining Oracle tables • Hash Join
• Nested Loop join
• Equi-join • Advanced SQL operators
• Outer join • Between operator
• Hiding joins by creating views
• Using IN, NOT IN, EXISTS and NOT SQL Tuning
EXISTS
• Subqueries • Introduction to rule-based optimization
• Exercise – write a subquery • Introduction to cost-based optimization
• Correlated subquery • Collecting table and index statistics
• Non-correlated subqueries • Using column histograms
• Changing the default optimizer modes
Advanced SQL operators • Using TKPROF
• Using SQL*Trace
• Between operator • SQL reusability within the library cache
• IN and NOT In operators • Table high-water mark
• Sub-queries • Table striping and table partitions
• EXISTS clause • Using EXPLAIN PLAN
• Using wildcards in queries (LIKE • Interpreting EXPLAIN PLAN Output
operator) • Using indexes to improve performance
• Identifying full-table scans
• Re-writing SQL queries
• Using hints to improve SQL performance
• Using parallel query to improve
performance
• Tuning sub-queries