Advanced SQL

Go beyond the basics and become a SQL master. Learn modern SQL features that let you write more complex and effective queries.

31 free interactive coding challenges

Lifetime access


limited to this track only


Buy now

Want a better deal?


Get unlimited lifetime access to all 69 present and future courses

Save $450

Unlimited lifetime access


to all 69 present and future courses



75% OFF

Buy now

Interactive courses

45 h

Estimated time


Users enrolled



This learning path is for people who know some SQL and want to learn the language’s more advanced features and latest trends. Scroll down for details.

You want to improve your SQL skills. You already know the basics; now it's time to go to the next level. The Advanced SQL track will teach you the most up-to-date, efficient, and time-saving querying techniques.

Discover Window Functions that enable you to use aggregate functions without collapsing rows. Window functions (also called analytical functions or OVER() functions) let you rank data, compute running totals, and create reports with day-to-day or month-to-month deltas. Common Table Expressions make your code better organized and simpler to read. Recursive Queries allow you to process hierarchical data like trees and graphs using SQL. And advanced GROUP BY clauses like ROLLUP, CUBE, and GROUPING SETS add power and flexibility to your queries.

In other words, the Advanced SQL learning path will help you become a qualified programmer, data analyst, or DBA with fully modern skills.

What's in it for me?

  • The only fully interactive advanced SQL learning path on the internet. Three courses bring you the latest on SQL’s advanced features. Learn whenever and wherever you like.
  • Learn by doing. Get hands-on practice with our real code editor, real data sets, and real-life problem-solving.
  • Online certification. After successfully completing the course, you will receive a certificate that you can publish on your LinkedIn profile.
  • 30-day money-back guarantee. If you're not satisfied with this course, tell us within 30 days of purchase and you’ll get a full refund.
  • Trusted support system. Every course comes with access to our resource base, student2student support, mentor2student support, and technical support. You can also join our learning community and participate in on-task discussions.
  • Hints and more. If you get stuck, you can use the included exercise hints. Or use the Discuss tab to ask questions and share insights with other members of the LearnSQL community. You can also drop us a line at and we'll be more than happy to help!


  • Understand and apply window functions, which make writing complex queries easy.
  • Learn when and how to use different ranking functions (RANK(), DENSE_RANK(), ROW_NUMBER()) to compute ranking reports in SQL.
  • Compute running totals and running (cumulative) sums.
  • Write complex reports using GROUP BY and CASE WHEN.
  • Differentiate and use ROLLUP, CUBE, and GROUPING SETS operations.
  • Use Common Table Expressions to organize a long SQL query.
  • Create recursive SQL queries to process hierarchical data structures, such as trees and charts.

Who should take this course track?

  • Programmers, DBAs, and analysts who want to keep their knowledge of SQL up to date.
  • Programmers who want to expand their knowledge and skills beyond what is usually found in online courses and books.
  • Anyone who knows fundamental SQL and wants to learn the language’s advanced features.


  • A web browser
  • An internet connection
  • Basic knowledge of SQL (e.g. you’ve completed our SQL Basics course)

Track courses

1 0%

Coding challenges




Window Functions

Learn how to use analytic SQL functions to deeply understand data.

2 0%

Coding challenges




GROUP BY Extensions in SQL

Do you want to work more efficiently using SQL and be able to create more complex and sophisticated queries? Learn about GROUP BY clauses, such as ROLLUP, CUBE, and GROUPING SETS.

3 0%

Coding challenges




Recursive Queries

Master the most challenging type of SQL queries. Learn how to process trees and graphs in SQL, and how to effectively organize long SQL queries.


Reviews (16)

Average rating



8375 ratings


5 stars


4 stars


3 stars


2 stars


1 stars