You are on page 1of 5

Information Technology & System Project

IPL Database

Group-06

In fulfilment of the Academic requirements of


Indian Institute of Bodh Gaya
Submitted to
Professor Samant Saurabh

Submitted by
Parul Shukla (1237)
Pankaj Patel (1238)
Prity Kumari (1239)
Priya Parul Bhagat (1240)
Puneesh Mishra (1241)
Ragi Sandeep Raju (1242)
Remmy Harvey (1243)

01
ITS Project group-06
1.Which player has the maximum number of an orange cap?
Query: Select Player_Name FROM Player Where Player_no= (select Orange_Cap_Id from
Season group by Orange_Cap_Id having count(Orange_Cap_Id) = ( select
count(Orange_Cap_Id) as CAP from Season group by Orange_Cap_Id order by CAP desc limit
1))
Output:

Analysis: Chris Gayle is won orange cap maximum number. Chris Gayle won it twice

2.Which players born between the year 1975 -1995?


Query: SELECT Player_Name From Player WHERE DaOB BETWEEN '01-Jan-1975' AND
'31-Dec-1995'
Output:

Analysis: There are total 458 players which born between 1975 to 1995.Some of the prominent
players are SC Ganguly, RT Ponting,V Kohli etc.

3.Which player played the maximum number of match?


Query: Select Player_Name FROM Player Where Player_no= (select Player_Id from
Player_Match group by Player_Id having count(Player_Id) = (select count(Player_Id) as CAP
from Player_Match group by Player_Id order by CAP desc limit 1))

02
ITS Project group-06
Output:

Analysis: SK raina played maximum number of matches.SK raina played in all 8 IPL seasons

4.Name of Players which played as a team captain?


Query: SELECT Player_Name FROM `Player` WHERE Player_no IN(SELECT DISTINCT
Player_ID FROM Player_Match WHERE Is_Captain=1)
Output:

Analysis: There are total 41 players which played as captain in 8 IPL seasons. Some prominent
captains are KC sangakkara, MS Dhoni,V kohli etc.

5.Name of the Venues where season IPL 4 Played?


Query: SELECT DISTINCT Venue_Name FROM `Matches` WHERE Season_Id=4
Output:

03
ITS Project group-06
Analysis: There are total 11 venues where IPL Season 4 Played. Eden Gardens, Feroz Shah
Kotla,Nehru Stadium are few venues.

6.Number of players belong to each nation in IPL?


Query: SELECT COUNT(Player_No), Country FROM Player GROUP BY Country
Output:

Analysis: From 10 Different nations players played in IPL. Highest number of players are from
India which is 291.Followed by Australia-78, South Africa-44. Only 3 Players are from
Zimbabwe and 1 from Netherlands.

7.Number of umpires participated in IPL?


Query: SELECT COUNT(Player_no) FROM Player WHERE Is_Umpire=1
Output:

04
ITS Project group-06
Analysis: Total 52 umpires participated in 8 IPL seasons

8.Number of players whose batting style left hand and Right-arm medium bowling skills?
Query: SELECT COUNT(Player_no) FROM Player WHERE Batting_Hand='Left_Hand' AND
Bowling_Skill='Right-arm medium'
Output:

Analysis: 17 Players has left hand batting style and Right-arm medium bowling skills.

9.Total Extra Runs Given In IPL


Query: SELECT SUM(Extra_Runs) FROM Ball ByBall
Output:

Analysis: Total Extra runs given in IPL is 1166

10.How many matches played on Eden Gardens?


Query: SELECT COUNT(Match_Id) FROM Matches WHERE Venue_Name='Eden Gardens'
Output

Analysis: Eden Gardens Hosted 54 matches in 8 IPL Seasons.

05
ITS Project group-06

You might also like