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............
Join query in sql database
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Om prakash Singh126 reputationPosted Aug 6, 2011, 2:27 AM EDT
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
geetha geethaRank #7,130 · 248 reputationPosted Nov 24, 2021, 9:41 AM EST
FROM [Table_1]
INNER JOIN [Table_2]
ON [Table_2] .[Employee ID] = [Table_2] .[Employee ID]