Index of Oracle 21c 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 SQL Plus Interface
14
- How to logon to SQLPlus
15
- What do I need to login into SQLPlus
16
- The initial details shown in SQL Plus
20
- ORA-01017 Error when logging into SQLPlus
21
- ORA-12154 Error when logging into SQLPlus
22
- How do I exit an SQLPlus session
23
- Using Dos commands in SQLPlus
24
- SQLPlus Function Keys
25
- Using the Line Editor in SQL Plus
26
- Using the Editor in SQL Plus
27
- SQL Plus Environment Settings
28
- Saving and Reading in SQLPlus
29
- Spooling Results to a file in SQL Plus
30
- Changing Passwords / Clearing the Screen in SQL
31
Four
SQL Scripts
32
- What are Oracle SQL Scripts
33
- An example of an Oracle SQL Script
34
- Commenting SQL Scripts
36
- What are Oracle SQL Scripts
33
- How to run SQL in a Batch Script
38
- Passing Parameters to SQL Scripts
40
Five
Simple Queries
42
- The syntax of an Oracle SQL Query
43
- What’s the purpose of Oracle Metadata
44
- Most useful Oracle Metadata views for Users
45
- How to use an Oracle Metadata View
46
- What’s the purpose of Oracle Metadata
44
- A simple SQL select statement
49
- Counting Records in an Oracle Table
52
- Displaying Literals in a Select statement
54
- Displaying Variables in a Select statement
57
- Exercise One
58
- What are the different styles of SQL Column Aliases
62
- Column Manipulation with SQL Functions
65
- How to concatenate or join Columns in SQL
71
- Performing Calculations in SQL
72
- Using Order By to sequence data in SQL
73
- Ordering More than One Column
75
- Ordering a column with nulls in some records
76
- Outputting Dates in SQL
77
- Exercise Two
79
Six
Using Where Clauses in SQL
84
- Limiting Data in SQL
85
- Structure of an SQL Where Clause
86
- Comparison Operators in SQL Where Clauses
87
- Dealing with Nulls in Where Clauses
95
- Case Restrictions in SQL Where Clauses
96
- Using Functions in Where Clauses
97
- The use of Rownum in SQL Tables
100
- The use of Rowid in SQL Tables
102
- Using Fetch in SQL to limit records returned
104
- Using Percent with Fetch in SQL to limit records returned
105
- Using Offset with Fetch in SQL to limit records returned
106
- Using With Ties and Fetch in SQL to limit records returned
107
- Exercise Three
108
Seven
Oracle Datatypes
113
- What are the Oracle Datatypes
114
- What is a Varchar2 datatype
115
- ORA-00910 when specifying length for varchar2
117
- The difference between Varchar2 and Char
118
- Using Number datatypes in Oracle SQL
119
- Date datatypes in an Oracle database
120
- What are Floats in SQL
121
- What were Long datatypes in Oracle
122
- Breakdown of LOBs in Oracle
123
- How do Bfiles work in Oracle
127
Eight
Aggregating Values
128
- Totaling columns in SQL
129
- Using Group By to sub-total values
130
- Using the Having clause with Group By
133
- Creating a Grand Total using Rollup
135
Nine
Tree Walking Tables in SQL
136
- What is Tree Walking
137
- Syntax for Tree Walking in SQL
139
- Example of Tree Walking in SQL
140
- Advanced Ordering of Siblings in Tree Walks
141
- Using Sys_Connect_By_Path in Tree Walking
143
- Exercise Four
145
Ten
Joining Tables and Views in an SQL Select Statement
148
- Defining Table Aliases in SQL
149
- Joining Tables in an SQL statement
151
- Outer Joins in SQL
156
- Methods of Joining Tables in SQL
158
- Using Ansi SQL 1986 to Join Tables
159
- Using Ansi SQL 1986 with Outer Joins to Join Tables
160
- Natural Joins with Ansi SQL 2016 (ANSI X3.135)
163
- Cross Joins with Ansi SQL 2016 (ANSI X3.135)
164
- Join/Using with Ansi SQL 2016 (ANSI X3.135)
165
- Join/On with Ansi SQL 2016 (ANSI X3.135)
166
- Left Outer Join with Ansi SQL 2016 (ANSI X3.135)
168
- Right Outer Join with Ansi SQL 2016 (ANSI X3.135)
169
- Full Outer Join with Ansi SQL 2016 (ANSI X3.135)
170
- Creating Table Sets in SQL
171
- Using the Merge / Set Syntax in SQL
172
- Creating Table Sets in SQL
171
- Using Union to Merge Tables in SQL
174
- Using Union All to Merge Tables in SQL
175
- Using Intersect to Merge Tables in SQL
176
- Using Intersect All to Merge Tables in SQL
177
- Using Minus to Merge Tables in SQL
178
- Using Minus All to Merge Tables in SQL
179
- Using Except to Merge Tables in SQL
180
- Using Except All to Merge Tables in SQL
181
- Exercise Five
182
Eleven
Advanced SQL Query Techniques
186
- Improving the output of the SQL Query
187
- Pivoting output in SQL
188
- Pivoting output in SQL with a Total
193
- Changing the Pivot Headings of X Axis
194
- Rotating the Axis of the Pivot
196
- Using Unpivot to normalise a table’s records
197
- Using Unpivot to normalise a table’s records with nulls
200
- Output the first (or last record) value in each row
201
- Output the first (or last record) value in each row with nulls
203
- Breakdown of SQL Window Specification
204
- Window Specification - The Arguments
207
- Window Specification - Query Partition
208
- Window Specification - The Order By
210
- Window Specification - The Windowing
212
- Window Specification - Rows between
214
- Window Specification – Shortcuts
218
- Difference between Range and Rows
219
- Reading records ahead of the current using Lead and Lag
222
- Ranking Records in order of importance / value
226
- Using Ntile to group records in set of data
233
- Width_Bucket – Another way to group records
235
- Group values together using Listagg Function
238
- Syntax of Case in Oracle SQL
240
- Exercise Six
244
Twelve
Creating Oracle Database Objects
248
- Creating Tables in SQL
249
- What are Mandatory Columns in SQL Tables
251
- Creation Syntax for Tables in SQL
252
- Creating Tables by copying an existing table
253
- Virtual Columns in Oracle
254
- Creating Virtual Columns with new Table
255
- Specifying Virtual Column Datatype and Size
256
- Altering an existing table to add a Virtual Column
257
- Selecting Virtual Columns in SQL …
258
- Using functions within Virtual Columns
260
- Limitations of Virtual Columns (ORA-54012)
261
- Limitations of Virtual Columns (ORA-54015)
262
- Limitations of Virtual Columns (ORA-54013)
263
- Viewing Virtual Columns in USER_TAB_COLS
264
- Invisible Columns in Oracle 21c
265
- Creating Comments on Tables
268
- Commenting on Columns in SQL
272
- Types of Indexes in Oracle Tables
270
- Creating Indexes in SQL
272
- Examples of Index Syntax in SQL
273
- Disabling Indexes in SQL
275
- Creating Views in SQL
276
- Creating Sequences in SQL
278
- Using Sequences in SQL
279
- Altering Sequences in SQL
281
- Using Default Value in SQL Tables
282
- Using Default Value in Oracle 21c
283
- Using Identity in Oracle 21c
284
- Renaming Objects in an Oracle Database
285
- Dropping Objects from an Oracle Database
288
- Granting Access to other Schemas
289
- Accessing other Schemas
292
- Creating Synonyms in Oracle
293
- Exercise Seven
294
Thirteen
Altering and Populating Oracle Tables
296
- Rules When Altering Oracle Tables
297
- Syntax for Altering Oracle Tables
298
- Rules When Populating Tables in SQL
299
- Syntax for Populating Oracle Tables
300
- Using Variables To Populate Tables
305
- General Comments
306
- Updating Data in Oracle Tables
307
- Deleting Data from Oracle Tables
309
- Handling Large Objects in SQL Plus
310
- Handling BFiles in SQL Plus
312
Fourteen
Committing Records
313
- The Difference Between DDL & DML
314
- Using Autocommit in SQL Plus
317
Fifteen
Materialized Views
318
- What are Materialized Views
319
- Syntax for Creating Materialized Views
321
- Refreshing Materialized Views
323
- Building Materialized Views
329
- Miscellaneous
331
- Exercise Eight
332