About 25,200 results
Open links in new tab
  1. NTILE (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · Distributes the rows in an ordered partition into a specified number of groups. The groups are numbered, starting at one. For each row, NTILE returns the number of the group to which …

  2. SQL Server NTILE () Function - GeeksforGeeks

    May 17, 2024 · The NTILE () function is a window function that distributes rows of an ordered partition into a specified number of approximately equal groups, or buckets. It assigns each group a bucket …

  3. 6 Examples of NTILE() Function in SQL - LearnSQL.com

    Feb 27, 2024 · Discover NTILE, a powerful but little-known window function that puts table rows into equal-sized groups. We walk you through 6 practical examples!

  4. NTILE SQL Function to Group and Rank Datasets

    Jul 5, 2023 · SQL Server’s NTILE function is a powerful tool that allows you to divide records from a dataset into a specified number of groups based on a specified ordering.

  5. Mastering the NTILE Function in SQL: A Comprehensive Guide

    The NTILE function in SQL is a versatile window function that divides a set of rows into a specified number of buckets or groups, assigning each row a bucket number, making it ideal for tasks like …

  6. NTILE – SQL Tutorial

    The NTILE () function returns an integer value representing the bucket number for each row in the result set. The bucket number ranges from 1 to the specified number of buckets.

  7. How NTILE works in SQL? Best NTILE examples - KajoData

    The NTILE function is an invaluable tool when you need to divide rows into equal groups dynamically. Whether for statistical grouping, defining percentiles, or workload distribution, it simplifies complex …

  8. SQL Window Functions Series: NTILE () - SQLServerCentral

    Apr 12, 2024 · We've explored SQL window functions and seen how handy they are, especially with the NTILE function, for sorting data into groups, checking ranks, and spotting trends with great accuracy.

  9. SQL Server NTILE() Function Explained By Practical Examples

    The SQL Server NTILE() is a window function that distributes rows of an ordered partition into a specified number of approximately equal groups, or buckets. It assigns each group a bucket number …

  10. T-SQL NTILE function in SQL Server

    The SQL Server NTILE function is a ranking function that allows you to assign ranks to rows in a result set. This can be useful for creating partitions or groups of data.