Link to home
Create AccountLog in
Avatar of richardsimnett
richardsimnett

asked on

Delete on inner join?

Hello,
How do I join two tables together for a delete?

ie:

delete from table1
from table1 inner join table2
on table1.something = table2.something

or

delete from table1
from table1 inner join table2
one INSTR(table1.something,table2.something) > 0?


I tried both of these and neither worked. These queries work in SQL Server.

Worth 500 points.

Thanks,
Rick
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer