SQL Queries Level 2 Live Online Learning Courses

This one-day SQL (Structured Query Language) workshop is for data analysts who need to summarise and interrogate data. This is a follow up to the introduction course and will continue to develop your skills in writing SQL in order to manipulate data stored in a relational database system.

This workshop is suitable for anyone who needs to learn SQL, whatever database system you use. The training is typically delivered using MS SQL Server and SSMS, so please let us know what system you use.

Please note, SQL Queries Level 2 is only available for private groups.

Course Overview

This online workshop runs from 9.30am to approximately 4.30pm with regular breaks. It is possible to split the workshop into 2x ½ days. Please let us know your preference. A maximum of six attendees means there is plenty of opportunity for you to ask questions.

What you will learn

By the end of this course you will be able to write SQL SELECT statements confidently. You will be able to retrieve data from one or more tables using a variety of criteria, and know how to write advanced SELECT queries that use union and case statements, and sub queries.

Session 1 – Introduction and Recap

We start by examining the training database and briefly recap SQL the basic SELECT statement and JOINs with a quiz and exercise.

Session 2 – Advanced SQL SELECT Statements

This section includes several useful exercises for querying data from multiple tables. Topics include:

  • CASE statements
  • Union vs Union All
  • Useful string, date and convert functions

Session 3 – Sub Queries and Window Functions

Sub queries allow you to control the data returned from your main query with the results from another query.  A typical example might be to first calculate the total that a customer has spent with you during the year, then use this query to return the customers that have spent above average.  You can also use sub queries to find duplicate data.

Window functions can be used to combine individual data with aggregate data. For example, in the same query you could display an individual's salary, the average salary for the department/company and calculate the difference.  Window functions belong to a type of function known as a ‘set function’, which means a function that applies to a set of rows. The word ‘window’ is used to refer to the set of rows that the function works on. 

During the session of the workshop we complete various exercises:

  • Examples of useful sub queries
  • Introduction to Window functions
    • Over() and Over(Partition by)
    • Row() v Rank()

If you have any questions about the workshop content or setup please let us know and we’ll arrange for the trainer to give you a call.

Group Learning Events

If you have three or more learners, a private group course could be cheaper.

We can tailor the content to your team, and host the training remotely, at your workplace or here at Happy's HQ in Aldgate, Central London.

Find out more

Book now

See our available course dates, or contact us for bespoke options.

SQL Queries Level 2
There are currently no upcoming course dates available. Please contact our team on 020 7375 7300 or email hello@happy.co.uk to enquire and find out availability for private groups.

Please note that your booking is not secured until you checkout. All prices listed in the shopping cart are excluding VAT.

If you are booking at a discounted rate (for example, if you are from a charity), you will see this on the final stage of the shopping cart after you have set up your account or logged in. Discount codes can also be added on this final page.

Check out now

Get in touch

020 7375 7300

Why choose Happy?

  • Award-winning learner-focused approach
  • Small class sizes to give personal one-to-one support
  • Two years of free support after your course
  • Private group options available
  • No quibble money-back guarantee on all courses

The Small Print

This online workshop runs from 9.30am to approximately 4.30pm with regular breaks. It is possible to split the workshop into 2 x ½ days. Please let us know your preference.

The workshop typically uses MS SQL Server and SSMS, so it is important that you have this set up on your own computer prior to the training. It is possible to adapt the workshop for MySQL, for Access or for BigQuery. Please let us know the version you use before booking. A free version of MS SQL Server Express and Tools can be downloaded here.

Your active participation is expected. We recommend you have a headset with a microphone so you can speak to the trainer. It is also important to have a large computer screen, or even two screens, so you can comfortably work whilst referring to the manual or the trainer’s shared screen.

Please ensure you read our Terms and Conditions before booking for our payment terms and cancellation policy.

The happy Guarantee

We want everyone to go away from our courses feeling as though they have learnt useful, practical skills that they can use straight away when they go back to work.

If you don’t feel that your training has been useful or if you are unhappy in any way, just get in touch with our Customer Services team within 30 days of the course. We will be happy to offer you additional support and training free of charge to help you to gain the skills you need, or if you’d prefer, a full refund.

Your post-course support package

  • Included in the price of both online and classroom programmes
  • 2 years of free access to our IT Helpline
  • Unlimited access - call or email our team as often as you need
  • Ask about any content covered on your course

Testimonials from happy customers