The Knowledge Academy Logo
The Knowledge Academy Logo
01344 203999 - Available 24/7

Send us your message.

X

Advanced SQL

Key points about this course


Duration: 2 Days*

Pre-requisites: - Introduction to SQL

Dates & Prices Enquire
  • Learn how to Create Tables in SQL.
  • Understand The SQL Server debugger.
  • Learn the Common Table Expressions (CTEs).

Available delivery methods for this course

Classroom Icon

Classroom

Onsite Icon

Onsite

Online Icon

Online

Virtual Icon

Live Virtual

Course Information

Advanced SQL Course Overview

SQL (Structured Query Language) is the world’s most widely used database language, utilised by a large variety of database systems for creating queries and manipulating data. Advanced SQL Developers are currently greatly in demand by the IT industry, and a high level of understanding of advanced SQL techniques can put individuals at an advantage when planning to enter into this field of work, or when wishing to enhance their position within their current SQL-based working environment.

This Advanced SQL training course, which has a duration of two days, builds upon the prior knowledge and understanding of SQL, as taught in the Introduction to SQL course. Thus, this Advanced SQL course focusses on sharing new, complex SQL techniques, allowing the delegates to understand the core innovative SQL concepts currently present in the database world. This course creates capable SQL users, confident in executing more complicated commands when viewing and managing tables and running complex queries.  

SQL techniques taught during the course include creating and managing tables, Data Manipulation Language (DML), enabling the production of Databases and Apps, and scaling emerging and dynamic technological networks. On completion of the training course, delegates will have a thorough understanding of these techniques, and will have obtained the skills necessary to effectively manage a relational database. 

Advanced SQL Course Outline

Stored Procedure Basics

  • Pros and cons of stored procedures
  • Creating stored procedures
  • Three ways to execute
  • System stored procedures

Variables

  • Declaring variables
  • SET versus SELECT
  • Tricks with variables and rowsets
  • So-called global variables

Parameters and Return Values

  • Passing parameters
  • Default values and WHERE clauses
  • Output parameters
  • Using RETURN

Avoiding Scalar Functions

  • What are scalar functions?
  • Some examples
  • Disadvantages of scalar functions
  • Three advantages

Testing Conditions

  • IF/ELSE statement
  • Using CASE where possible

Looping

  • Syntax of WHILE
  • Breaking out of a loop
  • Basic transactions
  • Beginning a transaction
  • Committing/rolling back
  • Deleting and updating
  • Using DELETE and UPDATE
  • Sys.Objects
  • Dropping objects

Creating Tables

  • Creating Tables in SQL
  • Inserting data
  • Inserting single rows
  • Inserting multiple rows

Temporary Tables and Table Variables

  • Using temporary tables
  • Creating table variables
  • Pros and cons of each approach

Table Valued Functions

  • In-line table-valued functions
  • Multi- Statement table-valued functions
  • Limitations of user-defined functions

Derived Tables and CTEs

  • Using derived tables
  • Common Table Expressions (CTEs)
  • Recursive CTEs

Subqueries

  • The concept of a subquery
  • Using ALL, ANY, and IN
  • Correlated subqueries
  • Using EXISTS

Cursors

  • Syntax of fetching rows
  • When to use (and when not to)

Error-Handling

  • Using TRY/CATCH
  • System error functions
  • Custom error messages
  • The obsolete @@ error function

Debugging

  • Version differences
  • The Visual Studio debugger
  • The SQL Server debugger
  • Debugging (breakpoints, etc.)

Who is this SQL Training course for?

This course is for individuals who are familiar with SQL and would like to improve their skills and expand on their knowledge.

Prerequisites

It is required that delegates have a prior understanding of SQL, and so it is necessary for delegates to have attended the Introduction to SQL training course before enrolling on this Advanced SQL course.

SQL (Structured Query Language) is the world’s most widely used database language, used by a large variety of database systems for creating queries and manipulating data. To find out more about SQL, take a look at our SQL Topic page.
On this SQL training course with The Knowledge Academy, you will be provided with: A courseware book, Manual, Certificate, and Refreshments
Please arrive at the venue for 8.45am for a 9:00 am start.
It would useful for you to have some previous programming or database experience. The Introduction to SQL training course provided by The Knowledge Academy supplies candidates with this experience and as such, is considered a prerequisite for this Advanced SQL course.

What's included in this SQL Training Course?

  • Delegate pack consisting of course notes and exercises
  • Manual
  • Experienced Instructor
  • Refreshments

Dates & Prices

Select your preferred delivery method

Choose a Region

Choose a Location

Choose a Month

Office Icon Attend your course from the office or home
Trainers Icon Interactive support from experienced trainers
Simple Icon Simple to setup and easy to use on any device
Birmingham
Thu 27th Jun 2019
Places available
£795
VirtualLive Virtual
Thu 4th Jul 2019
Places available
£795
London
Thu 4th Jul 2019
Places available
£795
Glasgow
Thu 11th Jul 2019
Places available
£995
Southampton
Thu 25th Jul 2019
Places available
£995
VirtualLive Virtual
Thu 1st Aug 2019
Places available
£795
Cardiff
Thu 1st Aug 2019
Places available
£995
Milton Keynes
Thu 8th Aug 2019
Places available
£995
Sheffield
Thu 15th Aug 2019
Places available
£995
Nottingham
Thu 22nd Aug 2019
Places available
£995
London
Thu 29th Aug 2019
Places available
£795
Liverpool
Thu 5th Sep 2019
Places available
£995
Maidstone
Thu 12th Sep 2019
Places available
£995
Edinburgh
Thu 19th Sep 2019
Places available
£995
VirtualLive Virtual
Thu 26th Sep 2019
Places available
£795
Norwich
Thu 26th Sep 2019
Places available
£995
Manchester
Thu 3rd Oct 2019
Places available
£795
Leeds
Thu 10th Oct 2019
Places available
£995
Belfast
Thu 17th Oct 2019
Places available
£995
Dublin
Thu 24th Oct 2019
Places available
€995
VirtualLive Virtual
Thu 31st Oct 2019
Places available
£795
Newcastle
Thu 31st Oct 2019
Places available
£995
Aberdeen
Thu 7th Nov 2019
Places available
£995
London
Thu 14th Nov 2019
Places available
£795
Bristol
Thu 21st Nov 2019
Places available
£995
VirtualLive Virtual
Thu 28th Nov 2019
Places available
£795
Reading
Thu 28th Nov 2019
Places available
£995
Birmingham
Thu 5th Dec 2019
Places available
£795
Cambridge
Thu 12th Dec 2019
Places available
£995
VirtualLive Virtual
Thu 19th Dec 2019
Places available
£795
Brighton
Thu 19th Dec 2019
Places available
£995
London
Thu 2nd Jan 2020
Places available
£795
Aberdeen
Thu 2nd Jan 2020
Places available
£995
Nottingham
Thu 9th Jan 2020
Places available
£995
Manchester
Thu 16th Jan 2020
Places available
£795
Reading
Thu 23rd Jan 2020
Places available
£995
Newcastle
Thu 30th Jan 2020
Places available
£995
Dublin
Thu 6th Feb 2020
Places available
€995
Birmingham
Thu 13th Feb 2020
Places available
£795
Sheffield
Thu 20th Feb 2020
Places available
£995
Brighton
Thu 27th Feb 2020
Places available
£995
Maidstone
Thu 5th Mar 2020
Places available
£995
Bristol
Thu 12th Mar 2020
Places available
£995
London
Thu 19th Mar 2020
Places available
£795
Edinburgh
Thu 26th Mar 2020
Places available
£995
Norwich
Thu 2nd Apr 2020
Places available
£995
Milton Keynes
Thu 16th Apr 2020
Places available
£995
Belfast
Thu 23rd Apr 2020
Places available
£995
Birmingham
Thu 30th Apr 2020
Places available
£795
Leeds
Thu 7th May 2020
Places available
£995
Manchester
Thu 14th May 2020
Places available
£795
Cardiff
Thu 21st May 2020
Places available
£995
London
Thu 28th May 2020
Places available
£795
Birmingham
Thu 4th Jun 2020
Places available
£795
Glasgow
Thu 11th Jun 2020
Places available
£995
Southampton
Thu 18th Jun 2020
Places available
£995
Liverpool
Thu 25th Jun 2020
Places available
£995
Newcastle
Thu 2nd Jul 2020
Places available
£995
Manchester
Thu 9th Jul 2020
Places available
£795
Cambridge
Thu 9th Jul 2020
Places available
£995
Edinburgh
Thu 16th Jul 2020
Places available
£995
Nottingham
Thu 23rd Jul 2020
Places available
£995
Reading
Thu 30th Jul 2020
Places available
£995
Aberdeen
Thu 30th Jul 2020
Places available
£995
London
Thu 6th Aug 2020
Places available
£795
Brighton
Thu 13th Aug 2020
Places available
£995
Maidstone
Thu 20th Aug 2020
Places available
£995
Dublin
Thu 27th Aug 2020
Places available
€995
Sheffield
Thu 3rd Sep 2020
Places available
£995
Milton Keynes
Thu 10th Sep 2020
Places available
£995
Belfast
Thu 17th Sep 2020
Places available
£995
Norwich
Thu 24th Sep 2020
Places available
£995
London
Thu 1st Oct 2020
Places available
£795
Leeds
Thu 8th Oct 2020
Places available
£995
Cardiff
Thu 15th Oct 2020
Places available
£995
Manchester
Thu 22nd Oct 2020
Places available
£795
Cambridge
Thu 29th Oct 2020
Places available
£995
Birmingham
Thu 5th Nov 2020
Places available
£795
Southampton
Thu 12th Nov 2020
Places available
£995
London
Thu 19th Nov 2020
Places available
£795
Liverpool
Thu 26th Nov 2020
Places available
£995
Bristol
Thu 3rd Dec 2020
Places available
£995
Glasgow
Thu 10th Dec 2020
Places available
£995
London
Thu 17th Dec 2020
Places available
£795

Complete the steps below to receive a quote or more information

How will you be funding your training?

Self funding

Company funding

Not sure

Key points about this course


Duration: 2 Days*

Pre-requisites: - Introduction to SQL


Why choose TKA logo


Gold Tag

Best price in the industry

You won't find better value in the marketplace. If you do find a lower price, we will beat it.

Delivery Icon

Various delivery methods

Flexible delivery methods are available depending on your learning style.

Resource Icon

Resources

Resources are included for a comprehensive learning experience.

Thames Water Logo

"Really good course and well organised. Trainer was great with a sense of humour - his experience allowed a free flowing course, structured to help you gain as much information & relevant experience whilst helping prepare you for the exam"

Joshua Davies, Thames Water

Google Logo
Samsung Logo
Shell Logo

"...the trainer for this course was excellent. I would definitely recommend (and already have) this course to others."

Diane Gray, Shell

  Looking for more information?