http://www.postgresqltutorial.com/compare-two-tables-in-postgresql/
Anonymous
Use simple algorithms as well as simple data structures.