9951 explained code solutions for 126 technologies


clickhouseCount unique values


SELECT uniq(col) FROM tblctrl + c
uniq

will return count of unique values of a given column

col

column to count unique values in

tbl

sample table