sql - Mysql DISTINCT not working in my language properly -


i have problem distinct in sql select. have table following values in column:

sítotisk sitotisk 

when use distinct - result "sítotisk" ...db system think, same word, need words have seperaly.

that's collation problem. guess you're using accent insensitive collation. can check in server/db/table properties.

try

select distinct yourcolumn collate utf8_bin ... 

you might want take @ these questions address same issue:


Comments

Popular posts from this blog

java - Unable to make sub reports with Jasper -

Save and close a word document by giving a name in R -

scala - play framework: Modules were resolved with conflicting cross-version suffixes -