首頁  >  文章  >  資料庫  >  mysql视图创建临时表查询问题?

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

WBOY
WBOY原創
2016-06-06 09:44:241998瀏覽

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

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn