oracle语句未正确结束

whdugh 2019-10-26 03:42:05
select
t1.总买入金额
from
(select o.info_type_code,
o.main_id
from UPCENTER.STK_EXCRA_INFO_MAIn o
where o.info_type_code in(1,2,3,5,6,12,13,14,15,16,17,22,23,28,29,30,31,32,33)
) t
//取买入金额
left join(select buy_amount 总买入金额 from (select distinct sub_id,branch_code,branch_name,buy_amount from UPCENTER.STK_EXCRA_BRANCH_LIST where isvalid=1 )) t1 on t.main_id=t1.SUB_ID




这语句哪里有问题啊
...全文
191 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
AT152S 2019-11-04
  • 打赏
  • 举报
回复
这不是java代码 怎么能用//注释
卖水果的net 2019-10-28
  • 打赏
  • 举报
回复
//取买入金额 这个注释,把 // 换成 --,也就是两个减号。
  • 打赏
  • 举报
回复
引用 楼主 whdugh的回复:
select
t1.总买入金额
from
(select o.info_type_code,
o.main_id
from UPCENTER.STK_EXCRA_INFO_MAIn o
where o.info_type_code in(1,2,3,5,6,12,13,14,15,16,17,22,23,28,29,30,31,32,33)
) t
//取买入金额
left join(select buy_amount 总买入金额 from (select distinct sub_id,branch_code,branch_name,buy_amount from UPCENTER.STK_EXCRA_BRANCH_LIST where isvalid=1 )) t1 on t.main_id=t1.SUB_ID




这语句哪里有问题啊
Plsql里执行一下没提示?

17,090

社区成员

发帖
与我相关
我的任务
社区描述
Oracle开发相关技术讨论
社区管理员
  • 开发
  • Lucifer三思而后行
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧