Hi,
I want to join two tables using join operator and also perform delete operation with the join query. How can do that ? Anyone can tell me............
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
geetha geethaPosted Nov 24, 2021, 2:41 PM
FROM [Table_1]
INNER JOIN [Table_2]
ON [Table_2] .[Employee ID] = [Table_2] .[Employee ID]
Om prakash SinghPosted Aug 6, 2011, 6:27 AM
select * from table1 a,table2 b where a.id=b.id
to delete data, use this query:-
delete from table 1 where id in(select id from table1 a, table2 b where a.id=b.id)
or
delete from table1 a,table2 b where a.id=b.id