我无法从多个表格中删除 我使用下面的代码从多个表中删除:
DELETE
FROM usession,
upklist,
projshar USING usession
LEFT JOIN upklist
ON upklist.session_id = usession.session_id
LEFT JOIN Projshar
ON projshar.session_id = usession.session_id
WHERE usession.session_id =
(SELECT session_id
FROM USESSION
WHERE delete_session_id IS NULL
AND user_id =
(SELECT user_id FROM users WHERE regexp_like(USER_NAME, 'gfcashmo', 'i')
)
);
我正在使用sql developer连接到oracle数据库并获得以下错误
引用第二行 - FROM usession,
命令行错误:274列:13错误报告:SQL错误: ORA-00933:SQL命令未正确结束 00933. 00000 - “SQL命令未正确结束” *原因:
*操作: