I recently made an online table diff tool designed to compare database tables and query results and allowing to specify key columns. Despite the fact that this online, user's data remains in the browser.
Downloadable tools are available as well for different DBMS, for Windows and Linux.