take the set difference of two databases