SHARE
TWEET

Untitled

Ortund Nov 21st, 2011 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT * FROM campaignstats AS a
  2. INNER JOIN campaigns AS b ON a.campaignid = b.campaignid
  3. INNER JOIN companies AS c ON b.companyid = c.companyid
  4. INNER JOIN sites AS d ON a.jukeboxid = d.siteid
  5. WHERE LEFT(a.date_played,10) > '2011-11-08' LEFT(a.date_played,10) < '2011-11-18' AND b.campaignid = 1
  6. ORDER BY a.date_played DESC LIMIT 0,10
  7.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top