How to fetch same record from two table in SQL Server ?
How to fetch same record from two table in SQL Server? Steilla Mitchel 1374 18 Nov 2021 How to fetch same record from two table in SQL Server?
Fetch same Record from Two table:
The INTERSECT Operator is used to find the same record from two database in SQL Server.
Let us create two table Employees and Manager
Employees table:
Manager table:
Now, the following SQL statement is find the same record from above both table by using INTERSECT Clause,
Output: