我有一种情况,我用一些 3rd 方实用程序更新了一个表,我想将它与原始表进行比较,并确保它进行了正确的更新和插入。
所以,我想做这样的事情,但我不太了解语法:
SELECT * FROM table1 AS a RIGHT OUTER JOIN table2 AS b WHERE
<there is some difference between the row from a and the row from b,
regardless of which column it's in>
我怎样才能比较所有字段而不必一一明确地写出来?
编辑:我还应该提到我在table 的副本中进行了更新,所以假设是原始的并且是更新的副本。