bxt0058 2014-08-08 12:35 采纳率: 0%
浏览 3008

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

  • 写回答

2条回答

  • dison_ 2014-08-11 01:11
    关注
    create algorithm=temptable view aj as ...
    

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

    评论

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!