About the Course
Course Duration: 1 days
Private Course: Click Here
The Introduction to SQL course is designed to give delegates practical experience in using ANSI standard SQL. As it is a generic course, some of the differences between different vendors’ implementations will be noted.
The delegate will learn and acquire skills as follows:
• Creating SQL statements to query a database table
• Using standard aggregate functions and related SELECT statement clauses
• Joining Tables
• Using basic subqueries and the set operators
Who will the course benefit?
Anyone who needs to understand and use SQL to manipulate a database.
There are no formal pre-requisites for this Introduction to SQL course, although an understanding of databases and exposure to information technology in general would be useful.
Some previous programming or database experience would be useful.
There is an overlap between the content of this 1 day Introduction to SQL course and the content on the suggested follow-on Oracle and MySQL/MariaDB courses. You may wish to review the content of the 3 day Oracle SQL course, the 3 day Introduction to MySQL course or the 3 day Introduction to MariaDB course and if more suitable to your training needs attend one of those courses rather than this 1 day Introduction to SQL course.
• Oracle SQL
• Introduction to MySQL
• Introduction to MariaDB
• Course technical content is subject to change without notice.
• Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.
There is no exam requirement for this course.
To provide the knowledge and skills needed to retrieve data held in a relational database.
Syllabus – Key points
Course Contents – DAY 1
• Administration and Course Materials
• Course Structure and Agenda
• Delegate and Trainer Introductions
Session 1: RELATIONAL DATABASE CONCEPTS
• What is a Relational Database?
• Relational Database Structures
• Tables, Rows and Columns
• Indexes, Primary Keys and Foreign Keys
• Data Types
• The Data Dictionary
Session 2: RETRIEVING DATA WITH THE SELECT STATEMENT
• The Select Statement
• The Select and From Clauses
• Conditions and the Where Clause
• Other Conditional Operators
• Logical Operators
• The Order By Clause
• Column Aliases
• Arithmetic Operations
• Precedence of Operators
Session 3: AGGREGATE FUNCTIONS
• Overview of Built in Aggregate Functions
• The Group By Clause
• The Having Clause
Session 4: JOINING TABLES
• Overview of Table Joins
• Inner Joins
• Table Aliases
• Outer Joins
• Self Joins
• ANSI Join Syntax
Session 5: BASIC SUBQUERIES AND SET OPERATORS
• Overview of Subqueries
• Basic Subqueries
• Set Operators