有效地比较两个表中的列
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了有效地比较两个表中的列相关的知识,希望对你有一定的参考价值。
This compares selected columns between 2 tables that you think might have differences. It lists the rows and values that are different between the two sourcesYou can add WHERE clauses as appropriate. You could also use this to compare the results of two queries.
This is from Tom Kyte (www.asktom.com). I can't say I understand exactly how it works, but it's much faster than other methods I've seen. It has the advantage of only looking through each table once.
first_name, last_name, city FROM old_addresses
以上是关于有效地比较两个表中的列的主要内容,如果未能解决你的问题,请参考以下文章