singkat dan sederhana:gunakan COUNT DISTINCT
:
SELECT
screenWidth,
COUNT(DISTINCT user_id)
FROM
mytable
GROUP BY
screenWidth;
singkat dan sederhana:gunakan COUNT DISTINCT
:
SELECT
screenWidth,
COUNT(DISTINCT user_id)
FROM
mytable
GROUP BY
screenWidth;