I want to get unmatching records from two tables in SQL, the table structure is as follows:
Table 1
Id Name
1 Prashant
2 Ravi
3 Gaurav
5 Naween
7 Sachin
Table2
Id Name
1 Prashant
2 Ravi
4 Alok
6 Raja
The output I want
Id Name
3 Gaurav
4 Alok
5 Naween
6 Raja
7 Sachin
What will be the query to get the required output in SQL?
source
share