(Untitled)

Jun 22, 2007 08:18

SELECT * FROM users
WHERE birth_date = getdate();
UPDATE users
SET age = (SUM(select age from users where birth_date = getdate()) +1)
WHERE birth_date = getdate();
SELECT ("happy birthday" + lj_username + "!!!!!!!!") AS result
FROM users
WHERE modified_datetime = '6/22/2007'

1 row returned:
happy birthday
Read more... )

Leave a comment

Comments 2

19aftermidnight June 22 2007, 13:54:15 UTC
hahaha! I love it!

Reply


darrick_mccloud June 22 2007, 15:49:11 UTC
that is Just damn cool. ;)

Reply


Leave a comment

Up