finalizing select_and_compare_taxlots.sql