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 - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -