About 255,000 results
Open links in new tab
  1. RANK (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 21, 2025 · If two or more rows tie for a rank, each tied row receives the same rank. For example, if the two top salespeople have the same SalesYTD value, they're both ranked one.

  2. RANK() Function in SQL Server - GeeksforGeeks

    Jul 15, 2025 · The RANK function in SQL server is used to assign rank to each row in a result set, based on a given ordering of data. The same rank is assigned to the rows which have the same values.

  3. SQL Rank Functions - ROW_NUMBER, RANK, DENSE_RANK, NTILE - SQL

    May 26, 2025 · In this SQL tutorial, I’ll explore each of the four ranking functions in detail. We’ll start by looking at the fundamental reasons to incorporate ranking into your T-SQL.

  4. Ranking Functions (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · Ranking functions return a ranking value for each row in a partition. Depending on the function that is used, some rows might receive the same value as other rows.

  5. PERCENT_RANK (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · Calculates the relative rank of a row within a group of rows in SQL Server. Use PERCENT_RANK to evaluate the relative standing of a value within a query result set or partition.

  6. Solve SQL | HackerRank

    A special-purpose language designed for managing data held in a relational database.

  7. SQL Server RANK () Function By Practical Examples

    This tutorial shows you how to use SQL Server RANK () function to calculate a rank for each row within a partition of a result set.

  8. Limit Search Results with RANK - SQL Server | Microsoft Learn

    Sep 7, 2025 · Full-text search in SQL Server can generate an optional score (or rank value) that indicates the relevance of the data returned by a full-text query. This rank value is calculated on …

  9. What Is the RANK() Function in SQL? - LearnSQL.com

    Apr 2, 2021 · In this tutorial, I’ll provide detailed explanations of how to rank rows in SQL. To get confident with ranking rows in SQL, check out our interactive Window Functions course.

  10. How to Use the SQL RANK OVER (PARTITION BY)

    Apr 27, 2023 · Ranking data in SQL is a breeze if you know how to use RANK () to rank over a partition. This article shows you how to do it, as well as how RANK () differs from DENSE_RANK () and …