Rumah >pangkalan data >tutorial mysql >mysql视图创建临时表查询问题?
mysql
create algorithm=temptable view aj as select
sporter.sporter_id,name,grade.itemid,itemname,mark from sporter inner join grade on
sporter.sporter_id=grade.sporter_id
inner join item on item.itemid=grade.itemid
where location='一操场';
我这样写在查询是为什么会报错?
mysql> select * from aj;
ERROR 1267 (HY000): Illegal mix of collations (utf8_general_ci,IMPLICIT) and (gbk_chinese_ci,COER
CIBLE) for operation '='