Advanced SQL Server Database Querying

Duration: 2 Days


This course is aimed at SQL Server database developers, administrators and analysts who need to take the basics of SQL Server SQL Data Manipulation Language (DML) statements to the next level. The course covers the more advanced use of SELECT, UPDATE and DELETE statements, providing delegates with the necessary knowledge and hands on experience to construct complex queries to meet the information extraction requirements of real world businesses. It also explores the many different ways of retrieving information from multiple tables from simple multi-table SELECT statements through to complex correlated sub-queries as well as introducing the many ways of analysing and processing data through methods such as grouping of data and implementing computed columns. The course will do more than just teach each topic as an isolated subject; it will show delegates how to integrate all these query methods and more to help satisfy their business information extraction needs. Covers SQL Server 2005, SQL Server 2008, SQL Server 2012 and SQL Server 2014.


Delegates would benefit from a basic understanding of the concept of relational databases and terms such as table, column, row and relationship, although these concepts will be recapped at the start of the course.

Course includes

A comprehensive set of reference notes covering course topics and follow-up telephone support.

Course outline

Review of SELECT Statement Basics

Nesting Functions

CASE Statement

Multiple Table Selects

  • CROSS Joins
  • INNER Join
  • OUTER Joins
  • Table Aliases
  • Self Join
  • Joining on non-key columns
  • Advanced Joins
  • Mixing INNER and OUTER Joins
  • Temporary Tables
  • Local Temporary Tables
  • Global Temporary Tables
  • Views
  • Single Table Views
  • Multi-table Views
  • Updating Through Views
  • Advanced Data Organisation
  • The GROUP BY Clause
  • The HAVING Clause
  • Ranking Grouped Data
  • The CUBE and ROLLUP options
  • Sub Queries
  • Simple Sub Queries
  • Using Aggregate Functions in Sub Queries
  • Correlated Sub Queries
  • Avoiding Sub Queries
  • Derived Table Sub Queries
  • Sub Queries in SELECT Lists
  • Advanced Update and Delete Statements
  • Simple Update and Delete Statements
  • UPDATES and DELETES With Sub Queries
  • The FROM Clause
  • Merging Records
  • MERGE Statement
  • Common Table Expressions
  • Simple CTEs
  • Recursive Data Sets
  • Hierarchical Data Sets
  • Simple Execution Plans
  • Graphical Execution Plans
  • Estimated Plans
  • Actual Plans
  • Query Plan Costs
  • Physical Operations
  • Order Of Execution

Course Dates

London CentralLondon GreenwichBristol

London Greenwich

Dates Price Book Now
28 - 29 Sep £745 Book Now
9 - 10 Oct £745 Book Now
27 - 28 Nov £745 Book Now
See more dates...
All our courses run in London and Bristol, or can be tailored to requirements at your own offices. For alternative dates, please email or call us on 0208 269 4260
All prices are per person and are subject to VAT
15% discount for groups of four delegates.
10% discount for groups of three delegates.
(This offer applies for delegates on the same public scheduled course on the same date.)

Related Courses

"I am writing to say thank you for organising my FileMaker training day; I learned so much with my trainer, Nick, and have come away with such a great database. It delighted both the Director and my job share partner. I feel I have left with a great amount of knowledge that can help the business immensely. I learned more than I thought I would and would like to thank Transmedia for being so helpful!"

Lucie Mills

"Lovely surroundings, easy-going people, interesting learning- brilliant, first time Iíve enjoyed editing!"

Southwest Screen

"Very helpful, knowledgeable and responsive trainer."

Westminster University



© Transmedia . 277 Greenwich High Road London SE10 8NB  UK . 0208 269 4260
Designed by Transmedia's Web Team