Site Announcement

All Indian Voters

Cast Your Vote
|
|
|
|
|
|
DLF IPL 20-20

Team List - Schedule - Point Table - Live Match
Creative Work : Interactive IPL 2011 Schedule



Funny ATM Machines

Computer Tiruvilaiyadal

Indian Wedding - An SQL Query


Here is a funny wedding SQL query written by an Indian Programmer. I have never seen humorous use of SQL like this before. Hope you will enjoy reading it.

HUSBANDS QUERY

CREATE PROCEDURE MyMarriage (
BrideGroom Male (25) ,
Bride Female(20) )
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 Sisters =Null
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

Then the wife writes the below query:

DROP HUSBAND;
Commit;

Happy Pongal..!


Why a student fails in examination..?


It's not the fault of the student if he fails, because the year has ONLY 365 days.

Typical academic year for a student.

1. Sundays - 52 Sundays in a year. You know Sundays are for rest.

    Days left 313.

2. Summer Holidays - 50 Days. Where weather is very hot and difficult to study.

    Days left 263.

3. Daily Sleep (8 Hours) - 130 Days.

    Days left 141.

4. Daily Playing (1 Hour) - 15 Days (Good for Health).

    Days left 126.

5. For Food (2 Hours) - 30 Days. Other delicacies (chew properly & eat).

    Days left 96.

6. For Talking (1 Hour) - 15 Days. (Man is a social animal).

    Days left 81.

7. Exam Days - At least 35 Days per Year.

    Days left 46.

8. Quarterly, Half Yearly and Festival Holidays - 40 Days.

    Balance 6 days.

9. For Sickness atleast 3 days.

    Remaining days 3.

10. Movies and Functions atleast 2 days.

    1 day left.

11. That 1 day is Your Birthday. "How can you study at that day..?"

    Balance days 0..!

It's not the fault of the student if he fails..!