sql billing flows DataMassaging