Link Search Menu Expand Document

SQL quizzes and my solutions

Project Prep Questions

Advance Joins

Window functions

  • Uses Window functions: OVER, PARTITION BY, ROW_NUMBER, RANK, DENSE_RANK, LAG, LEAD and NTILE.

CTEs and Subqueries

Aggregations

  • Uses SUM, AVG, MIN, MAX, COUNT, NULLs, DISTINCT, HAVING, DATE_TRUNC, DATE_PART and CASE view queries.

Joins