SELECT
  model,
  ld.fcst_init_beg,
  ld.fcst_valid_beg,
  ld.fcst_lead,
  fcst_thresh,
'APCP_03' 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.fcst_thresh IN ('>=0.5')
  AND   BINARY h.model IN ('HRRRv3')
  AND   BINARY ld.fcst_init_beg IN ('2019-04-29 00:00:00', '2019-04-30 00:00:00', '2019-05-01 00:00:00', '2019-05-02 00:00:00', '2019-05-03 00:00:00')
  AND   BINARY h.fcst_var = 'APCP_03'
  AND ld.stat_header_id = h.stat_header_id;

