Cart
SuperUsers image
courseSU-241

Advanced SQL Programming

Advanced SQL Programming

14.400 DKK

(excl. VAT)

Learn to master more advanced SQL, combining strategy, clear structure and strong syntax. Gain deeper insight into your data and strengthen your ability to think analytically.

Course calendar

 
Hillerød
October
6/10
Week 41
6 - 8 Oct 2026
November
Week
December
1/12
Week 49
1 - 3 Dec 2026
January
Week
February
1/2
Week 5
1 - 3 Feb 2027
March
Week
April
5/4
Week 14
5 - 7 Apr 2027
May
Week
Aarhus
27/10
Week 44
27 - 29 Oct 2026
Week
Week
4/1
Week 1
4 - 6 Jan 2027
Week
1/3
Week 9
1 - 3 Mar 2027
Week
24/5
Week 21
24 - 26 May 2027
Copenhagen
Week
9/11
Week 46
9 - 11 Nov 2026
Week
Week
1/2
Week 5
1 - 3 Feb 2027
Week
Week
Week
Virtual
6/10
Week 41
6 - 8 Oct 2026
27/10
Week 44
27 - 29 Oct 2026
Week
1/12
Week 49
1 - 3 Dec 2026
4/1
Week 1
4 - 6 Jan 2027
1/2
Week 5
1 - 3 Feb 2027
1/3
Week 9
1 - 3 Mar 2027
5/4
Week 14
5 - 7 Apr 2027
24/5
Week 21
24 - 26 May 2027
Dates are start dates
Virtual classroom available
Guaranteed to run

Description

SQL is much more than just syntax. It's about asking the right questions of your data and getting answers you can actually trust. In this advanced SQL course, we build on your basic skills and focus on strategy, structure and understanding. You learn to write SQL that is correct, clear and easy to maintain, and above all, how to choose the right approach to a task.

The course focuses on creating a solid, reliable data foundation, choosing a clear strategy for your queries, and structuring your code so it is transparent both to you and to others. We work with practical cases where you put theory into practice and build concrete skills in advanced SQL.

Among other things, you will work with:

  • UNION, OUTER JOIN, CROSS JOIN and other ways to combine data sets
  • CTEs (Common Table Expressions) to make complex queries easier to follow
  • CASE and COALESCE to build flexible logic and handle NULL values
  • HAVING, EXISTS and subqueries for filtering, performance and advanced analysis

You also learn to read and understand existing SQL, known as reverse engineering, and get better at building solutions that both perform well and provide insight. Many exercises are about solving real-world problems with clear requirements for data structure and correctness, including handling missing values and cleansing data directly in SQL.

More and more people ask whether it's even necessary to write SQL yourself when generative AI can help. It's true that tools like ChatGPT can generate code, but that is exactly why it's essential to understand what happens behind the scenes: how the data is structured, how to choose the right approach, and how to make sure your results are actually useful.

So in this course, you don't just learn to write more advanced SQL. You learn to think critically and in a structured way about your data. That understanding is what enables you to use AI more effectively and to spot when things go wrong.

We work with vendor-neutral SQL syntax, so what you learn can be used directly in, for example, Microsoft SQL Server, IBM Db2, Oracle, PostgreSQL, MySQL/MariaDB and other database servers.

Related exam

Prerequisites

To get the most out of the course, we recommend experience or knowledge equivalent to:

Next steps

If you want to build on your skills, these may be relevant:

Video teaser

Certification bundles

Module overview

  • Combine data sets from different sources in a single query
  • Handle different subqueries and combining results
  • Use UNION to merge subsets with the same structure

  • Structure complex queries with named subsets
  • Improve the readability and maintainability of SQL code
  • Use CTEs as an alternative to subqueries and views

  • Categorize data with conditional joins (e.g., ranges)
  • Create elegant solutions with join conditions other than =
  • Deepen your understanding of relationships between data sets

  • Retrieve complete data sets, including where related data is missing
  • Create reports that include “inactive” rows, such as customers with no purchases
  • Understand the difference between LEFT, RIGHT and FULL OUTER JOIN

  • Generate all possible combinations of two tables
  • Use CROSS JOIN to create a basis for missing data rows
  • Often used in reporting, e.g., when all customer-year combinations need to be shown

  • Filter grouped data by totals and counts
  • Use HAVING for advanced analysis of groups (e.g., minimum spend)
  • Understand how WHERE and HAVING work together

  • Delete or update data in one table based on the contents of another
  • Use relationships across tables to make precise changes
  • Perform advanced calculations such as relative totals and max/min values per group

  • Check efficiently whether data exists without returning data
  • Use EXISTS in DELETE and UPDATE for high performance
  • An efficient method for conditional data manipulation

  • Build flexible logic directly into your SQL queries
  • Use CASE in all relevant SQL clauses: SELECT, WHERE, GROUP BY, HAVING, ORDER BY
  • Avoid errors such as division by zero,
  • Methods for data cleansing

  • Replace NULL values with default values in reports
  • Use COALESCE to prioritize between multiple columns and sources
  • Improve usability and readability in report views

Free course advice

We care a lot about helping you find the course path that creates the most value for you and your workplace. Get in touch with our course advisors — they're ready to help you, free of charge and with no obligation.

Contact image

I can't give anything less than 5 stars across the board. Either you're truly in a class of your own, or I've just been to the wrong course venues before. Fantastic place and atmosphere.... once you've learned to find your way around :-)

— Mikael Ejberg Pedersen
Cobham SATCOM

Your instructors are exceptional; skilled, competent and good at teaching - so you have everything you need to get off to a good start.

You have fantastic facilities, good food and lovely people throughout the building.

— Camilla Esper
Leita Aps

A really good, in-depth course. Your course facilities at Karlebogaard are nothing short of fantastic. A beautiful historic house with lots of fun stories and great course rooms. The course itself was very useful. I learned everything I had hoped to and then some. My instructor was damn good and really funny. He made it a pleasure, and the hours flew by.

— Henrik Thuelund
Magasin du Nord

Probably the best course I've ever taken and the best instructor I've ever had!! Really good depth and thorough explanations, and on top of that, fantastic food!!!

— Michael Hasløv
Lån & Spar Bank

Delicious food, cozy facilities, good structure and atmosphere. I'll be back when I can.

— Ea Stenberg
Oticon A/S

Absolutely the best course I've ever taken!

— Esben Salling
JN Data A/S

The course venue is so inviting and welcoming that it has been a pleasure to be here. Clean, tidy and full of charm. I attended a course where all the individual parts came together into a greater whole that can hardly be described.

— Bo Peter Jensen
Kyndryl Danmark ApS

I got a lot out of the course. It opened my eyes to possibilities I didn't know existed. I'm sure this won't be the last time we're in touch with SuperUsers.

— Christian Larsen
Siemens Gamesa Renewable Energy A/S

I never in my wildest dreams imagined that a course venue could be so beautiful. I don't know if it's true, but I have a feeling that the surroundings rub off on the people who work here, so everyone seems incredibly happy.

There's a really great atmosphere. All the way from the woman at the reception desk to the people who work in the kitchen.

— Jannik Berg Møller
Metro Service

The instructor tailored the course to my level to a very large extent and was flexible. I had very high expectations, and they were exceeded.

Great precision, good exercises, good pace, a great atmosphere and maximum learning.

— Luka Dalum
Semler

The instructor was very pleasant and the exercises were extremely good. I really learned a lot about the topics the course covered.

On top of that, really nice, calm and green surroundings with good catering - especially good food. I would like to take my courses here again next time.

— Arif Mikkelsen Yüce
Københavns Kommune

It was a real pleasure to take a course at SuperUsers. The week we spent on the course was worth the money and means that we can now save many consultant hours. It's always nice to have the knowledge in-house.

There is a relaxed atmosphere in the classroom, lovely surroundings in the building itself, and skilled instructors who do a really good job.

I started using all the knowledge I soaked up on the course almost right away, and now we are well underway with developing our future cloud solution.

There is no doubt about who we will turn to if we need other courses.

— Maksym Bilyk
KVM A/S

This is my first time at SuperUsers. It has been a really good experience. The instructor seems very experienced and competent.

The instructor's strong technical background made the course and the in-depth answers to questions a good experience.

— Thomas Gram
Nic. Christiansen Gruppen A/S

A really nice course venue in pleasant surroundings that make for a good setting for focused learning. The instructor came across as well prepared, with extensive knowledge of the relevant topics.

The instructor also showed a strong ability to answer any questions that came up during the course.

— Simon Schmidt Eriksen
Norlys

I'll be back the next time I need to take a course. It's a lovely place, the food is fantastic, and the instructor is very knowledgeable and happy to share that knowledge!

— Jan Christiansen
TV2 Danmark A/S

The technical depth of the course was really good. The instructor's knowledge went much deeper than the curriculum necessarily requires.

You could throw all kinds of curveballs at the instructor, and he had it all under control - he also made the content exciting.

— Nicolai Bæklund
Danish Crown

We have now completed Microsoft 365 courses for a total of 5 people here in our department. Everyone agrees that it was an excellent course with a skilled instructor and communicator who could discuss and explain things at the right level, while also being efficient and bringing humor.

It has been a really good experience.

— Henrik Dyrhøj
Nyborg Kommune

It's calm and quiet at SuperUsers' country venue. Good atmosphere and catering. Some thought has gone into healthy eating when it comes to food and cake, so it doesn't get completely out of hand.

The instructor is knowledgeable about the topics and readily puts them in a broader perspective by relating them to other relevant areas. It's rewarding that this is possible too, and it gives you ideas for further study.

In addition, the instructor was engaged and entertaining to have presenting the content.

— Kenneth Middelboe Carlson
Svend Hoyer A/S

As always, it was a great experience, and you learn a lot in a short time from some very skilled instructors.

I work in Azure almost every day, and both courses have been really good at helping me understand Azure better.

— Marthin Lundquist
DEAS A/S

The instructor is very presentation-oriented and gets you involved in the teaching and the material. He is good at varying the teaching so it never gets monotonous.

It is clear that the instructor has hands-on experience and not just the theory, with many good examples that related to real-world challenges we might encounter.

Good facilities and good food, without drowning in unhealthy habits.

— Kenneth Middelboe Carlson
Svend Hoyer A/S

Very good course, the instructor was the best. I've been here at SuperUsers before, now I'm here again, and hopefully coming back another time.

— Mads From
Sampension Administrationsselskab A/S

The instructor seemed very competent and has extensive knowledge of his field. He was good at explaining things in a clear and humorous way. There were also simple exercises that gave a good understanding. 

— Jeppe Hvelplund
Vattenfall Vindkraft A/S

The instructor was really good at going in depth while still making sure everyone was keeping up. A really nice venue and room, and great food.

There was no doubt that the instructor knew exactly what he was talking about, and even the simplest questions were answered gladly, without anyone being made to feel stupid.

— Jesper Nederby
Rudersdal Kommune

A lovely, cozy place where the receptionist, the kitchen and the instructors make you feel at home. A good setting makes for good learning. Really good food that helps round out the whole experience of taking a course at SuperUsers.

— Henrik Valentin Eltang
Privatperson

Really happy with the venue and the stay over in the horse stable. I'll see if I can come back here for the next course I take. A really beautiful building, and great to experience a place like this. A fantastic place to hold a course.

— Mads-Ejnar Kehlet
Herningsholm IT-center