Name | Result Data Type | Description |
---|---|---|
any | integer | Returns 1 if any row in the table fulfills the where clause, or 0 if no rows fulfill the where clause. |
avg | float, money, date (interval only) | Average (sum/count) The sum of the values must be within the range of the result data type. |
count | integer | Count of non-null occurrences |
max | same as argument | Maximum value |
min | same as argument | Minimum value |
sum | integer, float, money, date (interval only) | Column total |
stddev_pop | float | Compute the population form of the standard deviation (square root of the population variance of the group). |
stddev_samp | float | Computes the sample form of the standard deviation (square root of the sample variance of the group). |
var_pop | float | Computes the population form of the variance (sum of the squares of the difference of each argument value in the group from the mean of the values, divided by the count of the values). |
var_samp | float | Computes the sample form of the variance (sum of the squares of the difference of each argument value in the group from the mean of the values, divided by the count of the values minus 1). |
Name | Result Data Type | Description |
---|---|---|
regr_count | integer | Count of rows with non-null values for both dependent and independent variables. |
covar_pop | float | Population covariance (sum of the products of the difference of the independent variable from its mean, times the difference of the dependent variable from its mean, divided by the number of rows). |
covar_samp | float | Sample covariance (sum of the products of the difference of the independent variable from its mean, times the difference of the dependent variable from its mean, divided by the number of rows minus 1). |
corr | float | Correlation coefficient (ratio of the population covariance divided by the product of the population standard deviation of the independent variable and the population standard deviation of the dependent variable). |
regr_r2 | float | Square of the correlation coefficient. |
regr_slope | float | Slope of the least-squares-fit linear equation determined by the (independent variable, dependent variable) pairs. |
regr_intercept | float | Y-intercept of the least-squares-fit linear equation determined by the (independent variable, dependent variable) pairs. |
regr_sxx | float | Sum of the squares of the independent variable. |
regr_syy | float | Sum of the squares of the dependent variable. |
regr_sxy | float | Sum of the product of the independent variable and the dependent variable. |
regr_avgx | float | Average of the independent variables. |
regr_avgy | float | Average of the dependent variables. |
Name | Exemptions |
---|---|
Smith | 0 |
Jones | 2 |
Tanghetti | 4 |
Fong | Null |
Stevens | Null |
Name | Precision of Result | Scale of Result |
---|---|---|
count | Not applicable | Not applicable |
sum | 39 | Same as argument |
avg | 39 | Scale of argument + 1 (to a maximum of 39) |
max | Same as argument | Same as argument |
min | Same as argument | Same as argument |