printing result sets to compare