Holiday SQL

You’ve got to be somewhat nerdy for this, but if your reading this, you automatically qualify. Perhaps I’ll add to this list when I’m bored. If I have the time. If someone is so inclined, feel free to do so below.

Santa’s Present List

  1. SELECT fName, lName, street, city, state, zip, country
  2. FROM people
  3. WHERE STATUS = ‘nice’
  4. AND age < 18
  5. ORDER BY country DESC;

Santa’s Coal List

  1. SELECT fName, lName, street, city, state, zip, country
  2. FROM people
  3. WHERE STATUS = ‘naughty’
  4. AND age < 18
  5. ORDER BY country DESC;

Santa’s Personal Wish List

  1. SELECT fName, lName, street, city, state, zip, country
  2. FROM people
  3. WHERE STATUS = ‘naughty’
  4. AND age BETWEEN 18 AND 25
  5. AND height BETWEEN 67 AND 72
  6. AND cupSize > ‘C’
  7. AND sex = ‘female’
  8. ORDER BY age ASC;

Paris Hilton’s Personal Wish List

  1. SELECT fName, lName, street, city, state, zip, country
  2. FROM people
  3. WHERE age BETWEEN 18 AND 30;

Feel free to give it a try if your geeky enough to do so. I’ll update them to color syntax.

Tags: , ,



2 Responses to “Holiday SQL”

  1. Daruku Says:

    Firefoxe’s wish list…

    1. SELECT *
    2. FROM users
    3. WHERE browser LIKE IE%’
  2. Neil T. Says:

    George W. Bush’s election campaign strategy:

    1. SELECT firstname, lastname, address
    2. FROM voters
    3. WHERE iq

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution.