我需要在oracle和postgresql上执行完全相同的查询,我需要删除表1中的行,使用表2上的连接。我已经有一个有效的查询,但它在" in“语句中有1000+结果的oracle停止工作。delete from t1 t1.oid IN
(SELECT oid from t2 WHERE [condition]) 我读过有关连接的内容,但postgresql使用的是"using“关键字 DELETE [target table]
我需要进行从Oracle SQL到PostgreSQL的转换。select * from table1 inner join table2 on table1.id = table2.table1Id order by table2.col1
如果我删除and rownum <=5并将limit 5放在末尾,这两种方言之间存在差异。在Oracle中,首先选择这5个元素