SELECT DISTINCT ld.n_thresh
FROM
  stat_header h,
  line_data_pct ld
WHERE  BINARY h.model IN ('QPF')
  AND   BINARY fcst_lead = '30000' AND  BINARY  fcst_var='APCP_03'   AND    BINARY h.model IN ('QPF')
  AND ld.stat_header_id = h.stat_header_id;

