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 '='

create algorithm=temptable view aj as ...

你把这个等号(=)号去掉吧

应该是你的查询条件字段校对规则和“操场”的校对规则不一致,可以在where location Collate utf8_general_ci =‘操场’这样强制转换