0% found this document useful (0 votes)
65 views4 pages

Bride's Query: Create Procedure

The document describes a bride's query to find a groom using a stored procedure that searches an India_Groom table for a millionaire father-in-law with over 20 cars and a three-story house, where the groom has an engineering or business degree, no brothers or sisters, is 6 feet tall and white. It then selects the father-in-law's gold, cash, cars and bank balance to update the bride's accounts and add possessions to her locker and car shed. A responding query drops the marriage procedure and creates a girlfriend instead.

Uploaded by

dhanaid
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views4 pages

Bride's Query: Create Procedure

The document describes a bride's query to find a groom using a stored procedure that searches an India_Groom table for a millionaire father-in-law with over 20 cars and a three-story house, where the groom has an engineering or business degree, no brothers or sisters, is 6 feet tall and white. It then selects the father-in-law's gold, cash, cars and bank balance to update the bride's accounts and add possessions to her locker and car shed. A responding query drops the marriage procedure and creates a girlfriend instead.

Uploaded by

dhanaid
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

 

Bride's Query

CREATE PROCEDURE
MyMarriage (
BrideGroom Male (25) ,
Bride Female(20) )
AS
BEGIN

SELECT BrideGroom FROM


india_ BrideGroom
WHERE FatherInLaw =
'Millionaire'
AND Count(Car) > 20 AND
HouseStatus ='ThreeStoreyed'
AND BrideGroomEduStatus IN
(B.TECH ,BE ,Degree
,MCA ,MiBA) AND Having
Brothers= Null
AND Sisters =Null
And Height = 6 ft
And Color = white

SELECT Gold
,Cash,Car,BankBalance
FROM FatherInLaw
UPDATE MyBankAccout
SET MyBal = MyBal +
FatherInLawBal

UPDATE MyLocker
SET MyLockerContents =
MyLockerContents +
FatherInLawGold

INSERT INTO MyCarShed


VALUES ('BMW')
END
GO

Bride Groom's query:

DROP MyMarriage;
Create Girlfrnd;
Commit;
 

Advance Diwali Wishes


 
 
 
 
 

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy