mysql>
mysql> CREATE TABLE TWOCHARSETS
-> (C1 CHAR(10) CHARACTER SET 'latin1' NOT NULL,
-> C2 VARCHAR(10) CHARACTER SET 'hp8')
-> ;
Query OK, 0 rows affected (0.00 sec)
mysql> INSERT INTO TWOCHARSETS VALUES ('A', 'A')
-> ;
Query OK, 1 row affected (0.00 sec)
mysql> SELECT *
-> FROM TWOCHARSETS
-> WHERE C1 = C2;
ERROR 1267 (HY000): Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (hp8_english_ci,IMPLICIT) for operation '='
mysql>
mysql> drop table TWOCHARSETS;
Query OK, 0 rows affected (0.00 sec)
mysql>