SELECT
concat(p.first_name,' ',p.last_name) as name
, ROUND((TO_DAYS(now()) - TO_DAYS(dob)) / 365) as years
,(TO_DAYS(now()) - TO_DAYS(dob)) % 12 as months
, count(distinct mb.match_id) as matches
, p.bowling_style
, p.player_id
, (YEAR(current_date()) - YEAR(p.dob)) as age, p.dob
, SUM(balls) as total_balls
, sum(mb.maiden) as total_maiden
, sum(mb.runs) as total_runs
, sum(mb.wickets) as total_wickets
, sum(mb.wickets) as total_wicket2
, ROUND( sum(mb.runs)/ sum(mb.wickets), 2 ) as avg
, count(if((wickets > 9 ), wickets,null)) as ten_wickets
, count(if((wickets > 4 AND wickets < 10 ), wickets,null)) as five_wickets
, ROUND( SUM(balls) / sum(mb.wickets), 2 ) AS strike_rate
, CONCAT( ROUND(SUM(balls) /6), '.', SUM(balls) % 6 ) AS total_overs
, ROUND( SUM(mb.runs) / CONCAT( ROUND(SUM(balls) /6), '.', SUM(balls) % 6 ), 2) AS economy_rate
FROM `players` as p inner join match_bowling as mb on p.player_id=mb.player_id
WHERE mb.player_id = 2117 AND mb.tournament_id = '4' group by p.player_id SELECT
concat(p.first_name,' ',p.last_name) as name
, ROUND((TO_DAYS(now()) - TO_DAYS(dob)) / 365) as years
,(TO_DAYS(now()) - TO_DAYS(dob)) % 12 as months
, count(distinct mb.match_id) as matches
, p.bowling_style
, p.player_id
, (YEAR(current_date()) - YEAR(p.dob)) as age, p.dob
, SUM(balls) as total_balls
, sum(mb.maiden) as total_maiden
, sum(mb.runs) as total_runs
, sum(mb.wickets) as total_wickets
, sum(mb.wickets) as total_wicket2
, ROUND( sum(mb.runs)/ sum(mb.wickets), 2 ) as avg
, count(if((wickets > 9 ), wickets,null)) as ten_wickets
, count(if((wickets > 4 AND wickets < 10 ), wickets,null)) as five_wickets
, ROUND( SUM(balls) / sum(mb.wickets), 2 ) AS strike_rate
, CONCAT( ROUND(SUM(balls) /6), '.', SUM(balls) % 6 ) AS total_overs
, ROUND( SUM(mb.runs) / CONCAT( ROUND(SUM(balls) /6), '.', SUM(balls) % 6 ), 2) AS economy_rate
FROM `players` as p inner join match_bowling as mb on p.player_id=mb.player_id
WHERE mb.player_id = 2117 AND mb.tournament_id = '8' group by p.player_id
Players - Pakistan Cricket Board (PCB) Official Website
Syed Ali Abbas Zaidi
Full Name: Syed Ali Abbas Zaidi
Father's Name: Syed Baqir Zaidi
Date of Birth: 30-11--1
Place of Birth: Lahore
Batting Style: 2
Bowling Style: fast
Region: Lahore
District/Zone: West Zone Blue
Wicket Keeper: no
Domestic Team: West Zone Blue
Club: Imtiaz Cricket Club
Region: Lahore
Career Detail:
Matches Detail: Matches Detail
Batting |
|
Matches |
Inning |
Not Outs |
Runs |
HS |
Ave |
100 |
50 |
S.Rate |
Ct |
St |
Overall |
1 |
1 |
0 |
24 |
24 |
24.00 |
0 |
0 |
48.98 |
1 |
0 |
Batting |
|
Matches |
Inning |
Not Outs |
Runs |
HS |
Ave |
100 |
50 |
S.Rate |
Ct |
St |
Overall |
2 |
4 |
0 |
46 |
31 |
11.50 |
0 |
0 |
52.87 |
2 |
0 |