suppose Table_1 has following records
Sal
100
200
300
100
200
300
Table_2 has following records
sal1
100
200
300
400
100
200
300
400
select *from Table_1
intersect
select *from Table_2Output will be Sal
100
200
300
100
200
300
this script is used to get the all common records from tow Tables without join,sub query
select *from Table_1
intersect
select *from Table_2Output will be