query
stringlengths 24
325
| positive
stringlengths 1
580
| negative_1
stringlengths 6
580
| negative_2
stringlengths 1
576
| negative_3
stringlengths 1
576
| negative_4
stringlengths 1
580
| negative_5
stringlengths 1
580
| negative_6
stringlengths 1
580
| negative_7
stringlengths 5
576
| negative_8
stringlengths 1
576
| negative_9
stringlengths 1
580
| negative_10
stringlengths 1
580
|
---|---|---|---|---|---|---|---|---|---|---|---|
When and for what role did the youngest player appear in his first match? | When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date) | date of the match refers to Match_Date; highest wager refers to max(Win_Margin) | name of the player refers to Player_Name; the first ever refers to min(match_date); "man of the match" award refers to Player_Id in 'Man_of_the_Match' | held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin) | Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage | Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner) | Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%'; | Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date) | city named "Rajkot" refers to city_name = 'Rajkot'; | name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match)) | country refers to Country_Name; the oldest refers to min(DOB) |
What are the names of players who participated in season year 2008? | season year 2008 refers to Season_Year = 2008 | date of the match refers to Match_Date; highest wager refers to max(Win_Margin) | Australia refers to Country_Name = 'Australia' | Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012' | resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015 | played in 2009 Match_Date like '2009%'; Mumbai Indians" team refers to Team_Name = 'Mumbai Indians'; percent of the matches did they win refers to DIVIDE(COUNT(Match_Winner = Team_Id), COUNT(Match_Id)) | held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014 | R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc | name of the striker refers to Player_Name; match no. 419169 refers to Match_Id = 419169; over no.3 refers to Over_Id = 3; ball no.2 refers to Ball_Id = 2; inning no.2 refers to Innings_No = 2 | names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors' | right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985 |
How many matches did the Sunrisers Hyderabad team win in 2013? | Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%'; | held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin) | name of players refers to Player_Name | Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2009 refers to Match_Date = '2009%'; won by wickets refers to Win_Type = 'wickets'; percentage refers to DIVIDE(COUNT(Win_Type = 'wickets'), COUNT(Win_Type)) | season refers to Season_Id; the highest number of matches refers to max(count(Season_Id)); M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium' | lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2 | city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium' | country refers to Country_Name; the majority of the players refers to max(count(Country_Name)) | name refers to Player_Name; youngest player refers to max(DOB) | in team 1 refers to Team_Id = 1; name of player refers to Player_Name; | Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; win their first match refers to Match_Winner and min(Match_Date) |
List down the name of teams that won the toss of the coin from matches with ID from 336010 to 336020. | name of teams refers to Team_Name; won the toss refers to Toss_Winner; matches with ID from 336010 to 336020 refers to Match_Id BETWEEN 336010 AND 336020 | wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name | out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to avg(Player_Out when Out_Id = 4); average out by runout refers to avg(Player_Out when Out_Id = 3) | are Indians refers to Country_Name = 'India' | Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez'; | names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors' | born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2; | eldest player refers to MIN(DOB); where he/she come from refers to Country_Name | type of match won refers to Win_Type | Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012' | name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id)) |
Give the player id of the player who was at the non-striker end for the most number of balls in the match 501219. | most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219;
player id also refers to non_striker or ball_id | got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID "548335" refers to Match_Id = 548335 | born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31' | born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3 | wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name | year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name | old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan'; | seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015 | players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%' | won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage | When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date) |
Name the player who is born on July 7, 1981. | name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07' | bowling skill used by most players refers to max(count(Bowling_Skill)) | SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name | Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage | Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match | bowling skill greater than 2 refers to Bowling_skill > 2 | played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name; | won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100 | losing team's name refers to Team_Id NOT in "match_winner" column | Between match no. 335989 and 337000 refers to 335989 < Match_Id < 337000; batsman score more than 3 runs during over no. 1, ball no. 1, and inning no. 1 of the matches refers to Runs_Scored > 3 and Over_Id = 1 and Ball_Id = 1 and Innings_No = 1 | are Superover refers to win_type = 'wickets'; |
Write down the name of players whose bowling skill is Legbreak. | name of players refers to Player_Name | point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name; | Indian refers to Country_Name = 'India' | played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name; | name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date) | had players out by hit wickets refers to Out_Name = 'hit wicket' | in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10; | Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner) | Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage | are Superover refers to win_type = 'wickets'; | role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992 |
Give me the match ID and date of the matches that were held in Kingsmead for three consecutive days. | date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead' | name of teams refers to Team_Name; won the toss refers to Toss_Winner; matches with ID from 336010 to 336020 refers to Match_Id BETWEEN 336010 AND 336020 | born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England' | were played in March 2010 refers to Match_Date = '2010-03%' | won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100 | noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs)) | 4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field') | SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc | name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner))) | name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date) | if a player has multiple roles in a match, it means this player is versatile; name refers to Player_Name; most versatile player refers to MAX(COUNT(Role_id)); Delhi Daredevils refers to Team_Name = 'Delhi Daredevils' |
List all Zimbabwean players. | Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name | the venue named "Newlands" refers to Venue_Name = 'Newlands' | end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name | got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID "548335" refers to Match_Id = 548335 | role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992 | right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100% | Pune Warriors refers to Team_Name = 'Pune Warriors' | lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2 | country refers to Country_Name; the majority of the players refers to max(count(Country_Name)) | players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%' | losing team's name refers to Team_Id NOT in "match_winner" column |
Give the name of the youngest player. | name of player refers to Player_Name; the youngest refers to max(DOB) | held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin) | Pune Warriors refers to Team_Name = 'Pune Warriors' | are Indians refers to Country_Name = 'India' | date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead' | name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner))) | year refers to DOB; majority of the players refers to max(count(Player_Id)) | id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1 | name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1 | city named "Rajkot" refers to city_name = 'Rajkot'; | player no.41 won the "man of the match" refers to Man_of_the_Match = 41 |
From which country does the most umpires are from? How many of them are from the mentioned country?
| which country refers to Country_Id; most umpires refers to max(count(Umpire_Id)) | country refers to Country_Name; the majority of the players refers to max(count(Country_Name)) | SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion' | resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015 | CH Gayle refers to Player_Name = 'CH Gayle' | player no.41 won the "man of the match" refers to Man_of_the_Match = 41 | the venue named "Newlands" refers to Venue_Name = 'Newlands' | born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3 | bowling skill greater than 2 refers to Bowling_skill > 2 | bowling skill used by most players refers to max(count(Bowling_Skill)) | name of venues refers to Venue_Name; season 2 refers to Season_Id = 2 |
Among the matches of Delhi Daredevils in 2009, what is the percentage of their matches won by wickets? | Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2009 refers to Match_Date = '2009%'; won by wickets refers to Win_Type = 'wickets'; percentage refers to DIVIDE(COUNT(Win_Type = 'wickets'), COUNT(Win_Type)) | date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL | which country refers to Country_Id; most umpires refers to max(count(Umpire_Id)) | wins the toss refers to Toss_Winner; whether they decided to bat or field refers to Toss_Name | city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult')) | name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner))) | born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3 | seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015 | 4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field') | 'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players refers to max(count(Country_Id)) | English umpires refers to Country_Name = 'England' |
List the cities located in U.A.E. | city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E' | seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015 | 4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field') | won by wickets refers to Win_type = 'wickets'; | role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992 | from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%'; | the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner) | name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date) | which country refers to Country_Id; most umpires refers to max(count(Umpire_Id)) | Between match no. 335989 and 337000 refers to 335989 < Match_Id < 337000; batsman score more than 3 runs during over no. 1, ball no. 1, and inning no. 1 of the matches refers to Runs_Scored > 3 and Over_Id = 1 and Ball_Id = 1 and Innings_No = 1 | eldest player refers to MIN(DOB); where he/she come from refers to Country_Name |
Compute the run rate at the end of 16 overs of the match ID 335999. Please include the name of the "Man of_the Match". | end of 16 overs refers to count(Toss_Name = 'field' ) = 16; run rate = divide(count(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id)when Toss_Name = 'field'); name refers to Player_Name | city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E' | first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1 | venue refers to Venue_Name; winning team refers to match_winner | born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31' | batting team was the Delhi Daredevils refers to Team_Name = 'Delhi Daredevils' and Team_1 = Team_Id where Team_Batting = 1 or Team_2 = Team_Id where Team_Batting = 2; no runs scored refers to Runs_Scored = 0 | English umpires refers to Country_Name = 'England' | on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name; | not won by runs refers to Win_Type ! = 'runs' | type of match won refers to Win_Type | the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner) |
List the first team's name in the match with the highest winning margin. | team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin) | venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1 | Australia refers to Country_Name = 'Australia' | country refers to Country_Name; the majority of the players refers to max(count(Country_Name)) | resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015 | year 2012 refers to Season_Year = 2012; name of player refers to Player_Name.; country of this player refers to Country_Name | MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08' | won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage | name of player refers to Player_Name; the youngest refers to max(DOB) | right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985 | which country refers to Country_Id; most umpires refers to max(count(Umpire_Id)) |
Between match nos. 335989 and 337000, how many times did a batsman score more than 3 runs during over no. 1, ball no. 1, and inning no. 1 of the matches? | Between match no. 335989 and 337000 refers to 335989 < Match_Id < 337000; batsman score more than 3 runs during over no. 1, ball no. 1, and inning no. 1 of the matches refers to Runs_Scored > 3 and Over_Id = 1 and Ball_Id = 1 and Innings_No = 1 | name refers to Player_Name; youngest player refers to max(DOB) | old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan'; | in team 1 refers to Team_Id = 1; name of player refers to Player_Name; | born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3 | Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin) | held in June 2014 refers to SUBSTR(Match_Date, 7, 1) = 6 and SUBSTR(Match_Date, 1, 4) = 2014 | the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove' | role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992 | year refers to DOB; majority of the players refers to max(count(Player_Id)) | noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs)) |
How many Orange Cap awards were won by CH Gayle? | CH Gayle refers to Player_Name = 'CH Gayle' | have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast'; | 4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field') | SC Ganguly refers to Player_Name = 'SC Ganguly' | Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match | R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc | Zimbabwean refers to Country_Name = 'Zimbabwea'; players refers to Player_Name | the oldest refers to min(DOB); date of birth refers to DOB | city named "Rajkot" refers to city_name = 'Rajkot'; | name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07' | Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012' |
Among the players who use the right hand as their batting hand, how many of them were born after 1985? | right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985 | got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID "548335" refers to Match_Id = 548335 | born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3 | M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium')) | first half refers to 1 < Over_Id and Over_Id < 25; average = divide(sum(Over_Id) when 1 < Over_Id and Over_Id < 25, sum(Runs_Scored)) as percentage; first innings refers to Innings_No = 1 | 4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field') | most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219;
player id also refers to non_striker or ball_id | year refers to DOB; majority of the players refers to max(count(Player_Id)) | which country refers to Country_Id; most umpires refers to max(count(Umpire_Id)) | were played in March 2010 refers to Match_Date = '2010-03%' | season year 2008 refers to Season_Year = 2008 |
How many first teams chose to bat after winning the toss? | first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2 | role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18' | SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion' | who refers to Team_Name | play by the left hand refers to Batting_hand = 'Left-hand bat' | SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name | not won by runs refers to Win_Type ! = 'runs' | Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage | name refers to Player_Name; youngest player refers to max(DOB) | Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match | role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992 |
What are the average extra runs given in the second innings of every match? | second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2 | Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014'; | bowling skill used by most players refers to max(count(Bowling_Skill)) | the oldest refers to min(DOB); date of birth refers to DOB | U.A.E refers to Country_Name = 'U.A.E' | country refers to Country_Name; the oldest refers to min(DOB) | id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1 | SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc | full name refers to Player_Name; in 2013 refers to Season_Year = 2013 | Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB)) | got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID "548335" refers to Match_Id = 548335 |
List the names of players who played as a keeper. | played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name; | in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5' | MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08' | Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2009 refers to Match_Date = '2009%'; won by wickets refers to Win_Type = 'wickets'; percentage refers to DIVIDE(COUNT(Win_Type = 'wickets'), COUNT(Win_Type)) | name of the venue refers to Venue_Name; most number of matches refers to max(count(Venue_Id)) | East London refers to City_Name = 'East London' | city named "Rajkot" refers to city_name = 'Rajkot'; | name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner))) | Mohammad Hafeez refers to Player_Name = 'Mohammad Hafeez'; | Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012' | right hand as batting hand refers to Batting_Hand = 'Right-hand bat'; born after 1985 refers to SUBSTR(DOB, 1, 4) > 1985 |
How many players are Indians? | are Indians refers to Country_Name = 'India' | which country refers to Country_Id; most umpires refers to max(count(Umpire_Id)) | MK Pandey refers to Player_Name = 'MK Pandey' | M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium')) | seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015 | role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992 | played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name; | decide to bowl first refers to Toss_Name = 'field'; from 2010 to 2016 refers to Match_Date BETWEEN '2010-01-01' AND '2016-12-31'; percent = divide(count(Toss_Id where Toss_Name = 'field'), count(Toss_Id)) * 100% where Match_Date BETWEEN '2010-01-01' AND '2016-12-31' | won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100 | venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1 | right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100% |
Calculate the run rate at the end of 17 overs of the match ID 335987 on 4/18/2008. | 4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field') | born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%' | decide to bowl first refers to Toss_Name = 'field'; from 2010 to 2016 refers to Match_Date BETWEEN '2010-01-01' AND '2016-12-31'; percent = divide(count(Toss_Id where Toss_Name = 'field'), count(Toss_Id)) * 100% where Match_Date BETWEEN '2010-01-01' AND '2016-12-31' | id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1 | played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name; | first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2 | the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove' | won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage | in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10; | captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper' | have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast'; |
What is the percentage of matches that are won by runs? | won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100 | name of the player refers to Player_Name; the highest number of outstanding player awards refers to max(count(Man_of_the_Match)) | Between match no. 335989 and 337000 refers to 335989 < Match_Id < 337000; batsman score more than 3 runs during over no. 1, ball no. 1, and inning no. 1 of the matches refers to Runs_Scored > 3 and Over_Id = 1 and Ball_Id = 1 and Innings_No = 1 | who refers to Team_Name | born in the 80s refers to DOB like '198%'; have bowling skill of 2 refers to Bowling_skill = 2; | bat with their right hand refers to Batting_hand = 'Right-hand bat'; average = divide(count(Player_Id) when Batting_hand = 'Right-hand bat', count(Country_Name)) | captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper' | SC Ganguly refers to Player_Name = 'SC Ganguly' | right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100% | id of the player who won the Orange Cap refers to Orange_Cap; for 2 consecutive seasons refers to count(Season_Year) > 1 | M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium')) |
Which is the country of the city named "Rajkot"? | city named "Rajkot" refers to city_name = 'Rajkot'; | lowest winning margin refers to MIN(win_margin); team name refers to team_name; second team refers to team_2 | SC Ganguly refers to Player_Name = 'SC Ganguly' | Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage | name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07' | When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date) | country refers to Country_Name; the majority of the players refers to max(count(Country_Name)) | Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014'; | left hand batting style players refers to Batting_hand = 'Left-hand bat'; percentage refers to DIVIDE(COUNT(Batting_hand = 'Left-hand bat'), COUNT(Player_Id)) * 100.0 | name refers to Player_Name; youngest player refers to max(DOB) | role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992 |
What are the names of players who had been man of the match more than 5 times in season year 2008? | man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name; | the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner) | MA Chidambaram Stadium refers to Venue_Name = 'MA Chidambaram Stadium' ; from 5/9/2009 to 8/8/2011 refers to Match_Date between '2009-05-09' and '2011-08-08' | fewest number of matches refers to min(count(Match_Id)) | most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219;
player id also refers to non_striker or ball_id | role refers to of Role_Id; SC Ganguly refers to Player_Name = 'SC Ganguly'; on 2008/4/18 refers to Match_Date = '2008-04-18' | Indian refers to Country_Name = 'India' | Who refers to Player_Name; youngest player to have won the Purple Cap refers to min(subtract(Season_Year, DOB)) | SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc | right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100% | names of the venues refers to Venue_Name; Abu Dhabi refers to City_Name = 'Abu Dhabi' |
List down names of teams that have played as second team against Pune Warriors. | names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors' | date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL | on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name; | captain and keeper refers to Role_Desc = 'CaptainKeeper'; percentage = divide(count(Player_Id) when Role_Desc = 'CaptainKeeper', count(Player_Id)) as percentage | name of the venue, city and country refers to Venue_Name and City_Name and Country_Name; last match refers to max(Match_Date) | city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium' |
venue refers to Venue_Name | not won by runs refers to Win_Type ! = 'runs' | point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name; | won by runs refers to win_type = 1; percentage refers to DIVIDE(COUNT(win_type = 1), COUNT(Win_Type)) * 100 | MK Pandey refers to Player_Name = 'MK Pandey' |
In the match ID 419135, who won by runs? | who refers to Team_Name | on 2008/5/12 refers to Match_Date = '2008-05-12'; name refers to Player_Name; | Yuvraj Singh refers to Player_Name = 'Yuvraj Singh'; receive the Man of the Match award refers to Player_Id = Man_of_the_Match | played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name; | name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date) | SB Joshi refers to Player_Name = 'SB Joshi'; where the player come from refers to Country_Name | names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors' | When refers to Match_Date; youngest player refers to max(DOB); first match refers to min(Match_Date) | the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner) | Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014'; | bowling skill greater than 2 refers to Bowling_skill > 2 |
Give the date of birth of the 2014 Orange Cap winner. | date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL | full name refers to Player_Name; in 2013 refers to Season_Year = 2013 | Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage | got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID "548335" refers to Match_Id = 548335 | Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%'; | Between match no. 335989 and 337000 refers to 335989 < Match_Id < 337000; batsman score more than 3 runs during over no. 1, ball no. 1, and inning no. 1 of the matches refers to Runs_Scored > 3 and Over_Id = 1 and Ball_Id = 1 and Innings_No = 1 | name of teams refers to Team_Name; won the toss refers to Toss_Winner; matches with ID from 336010 to 336020 refers to Match_Id BETWEEN 336010 AND 336020 | Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012' | venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1 | name of the player refers to Player_Name; born on July 7 1981 refers to DOB = '1981-07-07' | scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name; |
List the players' names who were born in 1971. | players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%' | name and country of the players refers to Player_Name and Country_Name; catches refers to Out_name = 'caught'; average catches refers to divide(count(Player_ID) when Out_name = 'caught', sum(Player_ID)) | name of players refers to Player_Name | not won by runs refers to Win_Type ! = 'runs' | venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1 | Dr DY Patil Sports Academy venue refers to Venue_Name = 'Dr DY Patil Sports Academy'; win by a margin of less than 10 refers to Win_Margin < 10; percentage = divide(count(Venue_Id) when Win_Margin < 10, sum(Venue_Id)) as percentage | date of the match refers to Match_Date; highest wager refers to max(Win_Margin) | held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin) | name refers to Player_Name; youngest player refers to max(DOB) | city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E' | SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008 |
In how many games in which the batting team was the Delhi Daredevils were no runs scored? | batting team was the Delhi Daredevils refers to Team_Name = 'Delhi Daredevils' and Team_1 = Team_Id where Team_Batting = 1 or Team_2 = Team_Id where Team_Batting = 2; no runs scored refers to Runs_Scored = 0 | player no.41 won the "man of the match" refers to Man_of_the_Match = 41 | city named "Rajkot" refers to city_name = 'Rajkot'; | SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain' | right-handed batting refers to Batting_hand = 'Right-hand bat'; percentage = divide(count(Player_Id where Batting_hand = 'Right-hand bat'), count(Player_Id)) * 100% | name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1 | Pune Warriors refers to Team_Name = 'Pune Warriors' | in 2008 refers to Match_Date like '2008%' | name of venues refers to Venue_Name; season 2 refers to Season_Id = 2 | MK Pandey refers to Player_Name = 'MK Pandey' | have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast'; |
How many times has Sunrisers Hyderabad been the toss winner of a game? | Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner) | name of the player refers to Player_Name; man of the series more than one time refers to count(Man_of_the_Series) > 1 | SuperSport Park refers to Venue_Name = 'SuperSport Park'; Centurion refers to City_Name = 'Centurion' | got out refers to Player_Out; the first inning refers to Innings_No = 1; match ID "548335" refers to Match_Id = 548335 | bowling skill greater than 2 refers to Bowling_skill > 2 | players' name refers to Player_name; born in 1971 refers to DOB LIKE '1971%' | old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan'; | first teams refers to Team_1; chose to bat after winning the toss refers to Toss_Winner and Toss_Decide = 2 | born in 1977 refers to DOB LIKE '1977%'; a role as a captain refers to Role_Desc = 'Captain'; percentage = divide(count(Role_Id where Role_Desc = 'Captain'), count(Role_Id)) * 100% where DOB LIKE '1977%' | role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992 | born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3 |
List the ball IDs, scores, and innings numbers in the over ID 20 of match ID "335988". | innings numbers refers to Innings_No | in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10; | bowling skill used by most players refers to max(count(Bowling_Skill)) | captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper' | SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc | losing team's name refers to Team_Id NOT in "match_winner" column | date of birth refers to DOB; 2014 refers to Season_Year = 2014; Orange Cap winner refers to Orange_Cap IS NOT NULL | held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin) | were played in March 2010 refers to Match_Date = '2010-03%' | country refers to Country_Name; the majority of the players refers to max(count(Country_Name)) | Sunrisers Hyderabad refers to Team_Name = 'Sunrisers Hyderabad'; time of toss winner refers to count(Toss_Winner) |
What year was R Dravid born and the role he played? | R Dravid refers to Player_Name = 'R Dravid'; year born refers to DOB; role refers to Role_Desc | play by the left hand refers to Batting_hand = 'Left-hand bat' | scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name; | country refers to Country_Name; the oldest refers to min(DOB) | noballs refers to Extra_Name = 'noballs' ; average number = divide(sum(Extra_Runs), count(Extra_Runs)) | old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan'; | SC Ganguly refers to Player_Name = 'SC Ganguly'; in season year 2008 refers to Season_Year = 2008 | from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%'; | names of teams refers to Team_Name; second team refers to Team_2; Pune Warriors refers to Team_Name = 'Pune Warriors' | name of the team refers to Team_Name; won the first ever match refers to Match_Winner where max(Match_Date) | CH Gayle refers to Player_Name = 'CH Gayle' |
Of the matches that were won by runs by team 1, what percentage have team 1 won the toss and decided to field? | won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage | Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012' | man of the match more than 5 times refers to COUNT(Man_of_the_Match) > 5; in season year 2008 refers to Season_Year = 2008; name of player refers to Player_Name; | city refers to City_Name; U.A.E refers to Country_Name = 'U.A.E' | East London refers to City_Name = 'East London' | Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2014 refers to Match_Date contains '2014'; | match date refers to Match_Date; Chennai Super Kings refers to Team_Name = 'Chennai Super Kings'; first match refers to min(Match_Date) | second innings refers to Innings_No = 2; average extra runs = divide(sum(Extra_Runs), count(Innings_No)) when Innings_No = 2 | 4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field') | name refers to Player_Name; youngest player refers to max(DOB) | venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1 |
How many matches were there in May, 2008? | in May 2008 refers to SUBSTR(Match_Date, 1, 4) = '2008' AND SUBSTR(Match_Date, 7, 1) = '5' | won by wickets refers to Win_type = 'wickets'; | old refers to SUBTRACT(2022, SUBSTR(DOB, 1, 4)); Ishan Kishan refers to Player_Name = 'Ishan Kishan'; | the team named "Pune Warriors" refers to Team_Name = 'Pune Warriors'; the total number of won matches = count(Team_Name where Team_Id = Match_Winner) | Pune Warriors refers to Team_Name = 'Pune Warriors' | role refers to Role_Desc; K Goel refers to Player_Name = 'K Goel'; match ID 335992 refers to Match_Id = 335992 | scored less than 3 refers to Runs_Scored < 3; name of player refers to Player_name; | name refers to Player_Name; captain keeper refers to Role_Desc = 'CaptainKeeper'; match no.419117 refers to Match_Id = '419117' | most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219;
player id also refers to non_striker or ball_id | Australia refers to Country_Name = 'Australia' | played as a keeper refers to Role_Desc = 'Keeper'; name of player refers to Player_Name; |
How many players are from Australia? | Australia refers to Country_Name = 'Australia' | fewest number of matches refers to min(count(Match_Id)) | Team 10 refers to Team_1 = 10 OR Team_2 = 10; in 2012 refers to SUBSTR(Match_Date, 1, 4) = '2012' | SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain' | not won by runs refers to Win_Type ! = 'runs' | born in the 90s refers to DOB > = '1990-01-01' AND DOB < = '1999-12-31' | most number of balls refers to max(Ball_Id); match 501219 refers to Match_Id = 501219;
player id also refers to non_striker or ball_id | date of the matches refers to Match_Date; held in Kingsmead refers to Venue_Name = 'Kingsmead' | name of player refers to Player_Name; the youngest refers to max(DOB) | born in 1977 refers to DOB LIKE '1977%'; name refers to Player_Name; birthdate refers to DOB; England refers to Country_Name = 'England' | Delhi Daredevils refers to team_name = 'Delhi Daredevils'; in 2009 refers to Match_Date = '2009%'; won by wickets refers to Win_Type = 'wickets'; percentage refers to DIVIDE(COUNT(Win_Type = 'wickets'), COUNT(Win_Type)) |
Provide the losing team's name in the match ID 336039. | losing team's name refers to Team_Id NOT in "match_winner" column | the country the umpire comes from refers to Country_Name; BR Doctrove refers to Umpire_Name = 'BR Doctrove' | city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult')) | country refers to Country_Name; the oldest refers to min(DOB) |
venue refers to Venue_Name | Royal Challengers Bangalore refers to team_name = 'Royal Challengers Bangalore'; highest winning margin refers to MAX(win_margin) | are Indians refers to Country_Name = 'India' | won by wickets refers to Win_type = 'wickets'; | 4/18/2008 refers to Match_Date = 4/18/2008; end of 17 overs refers to count(Toss_Name = 'field' ) = 17; run rate = divide(sum(Runs_Scored) when Toss_Name = 'bat', sum(Over_Id) when Toss_Name = 'field') | name of the team refers to Team_Name; the highest number of losses refers to max(add(count(Team_1 where Team_Id = Team_1 and Team_1 <> Match_Winner), count(Team_2 where Team_Id = Team_2 and Team_2 <> Match_Winner))) | type of match won refers to Win_Type |
What is the difference in the average number of players out by lbw and runout in the matches? | out by lbw refers to Out_Id = 4; runout refers to Out_Id = 3; average out by lbw refers to avg(Player_Out when Out_Id = 4); average out by runout refers to avg(Player_Out when Out_Id = 3) | CH Gayle refers to Player_Name = 'CH Gayle' | venue refers to Venue_Name; Kolkata Knight Riders refers to Team_Name = 'Kolkata Knight Riders'; most of their matches refers to max(count(Venue_Id)); Team 1 refers to Team_Id = Team_1 | resulted in a tie refers to Win_Type = 'Tie'; in 2015 refers to SUBSTR(Match_Date, 1, 4) = 2015 | 'slow left-arm chinaman' bowling style refers to Bowling_skill = 'Slow left-arm chinaman'; most players refers to max(count(Country_Id)) | in 2009 refers to Match_Date like '2009%'; win margins of less than 10 refers to Win_Margin < 10; | point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name; | season year 2008 refers to Season_Year = 2008 | from South Africa refers to Country_Name = 'South Africa'; born in 1984 refers to DOB like '1984%'; | were played in March 2010 refers to Match_Date = '2010-03%' | SC Ganguly refers to Player_Name = 'SC Ganguly'; role refers to Role_Desc |
Which season has the fewest number of matches? | fewest number of matches refers to min(count(Match_Id)) | the oldest refers to min(DOB); date of birth refers to DOB | Legbreak skill refers to Bowling_skill = 'Legbreak' ; percentage = divide(sum(Player_Id) when Bowling_skill = 'Legbreak', count(Player_Id)) as percentage | Australia refers to Country_Name = 'Australia' | SC Ganguly refers to Player_Name = 'SC Ganguly'; team captain refers to Role_Desc = 'Captain' | season year 2008 refers to Season_Year = 2008 | which country refers to Country_Id; most umpires refers to max(count(Umpire_Id)) | have left arm fast in bowling skill refers to Bowling_skill = 'Left-arm fast'; | Sunrisers Hyderabad team refers to Team_Name = 'Sunrisers Hyderabad'; in 2013 refers to Match_Date like '2013%'; | city refers to City_Name; no-result matches refers to Win_type = 'NoResult'; least number refers to min(count(Win_type = 'NoResult')) | won by runs refers to Win_Type = 'runs'; won the toss and decided to field refers to Toss_Winner and Toss_Name = 'field'; percentage = divide(count(Team_1) when Match_Winner = Team_1 and Toss_Winner = Team_1, count(Team_1)) as percentage |
Among the matches held in St. George's Park, give the match ID of the match with the highest winning margin points. | held in St. George's Park refers to Venue_Name = 'St George''s Park'; highest winning margin points refers to MAX(Win_Margin) | were played in March 2010 refers to Match_Date = '2010-03%' | M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium'; Maharashtra Cricket Association Stadium refers to Venue_Name = 'Maharashtra Cricket Association Stadium'; how many times = divide(count(Match_Id where Venue_Name = 'M Chinnaswamy Stadium'), count(Match_Id where Venue_Name = 'Maharashtra Cricket Association Stadium')) | Pune Warriors refers to Team_Name = 'Pune Warriors' | seasons from 2011 to 2015 refers to 2011 < Season_Year < 2015 | team's name refers to Team_Name; first team refers to Team_Id = Team_1; the highest winning margin refers to max(Win_Margin) | captain-keeper refers to Role_Desc = 'CaptainKeeper'; Rising Pune Supergiants refers to Role_Desc = 'CaptainKeeper' | born before 10/16/1975 refers to DOB < 1975-10-16; bowling skill of less than 3 refers to Bowling_skill < 3 | winning margin of 6 points refers to Win_Margin = 6; held on April 26, 2009 refers to Match_Date = '2009-04-26' | point of winning margin of 38 refers to win_margin = 38; on April 30, 2009 refers to match_date = '2009-04-30'; team refers to Team_Name; | city refers to City_Name; M Chinnaswamy Stadium refers to Venue_Name = 'M Chinnaswamy Stadium' |
Among all the tweets posted on Mondays, how many of them are reshared? | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' | "tw-682712873332805633" is the TweetID; day of the week refers to Weekday | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | retweet more than 30 times refers to RetweetCount > 30 | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | tweet with the most likes refers to Max(Likes) | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) | country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0)) | "tw-682714583044243456" is the TweetID |
Among all the users that have posted a tweet with over 1000 likes, how many of them are male? | over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user | neutral sentiment refers to Sentiment = 0 | male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID)) | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | "Buenos Aires" is the City; male user refers to Gender = 'Male' | "Argentina" is the Country | "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID)) | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | seen by more than 1000 unique users refers to Reach > 1000 | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) |
List down all of the texts posted on Twitter on Thursday. | "Thursday" is the Weekday | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | tweet with the most likes refers to Max(Likes) | retweet more than 30 times refers to RetweetCount > 30 | "Australia" is the Country | "en" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en')) | positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday' | english is the language and refers to Lang = 'en' | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' | "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach |
How many tweets in French were posted from Australia? | "French" is the language and refers to Lang = 'fr'; 'Australia' is the Country | tweet with most number of retweet post refers to Max(RetweetCount) | "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach | tw-685681052912873473' is the TweetID | "Canada" is the Country; city with most number of tweets refers to City where Max(Count(TweetID)) | "Australia" is the Country | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | "Brazil" is the Country; language refers to Lang |
Among all the tweets sent by male users in Argentina, what is the text of the one with the most number of likes? | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country | seen by the most number of unique users refers to Max(Reach) | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | tweet got 535 retweets refers to RetweetCount = 535 | "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID)) | positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday' | positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0)) | tweet with the most likes refers to Max(Likes) |
Please list the texts of all the tweets in French posted by male users. | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | "Australia" is the Country | "Canada" is the Country; city with most number of tweets refers to City where Max(Count(TweetID)) | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | tw-685681052912873473' is the TweetID | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | tweet with most number of retweet post refers to Max(RetweetCount) | "en" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en')) | seen by the most number of unique users refers to Max(Reach) | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) | "California" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100 |
Please list all the cities from where tweets with neutral sentiments were posted. | neutral sentiment refers to Sentiment = 0 | "Buenos Aires" is the City; male user refers to Gender = 'Male' | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) | male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID)) | "French" is the language and refers to Lang = 'fr'; 'Australia' is the Country | unknown gender user refers to Gender = 'Unknown' | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country | "Argentina" and "Australia" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID)) | "Australia" is the Country | "Canada" is the Country; city with most number of tweets refers to City where Max(Count(TweetID)) |
Which state was the tweet `tw-685681052912873473` from? Give the state code. | tw-685681052912873473' is the TweetID | tweet got 535 retweets refers to RetweetCount = 535 | country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0)) | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | tweet with most number of retweet post refers to Max(RetweetCount) | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | "en" is the language and refers to Lang = 'en' |
What is the gender of the user whose tweet got 535 retweets? | tweet got 535 retweets refers to RetweetCount = 535 | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | "Australia" is the Country | "Brazil" is the Country; language refers to Lang | tw-685681052912873473' is the TweetID | english is the language and refers to Lang = 'en' | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | "French" is the language and refers to Lang = 'fr'; 'Australia' is the Country | tweet with most number of retweet post refers to Max(RetweetCount) | positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday' |
How many tweets are seen by more than 1000 unique users? | seen by more than 1000 unique users refers to Reach > 1000 | male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID)) | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | tw-685681052912873473' is the TweetID | over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | "Thursday" is the Weekday | "Argentina" and "Australia" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID)) | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | got the most like refers to Max(Likes) |
Users in which country has posted more numbers of positive tweets, Argentina or Australia? | "Argentina" and "Australia" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID)) | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID)) | "Argentina" is the Country | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | "en" is the language and refers to Lang = 'en' | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | retweet more than 30 times refers to RetweetCount > 30 | "tw-682712873332805633" is the TweetID; day of the week refers to Weekday |
What is the percentage of the tweets from California are positive? | "California" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100 | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | "Australia" is the Country | reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City | got the most like refers to Max(Likes) | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | tweet with most number of retweet post refers to Max(RetweetCount) | retweet more than 30 times refers to RetweetCount > 30 | "tw-715909161071091712" is the TweetID | seen by more than 1000 unique users refers to Reach > 1000 | tw-685681052912873473' is the TweetID |
Users in which city of Argentina post the most tweets? | "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID)) | tweet with most number of retweet post refers to Max(RetweetCount) | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | "tw-682714583044243456" is the TweetID | "Canada" is the Country; city with most number of tweets refers to City where Max(Count(TweetID)) | positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0)) | male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID)) | "en" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en')) |
Count the total number of tweet IDs in `en`. | "en" is the language and refers to Lang = 'en' | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | "Sante Fe" is the State; "Argentina" is the Country; posted on 31st refers to Day = 31 | seen by more than 1000 unique users refers to Reach > 1000 | "en" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en')) | positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0)) | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' | tweet got 535 retweets refers to RetweetCount = 535 | "Canada" is the Country; city with most number of tweets refers to City where Max(Count(TweetID)) |
List down the text of tweets posted by unknown gender users. | unknown gender user refers to Gender = 'Unknown' | neutral sentiment refers to Sentiment = 0 | "Thursday" is the Weekday | retweet more than 30 times refers to RetweetCount > 30 | "en" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en')) | "Argentina" and "Australia" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID)) | tweet with the most likes refers to Max(Likes) | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach | tw-685681052912873473' is the TweetID |
How many reshared tweets are there in Texas? | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | seen by the most number of unique users refers to Max(Reach) | "en" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en')) | seen by more than 1000 unique users refers to Reach > 1000 | tweet with the most likes refers to Max(Likes) | tw-685681052912873473' is the TweetID | "Thursday" is the Weekday | over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user | neutral sentiment refers to Sentiment = 0 | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) |
What is the gender of the user who has posted the tweet that is seen by the most number of unique users? | seen by the most number of unique users refers to Max(Reach) | reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City | tw-685681052912873473' is the TweetID | male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID)) | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | retweet more than 30 times refers to RetweetCount > 30 | "Brazil" is the Country; language refers to Lang | "Argentina" and "Australia" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID)) | "Thursday" is the Weekday | over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user | seen by more than 1000 unique users refers to Reach > 1000 |
What is the text of the tweet that got the most `likes`? | got the most like refers to Max(Likes) | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | neutral sentiment refers to Sentiment = 0 | "Thursday" is the Weekday | "Argentina" is the Country | unknown gender user refers to Gender = 'Unknown' | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) | "en" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en')) | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID)) | tweet with most number of retweet post refers to Max(RetweetCount) |
Please list the top 3 cities with the most number of tweets posted in Canada. | "Canada" is the Country; city with most number of tweets refers to City where Max(Count(TweetID)) | "California" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100 | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach | unknown gender user refers to Gender = 'Unknown' | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country | got the most like refers to Max(Likes) | "Thursday" is the Weekday | "tw-715909161071091712" is the TweetID | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' |
What gender of users posted the most tweets in `en`? | "en" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en')) | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0)) | positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0)) | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | seen by more than 1000 unique users refers to Reach > 1000 | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | "tw-682712873332805633" is the TweetID; day of the week refers to Weekday | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) |
Calculate the average number of male users who posted tweets in a week. | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) | seen by more than 1000 unique users refers to Reach > 1000 | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City | got the most like refers to Max(Likes) | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | "Argentina" is the Country | country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0)) | "tw-682712873332805633" is the TweetID; day of the week refers to Weekday | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' |
How many tweets are in English? | english is the language and refers to Lang = 'en' | seen by the most number of unique users refers to Max(Reach) | positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0)) | "tw-682712873332805633" is the TweetID; day of the week refers to Weekday | "en" is the language and refers to Lang = 'en' | neutral sentiment refers to Sentiment = 0 | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | seen by more than 1000 unique users refers to Reach > 1000 | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' |
What gender of users retweet more than 30 times? | retweet more than 30 times refers to RetweetCount > 30 | seen by the most number of unique users refers to Max(Reach) | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | tweet with most number of retweet post refers to Max(RetweetCount) | country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0)) | "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID)) | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | "tw-682712873332805633" is the TweetID; day of the week refers to Weekday | got the most like refers to Max(Likes) |
List down all the tweet text posted from Australia. | "Australia" is the Country | "tw-682712873332805633" is the TweetID; day of the week refers to Weekday | got the most like refers to Max(Likes) | positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday' | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' | country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0)) | "California" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100 | tweet with most number of retweet post refers to Max(RetweetCount) | "Buenos Aires" is the City; male user refers to Gender = 'Male' | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) |
Tweets posted from which city has a higher number of average likes, Bangkok or Chiang Mai? | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | "en" is the language and refers to Lang = 'en' | neutral sentiment refers to Sentiment = 0 | unknown gender user refers to Gender = 'Unknown' | "tw-682714583044243456" is the TweetID | "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) | retweet more than 30 times refers to RetweetCount > 30 | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | tweet got 535 retweets refers to RetweetCount = 535 | got the most like refers to Max(Likes) |
State the country where the most positive sentiment tweets were posted. | country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0)) | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | tweet got 535 retweets refers to RetweetCount = 535 | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | tweet with most number of retweet post refers to Max(RetweetCount) | positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday' | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | retweet more than 30 times refers to RetweetCount > 30 | "Australia" is the Country | "Thursday" is the Weekday | "French" is the language and refers to Lang = 'fr'; 'Australia' is the Country |
What is the average number of likes for a tweet posted by a male user on Mondays? | male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID)) | "en" is the language and refers to Lang = 'en' | got the most like refers to Max(Likes) | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | "Buenos Aires" is the City; male user refers to Gender = 'Male' | tweet with most number of retweet post refers to Max(RetweetCount) | unknown gender user refers to Gender = 'Unknown' | positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0)) | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | seen by the most number of unique users refers to Max(Reach) | "tw-682714583044243456" is the TweetID |
How many unique users have seen tweet with text `Happy New Year to all those AWS instances of ours!`? | "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach | tw-685681052912873473' is the TweetID | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | seen by more than 1000 unique users refers to Reach > 1000 | retweet more than 30 times refers to RetweetCount > 30 | "French" is the language and refers to Lang = 'fr'; 'Australia' is the Country | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) | unknown gender user refers to Gender = 'Unknown' | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | "Canada" is the Country; city with most number of tweets refers to City where Max(Count(TweetID)) | male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID)) |
Among all the tweets with a positive sentiment, what is the percentage of those posted by a male user? | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | tweet with the most likes refers to Max(Likes) | neutral sentiment refers to Sentiment = 0 | "en" is the language and refers to Lang = 'en' | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | english is the language and refers to Lang = 'en' | "Australia" is the Country | seen by more than 1000 unique users refers to Reach > 1000 | got the most like refers to Max(Likes) | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | "Argentina" is the Country |
Tweets that were posted from Brazil are in what languague? | "Brazil" is the Country; language refers to Lang | tweet with most number of retweet post refers to Max(RetweetCount) | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | "Buenos Aires" is the City; male user refers to Gender = 'Male' | "en" is the language and refers to Lang = 'en' | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | seen by the most number of unique users refers to Max(Reach) | "tw-682712873332805633" is the TweetID; day of the week refers to Weekday | tweet with the most likes refers to Max(Likes) | "tw-682714583044243456" is the TweetID | got the most like refers to Max(Likes) |
Please list all the cities in Argentina. | "Argentina" is the Country | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | english is the language and refers to Lang = 'en' | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | "en" is the language and refers to Lang = 'en' | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday' | positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0)) | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' | neutral sentiment refers to Sentiment = 0 |
What is the gender of the user who posted a tweet with ID tw-682714583044243456? | "tw-682714583044243456" is the TweetID | unknown gender user refers to Gender = 'Unknown' | seen by the most number of unique users refers to Max(Reach) | "Argentina" is the Country | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | neutral sentiment refers to Sentiment = 0 | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) | "California" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100 | male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID)) | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) |
From which country is the tweet with the most likes posted? | tweet with the most likes refers to Max(Likes) | positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0)) | tw-685681052912873473' is the TweetID | country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0)) | "California" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100 | tweet with most number of retweet post refers to Max(RetweetCount) | got the most like refers to Max(Likes) | "Argentina" is the Country | "Brazil" is the Country; language refers to Lang | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | seen by more than 1000 unique users refers to Reach > 1000 |
What is the gender of the user who tweeted `tw-715909161071091712`? | "tw-715909161071091712" is the TweetID | "Thursday" is the Weekday | "Australia" is the Country | english is the language and refers to Lang = 'en' | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) | "tw-682714583044243456" is the TweetID | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) | "California" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100 | "Argentina" and "Australia" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID)) |
From which city was the tweet with the most number of retweets posted? | tweet with most number of retweet post refers to Max(RetweetCount) | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | got the most like refers to Max(Likes) | "Canada" is the Country; city with most number of tweets refers to City where Max(Count(TweetID)) | "Argentina" and "Australia" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID)) | positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday' | retweet more than 30 times refers to RetweetCount > 30 | "Thursday" is the Weekday | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | "Sante Fe" is the State; "Argentina" is the Country; posted on 31st refers to Day = 31 | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country |
How many female users reshared their tweets? | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach | tw-685681052912873473' is the TweetID | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | "en" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en')) | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | "California" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100 | country with the most positive sentiment tweet refers to Country where Max(Count(Sentiment > 0)) | retweet more than 30 times refers to RetweetCount > 30 | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country |
Among all the tweets that are reshared, how many of them are posted by a user in Buenos Aires? | reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City | got the most like refers to Max(Likes) | positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0)) | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | "Buenos Aires" is the City; male user refers to Gender = 'Male' | unknown gender user refers to Gender = 'Unknown' | "Canada" is the Country; city with most number of tweets refers to City where Max(Count(TweetID)) | tweet got 535 retweets refers to RetweetCount = 535 | "French" is the language and refers to Lang = 'fr'; 'Australia' is the Country | "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID)) | tw-685681052912873473' is the TweetID |
What is the day of the week that tweet with ID tw-682712873332805633 was posted? | "tw-682712873332805633" is the TweetID; day of the week refers to Weekday | positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday' | "tw-715909161071091712" is the TweetID | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | unknown gender user refers to Gender = 'Unknown' | "Canada" is the Country; city with most number of tweets refers to City where Max(Count(TweetID)) | "Argentina" is the Country | "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) | tweet got 535 retweets refers to RetweetCount = 535 |
Write down the tweet text posted from Rawang, Selangor, Malaysia. | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | "Bangkok" and "Chiang Mai" are both City; average number of like = Divide (Sum(Likes), Count(TweetID)) | "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID)) | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday' | tw-685681052912873473' is the TweetID | "Canada" is the Country; city with most number of tweets refers to City where Max(Count(TweetID)) | "Australia" is the Country | reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City | english is the language and refers to Lang = 'en' |
How many more tweets with a positive sentiment than the tweets with a neutral sentiment were posted by male users? | positive sentiment tweet refers to Sentiment > 0; neutral sentiment refers to Sentiment = 0; male user refers to Gender = 'Male'; difference = Subtract (Count (TweetID where Sentiment > 0), Count (TweetID where Sentiment = 0)) | seen by more than 1000 unique users refers to Reach > 1000 | "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach | male user refers to Gender = 'Male'; 'Monday' is the Weekday; average number of likes = Divide (Sum(Likes), Count(TweetID)) | "Argentina" and "Australia" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID)) | "Argentina" is the Country | "French" is the language and refers to Lang = 'fr'; male user refers to Gender = 'Male' | retweet more than 30 times refers to RetweetCount > 30 | "Brazil" is the Country; language refers to Lang | "en" is the language and refers to Lang = 'en' | got the most like refers to Max(Likes) |
Among all the tweets that have a positive sentiment, how many of them are posted on Thursday? | positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday' | retweet more than 30 times refers to RetweetCount > 30 | "Argentina" and "Australia" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID)) | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country | "en" is the language and refers to Lang = 'en' | neutral sentiment refers to Sentiment = 0 | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' | "Argentina" is the Country | seen by more than 1000 unique users refers to Reach > 1000 | "French" is the language and refers to Lang = 'fr'; 'Australia' is the Country |
Among all the tweets with a positive sentiment, how many of them were posted by male users in Australia? | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country | "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID)) | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | "tw-682712873332805633" is the TweetID; day of the week refers to Weekday | "Argentina" is the Country | positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday' | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | tweet with the most likes refers to Max(Likes) | got the most like refers to Max(Likes) | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' | tw-685681052912873473' is the TweetID |
Among the tweets posted from Santa Fe state in Argentina, how many of them were posted on 31st? | "Sante Fe" is the State; "Argentina" is the Country; posted on 31st refers to Day = 31 | english is the language and refers to Lang = 'en' | positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; percentage = Divide (Count(TweetID where Gender = 'Male'), Count (TweetID)) * 100 | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) | "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | got the most like refers to Max(Likes) | male user refers to Gender = 'Male'; 'Argentina' is the Country; most number of likes refers to Max(Likes) | over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user | "Argentina" and "Australia" are both Country; positive tweets refers to Sentiment > 0; Country posted more number of tweets refers to Country where Max(Count(TweetID)) | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State |
Please list the texts of all the tweets posted by male users from Buenos Aires. | "Buenos Aires" is the City; male user refers to Gender = 'Male' | got the most like refers to Max(Likes) | "en" is the language and refers to Lang = 'en' | "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID)) | english is the language and refers to Lang = 'en' | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | tweet with most number of retweet post refers to Max(RetweetCount) | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | "Monday" is the Weekday; reshare refers to IsReshare = 'TRUE' |
State the number of tweets from Michigan on Thursdays. | "Michigan" is the State; 'Thursday' is the Weekday; number of tweets refers to Count(TweetID) | tweet with positive sentiment refers to Sentiment > 0; male user refers to Gender = 'Male'; 'Australia' is the Country | reshared tweet refers to IsReshare = 'TRUE'; 'Texas' is the State | "Brazil" is the Country; language refers to Lang | "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach | "California" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100 | female users refers to Gender = 'Female'; reshare refers to IsReshare = 'TRUE' | tweet with the most likes refers to Max(Likes) | "tw-682714583044243456" is the TweetID | tweet with most number of retweet post refers to Max(RetweetCount) | reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City |
What is the average number of tweets posted by the users in a city in Argentina? | "Argentina" is the Country; average number of tweets in a city = Divide (Count(TweetID where Country = 'Argentina'), Count (City)) | unknown gender user refers to Gender = 'Unknown' | over 1000 likes refers to Likes > 1000; 'Male' is the Gender of user | male user refers to Gender = 'Male'; average tweet in a week per user refers to Divide ( Divide(Count(TweetID), Count (UserID)), Divide(31, 7)) | tweet got 535 retweets refers to RetweetCount = 535 | "en" is the language and refers to Lang = 'en' | "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID)) | "Rawang" is the City; "Selangor" is the State; "Malaysia" is the Country | "tw-682712873332805633" is the TweetID; day of the week refers to Weekday | got the most like refers to Max(Likes) | "French" is the language and refers to Lang = 'fr'; 'Australia' is the Country |
List the educationnum and response of customers within the age of 20 to 30 that has the highest number of inhabitants among the group. | age of 20 to 30 refers to age BETWEEN 20 AND 30; the highest number of inhabitants refers to MAX(INHABITANTS_K); | yearly income of geographic ID refers to GEOID where MULTIPLY(INHABITANTS_K, INCOME_K, 12); SEX = 'Female'; | over 30 refers to age > 30; OCCUPATION = 'Machine-op-inspct'; | OCCUPATION = 'Machine-op-inspct'; number of inhabitants refers to INHABITANTS_K; | average income per inhabitant above 3000 refers to INCOME_K > 3000; eighties refer to age BETWEEN 80 AND 89; DIVIDE(COUNT(INCOME_K > 3000 and age BETWEEN 80 AND 89), COUNT(INCOME_K > 3000 )) as percentage; | geographic identifier from 20 to 50 refers to GEOID BETWEEN 20 AND 50; number of inhabitants below 20 refers to INHABITANTS_K < 20; | female customers within the number of inhabitants range of 20 to 25 refer to SEX = 'Female' where INHABITANTS_K BETWEEN 20 AND 25; | widowed customers with an age below 50 refer to MARITAL_STATUS = 'Widowed' where age < 50; | RESPONSE = 'true'; teenagers are people aged between 13 and 19 years; | GEOID = 134; | widowed male customers ages from 40 to 60 refer to SEX = 'Male' where age BETWEEN 40 AND 60 and MARITAL_STATUS = 'Widowed'; income ranges from 3000 and above refers to INCOME_K BETWEEN 2000 AND 3000; |
What is the total number of customers with an age below 30? | age below 30 refers to age < 30; | widowed male customers ages from 40 to 60 refer to SEX = 'Male' where age BETWEEN 40 AND 60 and MARITAL_STATUS = 'Widowed'; income ranges from 3000 and above refers to INCOME_K BETWEEN 2000 AND 3000; | widowed customers with an age below 50 refer to MARITAL_STATUS = 'Widowed' where age < 50; | age of 20 to 30 refers to age BETWEEN 20 AND 30; the highest number of inhabitants refers to MAX(INHABITANTS_K); | elderly customers refer to age > 65; DIVIDE(COUNT(ID where age > 65, MARITAL_STATUS = 'never married' and GEOID = 24), COUNT(ID where GEOID = 24)) as percentage; | female customers within the number of inhabitants below 30 refer to SEX = 'Female' where INHABITANTS_K < 30; | geographic identifier with an income that ranges from 2100 to 2500 refers to GEOID where INCOME_K BETWEEN 2100 AND 2500; | average income per inhabitant above 3000 refers to INCOME_K > 3000; eighties refer to age BETWEEN 80 AND 89; DIVIDE(COUNT(INCOME_K > 3000 and age BETWEEN 80 AND 89), COUNT(INCOME_K > 3000 )) as percentage; | widowed female customers refer to SEX = 'Female' where MARITAL_STATUS = 'Widowed'; level of education of 5 and below refers to EDUCATIONNUM ≤ 5; | number of inhabitants refers to INHABITANTS_K; oldest female customer refers to SEX = 'Female' where MAX(age); | MARITAL_STATUS = 'Never-married'; |
List the income and number of inhabitants of customers with an age greater than the 80% of average age of all customers? | age greater than the 80% of average age refers to age > (AVG(age) * 0.8); income refers to INCOME_K; number of inhabitants refers to INHABITANTS_K; | RESPONSE = 'true'; teenagers are people aged between 13 and 19 years; | MARITAL_STATUS = 'Never-married'; | OCCUPATION = 'Machine-op-inspct'; number of inhabitants refers to INHABITANTS_K; | age below 30 refers to age < 30; | reference ID refers to REFID; | female customers within the number of inhabitants below 30 refer to SEX = 'Female' where INHABITANTS_K < 30; | number of inhabitants refers to INHABITANTS_K; older than 50 years old refers to age < 50; MARITAL_STATUS = 'Divorced; | elderly customers refer to age > 65; DIVIDE(COUNT(ID where age > 65, MARITAL_STATUS = 'never married' and GEOID = 24), COUNT(ID where GEOID = 24)) as percentage; | SEX = 'Male'; | elderly customers with an education level below 3 refer to age > 65 where EDUCATIONNUM < 3; geographic ID refers to GEOID; |
Among the widowed female customers, give the income of those who has an level of education of 5 and below. | widowed female customers refer to SEX = 'Female' where MARITAL_STATUS = 'Widowed'; level of education of 5 and below refers to EDUCATIONNUM ≤ 5; | ages from 30 to 55 refer to age BETWEEN 30 AND 55; RESPONSE = 'true'; income refers to INCOME_K; education level refers to EDUCATIONNUM; | RESPONSE = 'true'; SEX = 'Male'; MARITAL_STATUS = 'Divorced'; | age greater than the 80% of average age refers to age > (AVG(age) * 0.8); income refers to INCOME_K; number of inhabitants refers to INHABITANTS_K; | OCCUPATION = 'Machine-op-inspct'; number of inhabitants refers to INHABITANTS_K; | average income per inhabitant above 3000 refers to INCOME_K > 3000; eighties refer to age BETWEEN 80 AND 89; DIVIDE(COUNT(INCOME_K > 3000 and age BETWEEN 80 AND 89), COUNT(INCOME_K > 3000 )) as percentage; | place with the highest average income per month refers to GEOID where MAX(INCOME_K); | female customers within the number of inhabitants below 30 refer to SEX = 'Female' where INHABITANTS_K < 30; | the oldest customer refers to MAX(age); geographic identifier refers to GEOID; income refers to INCOME_K; | RESPONSE = 'true'; AVG(age); | male customers ages from 30 to 50 refer to SEX = 'Male' where age BETWEEN 30 AND 50; income ranges from 2000 to 2300 refers to INCOME_K BETWEEN 2000 AND 3000; |
How many of the customers are male? | SEX = 'Male'; | place with more than 20,000 and less than 30,000 inhabitants refers to GEOID where INHABITANTS_K BETWEEN 20 AND 30; OCCUPATION = 'Machine-op-inspct'; | the average income per month refers to INCOME_K; yearly income of geographic ID refers to GEOID where MULTIPLY(INHABITANTS_K, INCOME_K, 12); | age below 30 refers to age < 30; | female customers ages from 30 to 55 years old refer to SEX = 'Female' where age BETWEEN 30 AND 55; income refers to INCOME_K; | RESPONSE = 'true'; AVG(age); | geographic identifier from 20 to 50 refers to GEOID BETWEEN 20 AND 50; number of inhabitants below 20 refers to INHABITANTS_K < 20; | elderly customers with an education level below 3 refer to age > 65 where EDUCATIONNUM < 3; geographic ID refers to GEOID; | widowed male customers ages from 40 to 60 refer to SEX = 'Male' where age BETWEEN 40 AND 60 and MARITAL_STATUS = 'Widowed'; income ranges from 3000 and above refers to INCOME_K BETWEEN 2000 AND 3000; | female customers with level of education of 3 and below refer to SEX = 'Female' where EDUCATIONNUM ≤ 3; income refers to INCOME_K; | age greater than the 80% of average age refers to age > (AVG(age) * 0.8); income refers to INCOME_K; number of inhabitants refers to INHABITANTS_K; |
In widowed male customers ages from 40 to 60, how many of them has an income ranges from 3000 and above? | widowed male customers ages from 40 to 60 refer to SEX = 'Male' where age BETWEEN 40 AND 60 and MARITAL_STATUS = 'Widowed'; income ranges from 3000 and above refers to INCOME_K BETWEEN 2000 AND 3000; | number of inhabitants refers to INHABITANTS_K; older than 50 years old refers to age < 50; MARITAL_STATUS = 'Divorced; | education level of 11 refers to EDUCATIONNUM = 11; SEX = 'Female'; | female customers within the number of inhabitants below 30 refer to SEX = 'Female' where INHABITANTS_K < 30; | OCCUPATION = 'Machine-op-inspct'; number of inhabitants refers to INHABITANTS_K; | ages from 30 to 55 refer to age BETWEEN 30 AND 55; RESPONSE = 'true'; income refers to INCOME_K; education level refers to EDUCATIONNUM; | geographic identifier refers to GEOID; OCCUPATION = 'Handlers-cleaners'; | reference ID of under 10 refers to REFID < 10; got response refers to RESPONSE = 'true'; education status refers to EDUCATIONNUM; | DIVIDE(COUNT(INCOME_K ≥ 2500 where MARITAL_STATUS = 'Never-married'), COUNT(INCOME_K where MARITAL_STATUS = 'Never-married')) as percentage; | place with the highest average income per month refers to GEOID where MAX(INCOME_K); | male customers with an level of education of 4 to 6 refer to SEX = 'Male' where EDUCATIONNUM BETWEEN 4 AND 6; income refers to INCOME_K; |
List down the geographic identifier with an income that ranges from 2100 to 2500. | geographic identifier with an income that ranges from 2100 to 2500 refers to GEOID where INCOME_K BETWEEN 2100 AND 2500; | MARITAL_STATUS = 'Never-married'; | widowed customers with an age below 50 refer to MARITAL_STATUS = 'Widowed' where age < 50; | male customers with an level of education of 4 and below refer to SEX = 'Male' where EDUCATIONNUM < 4; | widowed female customers refer to SEX = 'Female' where MARITAL_STATUS = 'Widowed'; level of education of 5 and below refers to EDUCATIONNUM ≤ 5; | male customers with an level of education of 4 to 6 refer to SEX = 'Male' where EDUCATIONNUM BETWEEN 4 AND 6; income refers to INCOME_K; | female customers ages from 30 to 55 years old refer to SEX = 'Female' where age BETWEEN 30 AND 55; income refers to INCOME_K; | the most customers are from refers to GEOID where MAX(COUNT(ID)); number of inhabitants refers to INHABITANTS_K; | age greater than the 80% of average age refers to age > (AVG(age) * 0.8); income refers to INCOME_K; number of inhabitants refers to INHABITANTS_K; | elderly customers refer to age > 65; DIVIDE(COUNT(ID where age > 65, MARITAL_STATUS = 'never married' and GEOID = 24), COUNT(ID where GEOID = 24)) as percentage; | male customers ages from 30 to 50 refer to SEX = 'Male' where age BETWEEN 30 AND 50; income ranges from 2000 to 2300 refers to INCOME_K BETWEEN 2000 AND 3000; |
Find out the yearly income of geographic ID when the customer is female and occupation as sales. | yearly income of geographic ID refers to GEOID where MULTIPLY(INHABITANTS_K, INCOME_K, 12); SEX = 'Female'; | the most customers are from refers to GEOID where MAX(COUNT(ID)); number of inhabitants refers to INHABITANTS_K; | male customers with an level of education of 4 to 6 refer to SEX = 'Male' where EDUCATIONNUM BETWEEN 4 AND 6; income refers to INCOME_K; | number of inhabitants refers to INHABITANTS_K; oldest female customer refers to SEX = 'Female' where MAX(age); | female customers with level of education of 3 and below refer to SEX = 'Female' where EDUCATIONNUM ≤ 3; income refers to INCOME_K; | DIVIDE(COUNT(INCOME_K ≥ 2500 where MARITAL_STATUS = 'Never-married'), COUNT(INCOME_K where MARITAL_STATUS = 'Never-married')) as percentage; | female customers within the number of inhabitants below 30 refer to SEX = 'Female' where INHABITANTS_K < 30; | female customers ages from 50 to 60 refer to SEX = 'Female' where age BETWEEN 50 AND 60; number of inhabitants ranges from 19 to 24 refers to INHABITANTS_K BETWEEN 19 AND 24; | widowed female customers refer to SEX = 'Female' where MARITAL_STATUS = 'Widowed'; level of education of 5 and below refers to EDUCATIONNUM ≤ 5; | age greater than the 80% of average age refers to age > (AVG(age) * 0.8); income refers to INCOME_K; number of inhabitants refers to INHABITANTS_K; | geographic identifier with an income that ranges from 2100 to 2500 refers to GEOID where INCOME_K BETWEEN 2100 AND 2500; |
What is the response and number of inhabitants of the oldest female customer? | number of inhabitants refers to INHABITANTS_K; oldest female customer refers to SEX = 'Female' where MAX(age); | over 30 refers to age > 30; OCCUPATION = 'Machine-op-inspct'; | place with more than 20,000 and less than 30,000 inhabitants refers to GEOID where INHABITANTS_K BETWEEN 20 AND 30; OCCUPATION = 'Machine-op-inspct'; | male customers with an level of education of 4 to 6 refer to SEX = 'Male' where EDUCATIONNUM BETWEEN 4 AND 6; income refers to INCOME_K; | place with the highest average income per month refers to GEOID where MAX(INCOME_K); | reference ID refers to REFID; | age of 20 to 30 refers to age BETWEEN 20 AND 30; the highest number of inhabitants refers to MAX(INHABITANTS_K); | age greater than the 80% of average age refers to age > (AVG(age) * 0.8); income refers to INCOME_K; number of inhabitants refers to INHABITANTS_K; | RESPONSE = 'true'; place with more than 30,000 inhabitants refers to GEOID where INHABITANTS_K > 30; | geographic identifier refers to GEOID; OCCUPATION = 'Handlers-cleaners'; | SEX = 'Male'; |
Find and list the id and geographic ID of the elderly customers with an education level below 3. | elderly customers with an education level below 3 refer to age > 65 where EDUCATIONNUM < 3; geographic ID refers to GEOID; | age below 30 refers to age < 30; | GEOID = 134; | RESPONSE = 'true'; teenagers are people aged between 13 and 19 years; | education level of 11 refers to EDUCATIONNUM = 11; SEX = 'Female'; | geographic identifier with an income that ranges from 2100 to 2500 refers to GEOID where INCOME_K BETWEEN 2100 AND 2500; | RESPONSE = 'true'; AVG(age); | male customers ages from 30 to 50 refer to SEX = 'Male' where age BETWEEN 30 AND 50; income ranges from 2000 to 2300 refers to INCOME_K BETWEEN 2000 AND 3000; | female customers ages from 30 to 55 years old refer to SEX = 'Female' where age BETWEEN 30 AND 55; income refers to INCOME_K; | customer ages 62 with an level of education of 7 refer age = 62 where EDUCATIONNUM = 7; | number of inhabitants refers to INHABITANTS_K; oldest female customer refers to SEX = 'Female' where MAX(age); |
Of the first 60,000 customers who sent a true response to the incentive mailing sent by the marketing department, how many of them are divorced males? | RESPONSE = 'true'; SEX = 'Male'; MARITAL_STATUS = 'Divorced'; | number of inhabitants refers to INHABITANTS_K; oldest female customer refers to SEX = 'Female' where MAX(age); | RESPONSE = 'true'; AVG(age); | OCCUPATION = 'Machine-op-inspct'; number of inhabitants refers to INHABITANTS_K; | RESPONSE = 'true'; teenagers are people aged between 13 and 19 years; | male customers ages from 30 to 50 refer to SEX = 'Male' where age BETWEEN 30 AND 50; income ranges from 2000 to 2300 refers to INCOME_K BETWEEN 2000 AND 3000; | RESPONSE = 'true'; | customer ages 62 with an level of education of 7 refer age = 62 where EDUCATIONNUM = 7; | female customers with level of education of 3 and below refer to SEX = 'Female' where EDUCATIONNUM ≤ 3; income refers to INCOME_K; | elderly customers with an education level below 3 refer to age > 65 where EDUCATIONNUM < 3; geographic ID refers to GEOID; | male customers with an level of education of 4 and below refer to SEX = 'Male' where EDUCATIONNUM < 4; |
Of the first 60,000 customers' responses to the incentive mailing sent by the marketing department, how many of them are considered a true response? | RESPONSE = 'true'; | average income per inhabitant above 3000 refers to INCOME_K > 3000; eighties refer to age BETWEEN 80 AND 89; DIVIDE(COUNT(INCOME_K > 3000 and age BETWEEN 80 AND 89), COUNT(INCOME_K > 3000 )) as percentage; | RESPONSE = 'true'; teenagers are people aged between 13 and 19 years; | geographic identifier with an income that ranges from 2100 to 2500 refers to GEOID where INCOME_K BETWEEN 2100 AND 2500; | age greater than the 80% of average age refers to age > (AVG(age) * 0.8); income refers to INCOME_K; number of inhabitants refers to INHABITANTS_K; | the average income per month refers to INCOME_K; yearly income of geographic ID refers to GEOID where MULTIPLY(INHABITANTS_K, INCOME_K, 12); | male customers ages from 30 to 50 refer to SEX = 'Male' where age BETWEEN 30 AND 50; income ranges from 2000 to 2300 refers to INCOME_K BETWEEN 2000 AND 3000; | RESPONSE = 'true'; place with more than 30,000 inhabitants refers to GEOID where INHABITANTS_K > 30; | DIVIDE(COUNT(INCOME_K ≥ 2500 where MARITAL_STATUS = 'Never-married'), COUNT(INCOME_K where MARITAL_STATUS = 'Never-married')) as percentage; | place with more than 20,000 and less than 30,000 inhabitants refers to GEOID where INHABITANTS_K BETWEEN 20 AND 30; OCCUPATION = 'Machine-op-inspct'; | SEX = 'Male'; |
List the occupation and income of male customers with an level of education of 4 to 6. | male customers with an level of education of 4 to 6 refer to SEX = 'Male' where EDUCATIONNUM BETWEEN 4 AND 6; income refers to INCOME_K; | MARITAL_STATUS = 'Never-married'; | male customers with an level of education of 4 and below refer to SEX = 'Male' where EDUCATIONNUM < 4; | RESPONSE = 'true'; place with more than 30,000 inhabitants refers to GEOID where INHABITANTS_K > 30; | SEX = 'Male'; | geographic identifier from 20 to 50 refers to GEOID BETWEEN 20 AND 50; number of inhabitants below 20 refers to INHABITANTS_K < 20; | number of inhabitants refers to INHABITANTS_K; oldest female customer refers to SEX = 'Female' where MAX(age); | age of 20 to 30 refers to age BETWEEN 20 AND 30; the highest number of inhabitants refers to MAX(INHABITANTS_K); | OCCUPATION = 'Other-service'; inhabitants are more than 20000 refer to INHABITANTS_K > 20; | age greater than the 80% of average age refers to age > (AVG(age) * 0.8); income refers to INCOME_K; number of inhabitants refers to INHABITANTS_K; | the most customers are from refers to GEOID where MAX(COUNT(ID)); number of inhabitants refers to INHABITANTS_K; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.