Brug BINARY
operatør
for det:
SELECT DISTINCT(BINARY name) AS Name FROM X;
Du kan også CAST
det mens du vælger:
SELECT DISTINCT
(CAST(name AS CHAR CHARACTER SET utf8) COLLATE utf8_bin) AS Name FROM X;
Brug BINARY
operatør
for det:
SELECT DISTINCT(BINARY name) AS Name FROM X;
Du kan også CAST
det mens du vælger:
SELECT DISTINCT
(CAST(name AS CHAR CHARACTER SET utf8) COLLATE utf8_bin) AS Name FROM X;