This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!


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;
  6. SELECT * FROM events WHERE start > @queryend AND end < @querystart
clone this paste RAW Paste Data