SELECT
  model,
  NOW()  fcst_init,
  fcst_valid,
  fcst_lead,
'WRF_precip' fcst_var,
  'AREATHR_FSA' stat_name,
  area_thresh stat_value
FROM
  mode_header ,
  mode_obj_single ,
  mode_cts 
WHERE
    BINARY model IN ('AI_step03')
  AND   BINARY fcst_lead IN ('480000', '490000', '500000', '510000', '520000', '530000', '540000', '550000', '560000', '570000', '580000', '590000')
 AND  BINARY  fcst_var = 'WRF_precip'
  AND fcst_flag = 1
  AND simple_flag = 1  AND mode_obj_single.mode_header_id = mode_header.mode_header_id
  AND mode_cts.mode_header_id = mode_obj_single.mode_header_id
  AND mode_cts.field = 'OBJECT'

