Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 535 Bytes

distinctcount.md

File metadata and controls

33 lines (23 loc) · 535 Bytes
description
This section contains reference documentation for the DISTINCTCOUNT function.

DISTINCTCOUNT

Returns the count of distinct row values in a group

Signature

DISTINCTCOUNT(colName)

Usage Examples

These examples are based on the Batch Quick Start.

select DISTINCTCOUNT(league) AS value
from baseballStats 
value
7
select DISTINCTCOUNT(teamID) AS value
from baseballStats 
value
149