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.
For any types of queries, you can contact us on info[at]namasteui.com.
Facing Google penalties can be a daunting challenge for businesses relying on organic search traffic.…
Technology, undeniably, has made our lives easier. But the advent of artificial intelligence has been…
Guest post services have become an essential tool for businesses and individuals looking to increase…
Programming continues to evolve at a rapid pace, with new trends and technologies emerging every…
Let’s be honest; a startup business hardly has sufficient amount to promote their services and…
Introduction In today's digital age, having a strong online presence is crucial for businesses in…