Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.29 KB | None | 0 0
  1. SELECT PK_wid, aut_id, aut_enable FROM ps_autoemail a WHERE a.aut_enable = 1 AND a.aut_email_1 IS NOT NULL AND a.PK_wid NOT IN(
  2.             SELECT DISTINCT(el.eml_wid)
  3.             FROM ps_email_log el
  4.         WHERE el.eml_cycle = '{$cycle}' and el.eml_codtpl = '{$payslip_type}'
  5.         );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement