Click here to Skip to main content
14,970,403 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What is the Query to find out a common data existing in 2 different tables?

You can use UNION/UNION ALL in SQL query to find out common data.


Link2 for basic understanding[^]

Hope it helps.
This[^] might help you.
Use inner join between those two tables....Inner join return common data...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900