ORACLE sql 错误 - ORA-00933 - 执行连接操作 - DBeaver
ORACLE sql error - ORA-00933 - executing join operation - DBeaver
我正在尝试执行下一个:
SELECT l.id AS id
FROM s.process AS l
JOIN s.item AS r ON l.id = r.id;
但我得到:
Query execution failed
Reason:
SQL Error [933] [42000]: ORA-00933: SQL command not properly ended
使用:
- DBeaver
- ojdbc7.jar 作为 driver
定义 table/view 的别名时必须删除 AS
:
SELECT l.id AS id
FROM s.process l
JOIN s.item r ON l.id = r.id;
Oracle 支持 table 别名,但它在 SELECT 列表中支持 AS,但在 FROM 列表中不支持:
SELECT l.id AS id
FROM s.process l
JOIN s.item r ON l.id = r.id;
我正在尝试执行下一个:
SELECT l.id AS id
FROM s.process AS l
JOIN s.item AS r ON l.id = r.id;
但我得到:
Query execution failed
Reason:
SQL Error [933] [42000]: ORA-00933: SQL command not properly ended
使用:
- DBeaver
- ojdbc7.jar 作为 driver
定义 table/view 的别名时必须删除 AS
:
SELECT l.id AS id
FROM s.process l
JOIN s.item r ON l.id = r.id;
Oracle 支持 table 别名,但它在 SELECT 列表中支持 AS,但在 FROM 列表中不支持:
SELECT l.id AS id
FROM s.process l
JOIN s.item r ON l.id = r.id;