合计函数
函数 | 描述 |
AVG(column) | Returns the average value of a column |
BINARY_CHECKSUM | 可用于检测表中行的更改。 |
CHECKSUM |
|
CHECKSUM_AGG |
|
COUNT(column) | Returns the number of rows (without a NULL value) of a column |
COUNT(*) | Returns the number of selected rows |
COUNT(DISTINCT column) | Returns the number of distinct results |
FIRST(column) | Returns the value of the first record in a specified field (not supported in SQLServer2K) |
LAST(column) | Returns the value of the last record in a specified field (not supported in SQLServer2K) |
MAX(column) | Returns the highest value of a column |
MIN(column) | Returns the lowest value of a column |
STDEV(column) |
|
STDEVP(column) |
|
SUM(column) | Returns the total sum of a column |
VAR(column) |
|
VARP(column) |
|