SQL ERROR:Illegal mix of collations (cp1251_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
SELECT COUNT(*) CNT FROM NEWS WHERE ID IN ( SELECT NEWS FROM TAG WHERE UPPER( TRIM( TAG ) ) = UPPER( TRIM( '��������' ) ) )