Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.73 KB

analytic-functions-transact-sql.md

File metadata and controls

34 lines (28 loc) · 1.73 KB
title description author ms.author ms.reviewer ms.date ms.service ms.subservice ms.topic dev_langs monikerRange
Analytic Functions (Transact-SQL)
Analytic Functions (Transact-SQL)
markingmyname
maghan
randolphwest
05/09/2022
sql
t-sql
reference
TSQL
>= aps-pdw-2016 || = azuresqldb-current || = azure-sqldw-latest || >= sql-server-2016 || >= sql-server-linux-2017 || = azuresqldb-mi-current||=fabric

Analytic functions (Transact-SQL)

[!INCLUDE sql-asdb-asdbmi-asa-pdw-edge-fabricse-fabricdw]

SQL Server supports these analytic functions:

Analytic functions calculate an aggregate value based on a group of rows. Unlike aggregate functions, however, analytic functions can return multiple rows for each group. Use analytic functions to compute moving averages, running totals, percentages or top-N results within a group.

See also