17.06.2013 Views

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GROUPING is only used in the SELECT list. Its argument is a column that is used in the GROUP BY clause<br />

and that is to be checked for NULL values.<br />

This function supports the OVER operator described in the ranking functions section of this appendix.<br />

MAX<br />

The MAX function returns the maximum value from expression. The syntax is as follows:<br />

MAX([ALL | DISTINCT] )<br />

MAX ignores any NULL values.<br />

This function supports the OVER operator described in the ranking functions section of this appendix.<br />

MIN<br />

The MIN function returns the smallest value from expression. The syntax is as follows:<br />

MIN([ALL | DISTINCT] )<br />

MIN ignores NULL values.<br />

This function supports the OVER operator described in the ranking functions section of this appendix.<br />

STDEV<br />

The STDEV function returns the standard deviation of all values in expression. The syntax is as follows:<br />

STDEV()<br />

STDEV ignores NULL values.<br />

This function supports the OVER operator described in the ranking functions section of this appendix.<br />

STDEVP<br />

The STDEVP function returns the standard deviation for the population of all values in expression.<br />

The syntax is as follows:<br />

STDEVP()<br />

Apendix A: System Functions<br />

STDEVP ignores NULL values and supports the OVER operator described in the ranking functions section<br />

of this appendix.<br />

593

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!