Index of Oracle 23ai Essential SQL training course
Section
Contents
Page
One
Learning Oracle SQL
2
- What is Structured Query Language
3
- What is an Oracle Database?
4
Two
Oracle Database Objects
5
- What Oracle Database Objects are used by a User
6
- What’s the purpose of Tables in an Oracle Database
7
- The purpose of Views in an Oracle Database
8
- The purpose of Materialized Views in an Oracle Database
9
- Why use Indexes in an Oracle Database
10
- The purpose of Sequences in an Oracle Database
11
- What are Oracle Packages, Functions and Procedures
12
- The use of Synonyms and Schemas in Oracle
13
Three
The Oracle SQLPlus and SQLcl Interface
14
- SQLPlus versus SQLcl
15
- How to logon
16
- What do I need to login
17
- The initial details shown in SQL
21
- ORA-01017: invalid credential or not authorized
22
- ORA-12154: Cannot connect to database
23
- How do I exit a session
24
- Using Dos commands
25
- SQLPlus Function Keys
26
- Using the Line Editor
27
- Using the Buffer Editor
28
- Environment Settings
29
- Saving and Reading in SQL
30
- Spooling Results to a file
31
- Changing Passwords / Clearing the Screen in SQL
32
Four
SQL Scripts
33
- What are Oracle SQL Scripts
34
- An example of an Oracle SQL Script
35
- Commenting SQL Scripts
37
- How to run SQL in a Batch Script
39
- Passing Parameters to SQL Scripts
41
Five
Simple Queries
43
- The syntax of an Oracle SQL Query
44
- What’s the purpose of Oracle Metadata
45
- Most useful Oracle Metadata views for Users
46
- How to use an Oracle Metadata View
47
- What’s the purpose of Oracle Metadata
44
- A simple SQL select statement
50
- Counting Records in an Oracle Table
53
- Displaying Literals in a Select statement
56
- Displaying Variables in a Select statement
58
- Exercise One
58
- What are the different styles of SQL Column Aliases
63
- Column Manipulation with SQL Functions
66
- How to concatenate or join Columns in SQL
72
- Performing Calculations in SQL
73
- Using Order By to sequence data in SQL
74
- Ordering More than One Column
76
- Ordering a column with nulls in some records
77
- Outputting Dates in SQL
78
- Exercise Two
80
Six
Using Where Clauses in SQL
85
- Limiting Data in SQL
86
- Structure of an SQL Where Clause
87
- Comparison Operators in SQL Where Clauses
88
- Dealing with Nulls in Where Clauses
96
- Case Restrictions in SQL Where Clauses
97
- Using Functions in Where Clauses
98
- The use of Rownum in SQL Tables
101
- The use of Rowid in SQL Tables
103
- Using Fetch in SQL to limit records returned
105
- Using Percent with Fetch in SQL to limit records returned
106
- Using Offset with Fetch in SQL to limit records returned
107
- Using With Ties and Fetch in SQL to limit records returned
108
- Exercise Three
109
Seven
Oracle Datatypes
114
- What are the Oracle Datatypes
115
- What is a Varchar2 datatype
116
- ORA-00910 when specifying length for varchar2
118
- Char
119
- The difference between Varchar2 and Char
120
- Using Number datatypes in Oracle SQL
121
- Date datatypes in an Oracle database
122
- What are Floats in SQL
123
- What were Long datatypes in Oracle
124
- Breakdown of LOBs in Oracle
125
- How do Bfiles work in Oracle
129
Eight
Aggregating Values
130
- Totaling columns in SQL
131
- Using Group By to sub-total values
132
- Using the Having clause with Group By
135
- Creating a Grand Total using Rollup
137
- Using alias reference in a Group By
138
- Using position reference in a Group By
139
- Using alias in Having
140
Nine
Tree Walking Tables in SQL
141
- What is Tree Walking
142
- Syntax for Tree Walking in SQL
144
- Using LPAD for Tree Walking
146
- Using Ordering of Siblings in Tree Walks
148
- Using Sys_Connect_By_Path in Tree Walking
150
- Exercise Four
152
Ten
Joining Tables and Views in an SQL Select Statement
155
- Defining Table Aliases in SQL
156
- Joining Tables in an SQL statement
158
- Outer Joins in SQL
163
- Methods of Joining Tables in SQL
165
- Using Ansi SQL 1986 to Join Tables
166
- Using Ansi SQL 1986 with Outer Joins to Join Tables
167
- Natural Joins with Ansi SQL 2016 (ANSI X3.135)
170
- Cross Joins with Ansi SQL 2016 (ANSI X3.135)
171
- Join/Using with Ansi SQL 2016 (ANSI X3.135)
172
- Join/On with Ansi SQL 2016 (ANSI X3.135)
173
- Left Outer Join with Ansi SQL 2016 (ANSI X3.135)
175
- Right Outer Join with Ansi SQL 2016 (ANSI X3.135)
176
- Full Outer Join with Ansi SQL 2016 (ANSI X3.135)
177
- Creating Table Sets in SQL
178
- Using the Merge / Set Syntax in SQL
179
- Using Union to Merge Tables in SQL
181
- Using Union All to Merge Tables in SQL
182
- Using Intersect to Merge Tables in SQL
183
- Using Intersect All to Merge Tables in SQL
184
- Using Minus to Merge Tables in SQL
185
- Using Minus All to Merge Tables in SQL
186
- Using Except to Merge Tables in SQL
187
- Using Except All to Merge Tables in SQL
188
- Exercise Five
189
Eleven
Sub-Queries in Oracle SQL
193
- Introduction
194
- Using Equals
195
- In and Not In
198
- Exists
200
- Any / Some
201
- All
202
- Correlated Queries
203
- Correlated Updates and Deletes
205
- Inline Views
206
- Sub-Queries in a Select Statement
208
- Sub-Query Factoring (Using With)
209
- Sub-Query Factoring Example with Aliases
211
- Sub-Query Factoring Example with Joins
212
Twelve
Advanced SQL Query Techniques
213
- Introduction
214
- Using First_Value / Last_Value
215
- ORA-30484: missing window specification
218
- Breakdown of Window Specification
219
- Window Specification - The Arguments
221
- Window Specification - Query Partition
222
- Window Specification - The Order By
223
- Window Specification - The Windowing
225
- Window Specification - Rows between
227
- Difference between Range and Rows
234
- Using Lead and Lag
237
- Using the Rank Function
240
- Using the Rank Function with partition by
242
- Using the Ntile Function
243
- Using Width_Bucket Function
245
- Pivot
248
- Adding a Total to a Pivot
255
- Changing the Pivot Headings of X Axis
256
- Unpivot
258
- Using Listagg Function
261
- Using Case Function
263
- Nesting the Case Function
266
- Subqueries in the Case Function
267
- Using Ratio_to_report Function
268
Thirteen
Using Alternative Quoting Mechanism in SQL
270
- Introduction to AQM
271
- Using Alternative Quoting Mechanism
272
- Exercise Six
274
Fourteen
Creating Oracle Database Objects
281
- Naming Tables and Columns
282
- Creating Tables in SQL
284
- What are Mandatory Columns in SQL Tables
286
- Creating Indexes for Tables
287
- Creation Syntax for Tables in SQL
289
- Creating Tables by copying an existing table
290
- Virtual Columns in Oracle
291
- Creating Virtual Columns with new Table
292
- Specifying Virtual Column Datatype and Size
293
- Altering an existing table to add a Virtual Column
294
- Selecting Virtual Columns in SQL …
295
- Using functions within Virtual Columns
297
- ORA-54012: virtual column is referenced in a column expression
298
- ORA-54015: Duplicate column expression was specified
299
- ORA-54013: UPDATE operation disallowed on virtual columns
300
- Viewing Virtual Columns in USER_TAB_COLS
301
- Invisible Columns
302
- Creating Comments on Tables
305
- Creating Comments on Columns
306
- Types of Indexes in Oracle Tables
307
- Creating Indexes in SQL
310
- Examples of Index Syntax in SQL
311
- Disabling Indexes in SQL
313
- Creating Views in SQL
314
- Creating Sequences in SQL
316
- Using Sequences in SQL
317
- Altering Sequences in SQL
319
- Using Default Value in SQL Tables
320
- Using Identity
322
- Renaming Objects in an Oracle Database
323
- Dropping Objects from an Oracle Database
326
- Granting Access to other Schemas
327
- Accessing other Schemas
330
- Creating Synonyms in Oracle
331
- Exercise Seven
332
Fifteen
Altering and Populating Oracle Tables
334
- Rules When Altering Oracle Tables
335
- Syntax for Altering Oracle Tables
336
- Rules When Populating Tables in SQL
337
- Using Variables To Populate Tables
338
- Syntax for Populating Oracle Tables
339
- General Comments
345
- Updating Data in Oracle Tables
346
- Deleting Data from Oracle Tables
348
- Handling Large Objects in SQL Plus
349
- Handling BFiles in SQL Plus
351
Sixteen
Committing Records
352
- The Difference Between DDL & DML
353
- Using Autocommit in SQL Plus
356
Seventeen
Materialized Views
357
- What are Materialized Views
358
- Syntax for Creating Materialized Views
360
- Refreshing Materialized Views
362
- Building Materialized Views
368
- Refreshing Materialized Views Manually
370
- Building Materialized View Logs
371
- Building Materialized Views
368
- Exercise Eight
377