Skip to content
Advertisement

How to delete a row from a relationship table using two columns

I’m trying to delete a relationship between table T2 and T3 that is on table T1. I’ve searched but I could only find examples of a DELETE with only one INNER JOIN.

I’m trying something like this, but I get a error:

SQL error: ORA-00933. 00000 – “SQL command not properly ended”

How can I get this to work?

Advertisement

Answer

You are using MySql syntax to delete from an Oracle database.
You can do it with EXISTS:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement