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

use*_*466 13 oracle oracle10g ora-00936

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 
Run Code Online (Sandbox Code Playgroud)

以上查询的"from"(第3行)部分给了我ORA-00936 Missing EXPRESSION error.请帮我

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

Adr*_*der 15

删除逗号?

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
Run Code Online (Sandbox Code Playgroud)

看看FROM

从多个表中进行选择通过在每个表名之间列出逗号,可以在FROM子句中包含多个表