19.1 - Advanced SQL Concepts
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
Practice Questions
Test your understanding with targeted questions
What is a subquery?
💡 Hint: Think about a query inside a query.
What does a CTE stand for?
💡 Hint: It starts with 'C' and is related to organizing results.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is a subquery?
💡 Hint: Remember, it's like asking a question inside another question.
True or false: CTEs only allow for storing data temporarily.
💡 Hint: Think about what a temporary table does.
Get performance evaluation
Challenge Problems
Push your limits with advanced challenges
Create an SQL query that uses both a subquery and a CTE to find all employees in departments with total sales above 100,000.
💡 Hint: Break this down—start with the CTE to aggregate sales.
Write a complex SQL query using window functions to rank employees by their salaries and show their names along with average salaries in their departments.
💡 Hint: Use window functions for both ranking and averaging.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.