2.jpg

SQL Queries by Husband and Wife

SQL Queries with Fun and Laughs

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

HUSBANDS QUERY

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CREATE PROCEDURE
MyMarriage (BrideGroom Male (25) ,Bride Female(20) )
Sisters =Null
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

SELECT Gold ,Cash,Car,BankBalance
FROM FatherInLaw

UPDATE MyBankAccout
SETMyBal = MyBal + FatherInLawBal

UPDATE
MyLocker
SET MyLockerContents = MyLockerContents + FatherInLawGold

INSERT INTO
MyCarShed VALUES(‘BMW’)

Then the wife writes the below query:

1
2
DROP HUSBAND;
Commit;

 

Share

Leave a Reply

Your email address will not be published. Required fields are marked *

*

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

Daily Quranic Verse

And if they had patience till you could come out to them, it would have been better for them. And Allâh is Oft-Forgiving, Most Merciful. [Al-Hujuraat 49:5]

Gallery

qjb031 100_1189 100_1336 81240054