minmaxrange

This section contains reference documentation for the minmaxrange function.

Returns the max - min value in a group

Signature

MINMAXRANGE(colName)

Usage Examples

These examples are based on the Batch Quick Start.

select MINMAXRANGE(yearID) AS value
from baseballStats 
value

142