You are on page 1of 1

Q.

1 Write SQL commands to create the table CLUB(primary key –Coach_id) and also write queries for (i) to x)
on the basis of the tables CLUB.
Coach_Id CoachName Age Sports DateofApp Pay
1 Mr. KUKREJA 35 KARATE 27/03/1996 10000
2 Ms.RAVINA 34 KARATE 20/01/1998 15000
3 Mr. KARAN 34 SWIMMING 19/02/1998 12000
4 Mr. TARUN 33 TENNIES 01/01/1999 16000
5 Mr.ZUBIN 36 SWIMMING 24/02/1999 17000
6 Ms. RUBINA 36 TENNIES 20/02/1999 18000
7 Ms. MAMTA 39 CRICKET 01/01/2001 16000
8 Ms. ZEBA 37 CRICKET 10/10/2001 12000
9 Mr. KUSH 41 KARATE 10/10/2002 15000
10 Ms. HUMA 33 SWIMMING 11/10/2003 17000
1) To show all information about the swimming coaches.
2) To show all information about female coaches in Swimming sport.
3) To display all a report showing coachname, pay age,and bonus(10% OF Pay) for all coaches.
4) To display the coach name those are joined in the year 1999
5) To display the seniority wise list.
6) To increase the pay by 500 for cricket coaches
7) To display all details having last character ‘a’ in their name
8) To display all sports offered by club

You might also like