text: -- TotalBudgetaryResources_CPE = BudgetAuthorityAppropriatedAmount_CPE +
  -- BudgetAuthorityUnobligatedBalanceBroughtForward_FYB + AdjustmentsToUnobligatedBalanceBroughtForward_CPE +
  -- OtherBudgetaryResourcesAmount_CPE
  SELECT
      row_number,
      total_budgetary_resources_cpe,
      budget_authority_appropria_cpe,
      budget_authority_unobligat_fyb,
      adjustments_to_unobligated_cpe,
      other_budgetary_resources_cpe
  FROM appropriation
  WHERE submission_id = {0}
  AND COALESCE(total_budgetary_resources_cpe, 0) <>
      COALESCE(budget_authority_appropria_cpe, 0) +
      COALESCE(budget_authority_unobligat_fyb, 0) +
      COALESCE(adjustments_to_unobligated_cpe, 0) +
      COALESCE(other_budgetary_resources_cpe, 0);
  