mysql报错1064怎么办_mysql报错1064怎么办啊

selectitem1,item2,item3,a.run_name,item5,item6,item7,item8,item9from`TD_OA`.`flow_run`a,`TD_OA`.`flow_run_prcs`b,(selectrun_id,item_dataasitem1from`TD_OA`.`flow_run_data`...

select item1,item2,item3,a.run_name,item5,item6,item7,item8,item9

from `TD_OA`.`flow_run` a,

`TD_OA`.`flow_run_prcs` b,

(select run_id,item_data as item1 from `TD_OA`.`flow_run_data` where item_id=1 ;) c,

(select run_id,item_data as item2 from `TD_OA`.`flow_run_data` where item_id=2 ;) d,

(select run_id,item_data as item3 from `TD_OA`.`flow_run_data` where item_id=5 ;) e,

(select run_id,item_data as item5 from `TD_OA`.`flow_run_data` where item_id=10 ;) f,

(select run_id,item_data as item6 from `TD_OA`.`flow_run_data` where item_id=11 ;) g,

(select run_id,item_data as item7 from `TD_OA`.`flow_run_data` where item_id=16 ;) h,

(select run_id,item_data as item8 from `TD_OA`.`flow_run_data` where item_id=20 ;) i,

(select run_id,item_data as item9 from `TD_OA`.`flow_run_data` where item_id=12 ;) j

where a.run_id=b.run_id

and a.run_id=c.run_id

and a.run_id=d.run_id

and a.run_id=e.run_id

and a.run_id=f.run_id

and a.run_id=g.run_id

and a.run_id=h.run_id

and a.run_id=i.run_id

and a.run_id=j.run_id

and b.prcs_id=3

and a.run_id='16293';

错误代码 : 1064

You have an error in your SQL syntax near ') j where a.run_id=b.run_id and a.run_id=c.run_idv and a.run_id=d.run_idv and a.' at line 1

(0 ms用时)

展开

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值