Back to Playground Home

Count the number of distinct values in a field

SELECT DISTINCTCOUNT(int_field), count(*)
FROM users