oracle错误-from keyword not found where expected

在该程序的时候遇到了这个错误,在网上查找时发现时申请了语法错误,所以出现这个错误的时候要检查下自己的sql语法。

from keyword not found where expected,sql语法错误,多了一些无用的符号或是字符影响到sql

 

举列:select e.juniorname,
       substr(e.furnacenumber,6,2) as fur,
       sum(e.one) one,
       round(sum(e.DLtime),3) DLtime,
       round(sum(e.LFtime),3) LFtime,
       round(sum(e.DLtime) / sum(e.one),3) as oneDLtime,
       round(sum(e.LFtime) / sum(e.one),3) as  oneLFtime,
       round(sum(e.dayendweight),3) dayendweight,
       round(sum(e.daydl),3) daydl,
       round(sum(e.daylf),3) daylf,
       round(sum(e.endweight),3) endweight,
       round(sum(e.dl),3) dl,
       round(sum(e.lf),3) lf,
      
round(sum(e.dl)/sum(e.endweight),3)  end as yldanhao
  from aaaa e

   where  e.plantid='01'
group by e.juniorname,substr(e.furnacenumber,6,2);

此语多中多了end。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值