Comparing the content of two tables, or two columns could be done via SQL `select * from tableA except select * from tableB` http://jmerrell.com/2011/06/01/db2-except-sql-function/