 		sum(round(pop_curr * pc_wg * pc_wg_affected * deficit * 2100 / 3360.0 / 1000, 4)) AS def_maize_eq
 	FROM
     zaf.demog_sas AS f,
-		zaf.tbl_ofa_outcomes_sas AS g
+		zaf.tbl_ofa_outcomes AS g
 	WHERE
 		  threshold = 'Food energy deficit'
     AND

		sum(round(pop_curr * pc_wg * pc_wg_affected * deficit / hh_size, 4)) AS ubpl_deficit
	FROM
    zaf.demog_sas AS f,
		zaf.tbl_ofa_outcomes_sas AS g
	WHERE
		  threshold = 'UBPL deficit'
    AND

    FROM
      zaf.demog_sas_ofa AS f,
      zaf.tbl_lz_mapping AS g,
      zaf.tbl_ofa_analysis AS h,
      (SELECT DISTINCT mn_code, mn_name FROM zaf.demog_sas) AS i,
      zaf.admin3_dists AS j,
      zaf.tbl_livezones_list AS k,
