joke-wedding query [message #282989] |
Sun, 25 November 2007 21:41 |
muzahid
Messages: 281 Registered: September 2004 Location: Dhaka, Bangladesh
|
Senior Member |
|
|
WeddingQuery. ...... .......
CREATE PROCEDURE MyMarriage BrideGroom Male (25) , Bride Female(20) AS
BEGIN SELECT Bride FROM native_Brides
WHERE FatherInLaw = 'Millionaire' AND Count(Car) > 20
AND HouseStatus ='ThreeStoreyed'
AND BrideEduStatus IN (B.TECH ,BE ,Degree ,MCA ,MiBA)
AND Having Brothers is Null AND Sisters is Null;
SELECT Gold ,Cash,Car,BankBalan ce
FROM FatherInLaw;
UPDATE MyBankAccout SET MyBal = MyBal + FatherInLawBal;
UPDATE MyLocker SET MyLockerContents = MyLockerContents + FatherInLawGold;
INSERT INTO MyCarShed VALUES ('BMW');
END;
GO Then the wife writes the below query:
DROP user HUSBAND;
Commit;
[Updated on: Sun, 25 November 2007 21:44] Report message to a moderator
|
|
|
|
|
|
|
|
|