Postgresql – INSERT WHERE NOT EXISTS query that works for both Postgres and Oracle
I need to create an INSERT INTO ... WHERE NOT EXISTS ... SQL query that works on both Postgres and Oracle. Unfortunately, since oracle does not support SELECT statements without FROM I'm struggling to get this query to work. I…