|< < 26 > >|

Aggregation

Counting distinct values

Data
select count(distinct x) from t4
select count(distinct y) from t4

  • Duplicates are not counted.
  • NULLs are not counted.

|< < 26 > >|