Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) 错误解决
写了一个查询所有上级的sqlSELECTT0.*,T1.lower_count,T1.aicp,T1.user_levelFROM(SELECT@rAS_id,(SELECT@r:=invite_userFROMfa_userWHEREid=_id)ASinvite_user1,@l:=@l+1ASlvlFROM(SELECT@r:='用户id',@l:=0)vars,fa_userhWHERE@