学到一寸是一寸 2022-01-14 09:38 采纳率: 66.7%
浏览 104
已结题

your MySQL server version for the right syntax to use near 'where) from 表 where 条件

如题报错

写的语句是 select 字段1 as 新名1,字段2 as 新名2,…… from 表 where 条件
报错check the manual that corresponds to your MySQL server version for the right syntax to use near 'where) from 表 where 条件 at line 1

太奇怪了 怎么会解析成 where) from 表 where 呢

测试了一下 如果写成 select * from 表 where 条件
就不报错

请问怎么解决?

  • 写回答

7条回答 默认 最新

  • 猿码叔叔 2022-01-14 10:32
    关注

    用的什么持久层框架?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(6条)

报告相同问题?

问题事件

  • 系统已结题 2月5日
  • 已采纳回答 1月28日
  • 创建了问题 1月14日