SyntaxPilot
Courses/SQL and Databases/Lesson 41
Video coming soonThis lesson’s video is being made

Start with the notes below; the video appears here as soon as it is on YouTube.

SQL and Databases · Lesson 41 of 90

Window functions 5: NTILE, percentiles and QUALIFY

NTILEPERCENT_RANKCUME_DISTquantilepercentilemedianPERCENTILE_CONTPERCENTILE_DISCWITHIN GROUPordered-set aggregatenamed windowWINDOW clauseQUALIFY (Snowflake/DuckDB)filtering window results with a CTE

This lesson is being remade with real tools (a real database, the real AI model). The new video and its detailed notes appear here as soon as they are ready.