Results 1 to 1 of 1

Thread: Sql query funny

  1. #1
    dR Angels www.desirulez.net
    Join Date
    Apr 2009
    Posts
    66

    T

    Default Sql query funny

    Follow us on Social Media








    Wedding Query. ....... ........ (SQL Style)

    HUSBANDS QUERY

    CREATE PROCEDURE My Marriage (
    Groom (25) ,
    Bride(20) )

    AS
    BEGIN


    SELECT
    Bride FROM india_ Brides
    WHERE Father-In-Law = 'Millionaire'

    AND Count(Car) > 20 AND House Status ='ThreeStoreyed'
    AND Bride Edu Status IN (B.TECH ,BE ,Degree ,MCA ,MiBA) AND Having Brothers= Null

    AND Sisters =Null



    SELECT Gold ,Cash,Car,Bank Balance

    FROM Father-In-Law

    UPDATE My Bank Accout

    SET My Bal = My Bal + Father-In-Law Bal


    UPDATE
    My Locker

    SET My Locker Contents = My Locker Contents + Father-In-Law Gold


    INSERT INTO
    My Car Shed VALUES('BMW')
    END
    GO

    Then the wife writes the below query:

    DROP HUSBAND;
    Commit;





 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •