Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 14th, 2012  |  syntax: None  |  size: 0.16 KB  |  views: 29  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. CREATE TABLE events
  2. name VARCHAR(30),
  3. start INT(11) UNSIGNED,
  4. end INT(11) UNSIGNED;
  5.        
  6. SELECT * FROM events WHERE start > @queryend AND end < @querystart