Advertisement
Guest User

Untitled

a guest
Mar 7th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.56 KB | None | 0 0
  1. SELECT newsitem0_.id
  2. FROM   newsitem newsitem0_
  3.        LEFT OUTER JOIN schedulednotification scheduledn1_
  4.                     ON newsitem0_.id = scheduledn1_.newsitemid
  5. WHERE  newsitem0_.deletedat IS NULL
  6.        AND ( newsitem0_.resend = 1
  7.               OR scheduledn1_.senddate IS NOT NULL )
  8.        AND ( newsitem0_.createdby IN ( 'sarah.kilcoyne@yahoo.com', 'aaliyahdavis2017@yahoo.com', 'joshuaealy20@gmail.com', 'skilcoyne584132@nsula.edu', 'Jesus4Kenny@gmail.com')
  9.               OR newsitem0_.contactid IN (353025,353024,353023,353022,353021,353020 ) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement