SELECT
  model,
  ld.fcst_init_beg,
  ld.fcst_valid_beg,
  ld.fcst_lead,
  interp_pnts,
'MOSA' fcst_var,
  'NBR_FSS' stat_name,
  'NA' stat_value,
  ld.total,
  ld.fbs,
  ld.fss, ld.afss, ld.ufss, ld.f_rate, ld.o_rate 
FROM
  stat_header h,
  line_data_nbrcnt ld
WHERE
    BINARY h.interp_pnts IN ('25')
  AND   BINARY h.model IN ('CTRECv1.6_RWRFgrid', 'RWRF_cal', 'RWRF_ladj')
  AND   BINARY ld.fcst_lead IN ('0', '3000', '10000', '13000', '20000', '23000', '30000', '33000', '40000', '43000', '50000', '60000', '70000', '80000', '90000', '100000', '110000', '120000')
  AND   BINARY h.fcst_var = 'MOSA'
  AND ld.stat_header_id = h.stat_header_id;

