kort og enkelt:brug COUNT DISTINCT
:
SELECT
screenWidth,
COUNT(DISTINCT user_id)
FROM
mytable
GROUP BY
screenWidth;
kort og enkelt:brug COUNT DISTINCT
:
SELECT
screenWidth,
COUNT(DISTINCT user_id)
FROM
mytable
GROUP BY
screenWidth;