gpt4 book ai didi

oracle - 如何解决ORA 00936缺少表达式错误?

转载 作者:行者123 更新时间:2023-12-03 23:42:00 25 4
gpt4 key购买 nike

Select /*+USE_HASH( a b ) */ to_char(date, 'MM/DD/YYYY HH24:MI:SS') as LABEL,
ltrim(rtrim(substr(oled, 9, 16))) as VALUE,
from rrfh a, rrf b,
where ltrim(rtrim(substr(oled, 1, 9))) = 'stata kish'
and a.xyz = b.xyz


上面查询的“ from”(第三行)部分给了我 ORA-00936 Missing EXPRESSION error。请帮我

注意::: rrfh表不包含任何数据。

最佳答案

删除逗号?

select /*+USE_HASH( a b ) */ to_char(date, 'MM/DD/YYYY HH24:MI:SS') as LABEL,
ltrim(rtrim(substr(oled, 9, 16))) as VALUE
from rrfh a, rrf b
where ltrim(rtrim(substr(oled, 1, 9))) = 'stata kish'
and a.xyz = b.xyz


看看 FROM


从多个表中选择您可以在
通过列出表并在每个表之间使用逗号来分隔FROM子句
名称

关于oracle - 如何解决ORA 00936缺少表达式错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12156399/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com