Funny SQL statements

September 18, 2008 at 11:20 am 8 comments

One might wonder how SQL statements can make no excuse to laugh obstreperously, here are some funny commands 😉

WeddingQuery. ……. …….. (SQL Style)

HUSBANDS QUERY

CREATE PROCEDURE

MyMarriage (BrideGroom Male (25) ,Bride Female(20) )

AS
BEGIN

SELECT Bride FROM india_ Brides WHERE FatherInLaw = ‘Millionaire’

AND Count(Car) > 20 AND HouseStatus =’ThreeStoreyed’
AND
BrideEduStatus IN (B.TECH ,BE ,Degree ,MCA ,MiBA)

AND Having Brothers= Null

AND

Sisters =Null

SELECT Gold ,Cash,Car,BankBalan ce

FROM FatherInLaw

UPDATE MyBankAccout

SETMyBal = MyBal + FatherInLawBal


UPDATE

MyLocker

SET MyLockerContents = MyLockerContents + FatherInLawGold


INSERT INTO

MyCarShed VALUES(‘BMW’)
END
GO

Then the wife writes the below query:

DROP HUSBAND;
Commit;

 

Advertisements

Entry filed under: FUN. Tags: , , .

Tips for Happy Life Three interview behaviors managers don’t like

8 Comments Add your own

  • 1. Amir  |  September 18, 2008 at 3:58 pm

    hehe

    Reply
  • 2. nadia  |  September 19, 2008 at 12:29 am

    Haha, love the query from the wife 😉

    ##################################
    Glad, you are understanding the computer languages now…….. wow

    Reply
  • 3. Ab  |  September 19, 2008 at 6:53 am

    LOL Laughed at “SET MyBal = MyBal + FatherInLawBal;”

    Are you a programmer?

    ##########################
    I am a Computer Engineer but specialized in Network Infrastructure Management. I am not code friendly but understands how stuff works.. how abt u??

    Reply
  • 4. Wakas Mir  |  September 19, 2008 at 12:33 pm

    Aa haye.. Masood bro ye kya secrets de diye dunya ki wifes ko.. flushing of the HUSBAND from the db awww

    ##########################
    Dont worry bro, we will be having multiple options;)

    Reply
  • 5. misspecs  |  September 21, 2008 at 8:44 pm

    Amazingly witty!
    ######################
    Thanks for your comment and Welcome to my blog!

    Reply
  • 6. tracy  |  October 30, 2008 at 5:01 pm

    I love it! I’d definitely want it printed on a shirt…

    ~ Welcome to my blog, tracy 🙂

    Reply
  • 7. Dtqqrjqh  |  December 25, 2008 at 8:08 pm

    Hey, i save funny photos
    here

    Reply
  • 8. thebozzman  |  October 5, 2010 at 12:59 am

    Good to know I’m not alone out here: http://thebozzman.wordpress.com/2010/09/20/one-for-my-fellow-nerds/

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


House in Paradise!

Narrated AbuUmamah: The Prophet (peace_be_upon_him) said: I guarantee a house in the surroundings of Paradise for a man who avoids quarrelling even if he were in the right, a house in the middle of Paradise for a man who avoids lying even if he were joking, and a house in the upper part of Paradise for a man who made his character good.(Sunan Abu Dawood,Book 41, Number 4782)

IndiRanking

masoodmemon.wordpress.com
60/100

Nokia Blog Award!

Archives

Visitors

  • 479,042 since July 8 '08

Visitors!

Recent Readers

View My Profile View My Profile View My Profile View My Profile View My Profile

%d bloggers like this: