当前位置:Gxlcms > mysql > mysql视图创建临时表查询问题?

mysql视图创建临时表查询问题?

时间:2021-07-01 10:21:17 帮助过:13人阅读

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

人气教程排行