数据库
首页 > 数据库> > mysql syntax error at end of input

mysql syntax error at end of input

作者:互联网

select exists (
select 1 from (
select ssrs.isenabled,ssi.skcode,ssi.shopcode
from set_syn_relation_shop ssrs inner join set_shop_info ssi
on ssrs.shopcode=ssi.shopcode) total
where total.shopcode='SI00000670' and total.skcode='SK00000287'
and total.isenabled='t'

不算长,但是exists语法,右边括号没有写
属于语法错误吧
加上就好了

标签:shop,end,shopcode,syntax,ssrs,ssi,input,total,select
来源: https://blog.csdn.net/weixin_44900565/article/details/110558253