I am using Sybase and it complains the following has a syntax error:
DELETE
*
FROM
table1 INNER JOIN table2 ON table1.some_col = table2.some_col
The specific error is: Incorrect syntax near the keyword 'inner join'.
I’ve checked online and this is how people go about it, but mine refuses to accept this.
Could someone please tell me what is wrong?
assuming you intend to delete from table1 based on a join with table2 the following