add sum_delta_by_flavor_etc.sql