Saturday 11 May 2013

// // Leave a Comment

பொண்ணு பாக்க போறிங்களா இத படிங்க

நாங்களும் quary எழுதுவமில்ல........

QUERY


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

SELECT Bride FROM Beautiful_ Brides
WHERE FatherInLaw = 'Millionaire'

AND HouseStatus ='ThreeStoreyed'
AND BrideEduStatus IN (B.TECH ,BE ,Degree ,MCA ,MiBA)
AND Sisters =Yes Group by brothers,bride,car
Having Count(Brothers)=0
And Count(Car) > 10

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

UPDATEMyLocker 
SET MyLockerContents = MyLockerContents + FatherInLawGold

INSERT INTO MyCarShed VALUES('BMW')
END

GO

0 comments:

Post a Comment