Använd BINARY
operatör
för det:
SELECT DISTINCT(BINARY name) AS Name FROM X;
Du kan också CAST
det medan du väljer:
SELECT DISTINCT
(CAST(name AS CHAR CHARACTER SET utf8) COLLATE utf8_bin) AS Name FROM X;
Använd BINARY
operatör
för det:
SELECT DISTINCT(BINARY name) AS Name FROM X;
Du kan också CAST
det medan du väljer:
SELECT DISTINCT
(CAST(name AS CHAR CHARACTER SET utf8) COLLATE utf8_bin) AS Name FROM X;