Course description
The SQL for PostgreSQL course is designed to give delegates practical experience in writing SQL statements and scripts using PostgreSQL. The basic SELECT statement, the use of SQL functions, and the basic table and view handling statements are introduced.
Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.
Who will the Course Benefit?This is an ideal course for anyone who needs to use and understand the Structured Query Language (SQL) to query, report and update data in a PostgreSQL database.
Course ObjectivesThe course aims to provide the delegate with the knowledge to be able to use SQL to manipulate data held in a PostgreSQL database and to progress their SQL skills beyond the basics.
Upcoming start dates
Suitability - Who should attend?
There are no formal pre-requisites for the SQL for PostgreSQL course, although an understanding of databases and exposure to information technology in general would be useful. This knowledge can be gained by attendance on the Relational Databases & Data Modelling Overview course.
Training Course Content
SQL for PostgreSQL Training Course
Course Contents - DAY 1
Course Introduction- Administration and Course Materials
- Course Structure and Agenda
- Delegate and Trainer Introductions
- What is an PostgreSQL Database
- Relational Database Structures
- Tables, Rows and Columns
- Indexes, Primary Keys and Foreign Keys
- Supported Datatypes
- The Data Dictionary
- What is psql
- Getting Started
- Entering and Executing SQL Statements
- Editing SQL Statements
- Creating, Editing and Executing SQL Files
- 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 Expressions
- Precedence of Operators
- Overview of Built In Aggregate Functions
- The GROUP BY Clause
- The HAVING Clause
- Overview of Table Joins
- Inner Joins
- Table Aliases
- Outer Joins
- Self Joins
- ANSI Standard Joins
- Overview of Subqueries
- Basic Subqueries
- Set Operators
- The Union, Intersect and Except Operators
Course Contents - DAY 2
Session 7: NUMERIC, CHARACTER AND DATE FUNCTIONS- Function Types
- Numeric Functions
- Character Functions
- String Concatenation
- Date Arithmetic and Date Functions
- Conversion Functions
- CASE Expressions
- The COALESCE and NULLIF Functions
- Subqueries Usage
- In-Line Views
- Subqueries with Joins
- Multi Column Subqueries
- Correlated Subqueries
- Subquery Rules
Course Contents - DAY 3
Session 10: MANAGING DATA- Inserting Rows
- Updating Rows
- Updating Join and Upsert Rows
- Deleting Rows
- Transaction Control
- Commit and Rollback
- Savepoints
- Commits and Constraints
- Amending Data in pgAdmin 4
- Insert data to Table from csv file
- Export data from Table to csv file
- Creating Tables
- Specifying Constraints
- Altering Tables, Columns and Constraints
- Dropping Tables, Columns and Constraints
- Recovering Dropped Tables
- Copying Tables
- Creating Indexes
- Dropping Indexes
- Listing Indexes
- Creating and Using Views
- Dropping Views
- Listing Views
- Create a Sequence
- View Sequence Details
Customer Outreach Award
We believe that it should be easy for you to find and compare training courses.
Our Customer Outreach Award is presented to trusted providers who are excellent at responding to enquiries, making your search quicker, more efficient and easier, too.
Reviews
Average rating 4.9
Fantastic training that was well paced with good detail. Overcame the barrier of remote teaching. Good online resources that worked well and the use of sql server in utilities...
I learnt new things on the course, however only part of the course applied to me. I was interested in sub-queries and SQL involving pulling data, however it is not my role to cr...
Continuing Studies
Further Learning
- PostgreSQL Administration
- PostgreSQL for Developers
Request info
Why StayAhead. From a single person on a scheduled course to large scale training projects StayAhead Training have the expertise and experience to help. Established since 1992, StayAhead Training is recognised as one of the leading independent IT Training specialists...
Tarn was extremely good at explaining concepts, and was always patient in answering questions. A very good instructor.