When migrate data you need to compare two tables and identify the unmatched results records.
Suppose you have two tables table1 and table2 with same columns and values. If any one table has any extra row then using below query you can get the unmatched results.
SELECT id, name FROM ( SELECT id, name FROM table1 UNION ALL SELECT id, name FROM table2 ) tbl GROUP BY id, name HAVING count(*) = 1 ORDER BY id;
Using above query you will get the unmatched row.
Pain in muscles and joints can be a problem in everyday life, whether it involves…
Most modern businesses spend a lot of time thinking about digital touchpoints. Websites, email campaigns,…
While TikTok and Instagram battle for users’ attention with short vertical videos, Elon Musk’s social…
When you are looking to apply for a mortgage the one thing that most people…
Once you've memorized basic blackjack strategy, it's time to delve deeper into the game. Advanced…
Yoga is no longer just a physical practice. Yoga is popular as a lifestyle practice.…