Compare values from columns of multiple tables. This query can be used to compare two tables in such manner in postgres.
Source code viewer
SELECT comparing_columns FROM my_table_1 EXCEPT SELECT comparing_columns FROM my_table_2 -- If the tables/schemas are absolutely identical. SELECT * FROM my_table_1 EXCEPT SELECT * FROM my_table_2Programming Language: PostgreSQL