select uid,if(char_length(nick_name) > 13,concat(substr(nick_name,1,10),'...'),nick_name) as nick_name from user_info where char_length(nick_name) > 10
select uid,if(char_length(nick_name) > 13,concat(substr(nick_name,1,10),'...'),nick_name) as nick_name from user_info where char_length(nick_name) > 10