set
dict |
---|
{
"query": "Please list the awards the coaches who are born in Canada have won.",
"pos": [
"born in Canada refers to birthCountry = 'Canada'"
],
"neg": [
"team ID refers to tmID; 'defeats' and 'loses' are synonyms; most October defeats refers to max(OctL)",
"total number of the games refers to GP",
"Not from USA refers to birthCountry! = 'USA'; born in 1990 refers to birthYear = 1990\n",
"highest percentage of game winning refers to MAX(DIVIDE(w,g)*100)",
"co-coached refers to notes = 'co-coach'; birth place refers to 'birthCountry-birthState-birthCity'",
"show me how many minutes refers to Min",
"the first one refers to MIN(year);",
"played in the league but not coached means playerID is not NULL and coachID is NULL;",
"penalty refers to BenchMinor; Ties refer to T",
"after retired and became a coach refers to max(subtract(year, lastNHL))"
]
} |
{
"query": "For the goalie whose last name is \"Young\", how many teams did he play in?",
"pos": [
"goalie is a players; teams refer to tmID;"
],
"neg": [
"country refers to birthCountry",
"good at both left hands and right hands for goalie refers to shootCatch IS NULL",
"Not from USA refers to birthCountry! = 'USA'; born in 1990 refers to birthYear = 1990\n",
"team refers name; most wins = MAX(W);",
"most seasons played refers to MAX(COUNT(playerID)); average time he played for each season refers to DIVIDE(SUM(T2.Min),COUNT(T2.playerID))",
"5 heaviest players refer to MAX(weight) limit to 5 playerID;",
"left winger refers to pos = 'L'; weight>200",
"team refers to name; year = 2006",
"worked a temporary term refers to notes = 'interim'",
"the most shutouts refer to MAX(SHO); catching hand refers to shootCatch; year = 2010;"
]
} |
{
"query": "Which league did player id\"adamsja01\" play in 1920?",
"pos": [
"which league refers to lgID"
],
"neg": [
"note = 'posthumous'refers to \"didn't personally attend\"",
"teams scored against their opponent who had pulled their goalie refers to ENG is not null",
"played in the league but not coached means playerID is not NULL and coachID is NULL;",
"shooting/catching hand is both left and right refers to shootCatch is NULL, debuted their first NHL in 2011 refers to firstNHL = 2011",
"road victories refers to rW; team id refers to tmID; victories and wins are synonyms\n\n",
"how many teams refer to COUNT(tmID); over 20 points refer to Pts>20; year = 1922;",
"year = 1998; wins per game played = DIVIDE(W, G); CAR refers to tmID; contributed the most goals refers to MAX(G);",
"the most shutouts refer to MAX(SHO); catching hand refers to shootCatch; year = 2010;",
"after the year 1980 refers to year>1980",
"highest Plus/minus refers to MAX(+/-); full name refers to firstName, lastName; 1981 season refers to year = '1981'\n\n"
]
} |
{
"query": "List down the first name of coaches who still coach after year 2000.",
"pos": [
"after year 2000 refers to year>2000;"
],
"neg": [
"total number of the games refers to GP",
"shooting/catching hand is both left and right refers to shootCatch is NULL, debuted their first NHL in 2011 refers to firstNHL = 2011",
"Weight of above 190 refers to weight >190; 1978 season refers to the year played",
"which league refers to lgID",
"teams that have played against refer to oppID; Buffalo Sabres is the name of team;",
"which team played the most games against refers to oppID where MAX(SUM(G); Buffalo Sabres is the name of team;",
"good at left hand refers to shootCatch = 'L'; goalies refers to pos = 'G'",
"left winger refers to pos = 'L'; weight>200",
"winning percentage refers to DIVIDE(w,g)*100; team DET refers to tmID = 'DET'",
"the first one refers to MIN(year);"
]
} |
{
"query": "In the year 2000, which team has played the most games against the Buffalo Sabres?",
"pos": [
"which team played the most games against refers to oppID where MAX(SUM(G); Buffalo Sabres is the name of team;"
],
"neg": [
"nick name refers to nameNick; team refers to tmID; season refers to year\n\n",
"least number of penalty kill chances refers to min(PKC); power play percentage refers to (PP%) = divide(PPG, PPC); team playing refers to tmID; victorious team refers to tmIDWinner; team victorious refers to tmID = tmIDWinner and vice versa",
"co-coached refers to notes = 'co-coach'; birth place refers to 'birthCountry-birthState-birthCity'",
"pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward",
"born in 1977 refers to birthYear = '1977'",
"the third goalie refers to stint = 3; the biggest weight refers to max(weight)",
"penalty minutes refers to PIM; year of scoring BETWEEN 2003 AND 2005; most number of games played refers to max(GP)",
"the first one refers to MIN(year);",
"Philadelphia Flyers is name of team playing; Boston Bruins is name of opposing team where oppID = 'BOS'; year = 1985; wins refer to W;",
"played more than total of 5000 minutes refers to SUM(Min)>5000;country he was born refers to birthCountry\n"
]
} |
{
"query": "How many players, whose shooting/catching hand is both left and right, debuted their first NHL in 2011?",
"pos": [
"shooting/catching hand is both left and right refers to shootCatch is NULL, debuted their first NHL in 2011 refers to firstNHL = 2011"
],
"neg": [
"the highest total points = MAX(Pts)",
"played more than total of 5000 minutes refers to SUM(Min)>5000;country he was born refers to birthCountry\n",
"death country is different from his birth country refers to birthCountry! = deathCountry",
"players who became coaches refers to playerID IS NOT NULL AND coachID IS NOT NULL",
"first season in NHL in before 1950 refers to firstNHL<1950; goalies who are still alive refers to deathYear IS NOT NULL",
"good at left hand refers to shootCatch = 'L'; goalies refers to pos = 'G'",
"after retired and became a coach refers to max(subtract(year, lastNHL))",
"first year they were in NHL refers to firstNHL; first year in WHA refers to firstWHA; play in both refers to firstNHL IS NOT NULL AND firstWHA IS NOT NULL\n",
"received the most awards in total refers to max(count(award))",
"team refers name; most wins = MAX(W);"
]
} |
{
"query": "State the nick name of player ID 'aubinje01'. List all the teams and season he played for.",
"pos": [
"nick name refers to nameNick; team refers to tmID; season refers to year\n\n"
],
"neg": [
"21st century refers to year >2000; Power play goals refers to PPG",
"the most play minutes refer to MAX(Min); goalie refers to pos = 'G'; New York Islanders is the nameof team;",
"the biggest power play percentage = max(divide(PPG, PPC))",
"Post season of 2011 refers to year = ’2011’\ndefensive success rate refers to (SUBTRACT(1 (DIVIDE(PostGA/PostSA)), *100%)\n",
"born in Toronto refers to birthCountry = 'Toronto'",
"Montreal Canadiens is the name of team.",
"most seasons played refers to MAX(COUNT(playerID)); average time he played for each season refers to DIVIDE(SUM(T2.Min),COUNT(T2.playerID))",
"most number of goals refers to max(G); how old refers to age = subtract(year(max(G)), birthYear)",
"pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward",
"over 30 wins refers to w>30; born in the USA refers to birthCountry = 'USA'"
]
} |
{
"query": "Among the coaches whose team has over 30 wins in a year, how many of them are born in the USA?",
"pos": [
"over 30 wins refers to w>30; born in the USA refers to birthCountry = 'USA'"
],
"neg": [
"regular season refers to `R/P` = 'R'",
"goals against refers to GA; shots against refers to SA; lowest percentage of goals against among all the shots against refers to MIN(DIVIDE(GA,SA)*100)",
"the most play minutes refer to MAX(Min); goalie refers to pos = 'G'; New York Islanders is the nameof team;",
"NHL refers to lgID = 'NHL'; least number of times being on the ice when a goal is scored for the team versus against the team refers to min(+/-); duration the player's been playing = subtract(year(playerID(min(+/-))), firstNHL(playerID(min(+/-)))); full name = nameGiven + lastName",
"passed away means deathYear is not NULL;",
"winning rate refers to DIVIDE (w, SUM(w, l)); Vancouver Canucks is name of team where tmID = 'VAN'\nWinning rate refers to DIVIDE(wins in year = '2005/2006'(ADD(wins+loses); improvement refers to SUBTRACT(DIVIDE(wins in year = '2005'(ADD(wins+loses), DIVIDE(wins in year = '2006'(ADD(wins+loses))\n",
"played more than total of 5000 minutes refers to SUM(Min)>5000;country he was born refers to birthCountry\n",
"exhibition game refers to note = 'EX'; team of losing team refers to tmIDLoser",
"have died means deathYear is not NULL; Buffalo Sabres is the name of team;",
"year BETWEEN 1950 and 1980; average = DIVIDE(COUNT(hofID)), 30)\n\n"
]
} |
{
"query": "Players born in which year have received the most awards in total?",
"pos": [
"received the most awards in total refers to max(count(award))"
],
"neg": [
"Not from USA refers to birthCountry! = 'USA'; born in 1990 refers to birthYear = 1990\n",
"Year most hockey players were born refers to MAX(birthYear); birthCountry refers to the country where a player was born\n",
"born in Canada refers to birthCountry = 'Canada'",
"lost refers to L; won refers to W",
"most award-winning refers to max(count(award)); country player is from refers to birthCountry",
"nick name refers to nameNick; team refers to tmID; season refers to year\n\n",
"saved the most goal attempts refers to max(subtract(SA, GA)); team id refers to tmID",
"played in the league but not coached means playerID is not NULL and coachID is NULL;",
"players who became coaches refers to playerID IS NOT NULL AND coachID IS NOT NULL",
"first season in NHL in before 1950 refers to firstNHL<1950; goalies who are still alive refers to deathYear IS NOT NULL"
]
} |
{
"query": "Among the players who had 10 empty net goals in their career, who is the tallest? Show his full name.",
"pos": [
"10 empty net goals refer to ENG = 10; tallest refers to MAX(height);"
],
"neg": [
"Power play percentage refers to PPG, most number of loses refers to MAX(L)\n\n",
"penalty minutes refer to PIM = 49;",
"from Canada refers to birthCountry = 'Canada'; NHL league refers to lgID = 'NHL'",
"the first 3 teams that got the most penalty minutes refer to name where MAX(PIM) limit to 3; year = 2006;",
"Coach of the team refers to firstName+lastName; 2003 refers to the year\n\n",
"born in Toronto refers to birthCountry = 'Toronto'",
"highest percentage of game winning refers to MAX(DIVIDE(w,g)*100)",
"after the year 1980 refers to year>1980",
"penalty minutes refers to PIM; year of scoring BETWEEN 2003 AND 2005; most number of games played refers to max(GP)",
"hall of famers refers to hofID; both played and coached means playerID is not NULL and coachID is not NULL;"
]
} |
{
"query": "How many goals were scored while the goalkeeper was on the ice in the 1924 WCHL by the goalie with the most goals scored?",
"pos": [
"WCHL is the league's abbreviated name which refers to lgID = 'WCHL'; most goals scored referst to MAX(PostGA); GA is abbreviation for Post Against which means number of goals recorded while the goalie is on the ice. Include all goals against during regulation and overtime play."
],
"neg": [
"have died means deathYear is not NULL; Buffalo Sabres is the name of team;",
"after retired and became a coach refers to max(subtract(year, lastNHL))",
"still living refers to deathYear IS NULL; youngest refers to MAX(birthYear,birthMon,birthDay)",
"first-ever Second Team All-Star award refers to min(year(award = 'Second Team All-Star')); How many games before receiving such award = sum(g(coachID(min(year(award = 'Second Team All-Star')))): g(min(year)))",
"players who became coaches refers to playerID IS NOT NULL AND coachID IS NOT NULL",
"show me how many minutes refers to Min",
"which league refers to lgID",
"saved the most goal attempts refers to max(subtract(SA, GA)); team id refers to tmID",
"date of birth refers to birthDay + birthMon + birthYear",
"least number of penalty kill chances refers to min(PKC); power play percentage refers to (PP%) = divide(PPG, PPC); team playing refers to tmID; victorious team refers to tmIDWinner; team victorious refers to tmID = tmIDWinner and vice versa"
]
} |
{
"query": "Among the players who were born in July and August, how many of them got in the Hall of Fame?",
"pos": [
"born in July and August refers to birthMon IN('7','8')"
],
"neg": [
"country refers to birthCountry",
"good at both left hands and right hands for goalie refers to shootCatch IS NULL",
"goalie is a players; teams refer to tmID;",
"Not from USA refers to birthCountry! = 'USA'; born in 1990 refers to birthYear = 1990\n",
"highest Plus/minus refers to MAX(+/-); full name refers to firstName, lastName; 1981 season refers to year = '1981'\n\n",
"over 30 wins refers to w>30; born in the USA refers to birthCountry = 'USA'",
"left winger refers to pos = 'L'; weight>200",
"highest percentage of game winning refers to MAX(DIVIDE(w,g)*100)",
"clutch player' and 'trustworthy player in the critical moment' are synonyms; most clutch player refers to the most trustworthy player which refers to MAX(GWG); 1986 is the year played",
"played more than total of 5000 minutes refers to SUM(Min)>5000;country he was born refers to birthCountry\n"
]
} |
{
"query": "State the goalie who has the lowest percentage of goals against among all the shots against recorded. Name the players and season where he played.",
"pos": [
"goals against refers to GA; shots against refers to SA; lowest percentage of goals against among all the shots against refers to MIN(DIVIDE(GA,SA)*100)"
],
"neg": [
"saved the most goal attempts refers to max(subtract(SA, GA)); team id refers to tmID",
"21st century refers to year >2000; Power play goals refers to PPG",
"PCHA refers to lgID = 'PCHA'; NHL league refers to lgID = 'NHL'",
"Power play percentage refers to PPG, most number of loses refers to MAX(L)\n\n",
"died in Arlington refers to deathCity = 'Arlington'",
"weight of over 195 refers to weight>195",
"first-ever Second Team All-Star award refers to min(year(award = 'Second Team All-Star')); How many games before receiving such award = sum(g(coachID(min(year(award = 'Second Team All-Star')))): g(min(year)))",
"born in July and August refers to birthMon IN('7','8')",
"the biggest power play percentage = max(divide(PPG, PPC))",
"pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward"
]
} |
{
"query": "Name the goalies who have played more than total of 5000 minutes in the all the season played. State given name of the player and from which country was he born.",
"pos": [
"played more than total of 5000 minutes refers to SUM(Min)>5000;country he was born refers to birthCountry\n"
],
"neg": [
"Not from USA refers to birthCountry! = 'USA'; born in 1990 refers to birthYear = 1990\n",
"shutouts refers to SHO; number of goals refers to GA; 5% shutouts among the number of goals refers to DIVIDE(SHO,GA)*100 = 5.00",
"Coach of the team refers to firstName+lastName; 2003 refers to the year\n\n",
"5 heaviest players refer to MAX(weight) limit to 5 playerID;",
"total goals refer to SUM(G); how old = SUBTRACT(YEAR(CURDATE, birthYear);",
"year = 1998; wins per game played = DIVIDE(W, G); CAR refers to tmID; contributed the most goals refers to MAX(G);",
"which league refers to lgID",
"lost refers to L; won refers to W",
"highest Plus/minus refers to MAX(+/-); full name refers to firstName, lastName; 1981 season refers to year = '1981'\n\n",
"year BETWEEN 1950 and 1980; average = DIVIDE(COUNT(hofID)), 30)\n\n"
]
} |
{
"query": "What is the average height of player who were born in 1990 and after? Compare the average height with players who were born before 1990.",
"pos": [
"average height refers to AVG(height); born in 1990 refers to birthYear = 1990\n"
],
"neg": [
"over 30 wins refers to w>30; born in the USA refers to birthCountry = 'USA'",
"winning percentage refers to DIVIDE(w,g)*100; team DET refers to tmID = 'DET'",
"the highest total points = MAX(Pts)",
"more wins than loses refers to W>L; year = 1917;",
"Weight of above 190 refers to weight >190; 1978 season refers to the year played",
"NHL refers to lgID = 'NHL'; least number of times being on the ice when a goal is scored for the team versus against the team refers to min(+/-); duration the player's been playing = subtract(year(playerID(min(+/-))), firstNHL(playerID(min(+/-)))); full name = nameGiven + lastName",
"Coach of the team refers to firstName+lastName; 2003 refers to the year\n\n",
"goalie is a players; teams refer to tmID;",
"after retirement means playerID Iis not NULL and coachID is not NULL;",
"pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward"
]
} |
{
"query": "For he who had the highest plus / minus on the court in the 1981 season, what's his full name?",
"pos": [
"highest Plus/minus refers to MAX(+/-); full name refers to firstName, lastName; 1981 season refers to year = '1981'\n\n"
],
"neg": [
"date of birth refers to birthDay + birthMon + birthYear",
"end up with a tie or an overtime loss refers to T/OL",
"goalies refers to pos = 'G'; deceased goalies refers to deathYear IS NOT NULL\n",
"winning rate refers to DIVIDE (w, SUM(w, l)); Vancouver Canucks is name of team where tmID = 'VAN'\nWinning rate refers to DIVIDE(wins in year = '2005/2006'(ADD(wins+loses); improvement refers to SUBTRACT(DIVIDE(wins in year = '2005'(ADD(wins+loses), DIVIDE(wins in year = '2006'(ADD(wins+loses))\n",
"year BETWEEN 1950 and 1980; average = DIVIDE(COUNT(hofID)), 30)\n\n",
"weight of over 195 refers to weight>195",
"still living refers to deathYear IS NULL; youngest refers to MAX(birthYear,birthMon,birthDay)",
"first season in NHL in before 1950 refers to firstNHL<1950; goalies who are still alive refers to deathYear IS NOT NULL",
"21st century refers to year >2000; Power play goals refers to PPG",
"passed away means deathYear is not NULL;"
]
} |
{
"query": "For the player who scored 7 shorthanded goals in 1989, what's his dominant hand?",
"pos": [
"1989 refers to the year of scoring; \"dominant hand\" and \"shooting hand\" are synonyms which refers to shootCatch\n\n"
],
"neg": [
"the biggest power play percentage = max(divide(PPG, PPC))",
"first year they were in NHL refers to firstNHL; first year in WHA refers to firstWHA; play in both refers to firstNHL IS NOT NULL AND firstWHA IS NOT NULL\n",
"year BETWEEN 1950 and 1980; average = DIVIDE(COUNT(hofID)), 30)\n\n",
"team refers to name; year = 2006",
"hall of famers refers to hofID; both played and coached means playerID is not NULL and coachID is not NULL;",
"co-coached refers to notes = 'co-coach'; birth place refers to 'birthCountry-birthState-birthCity'",
"which team played the most games against refers to oppID where MAX(SUM(G); Buffalo Sabres is the name of team;",
"same total number of postseason wins and postseason loses refers to PostW = PostL",
"nick name refers to nameNick; tallest player refers to MAX(height); had left NHL refers to lastNHL",
"not in the Hall of Fame refers to hofID IS NULL"
]
} |
{
"query": "List the first Name and last name of all players not from USA and who are born in 1990 .",
"pos": [
"Not from USA refers to birthCountry! = 'USA'; born in 1990 refers to birthYear = 1990\n"
],
"neg": [
"least number of penalty kill chances refers to min(PKC); power play percentage refers to (PP%) = divide(PPG, PPC); team playing refers to tmID; victorious team refers to tmIDWinner; team victorious refers to tmID = tmIDWinner and vice versa",
"penalty minutes refer to PIM = 24; wins refer to W;",
"weight of over 195 refers to weight>195",
"the number of years refers to count(year)",
"how many teams refer to COUNT(tmID); over 20 points refer to Pts>20; year = 1922;",
"end up with a tie or an overtime loss refers to T/OL",
"5 heaviest players refer to MAX(weight) limit to 5 playerID;",
"team refers to name; year = 2006",
"winning rate refers to DIVIDE (w, SUM(w, l)); Vancouver Canucks is name of team where tmID = 'VAN'\nWinning rate refers to DIVIDE(wins in year = '2005/2006'(ADD(wins+loses); improvement refers to SUBTRACT(DIVIDE(wins in year = '2005'(ADD(wins+loses), DIVIDE(wins in year = '2006'(ADD(wins+loses))\n",
"penalty minutes refer to PIM = 49;"
]
} |
{
"query": "How many players were included in the Hall of Fame on average between 1950 and 1980?",
"pos": [
"year BETWEEN 1950 and 1980; average = DIVIDE(COUNT(hofID)), 30)\n\n"
],
"neg": [
"still living refers to deathYear IS NULL; youngest refers to MAX(birthYear,birthMon,birthDay)",
"the number of wins refers to W",
"most number of goals refers to max(G); how old refers to age = subtract(year(max(G)), birthYear)",
"first-ever Second Team All-Star award refers to min(year(award = 'Second Team All-Star')); How many games before receiving such award = sum(g(coachID(min(year(award = 'Second Team All-Star')))): g(min(year)))",
"least number of penalty kill chances refers to min(PKC); power play percentage refers to (PP%) = divide(PPG, PPC); team playing refers to tmID; victorious team refers to tmIDWinner; team victorious refers to tmID = tmIDWinner and vice versa",
"Post season of 2011 refers to year = ’2011’\ndefensive success rate refers to (SUBTRACT(1 (DIVIDE(PostGA/PostSA)), *100%)\n",
"after retirement means playerID Iis not NULL and coachID is not NULL;",
"temporary coached refers to notes = 'interim'; number of loss refers to L (to add)",
"the most play minutes refer to MAX(Min); goalie refers to pos = 'G'; New York Islanders is the nameof team;",
"saved the most goal attempts refers to max(subtract(SA, GA)); team id refers to tmID"
]
} |
{
"query": "How many years were there after Don Waddell retired and became a coach in NHL?",
"pos": [
"after retired and became a coach refers to max(subtract(year, lastNHL))"
],
"neg": [
"Coach of the team refers to firstName+lastName; 2003 refers to the year\n\n",
"temporary coached refers to notes = 'interim'; number of loss refers to L (to add)",
"shots recorded while the goalie was on the ice refers to SA IS NOT NULL; NHL League refers to lgID = 'NHL'",
"position refers to pos; date of birth refers to birthDay + birthMon + birthYear",
"10 empty net goals refer to ENG = 10; tallest refers to MAX(height);",
"Montreal Canadiens is the name of team.",
"country refers to birthCountry",
"nick name refers to nameNick; team refers to tmID; season refers to year\n\n",
"more wins than loses refers to W>L; year = 1917;",
"exhibition game refers to note = 'EX'; team of losing team refers to tmIDLoser"
]
} |
{
"query": "Name the deceased players whose death country is different from his birth country order by birth year.",
"pos": [
"death country is different from his birth country refers to birthCountry! = deathCountry"
],
"neg": [
"after the year 1980 refers to year>1980",
"the first one refers to MIN(year);",
"end up with a tie or an overtime loss refers to T/OL",
"players who became coaches refers to playerID IS NOT NULL AND coachID IS NOT NULL",
"5 heaviest players refer to MAX(weight) limit to 5 playerID;",
"penalty minutes refer to PIM = 49;",
"still living refers to deathYear IS NULL; youngest refers to MAX(birthYear,birthMon,birthDay)",
"least number of penalty kill chances refers to min(PKC); power play percentage refers to (PP%) = divide(PPG, PPC); team playing refers to tmID; victorious team refers to tmIDWinner; team victorious refers to tmID = tmIDWinner and vice versa",
"the number of goals refers to G",
"born in Toronto refers to birthCountry = 'Toronto'"
]
} |
{
"query": "Among the players who became coaches, how many of them have gotten in the Hall of Fame?",
"pos": [
"players who became coaches refers to playerID IS NOT NULL AND coachID IS NOT NULL"
],
"neg": [
"after retirement means playerID Iis not NULL and coachID is not NULL;",
"NHL refers to lgID = 'NHL'; least number of times being on the ice when a goal is scored for the team versus against the team refers to min(+/-); duration the player's been playing = subtract(year(playerID(min(+/-))), firstNHL(playerID(min(+/-)))); full name = nameGiven + lastName",
"end up with a tie or an overtime loss refers to T/OL",
"goaltender' and 'goalie' are synonyms; fewest goals while on the ice refers to min(GA); How old = subtract(lastNHL(playerID(min(GA))), birthYear(playerID(min(GA)))))",
"21st century refers to year >2000; Power play goals refers to PPG",
"from Canada refers to birthCountry = 'Canada'; NHL league refers to lgID = 'NHL'",
"penalty minutes refers to PIM; year of scoring BETWEEN 2003 AND 2005; most number of games played refers to max(GP)",
"first year they were in NHL refers to firstNHL; first year in WHA refers to firstWHA; play in both refers to firstNHL IS NOT NULL AND firstWHA IS NOT NULL\n",
"the highest winning rate refer to divide(W, sum(W, L))",
"left winger refers to pos = 'L'; weight>200"
]
} |
{
"query": "What's the weight of the player who had the most Power Play Goals in the 21st century?",
"pos": [
"21st century refers to year >2000; Power play goals refers to PPG"
],
"neg": [
"worked a temporary term refers to notes = 'interim'",
"Weight of above 190 refers to weight >190; 1978 season refers to the year played",
"still living refers to deathYear IS NULL; youngest refers to MAX(birthYear,birthMon,birthDay)",
"average height of 75 refers to AVG(height) = 75;",
"born in July and August refers to birthMon IN('7','8')",
"penalty refers to BenchMinor; Ties refer to T",
"the most play minutes refer to MAX(Min); goalie refers to pos = 'G'; New York Islanders is the nameof team;",
"shots recorded while the goalie was on the ice refers to SA IS NOT NULL; NHL League refers to lgID = 'NHL'",
"the most shutouts refer to MAX(SHO); catching hand refers to shootCatch; year = 2010;",
"nick name refers to nameNick; tallest player refers to MAX(height); had left NHL refers to lastNHL"
]
} |
{
"query": "Please list the awards won by coaches who were born in 1952.",
"pos": [
"born in 1977 refers to birthYear = '1977'"
],
"neg": [
"shutouts refers to SHO; number of goals refers to GA; 5% shutouts among the number of goals refers to DIVIDE(SHO,GA)*100 = 5.00",
"10 empty net goals refer to ENG = 10; tallest refers to MAX(height);",
"nick name refers to nameNick; tallest player refers to MAX(height); had left NHL refers to lastNHL",
"21st century refers to year >2000; Power play goals refers to PPG",
"end up with a tie or an overtime loss refers to T/OL",
"winning percentage refers to DIVIDE(w,g)*100; team DET refers to tmID = 'DET'",
"died in Arlington refers to deathCity = 'Arlington'",
"the biggest power play percentage = max(divide(PPG, PPC))",
"most number of goals refers to max(G); how old refers to age = subtract(year(max(G)), birthYear)",
"Coach of the team refers to firstName+lastName; 2003 refers to the year\n\n"
]
} |
{
"query": "How many hall of famers both played and coached in the league?",
"pos": [
"hall of famers refers to hofID; both played and coached means playerID is not NULL and coachID is not NULL;"
],
"neg": [
"which league refers to lgID",
"total number of the games refers to GP",
"average height refers to AVG(height); born in 1990 refers to birthYear = 1990\n",
"first season in NHL in before 1950 refers to firstNHL<1950; goalies who are still alive refers to deathYear IS NOT NULL",
"shutouts refers to SHO; number of goals refers to GA; 5% shutouts among the number of goals refers to DIVIDE(SHO,GA)*100 = 5.00",
"year BETWEEN 1950 and 1980; average = DIVIDE(COUNT(hofID)), 30)\n\n",
"players who became coaches refers to playerID IS NOT NULL AND coachID IS NOT NULL",
"date of birth refers to birthDay + birthMon + birthYear",
"Post season of 2011 refers to year = ’2011’\ndefensive success rate refers to (SUBTRACT(1 (DIVIDE(PostGA/PostSA)), *100%)\n",
"Philadelphia Flyers is name of team playing; Boston Bruins is name of opposing team where oppID = 'BOS'; year = 1985; wins refer to W;"
]
} |
{
"query": "In the history of team id NJD, which goalie saved the most goal attempts? Give his full name.",
"pos": [
"saved the most goal attempts refers to max(subtract(SA, GA)); team id refers to tmID"
],
"neg": [
"least number of penalty kill chances refers to min(PKC); power play percentage refers to (PP%) = divide(PPG, PPC); team playing refers to tmID; victorious team refers to tmIDWinner; team victorious refers to tmID = tmIDWinner and vice versa",
"still living refers to deathYear IS NULL; youngest refers to MAX(birthYear,birthMon,birthDay)",
"co-coached refers to notes = 'co-coach'; birth place refers to 'birthCountry-birthState-birthCity'",
"the first one refers to MIN(year);",
"after retirement means playerID Iis not NULL and coachID is not NULL;",
"penalty refers to BenchMinor; Ties refer to T",
"weight of over 195 refers to weight>195",
"after retired and became a coach refers to max(subtract(year, lastNHL))",
"year = 1976; BIR refers to tmID; Division 'EW' refers to divID = 'EW'; goals = G;",
"the number of wins refers to W"
]
} |
{
"query": "Which player who showed as the third goalie in a game has the biggest weight? Give the full name of the player.",
"pos": [
"the third goalie refers to stint = 3; the biggest weight refers to max(weight)"
],
"neg": [
"total goals refer to SUM(G); how old = SUBTRACT(YEAR(CURDATE, birthYear);",
"tie refers to T>0; year = 1909;",
"worked a temporary term refers to notes = 'interim'",
"which league refers to lgID",
"goalie is a players; teams refer to tmID;",
"year = 1998; wins per game played = DIVIDE(W, G); CAR refers to tmID; contributed the most goals refers to MAX(G);",
"the biggest power play percentage = max(divide(PPG, PPC))",
"still living refers to deathYear IS NULL; youngest refers to MAX(birthYear,birthMon,birthDay)",
"NHL refers to lgID = 'NHL'; most assists refers to max(A); full name = nameGiven + lastName; total amount of assists = sum(A(playerID(max(A))))",
"total number of the games refers to GP"
]
} |
{
"query": "Among the teams with the most number of ties, how many penalty was committed by a player or coach that is not on the ice? Indicate the name of the team.",
"pos": [
"penalty refers to BenchMinor; Ties refer to T"
],
"neg": [
"the first 3 teams that got the most penalty minutes refer to name where MAX(PIM) limit to 3; year = 2006;",
"born in March refers to birthMon = '3'; nicknames refers to nameNick",
"shots recorded while the goalie was on the ice refers to SA IS NOT NULL; NHL League refers to lgID = 'NHL'",
"Year most hockey players were born refers to MAX(birthYear); birthCountry refers to the country where a player was born\n",
"show me how many minutes refers to Min",
"penalty minutes refer to PIM = 24; wins refer to W;",
"received the most awards in total refers to max(count(award))",
"co-coached refers to notes = 'co-coach'; birth place refers to 'birthCountry-birthState-birthCity'",
"Weight of above 190 refers to weight >190; 1978 season refers to the year played",
"victories' and 'wins' are synonyms; most number of victories refers to max(w)"
]
} |
{
"query": "Please list the first 3 teams that got the most penalty minutes in 2006.",
"pos": [
"the first 3 teams that got the most penalty minutes refer to name where MAX(PIM) limit to 3; year = 2006;"
],
"neg": [
"team refers to name; year = 2006",
"the highest total points = MAX(Pts)",
"played in the league but not coached means playerID is not NULL and coachID is NULL;",
"teams scored against their opponent who had pulled their goalie refers to ENG is not null",
"goals against refers to GA; shots against refers to SA; lowest percentage of goals against among all the shots against refers to MIN(DIVIDE(GA,SA)*100)",
"highest percentage of game winning refers to MAX(DIVIDE(w,g)*100)",
"the number of wins refers to W",
"most seasons played refers to MAX(COUNT(playerID)); average time he played for each season refers to DIVIDE(SUM(T2.Min),COUNT(T2.playerID))",
"co-coached refers to notes = 'co-coach'; birth place refers to 'birthCountry-birthState-birthCity'",
"more wins than loses refers to W>L; year = 1917;"
]
} |
{
"query": "What is the power play percentage of the team with the most number of loses?",
"pos": [
"Power play percentage refers to PPG, most number of loses refers to MAX(L)\n\n"
],
"neg": [
"Goals Against are the number of goals recorded while the goalie is on the ice; the most Goal Againsts refers to MAX(GA); Minnesota North Stars is name of team;",
"first year they were in NHL refers to firstNHL; first year in WHA refers to firstWHA; play in both refers to firstNHL IS NOT NULL AND firstWHA IS NOT NULL\n",
"exhibition game refers to note = 'EX'; team of losing team refers to tmIDLoser",
"date of birth refers to birthDay + birthMon + birthYear",
"hall of famers refers to hofID; both played and coached means playerID is not NULL and coachID is not NULL;",
"clutch player' and 'trustworthy player in the critical moment' are synonyms; most clutch player refers to the most trustworthy player which refers to MAX(GWG); 1986 is the year played",
"country refers to birthCountry",
"average height refers to AVG(height); born in 1990 refers to birthYear = 1990\n",
"winning rate refers to DIVIDE (w, SUM(w, l)); Vancouver Canucks is name of team where tmID = 'VAN'\nWinning rate refers to DIVIDE(wins in year = '2005/2006'(ADD(wins+loses); improvement refers to SUBTRACT(DIVIDE(wins in year = '2005'(ADD(wins+loses), DIVIDE(wins in year = '2006'(ADD(wins+loses))\n",
"highest Plus/minus refers to MAX(+/-); full name refers to firstName, lastName; 1981 season refers to year = '1981'\n\n"
]
} |
{
"query": "Among the coaches who have taught teams from the NHL League, how many of them are from Canada?",
"pos": [
"from Canada refers to birthCountry = 'Canada'; NHL league refers to lgID = 'NHL'"
],
"neg": [
"the most shutouts refer to MAX(SHO); catching hand refers to shootCatch; year = 2010;",
"average height of 75 refers to AVG(height) = 75;",
"Canadian players mean player whose birthCountry = Canada; ages of 18 and 24 refers to SUBTRACT(firstNHL, birthYear) BETWEEN 18 AND 24; cumulative goal total of no more than 5 refers to G < 5; complete name = nameGiven + lastName",
"more wins than loses refers to W>L; year = 1917;",
"PCHA refers to lgID = 'PCHA'; NHL league refers to lgID = 'NHL'",
"died in Arlington refers to deathCity = 'Arlington'",
"nick name refers to nameNick; tallest player refers to MAX(height); had left NHL refers to lastNHL",
"average height refers to AVG(height); born in 1990 refers to birthYear = 1990\n",
"least number of penalty kill chances refers to min(PKC); power play percentage refers to (PP%) = divide(PPG, PPC); team playing refers to tmID; victorious team refers to tmIDWinner; team victorious refers to tmID = tmIDWinner and vice versa",
"which team played the most games against refers to oppID where MAX(SUM(G); Buffalo Sabres is the name of team;"
]
} |
{
"query": "For the team had the biggest power play percentage in 2011, who was their coach that season? Give the full name.",
"pos": [
"the biggest power play percentage = max(divide(PPG, PPC))"
],
"neg": [
"5 heaviest players refer to MAX(weight) limit to 5 playerID;",
"nick name refers to nameNick; tallest player refers to MAX(height); had left NHL refers to lastNHL",
"highest percentage of game winning refers to MAX(DIVIDE(w,g)*100)",
"hall of famers refers to hofID; both played and coached means playerID is not NULL and coachID is not NULL;",
"after year 2000 refers to year>2000;",
"played in the league but not coached means playerID is not NULL and coachID is NULL;",
"received the most awards in total refers to max(count(award))",
"victories' and 'wins' are synonyms; most number of victories refers to max(w)",
"NHL refers to lgID = 'NHL'; most assists refers to max(A); full name = nameGiven + lastName; total amount of assists = sum(A(playerID(max(A))))",
"position refers to pos; date of birth refers to birthDay + birthMon + birthYear"
]
} |
{
"query": "Please list the years in which the NHL League had shots recorded while the goalie was on the ice.",
"pos": [
"shots recorded while the goalie was on the ice refers to SA IS NOT NULL; NHL League refers to lgID = 'NHL'"
],
"neg": [
"goalies refers to pos = 'G'; deceased goalies refers to deathYear IS NOT NULL\n",
"most number of goals refers to max(G); how old refers to age = subtract(year(max(G)), birthYear)",
"Montreal Canadiens is the name of team.",
"the number of years refers to count(year)",
"year = 1976; BIR refers to tmID; Division 'EW' refers to divID = 'EW'; goals = G;",
"Post season of 2011 refers to year = ’2011’\ndefensive success rate refers to (SUBTRACT(1 (DIVIDE(PostGA/PostSA)), *100%)\n",
"the number of wins refers to W",
"the most shutouts refer to MAX(SHO); catching hand refers to shootCatch; year = 2010;",
"year BETWEEN 1950 and 1980; average = DIVIDE(COUNT(hofID)), 30)\n\n",
"regular season refers to `R/P` = 'R'"
]
} |
{
"query": "What was the total number of the games that player Id \"rutlewa01\" played in 1967?",
"pos": [
"total number of the games refers to GP"
],
"neg": [
"same total number of postseason wins and postseason loses refers to PostW = PostL",
"first year they were in NHL refers to firstNHL; first year in WHA refers to firstWHA; play in both refers to firstNHL IS NOT NULL AND firstWHA IS NOT NULL\n",
"left winger refers to pos = 'L'; weight>200",
"hall of famers refers to hofID; both played and coached means playerID is not NULL and coachID is not NULL;",
"players who became coaches refers to playerID IS NOT NULL AND coachID IS NOT NULL",
"total goals refer to SUM(G); how old = SUBTRACT(YEAR(CURDATE, birthYear);",
"born in Canada refers to birthCountry = 'Canada'; pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward",
"clutch player' and 'trustworthy player in the critical moment' are synonyms; most clutch player refers to the most trustworthy player which refers to MAX(GWG); 1986 is the year played",
"the highest total points = MAX(Pts)",
"21st century refers to year >2000; Power play goals refers to PPG"
]
} |
{
"query": "Which team recorded the most number of road victories in 2005? Indicate the team ID.",
"pos": [
"road victories refers to rW; team id refers to tmID; victories and wins are synonyms\n\n"
],
"neg": [
"first season in NHL in before 1950 refers to firstNHL<1950; goalies who are still alive refers to deathYear IS NOT NULL",
"show me how many minutes refers to Min",
"penalty minutes refer to PIM = 24; wins refer to W;",
"Montreal Canadiens is the name of team.",
"PCHA refers to lgID = 'PCHA'; NHL league refers to lgID = 'NHL'",
"average height of 75 refers to AVG(height) = 75;",
"regular season refers to `R/P` = 'R'",
"victories' and 'wins' are synonyms; most number of victories refers to max(w)",
"after retired and became a coach refers to max(subtract(year, lastNHL))",
"position refers to pos; date of birth refers to birthDay + birthMon + birthYear"
]
} |
{
"query": "What is the highest total points a team got in a year?",
"pos": [
"the highest total points = MAX(Pts)"
],
"neg": [
"Goals Against are the number of goals recorded while the goalie is on the ice; the most Goal Againsts refers to MAX(GA); Minnesota North Stars is name of team;",
"death country is different from his birth country refers to birthCountry! = deathCountry",
"average height of 75 refers to AVG(height) = 75;",
"played more than total of 5000 minutes refers to SUM(Min)>5000;country he was born refers to birthCountry\n",
"5 heaviest players refer to MAX(weight) limit to 5 playerID;",
"WCHL is the league's abbreviated name which refers to lgID = 'WCHL'; most goals scored referst to MAX(PostGA); GA is abbreviation for Post Against which means number of goals recorded while the goalie is on the ice. Include all goals against during regulation and overtime play.",
"team refers to name; year = 2006",
"PCHA refers to lgID = 'PCHA'; NHL league refers to lgID = 'NHL'",
"team ID refers to tmID; 'defeats' and 'loses' are synonyms; most October defeats refers to max(OctL)",
"the most shutouts refer to MAX(SHO); catching hand refers to shootCatch; year = 2010;"
]
} |
{
"query": "What is the percentage of winning rate of improvement since Alain Vigneault became the coach of Vancouver Canucks in 2006 season?",
"pos": [
"winning rate refers to DIVIDE (w, SUM(w, l)); Vancouver Canucks is name of team where tmID = 'VAN'\nWinning rate refers to DIVIDE(wins in year = '2005/2006'(ADD(wins+loses); improvement refers to SUBTRACT(DIVIDE(wins in year = '2005'(ADD(wins+loses), DIVIDE(wins in year = '2006'(ADD(wins+loses))\n"
],
"neg": [
"Post season of 2011 refers to year = ’2011’\ndefensive success rate refers to (SUBTRACT(1 (DIVIDE(PostGA/PostSA)), *100%)\n",
"pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward",
"teams scored against their opponent who had pulled their goalie refers to ENG is not null",
"born in Canada refers to birthCountry = 'Canada'; pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward",
"players who became coaches refers to playerID IS NOT NULL AND coachID IS NOT NULL",
"clutch player' and 'trustworthy player in the critical moment' are synonyms; most clutch player refers to the most trustworthy player which refers to MAX(GWG); 1986 is the year played",
"teams that have played against refer to oppID; Buffalo Sabres is the name of team;",
"which team played the most games against refers to oppID where MAX(SUM(G); Buffalo Sabres is the name of team;",
"weight of over 195 refers to weight>195",
"not in the Hall of Fame refers to hofID IS NULL"
]
} |
{
"query": "How many coaches worked a temporary term in the year 2007?",
"pos": [
"worked a temporary term refers to notes = 'interim'"
],
"neg": [
"goalie is a players; teams refer to tmID;",
"Coach of the team refers to firstName+lastName; 2003 refers to the year\n\n",
"the most shutouts refer to MAX(SHO); catching hand refers to shootCatch; year = 2010;",
"tie refers to T>0; year = 1909;",
"after retired and became a coach refers to max(subtract(year, lastNHL))",
"goaltender' and 'goalie' are synonyms; fewest goals while on the ice refers to min(GA); How old = subtract(lastNHL(playerID(min(GA))), birthYear(playerID(min(GA)))))",
"show me how many minutes refers to Min",
"clutch player' and 'trustworthy player in the critical moment' are synonyms; most clutch player refers to the most trustworthy player which refers to MAX(GWG); 1986 is the year played",
"team ID refers to tmID; 'defeats' and 'loses' are synonyms; most October defeats refers to max(OctL)",
"the most play minutes refer to MAX(Min); goalie refers to pos = 'G'; New York Islanders is the nameof team;"
]
} |
{
"query": "How many teams have the same total number of postseason wins and postseason loses?",
"pos": [
"same total number of postseason wins and postseason loses refers to PostW = PostL"
],
"neg": [
"how many teams refer to COUNT(tmID); over 20 points refer to Pts>20; year = 1922;",
"hall of famers refers to hofID; both played and coached means playerID is not NULL and coachID is not NULL;",
"worked a temporary term refers to notes = 'interim'",
"regular season refers to `R/P` = 'R'",
"Weight of above 190 refers to weight >190; 1978 season refers to the year played",
"the highest winning rate refer to divide(W, sum(W, L))",
"died in Arlington refers to deathCity = 'Arlington'",
"after retired and became a coach refers to max(subtract(year, lastNHL))",
"first-ever Second Team All-Star award refers to min(year(award = 'Second Team All-Star')); How many games before receiving such award = sum(g(coachID(min(year(award = 'Second Team All-Star')))): g(min(year)))",
"after the year 1980 refers to year>1980"
]
} |
{
"query": "What are the awards won by the coach who coached the team with the most number of victories of all time? Indicate the choach ID.",
"pos": [
"victories' and 'wins' are synonyms; most number of victories refers to max(w)"
],
"neg": [
"same total number of postseason wins and postseason loses refers to PostW = PostL",
"penalty minutes refers to PIM; year of scoring BETWEEN 2003 AND 2005; most number of games played refers to max(GP)",
"highest Plus/minus refers to MAX(+/-); full name refers to firstName, lastName; 1981 season refers to year = '1981'\n\n",
"left winger refers to pos = 'L'; weight>200",
"Coach of the team refers to firstName+lastName; 2003 refers to the year\n\n",
"average height refers to AVG(height); born in 1990 refers to birthYear = 1990\n",
"first season in NHL in before 1950 refers to firstNHL<1950; goalies who are still alive refers to deathYear IS NOT NULL",
"born in Canada refers to birthCountry = 'Canada'; pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward",
"teams that have played against refer to oppID; Buffalo Sabres is the name of team;",
"shots recorded while the goalie was on the ice refers to SA IS NOT NULL; NHL League refers to lgID = 'NHL'"
]
} |
{
"query": "Did legendsID \"P194502\" personally attend his Hall of Fame dedication?",
"pos": [
"note = 'posthumous'refers to \"didn't personally attend\""
],
"neg": [
"shots recorded while the goalie was on the ice refers to SA IS NOT NULL; NHL League refers to lgID = 'NHL'",
"Weight of above 190 refers to weight >190; 1978 season refers to the year played",
"after retired and became a coach refers to max(subtract(year, lastNHL))",
"NHL refers to lgID = 'NHL'; most assists refers to max(A); full name = nameGiven + lastName; total amount of assists = sum(A(playerID(max(A))))",
"1989 refers to the year of scoring; \"dominant hand\" and \"shooting hand\" are synonyms which refers to shootCatch\n\n",
"penalty minutes refers to PIM; year of scoring BETWEEN 2003 AND 2005; most number of games played refers to max(GP)",
"Not from USA refers to birthCountry! = 'USA'; born in 1990 refers to birthYear = 1990\n",
"first-ever Second Team All-Star award refers to min(year(award = 'Second Team All-Star')); How many games before receiving such award = sum(g(coachID(min(year(award = 'Second Team All-Star')))): g(min(year)))",
"winning percentage refers to DIVIDE(w,g)*100; team DET refers to tmID = 'DET'",
"from Canada refers to birthCountry = 'Canada'; NHL league refers to lgID = 'NHL'"
]
} |
{
"query": "Who is the youngest player who is still living. State the given name and date of birth.",
"pos": [
"still living refers to deathYear IS NULL; youngest refers to MAX(birthYear,birthMon,birthDay)"
],
"neg": [
"death country is different from his birth country refers to birthCountry! = deathCountry",
"shots recorded while the goalie was on the ice refers to SA IS NOT NULL; NHL League refers to lgID = 'NHL'",
"born in July and August refers to birthMon IN('7','8')",
"good at both left hands and right hands for goalie refers to shootCatch IS NULL",
"10 empty net goals refer to ENG = 10; tallest refers to MAX(height);",
"note = 'posthumous'refers to \"didn't personally attend\"",
"born in 1977 refers to birthYear = '1977'",
"players who became coaches refers to playerID IS NOT NULL AND coachID IS NOT NULL",
"played more than total of 5000 minutes refers to SUM(Min)>5000;country he was born refers to birthCountry\n",
"goalies refers to pos = 'G'; deceased goalies refers to deathYear IS NOT NULL\n"
]
} |
{
"query": "Who are the players who were not in the Hall of Fame list.",
"pos": [
"not in the Hall of Fame refers to hofID IS NULL"
],
"neg": [
"the number of wins refers to W",
"position refers to pos; date of birth refers to birthDay + birthMon + birthYear",
"more wins than loses refers to W>L; year = 1917;",
"team playing refers to tmID; oppositng team refers to oppID; victories' and 'wins' are synonyms; most victories refers to max(w)",
"total goals refer to SUM(G); how old = SUBTRACT(YEAR(CURDATE, birthYear);",
"goals against refers to GA; shots against refers to SA; lowest percentage of goals against among all the shots against refers to MIN(DIVIDE(GA,SA)*100)",
"the most shutouts refer to MAX(SHO); catching hand refers to shootCatch; year = 2010;",
"the most play minutes refer to MAX(Min); goalie refers to pos = 'G'; New York Islanders is the nameof team;",
"good at both left hands and right hands for goalie refers to shootCatch IS NULL",
"winning rate refers to DIVIDE (w, SUM(w, l)); Vancouver Canucks is name of team where tmID = 'VAN'\nWinning rate refers to DIVIDE(wins in year = '2005/2006'(ADD(wins+loses); improvement refers to SUBTRACT(DIVIDE(wins in year = '2005'(ADD(wins+loses), DIVIDE(wins in year = '2006'(ADD(wins+loses))\n"
]
} |
{
"query": "State the nick name of the tallest player? If the player had left NHL, mention the last season he was with NHL.",
"pos": [
"nick name refers to nameNick; tallest player refers to MAX(height); had left NHL refers to lastNHL"
],
"neg": [
"shooting/catching hand is both left and right refers to shootCatch is NULL, debuted their first NHL in 2011 refers to firstNHL = 2011",
"21st century refers to year >2000; Power play goals refers to PPG",
"highest percentage of game winning refers to MAX(DIVIDE(w,g)*100)",
"NHL refers to lgID = 'NHL'; most assists refers to max(A); full name = nameGiven + lastName; total amount of assists = sum(A(playerID(max(A))))",
"teams that have played against refer to oppID; Buffalo Sabres is the name of team;",
"NHL refers to lgID = 'NHL'; least number of times being on the ice when a goal is scored for the team versus against the team refers to min(+/-); duration the player's been playing = subtract(year(playerID(min(+/-))), firstNHL(playerID(min(+/-)))); full name = nameGiven + lastName",
"pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward",
"Post season of 2011 refers to year = ’2011’\ndefensive success rate refers to (SUBTRACT(1 (DIVIDE(PostGA/PostSA)), *100%)\n",
"passed away means deathYear is not NULL;",
"born in Canada refers to birthCountry = 'Canada'"
]
} |
{
"query": "Which country has the most players in the Hall of Fame?",
"pos": [
"country refers to birthCountry"
],
"neg": [
"Shortest refers to MIN(height); from 1925 to 1936 refers to year between 1925 and 1936;",
"penalty minutes refer to PIM = 24; wins refer to W;",
"Montreal Canadiens is the name of team.",
"MAX(DIVIDE(COUNT(W), SUM(COUNT(W), (COUNT (L)) where year = 2000;",
"weight of over 195 refers to weight>195",
"5 heaviest players refer to MAX(weight) limit to 5 playerID;",
"most seasons played refers to MAX(COUNT(playerID)); average time he played for each season refers to DIVIDE(SUM(T2.Min),COUNT(T2.playerID))",
"the most play minutes refer to MAX(Min); goalie refers to pos = 'G'; New York Islanders is the nameof team;",
"regular season refers to `R/P` = 'R'",
"winning rate refers to DIVIDE (w, SUM(w, l)); Vancouver Canucks is name of team where tmID = 'VAN'\nWinning rate refers to DIVIDE(wins in year = '2005/2006'(ADD(wins+loses); improvement refers to SUBTRACT(DIVIDE(wins in year = '2005'(ADD(wins+loses), DIVIDE(wins in year = '2006'(ADD(wins+loses))\n"
]
} |
{
"query": "Name the goalie and the season he played where he had 5% shutouts among the number of goals recorded while the goalie was on the ice.",
"pos": [
"shutouts refers to SHO; number of goals refers to GA; 5% shutouts among the number of goals refers to DIVIDE(SHO,GA)*100 = 5.00"
],
"neg": [
"highest percentage of game winning refers to MAX(DIVIDE(w,g)*100)",
"5 heaviest players refer to MAX(weight) limit to 5 playerID;",
"position refers to pos; date of birth refers to birthDay + birthMon + birthYear",
"year = 1998; wins per game played = DIVIDE(W, G); CAR refers to tmID; contributed the most goals refers to MAX(G);",
"left winger refers to pos = 'L'; weight>200",
"Montreal Canadiens is the name of team.",
"died in Arlington refers to deathCity = 'Arlington'",
"which league refers to lgID",
"goalies refers to pos = 'G'; deceased goalies refers to deathYear IS NOT NULL\n",
"born in Canada refers to birthCountry = 'Canada'; pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward"
]
} |
{
"query": "State the player ID of player with average height of 75.",
"pos": [
"average height of 75 refers to AVG(height) = 75;"
],
"neg": [
"saved the most goal attempts refers to max(subtract(SA, GA)); team id refers to tmID",
"from the USA refers to birthCountry = 'USA'; year = 1922;",
"shutouts refers to SHO; number of goals refers to GA; 5% shutouts among the number of goals refers to DIVIDE(SHO,GA)*100 = 5.00",
"WCHL is the league's abbreviated name which refers to lgID = 'WCHL'; most goals scored referst to MAX(PostGA); GA is abbreviation for Post Against which means number of goals recorded while the goalie is on the ice. Include all goals against during regulation and overtime play.",
"5 heaviest players refer to MAX(weight) limit to 5 playerID;",
"pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward",
"the number of wins refers to W",
"born in 1977 refers to birthYear = '1977'",
"Goals Against are the number of goals recorded while the goalie is on the ice; the most Goal Againsts refers to MAX(GA); Minnesota North Stars is name of team;",
"good at left hand refers to shootCatch = 'L'; goalies refers to pos = 'G'"
]
} |
{
"query": "Among the coaches who have gotten in the Hall of Fame, how many of them have a weight of over 195?",
"pos": [
"weight of over 195 refers to weight>195"
],
"neg": [
"died in Arlington refers to deathCity = 'Arlington'",
"born in Canada refers to birthCountry = 'Canada'; pos = 'LW' refers to left winger; pos = 'RW' refers to right winger; pos = 'C' refers to center; pos = 'G' refers to goalie; pos = 'D' refers to defenceman; pos = 'W' refers to winger; pos = 'F' refers to forward",
"date of birth refers to birthDay + birthMon + birthYear",
"teams scored against their opponent who had pulled their goalie refers to ENG is not null",
"goalie is a players; teams refer to tmID;",
"how many teams refer to COUNT(tmID); over 20 points refer to Pts>20; year = 1922;",
"saved the most goal attempts refers to max(subtract(SA, GA)); team id refers to tmID",
"left winger refers to pos = 'L'; weight>200",
"goalies refers to pos = 'G'; deceased goalies refers to deathYear IS NOT NULL\n",
"have died means deathYear is not NULL; Buffalo Sabres is the name of team;"
]
} |
{
"query": "Who was the coach for the team which had the most bench minors penalty in 2003?",
"pos": [
"Coach of the team refers to firstName+lastName; 2003 refers to the year\n\n"
],
"neg": [
"first season in NHL in before 1950 refers to firstNHL<1950; goalies who are still alive refers to deathYear IS NOT NULL",
"5 heaviest players refer to MAX(weight) limit to 5 playerID;",
"1989 refers to the year of scoring; \"dominant hand\" and \"shooting hand\" are synonyms which refers to shootCatch\n\n",
"MAX(DIVIDE(COUNT(W), SUM(COUNT(W), (COUNT (L)) where year = 2000;",
"the number of years refers to count(year)",
"the most shutouts refer to MAX(SHO); catching hand refers to shootCatch; year = 2010;",
"teams scored against their opponent who had pulled their goalie refers to ENG is not null",
"show me how many minutes refers to Min",
"worked a temporary term refers to notes = 'interim'",
"over 30 wins refers to w>30; born in the USA refers to birthCountry = 'USA'"
]
} |
{
"query": "Show me how many minutes player Id \"valiqst01\" played in the game in 2007 season.",
"pos": [
"show me how many minutes refers to Min"
],
"neg": [
"total goals refer to SUM(G); how old = SUBTRACT(YEAR(CURDATE, birthYear);",
"most number of goals refers to max(G); how old refers to age = subtract(year(max(G)), birthYear)",
"the first 3 teams that got the most penalty minutes refer to name where MAX(PIM) limit to 3; year = 2006;",
"average height of 75 refers to AVG(height) = 75;",
"the first one refers to MIN(year);",
"year = 1976; BIR refers to tmID; Division 'EW' refers to divID = 'EW'; goals = G;",
"penalty minutes refer to PIM = 49;",
"passed away means deathYear is not NULL;",
"penalty minutes refers to PIM; year of scoring BETWEEN 2003 AND 2005; most number of games played refers to max(GP)",
"played in the league but not coached means playerID is not NULL and coachID is NULL;"
]
} |
{
"query": "Give the number of female employees.",
"pos": [
"number of female employees means COUNT(gender = 'F')"
],
"neg": [
"the highest paid refers to MAX(salary); manager is a position title",
"maximum salary of no more than US$1000,000 refers to maxsalary < '100000';",
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle",
"required education refers to educationrequired; position of regional manager refers to positiontitle = 'Regional Manager'",
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title",
"Jose Rodriguez AND Sandy Adams are the fullname of employee; full name = firstname, lastname; higher education level refers to MAX(educationrequired)",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"Jose Rodriguez is the fullname of an employee; full name = firstname, lastname; name of city refers to locationcity"
]
} |
{
"query": "In which city's office does Sandy Adams work at?",
"pos": [
"Sandy Adams is the fullname of an employee; full name = firstname, lastname; city refers to locationcity"
],
"neg": [
"Miami office refers to locationcity = 'Miami'",
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'",
"social security numbers refers to ssn; California refers to state = 'CA'",
"number of female employees means COUNT(gender = 'F')",
"full name = firstname, lastname; trainees is a position title",
"good job performance refers to performance = 'Good'",
"the highest paid refers to MAX(salary); manager is a position title",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;",
"New York City refers to locationcity = 'New York City'; good performance refers to performance = 'Good'; social security number refers to ssn"
]
} |
{
"query": "Who is the employee with the highest salary? Specify his/her full name.",
"pos": [
"the highest salary refers to MAX(salary); full name = firstname, lastname"
],
"neg": [
"Jose Rodriguez is the fullname of an employee; full name = firstname, lastname; name of city refers to locationcity",
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'",
"David Whitehead is the full name of an employee; full name = firstname, lastname",
"full name = firstname, lastname; ssn = '767-74-7373'",
"full name = firstname, lastname; New York city refers to locationcity = 'New York City'",
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"Emily Wood is the full name of an employee; full name = firstname, lastname;",
"2 year degree refers to educationrequired = '2 year degree'; female refers to gender = 'F'; the highest number of employees refers to MAX(positionID)",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"male employees refers to gender = 'M'"
]
} |
{
"query": "Which position has the highest amount of poor performing employees?",
"pos": [
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)"
],
"neg": [
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"full office location address = address, locationcity, state, zipcode; location where most employees work at refers to MAX(locationID)",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"David Whitehead is the full name of an employee; full name = firstname, lastname",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"full name = firstname, lastname; ssn = '767-74-7373'",
"number of female employees means COUNT(gender = 'F')",
"full name = firstname, lastname; New York city refers to locationcity = 'New York City'",
"Sandy Adams is the fullname of an employee; full name = firstname, lastname; city refers to locationcity"
]
} |
{
"query": "What is the required education for the position of regional manager?",
"pos": [
"required education refers to educationrequired; position of regional manager refers to positiontitle = 'Regional Manager'"
],
"neg": [
"David Whitehead is the full name of an employee; full name = firstname, lastname",
"social security numbers refers to ssn; California refers to state = 'CA'",
"zip code of above 90000 refers to zipcode > 90000; city refers to locationcity",
"full name = firstname, lastname; ssn = '767-74-7373'",
"Emily Wood is the full name of an employee; full name = firstname, lastname;",
"first-ever employee that was hired refers to MIN(hiredate)",
"good job performance refers to performance = 'Good'",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"maximum salary of no more than US$1000,000 refers to maxsalary < '100000';",
"poor performance refers to performance = 'Poor'; full name = firstname, lastname; managers is a position title"
]
} |
{
"query": "Which city and address has zip code of above 90000?",
"pos": [
"zip code of above 90000 refers to zipcode > 90000; city refers to locationcity"
],
"neg": [
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"full name = firstname, lastname; New York city refers to locationcity = 'New York City'",
"Jose Rodriguez is the fullname of an employee; full name = firstname, lastname; name of city refers to locationcity",
"social security numbers refers to ssn; California refers to state = 'CA'",
"first-ever employee that was hired refers to MIN(hiredate)",
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"Account Representatives is a position title; satisfying performance mostly refers togood performance",
"male employees refers to gender = 'M'"
]
} |
{
"query": "What is the full office location address where most of the employees work at?",
"pos": [
"full office location address = address, locationcity, state, zipcode; location where most employees work at refers to MAX(locationID)"
],
"neg": [
"Jose Rodriguez AND Sandy Adams are the fullname of employee; full name = firstname, lastname; higher education level refers to MAX(educationrequired)",
"poor performance refers to performance = 'Poor'; full name = firstname, lastname; managers is a position title",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"Jose Rodriguez is the fullname of an employee; full name = firstname, lastname; name of city refers to locationcity",
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"New York City refers to locationcity = 'New York City'; good performance refers to performance = 'Good'; social security number refers to ssn",
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle",
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title",
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;"
]
} |
{
"query": "Mention the full name, hired date and performance status of the employee whose location is in Utah state.",
"pos": [
"full name = firstname, lastname; Utah refers to state = 'UT'"
],
"neg": [
"Account Representatives is a position title; satisfying performance mostly refers togood performance",
"number of female employees means COUNT(gender = 'F')",
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title",
"full name = firstname, lastname; ssn = '767-74-7373'",
"Sandy Adams is the fullname of an employee; full name = firstname, lastname; city refers to locationcity",
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;",
"required education refers to educationrequired; position of regional manager refers to positiontitle = 'Regional Manager'",
"poor performance refers to performance = 'Poor'; full name = firstname, lastname; managers is a position title",
"New York City refers to locationcity = 'New York City'; good performance refers to performance = 'Good'; social security number refers to ssn",
"full name = firstname, lastname; trainees is a position title"
]
} |
{
"query": "Write down the full name, performance status and located city of the employee who's social security number is \"767-74-7373\".",
"pos": [
"full name = firstname, lastname; ssn = '767-74-7373'"
],
"neg": [
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;",
"2 year degree refers to educationrequired = '2 year degree'; female refers to gender = 'F'; the highest number of employees refers to MAX(positionID)",
"full name = firstname, lastname; New York city refers to locationcity = 'New York City'",
"Account Representatives is a position title; satisfying performance mostly refers togood performance",
"New York City refers to locationcity = 'New York City'; good performance refers to performance = 'Good'; social security number refers to ssn",
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"full name = firstname, lastname; trainees is a position title",
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'"
]
} |
{
"query": "How many \"account representatives\" are there in Chicago with a good performance?",
"pos": [
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'"
],
"neg": [
"poor performance refers to performance = 'Poor'; full name = firstname, lastname; managers is a position title",
"maximum salary of no more than US$1000,000 refers to maxsalary < '100000';",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;",
"good job performance refers to performance = 'Good'",
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"Sandy Adams is the fullname of an employee; full name = firstname, lastname; city refers to locationcity",
"required education refers to educationrequired; position of regional manager refers to positiontitle = 'Regional Manager'",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"social security numbers refers to ssn; California refers to state = 'CA'"
]
} |
{
"query": "List the full names, gender and positions who's location is in New York city.",
"pos": [
"full name = firstname, lastname; New York city refers to locationcity = 'New York City'"
],
"neg": [
"David Whitehead is the full name of an employee; full name = firstname, lastname",
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"Jose Rodriguez AND Sandy Adams are the fullname of employee; full name = firstname, lastname; higher education level refers to MAX(educationrequired)",
"full name = firstname, lastname; ssn = '767-74-7373'",
"full name = firstname, lastname; Utah refers to state = 'UT'",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"number of female employees means COUNT(gender = 'F')",
"full office location address = address, locationcity, state, zipcode; location where most employees work at refers to MAX(locationID)",
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle",
"Account Representatives is a position title; satisfying performance mostly refers togood performance"
]
} |
{
"query": "How many employees are there in the \"Miami\" office?",
"pos": [
"Miami office refers to locationcity = 'Miami'"
],
"neg": [
"full office location address = address, locationcity, state, zipcode; location where most employees work at refers to MAX(locationID)",
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle",
"social security numbers refers to ssn; California refers to state = 'CA'",
"required education refers to educationrequired; position of regional manager refers to positiontitle = 'Regional Manager'",
"Trainees is a position title; California refers to state = 'NY'",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"full name = firstname, lastname; Utah refers to state = 'UT'",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"male refers to gender = 'M'; Regional Managers is a position title"
]
} |
{
"query": "Please list the social security numbers of all the employees who work in California.",
"pos": [
"social security numbers refers to ssn; California refers to state = 'CA'"
],
"neg": [
"zip code of above 90000 refers to zipcode > 90000; city refers to locationcity",
"male refers to gender = 'M'; Regional Managers is a position title",
"number of female employees means COUNT(gender = 'F')",
"the highest paid refers to MAX(salary); manager is a position title",
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"Jose Rodriguez AND Sandy Adams are the fullname of employee; full name = firstname, lastname; higher education level refers to MAX(educationrequired)",
"male employees refers to gender = 'M'",
"first-ever employee that was hired refers to MIN(hiredate)",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"good job performance refers to performance = 'Good'"
]
} |
{
"query": "Which positions are suitable with 4 years degree education?",
"pos": [
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle"
],
"neg": [
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;",
"full name = firstname, lastname; trainees is a position title",
"Emily Wood is the full name of an employee; full name = firstname, lastname;",
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title",
"full name = firstname, lastname; New York city refers to locationcity = 'New York City'",
"New York City refers to locationcity = 'New York City'; good performance refers to performance = 'Good'; social security number refers to ssn",
"Trainees is a position title; California refers to state = 'NY'",
"Jose Rodriguez AND Sandy Adams are the fullname of employee; full name = firstname, lastname; higher education level refers to MAX(educationrequired)",
"male employees refers to gender = 'M'",
"the highest paid refers to MAX(salary); manager is a position title"
]
} |
{
"query": "Among the employees with poor performance, provide the managers' full names, location city, address and its zip code.",
"pos": [
"poor performance refers to performance = 'Poor'; full name = firstname, lastname; managers is a position title"
],
"neg": [
"Trainees is a position title; California refers to state = 'NY'",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"Account Representatives is a position title; satisfying performance mostly refers togood performance",
"Emily Wood is the full name of an employee; full name = firstname, lastname;",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;",
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'",
"full name = firstname, lastname; Utah refers to state = 'UT'"
]
} |
{
"query": "Please list the social security numbers of the male employees with a salary of over $70,000 a year.",
"pos": [
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'"
],
"neg": [
"Jose Rodriguez AND Sandy Adams are the fullname of employee; full name = firstname, lastname; higher education level refers to MAX(educationrequired)",
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle",
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"Miami office refers to locationcity = 'Miami'",
"good job performance refers to performance = 'Good'",
"Trainees is a position title; California refers to state = 'NY'",
"Sandy Adams is the fullname of an employee; full name = firstname, lastname; city refers to locationcity",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"full name = firstname, lastname; trainees is a position title",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);"
]
} |
{
"query": "Who is the employee in “New York City” with a good performance? Give the social security number of the employee.",
"pos": [
"New York City refers to locationcity = 'New York City'; good performance refers to performance = 'Good'; social security number refers to ssn"
],
"neg": [
"poor performance refers to performance = 'Poor'; full name = firstname, lastname; managers is a position title",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"full name = firstname, lastname; trainees is a position title",
"full name = firstname, lastname; Utah refers to state = 'UT'",
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"Miami office refers to locationcity = 'Miami'",
"David Whitehead is the full name of an employee; full name = firstname, lastname",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"2 year degree refers to educationrequired = '2 year degree'; female refers to gender = 'F'; the highest number of employees refers to MAX(positionID)"
]
} |
{
"query": "State the name of the city where Jose Rodriguez works.",
"pos": [
"Jose Rodriguez is the fullname of an employee; full name = firstname, lastname; name of city refers to locationcity"
],
"neg": [
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"social security numbers refers to ssn; California refers to state = 'CA'",
"Account Representatives is a position title; satisfying performance mostly refers togood performance",
"number of female employees means COUNT(gender = 'F')",
"Miami office refers to locationcity = 'Miami'",
"Sandy Adams is the fullname of an employee; full name = firstname, lastname; city refers to locationcity",
"poor performance refers to performance = 'Poor'; full name = firstname, lastname; managers is a position title",
"maximum salary of no more than US$1000,000 refers to maxsalary < '100000';",
"New York City refers to locationcity = 'New York City'; good performance refers to performance = 'Good'; social security number refers to ssn"
]
} |
{
"query": "Which position has the highest number of female employees with a 2 year degree?",
"pos": [
"2 year degree refers to educationrequired = '2 year degree'; female refers to gender = 'F'; the highest number of employees refers to MAX(positionID)"
],
"neg": [
"Jose Rodriguez AND Sandy Adams are the fullname of employee; full name = firstname, lastname; higher education level refers to MAX(educationrequired)",
"Emily Wood is the full name of an employee; full name = firstname, lastname;",
"good job performance refers to performance = 'Good'",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title",
"New York City refers to locationcity = 'New York City'; good performance refers to performance = 'Good'; social security number refers to ssn",
"number of female employees means COUNT(gender = 'F')",
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle"
]
} |
{
"query": "Describe the employees' full name, positions, located city and office phone number within Colorado state.",
"pos": [
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;"
],
"neg": [
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"Miami office refers to locationcity = 'Miami'",
"Emily Wood is the full name of an employee; full name = firstname, lastname;",
"New York City refers to locationcity = 'New York City'; good performance refers to performance = 'Good'; social security number refers to ssn",
"male refers to gender = 'M'; Regional Managers is a position title",
"first-ever employee that was hired refers to MIN(hiredate)",
"David Whitehead is the full name of an employee; full name = firstname, lastname",
"maximum salary of no more than US$1000,000 refers to maxsalary < '100000';",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'"
]
} |
{
"query": "How many positions have a maximum salary of no more than US$1000,000?",
"pos": [
"maximum salary of no more than US$1000,000 refers to maxsalary < '100000';"
],
"neg": [
"Sandy Adams is the fullname of an employee; full name = firstname, lastname; city refers to locationcity",
"Jose Rodriguez is the fullname of an employee; full name = firstname, lastname; name of city refers to locationcity",
"social security numbers refers to ssn; California refers to state = 'CA'",
"Trainees is a position title; California refers to state = 'NY'",
"Miami office refers to locationcity = 'Miami'",
"first-ever employee that was hired refers to MIN(hiredate)",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"Account Representatives is a position title; satisfying performance mostly refers togood performance",
"Emily Wood is the full name of an employee; full name = firstname, lastname;",
"poor performance refers to performance = 'Poor'; full name = firstname, lastname; managers is a position title"
]
} |
{
"query": "How much is the salary of the first ever employee that was hired?",
"pos": [
"first-ever employee that was hired refers to MIN(hiredate)"
],
"neg": [
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"full name = firstname, lastname; Utah refers to state = 'UT'",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"full office location address = address, locationcity, state, zipcode; location where most employees work at refers to MAX(locationID)",
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title",
"Account Representatives is a position title; satisfying performance mostly refers togood performance",
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'",
"male employees refers to gender = 'M'"
]
} |
{
"query": "What is the average salary of the employees who work as a Trainee?",
"pos": [
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title"
],
"neg": [
"full name = firstname, lastname; ssn = '767-74-7373'",
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"the highest paid refers to MAX(salary); manager is a position title",
"required education refers to educationrequired; position of regional manager refers to positiontitle = 'Regional Manager'",
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"full name = firstname, lastname; trainees is a position title",
"Miami office refers to locationcity = 'Miami'",
"social security numbers refers to ssn; California refers to state = 'CA'"
]
} |
{
"query": "How many male Regional Managers are there?",
"pos": [
"male refers to gender = 'M'; Regional Managers is a position title"
],
"neg": [
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"Jose Rodriguez is the fullname of an employee; full name = firstname, lastname; name of city refers to locationcity",
"2 year degree refers to educationrequired = '2 year degree'; female refers to gender = 'F'; the highest number of employees refers to MAX(positionID)",
"zip code of above 90000 refers to zipcode > 90000; city refers to locationcity",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"male employees refers to gender = 'M'",
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"Jose Rodriguez AND Sandy Adams are the fullname of employee; full name = firstname, lastname; higher education level refers to MAX(educationrequired)",
"maximum salary of no more than US$1000,000 refers to maxsalary < '100000';"
]
} |
{
"query": "How many emplyees have a good job performance?",
"pos": [
"good job performance refers to performance = 'Good'"
],
"neg": [
"full name = firstname, lastname; New York city refers to locationcity = 'New York City'",
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'",
"the highest paid refers to MAX(salary); manager is a position title",
"full name = firstname, lastname; ssn = '767-74-7373'",
"Sandy Adams is the fullname of an employee; full name = firstname, lastname; city refers to locationcity",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title",
"full office location address = address, locationcity, state, zipcode; location where most employees work at refers to MAX(locationID)",
"full name = firstname, lastname; Utah refers to state = 'UT'",
"poor performance refers to performance = 'Poor'; full name = firstname, lastname; managers is a position title"
]
} |
{
"query": "In which state does Emily Wood work?",
"pos": [
"Emily Wood is the full name of an employee; full name = firstname, lastname;"
],
"neg": [
"good job performance refers to performance = 'Good'",
"full name = firstname, lastname; New York city refers to locationcity = 'New York City'",
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;",
"Jose Rodriguez is the fullname of an employee; full name = firstname, lastname; name of city refers to locationcity",
"Trainees is a position title; California refers to state = 'NY'",
"David Whitehead is the full name of an employee; full name = firstname, lastname",
"male refers to gender = 'M'; Regional Managers is a position title",
"male employees refers to gender = 'M'",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"full office location address = address, locationcity, state, zipcode; location where most employees work at refers to MAX(locationID)"
]
} |
{
"query": "How many Account Representatives are there in Illinois with satisfying performance?",
"pos": [
"Account Representatives is a position title; satisfying performance mostly refers togood performance"
],
"neg": [
"the highest paid refers to MAX(salary); manager is a position title",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"first-ever employee that was hired refers to MIN(hiredate)",
"Miami office refers to locationcity = 'Miami'",
"Jose Rodriguez is the fullname of an employee; full name = firstname, lastname; name of city refers to locationcity",
"full name = firstname, lastname; ssn = '767-74-7373'",
"Trainees is a position title; California refers to state = 'NY'",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"male refers to gender = 'M'; Regional Managers is a position title"
]
} |
{
"query": "Which employee's job position requires a higher education level, Jose Rodriguez or Sandy Adams?",
"pos": [
"Jose Rodriguez AND Sandy Adams are the fullname of employee; full name = firstname, lastname; higher education level refers to MAX(educationrequired)"
],
"neg": [
"full name = firstname, lastname; ssn = '767-74-7373'",
"maximum salary of no more than US$1000,000 refers to maxsalary < '100000';",
"Jose Rodriguez is the fullname of an employee; full name = firstname, lastname; name of city refers to locationcity",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"required education refers to educationrequired; position of regional manager refers to positiontitle = 'Regional Manager'",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"full name = firstname, lastname; New York city refers to locationcity = 'New York City'",
"number of female employees means COUNT(gender = 'F')",
"New York City refers to locationcity = 'New York City'; good performance refers to performance = 'Good'; social security number refers to ssn"
]
} |
{
"query": "List the full name and social security number of the account representative with average performance.",
"pos": [
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'"
],
"neg": [
"Miami office refers to locationcity = 'Miami'",
"Emily Wood is the full name of an employee; full name = firstname, lastname;",
"good job performance refers to performance = 'Good'",
"full office location address = address, locationcity, state, zipcode; location where most employees work at refers to MAX(locationID)",
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'",
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title",
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle",
"Account Representatives is a position title; satisfying performance mostly refers togood performance",
"maximum salary of no more than US$1000,000 refers to maxsalary < '100000';",
"full name = firstname, lastname; Utah refers to state = 'UT'"
]
} |
{
"query": "In which state can you find the highest amount of good performing Account Representatives?",
"pos": [
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);"
],
"neg": [
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;",
"first-ever employee that was hired refers to MIN(hiredate)",
"full name = firstname, lastname; Utah refers to state = 'UT'",
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle",
"full name = firstname, lastname; trainees is a position title",
"number of female employees means COUNT(gender = 'F')",
"Sandy Adams is the fullname of an employee; full name = firstname, lastname; city refers to locationcity",
"Jose Rodriguez is the fullname of an employee; full name = firstname, lastname; name of city refers to locationcity",
"full name = firstname, lastname; ssn = '767-74-7373'",
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'"
]
} |
{
"query": "Please list the full names of the employees who are working as a Trainee.",
"pos": [
"full name = firstname, lastname; trainees is a position title"
],
"neg": [
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'",
"Trainees is a position title; California refers to state = 'NY'",
"Miami office refers to locationcity = 'Miami'",
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title",
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle",
"Emily Wood is the full name of an employee; full name = firstname, lastname;",
"Jose Rodriguez AND Sandy Adams are the fullname of employee; full name = firstname, lastname; higher education level refers to MAX(educationrequired)",
"male refers to gender = 'M'; Regional Managers is a position title",
"number of female employees means COUNT(gender = 'F')",
"David Whitehead is the full name of an employee; full name = firstname, lastname"
]
} |
{
"query": "How many male employees work at the address 450 Peachtree Rd?",
"pos": [
"male employees refers to gender = 'M'"
],
"neg": [
"good job performance refers to performance = 'Good'",
"Account Representatives is a position title; satisfying performance mostly refers togood performance",
"David Whitehead is the full name of an employee; full name = firstname, lastname",
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;",
"poor performance refers to performance = 'Poor'; full name = firstname, lastname; managers is a position title",
"Emily Wood is the full name of an employee; full name = firstname, lastname;",
"Jose Rodriguez AND Sandy Adams are the fullname of employee; full name = firstname, lastname; higher education level refers to MAX(educationrequired)",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"Trainees is a position title; California refers to state = 'NY'",
"2 year degree refers to educationrequired = '2 year degree'; female refers to gender = 'F'; the highest number of employees refers to MAX(positionID)"
]
} |
{
"query": "Which employee has the highest salary? Please give his or her full name.",
"pos": [
"the highest salary refers to MAX(salary); full name = firstname, lastname"
],
"neg": [
"male refers to gender = 'M'; Regional Managers is a position title",
"Account Representatives is a position title; satisfying performance mostly refers togood performance",
"full name = firstname, lastname; New York city refers to locationcity = 'New York City'",
"first-ever employee that was hired refers to MIN(hiredate)",
"full office location address = address, locationcity, state, zipcode; location where most employees work at refers to MAX(locationID)",
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"social security numbers refers to ssn; male employees refers to gender = 'M'; salary of over $70,000 a year refers to salary > '70000'",
"Trainees is a position title; California refers to state = 'NY'",
"David Whitehead is the full name of an employee; full name = firstname, lastname",
"good job performance refers to performance = 'Good'"
]
} |
{
"query": "What is the education required for David Whitehead to reach his current position?",
"pos": [
"David Whitehead is the full name of an employee; full name = firstname, lastname"
],
"neg": [
"full name = firstname, lastname; trainees is a position title",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"Miami office refers to locationcity = 'Miami'",
"full name = firstname, lastname; Colorado state refers to state = 'CO'; positions refers to positiontitle; located city refers to locationcity; office phone number refers to officephone;",
"average = DIVIDE( SUM(salary), COUNT(positiontitle) where positiontitle = 'Trainee'; Trainee is a position title",
"required education refers to educationrequired; position of regional manager refers to positiontitle = 'Regional Manager'",
"the highest paid refers to MAX(salary); manager is a position title",
"maximum salary of no more than US$1000,000 refers to maxsalary < '100000';",
"full name = firstname, lastname; ssn = '767-74-7373'"
]
} |
{
"query": "Among the employees who are Trainees, how many of them work in New York?",
"pos": [
"Trainees is a position title; California refers to state = 'NY'"
],
"neg": [
"full name = firstname, lastname; social security number refers to ssn; account representative is a position title; average performance refers to performance = 'Average'",
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"Miami office refers to locationcity = 'Miami'",
"poor performing employees refers to performance = 'Poor'; the highest amount of employees refers to MAX(positiontitle)",
"the highest salary refers to MAX(salary); full name = firstname, lastname",
"New York City refers to locationcity = 'New York City'; good performance refers to performance = 'Good'; social security number refers to ssn",
"David Whitehead is the full name of an employee; full name = firstname, lastname",
"the highest paid refers to MAX(salary); manager is a position title",
"first-ever employee that was hired refers to MIN(hiredate)",
"full name = firstname, lastname; New York city refers to locationcity = 'New York City'"
]
} |
{
"query": "Give the full address of the office of the highest paid manager.",
"pos": [
"the highest paid refers to MAX(salary); manager is a position title"
],
"neg": [
"account representatives is a position title; Chicago refers to locationcity = 'Chicago'; good performance refers to performance = 'Good'",
"4 years degree education refers to educationrequired = '4 year degree'; positions refers to positiontitle",
"good performing refers to performance = 'Good'; Account Representatives is a positiontitle; highest amount of employee refers to MAX(positionID);",
"full name = firstname, lastname; ssn = '767-74-7373'",
"male refers to gender = 'M'; Regional Managers is a position title",
"Trainees is a position title; California refers to state = 'NY'",
"Miami office refers to locationcity = 'Miami'",
"David Whitehead is the full name of an employee; full name = firstname, lastname",
"number of female employees means COUNT(gender = 'F')",
"the highest salary refers to MAX(salary); full name = firstname, lastname"
]
} |
{
"query": "Among the USA players, who has the lightest weight?",
"pos": [
"USA refers to nation = 'USA' ; players refers to PlayerName; lightest weight refers to MIN(weight_in_lbs);\n"
],
"neg": [
"1997-1998 season refers to SEASON = '1997-1998';",
"name of the player refers to PlayerName; most NHL points in draft year refers to MAX(P);",
"most valuable player refers to MAX(P); 2000-2001 season refers to SEASON = '2000-2001'; International league refers to LEAGUE = 'International';",
"percentage = MULTIPLY(DIVIDE(SUM(nation = 'Sweden'), COUNT(ELITEID) WHERE SEASON = '1997-2000'), 100); Swedish refers to nation = 'Sweden'; players refers to PlayerName; playoffs games refers to GAMETYPE = 'Playoffs'; 1997-2000 season refers to 3 consecutive SEASONs : '1997-1998', '1998-1999', '1999-2000';",
"height in inches refers to height_in_inch; players refers to PlayerName; team Oshawa Generals refers to TEAM = 'Oshawa Generals';",
"how much taller = SUBTRACT(SUM(height_in_cm WHERE PlayerName = 'David Bornhammar'), SUM(height_in_cm WHERE PlayerName = 'Pauli Levokari')); height in centimeters refers to height_in_cm;",
"youngest player refers to MAX(birthdate); 1997-1998 season refers to SEASON = '1997-1998'; OHL league refers to LEAGUE = 'OHL';",
"oldest player refers to MIN(birthdate); Avangard Omsk refers to TEAM = 'Avangard Omsk'; regular season refers to GAMETYPE = 'Regular Season'; 2000-2001 season refers to SEASON = '2000-2001';\n",
"Swedish refers to nation = 'Sweden'; team with the most Swedish refers to MAX(TEAM WHERE nation = 'Sweden');",
"drafted by the Toronto Maple Leafs refers to overallby = 'Toronto Maple Leafs'; played over 300 games in their first 7 years of the NHL career refers to sum_7yr_GP > 300;"
]
} |
{
"query": "Among all players drafted by the Toronto Maple Leafs in 2008, identify the player with the highest prospects for the draft.",
"pos": [
"players refers to PlayerName; drafted by the Toronto Maple Leafs refers to overallby = 'Toronto Maple Leafs'; highest prospects for the draft refers to MAX(CSS_rank);"
],
"neg": [
"difference = SUBTRACT(SUM(G WHERE GAMETYPE = 'Regular Season'), SUM(G WHERE GAMETYPE = 'Playoffs') WHERE SEASON = '1998-1999'); number of goals scored refers to G; regular season refers to GAMETYPE = 'Regular Season'; playoffs refers to GAMETYPE = 'Playoffs'; 1998-1999 season refers to SEASON = '1998-1999';",
"FALSE;",
"drafted by the Toronto Maple Leafs refers to overallby = 'Toronto Maple Leafs'; played over 300 games in their first 7 years of the NHL career refers to sum_7yr_GP > 300;",
"right-shooted refers to shoots = 'R'; weigh over 90 kg refers to weight_in_kg > 90;",
"name of the player refers to PlayerName; playoffs refers to GAMETYPE = 'Playoffs'; highest points refers to MAX(P); 2006-2007 season refers to SEASON = '2006-2007'; SuperElit league refers to LEAGUE = 'SuperElit';",
"how much taller = SUBTRACT(SUM(height_in_cm WHERE PlayerName = 'David Bornhammar'), SUM(height_in_cm WHERE PlayerName = 'Pauli Levokari')); height in centimeters refers to height_in_cm;",
"weight in kilograms refers to weight_in_kg; longest time on ice in the player's first 7 years of NHL career refers to MAX(sum_7yr_TOI);",
"weight in kilograms refers to weight_in_kg; highest number of goal differential of all time refers to MAX(PLUSMINUS);",
"youngest player refers to MAX(birthdate); 1997-1998 season refers to SEASON = '1997-1998'; OHL league refers to LEAGUE = 'OHL';",
"OHL league refers to LEAGUE = 'OHL'; who refers to PlayerName; regular season refers to GAMETYPE = 'Regular Season'; most number of assist refers to MAX(A); 2007-2008 season refers to SEASON = '2007-2008';"
]
} |
{
"query": "What is the name of the tallest player?",
"pos": [
"tallest player refers to MAX(height_in_cm);"
],
"neg": [
"name of the player refers to PlayerName; playoffs refers to GAMETYPE = 'Playoffs'; highest points refers to MAX(P); 2006-2007 season refers to SEASON = '2006-2007'; SuperElit league refers to LEAGUE = 'SuperElit';",
"names of the players refers to PlayerName; team Avangard Omsk refers to TEAM = 'Avangard Omsk'; 2000-2001 season refers to SEASON = '2000-2001';",
"who refers to PlayerName; drafted by Arizona Coyotes refers to overallby = 'Arizona Coyotes'; committed the highest rule violations refers to MAX(PIM); in 2000 refers to draftyear = 2000;",
"FALSE;",
"name of the player refers to PlayerName; most NHL points in draft year refers to MAX(P);",
"name of the player refers to PlayerName; most goals refers to MAX(G); team Rimouski Oceanic refers to TEAM = 'Rimouski Oceanic'; playoff refers to GAMETYPE = 'Playoffs';",
"playoffs refers to GAMETYPE = 'Playoffs';",
"right-shooted refers to shoots = 'R'; weigh over 90 kg refers to weight_in_kg > 90;",
"most valuable player refers to MAX(P); 2000-2001 season refers to SEASON = '2000-2001'; International league refers to LEAGUE = 'International';",
"right-shooted players refers to shoots = 'R'; height of 5'7'' refers to height_in_inch = '5''7\"';"
]
} |
{
"query": "Among all the players that are right-shooted, how many of them weigh over 90 kg?",
"pos": [
"right-shooted refers to shoots = 'R'; weigh over 90 kg refers to weight_in_kg > 90;"
],
"neg": [
"total NHL games played in their first 7 years of NHL career is no less than 500 refers to sum_7yr_GP > 500; name of the player refers to PlayerName; committed the most rule violations refers to MAX(PIM);",
"born in 1980 refers to birthyear = 1980; weigh 185 in pounds refers to weight_in_lbs = 185;",
"weigh more than 90 kg refers to weight_in_kg > 90;",
"name of the player refers to PlayerName; playoffs refers to GAMETYPE = 'Playoffs'; highest points refers to MAX(P); 2006-2007 season refers to SEASON = '2006-2007'; SuperElit league refers to LEAGUE = 'SuperElit';",
"names of the players refers to PlayerName; Avangard Omsk refers to TEAM = 'Avangard Omsk'; playoffs refers to GAMETYPE = 'Playoffs'; 2000-2001 season refers to SEASON = '2000-2001';",
"drafted by Anaheim Ducks refers to overallby = 'Anaheim Ducks'; in 2008 refers to draftyear = 2008; played for U.S. National U18 Team refers to TEAM = 'U.S. National U18 Team';",
"playoffs refers to GAMETYPE = 'Playoffs';",
"weigh in kilograms refers to weight_in_kg;",
"average = AVG(height_in_cm); players refers to PlayerName; position of defense refers to position_info = 'D' ;",
"1997-1998 season refers to SEASON = '1997-1998';"
]
} |
{
"query": "What is the difference in the number of goals scored by Pavel Brendl during the regular season versus the playoffs in the 1998-1999 season?",
"pos": [
"difference = SUBTRACT(SUM(G WHERE GAMETYPE = 'Regular Season'), SUM(G WHERE GAMETYPE = 'Playoffs') WHERE SEASON = '1998-1999'); number of goals scored refers to G; regular season refers to GAMETYPE = 'Regular Season'; playoffs refers to GAMETYPE = 'Playoffs'; 1998-1999 season refers to SEASON = '1998-1999';"
],
"neg": [
"drafted by the Toronto Maple Leafs refers to overallby = 'Toronto Maple Leafs'; played over 300 games in their first 7 years of the NHL career refers to sum_7yr_GP > 300;",
"penalty minutes refers to PIM; Ak Bars Kazan refers to TEAM = 'Ak Bars Kazan'; percentage = MULTIPLY(DIVIDE(SUM(PIM WHERE PlayerName = 'Yevgeni Muratov'), SUM(PIM)), 100.0); 1999-2000 season refers to SEASON = '1999-2000';",
"FALSE;",
"right-shooted players refers to shoots = 'R'; height of 5'7'' refers to height_in_inch = '5''7\"';",
"players refers to PlayerName; weigh 120 kg refers to weight_in_kg = 120;",
"height in inches refers to height_in_inch; players refers to PlayerName; team Oshawa Generals refers to TEAM = 'Oshawa Generals';",
"goals scored refers to G; Calgary Hitmen refers to TEAM = 'Calgary Hitmen'; percentage = MULTIPLY(DIVIDE(SUM(G WHERE PlayerName = 'Ian Schultz'), SUM(G)), 100); 2007-2008 season refers to SEASON = '2007-2008';",
"FALSE;",
"name of the player refers to PlayerName; most NHL points in draft year refers to MAX(P);",
"tallest player refers to MAX(height_in_cm);"
]
} |
{
"query": "List out the seasons that Niklas Eckerblom played.",
"pos": [
"FALSE;"
],
"neg": [
"OHL league refers to LEAGUE = 'OHL'; who refers to PlayerName; regular season refers to GAMETYPE = 'Regular Season'; most number of assist refers to MAX(A); 2007-2008 season refers to SEASON = '2007-2008';",
"FALSE;",
"tallest refers to MAX(height_in_cm); \nplayer refers to PlayerName; team USA U20 refers to TEAM = 'USA U20';",
"Swedish refers to nation = 'Sweden'; team with the most Swedish refers to MAX(TEAM WHERE nation = 'Sweden');",
"heigh in inches refers to height_in_inch;",
"tallest player refers to MAX(height_in_cm);",
"height of over 6'2\" inches refers to height_in_inch > '6''2\"'; born in Sweden refers to nation = 'Sweden' ;",
"percentage = MULTIPLY(DIVIDE(SUM(nation = 'Sweden'), COUNT(ELITEID) WHERE SEASON = '1997-2000'), 100); Swedish refers to nation = 'Sweden'; players refers to PlayerName; playoffs games refers to GAMETYPE = 'Playoffs'; 1997-2000 season refers to 3 consecutive SEASONs : '1997-1998', '1998-1999', '1999-2000';",
"players refers to PlayerName; drafted by the Toronto Maple Leafs refers to overallby = 'Toronto Maple Leafs'; percentage = MULTIPLY(DIVIDE(SUM(nation = 'Eastern Europe'), COUNT(ELITEID) WHERE overallby = 'Toronto Maple Leafs'), 100); from Eastern Europe refers to nation in ('Belarus', 'Bulgaria', 'Czech Republic', 'Hungary', 'Moldova', 'Poland', 'Romania', 'Slovakia', 'Ukraine'); countries in a continent can be identified by referring to https://worldpopulationreview.com/country-rankings/list-of-countries-by-continent;",
"who refers to PlayerName; heaviest weight refers to MAX(weight_in_kg);"
]
} |
{
"query": "Among all penalty minutes picked up by Ak Bars Kazan in the 1999-2000 season, identify the percentage picked up by Yevgeni Muratov.",
"pos": [
"penalty minutes refers to PIM; Ak Bars Kazan refers to TEAM = 'Ak Bars Kazan'; percentage = MULTIPLY(DIVIDE(SUM(PIM WHERE PlayerName = 'Yevgeni Muratov'), SUM(PIM)), 100.0); 1999-2000 season refers to SEASON = '1999-2000';"
],
"neg": [
"tallest refers to MAX(height_in_cm); \nplayer refers to PlayerName; team USA U20 refers to TEAM = 'USA U20';",
"players refers to PlayerName; drafted by the Toronto Maple Leafs refers to overallby = 'Toronto Maple Leafs'; highest prospects for the draft refers to MAX(CSS_rank);",
"how much taller = SUBTRACT(SUM(height_in_cm WHERE PlayerName = 'David Bornhammar'), SUM(height_in_cm WHERE PlayerName = 'Pauli Levokari')); height in centimeters refers to height_in_cm;",
"average = AVG(height_in_cm); players refers to PlayerName; position of defense refers to position_info = 'D' ;",
"drafted by Anaheim Ducks refers to overallby = 'Anaheim Ducks'; in 2008 refers to draftyear = 2008; played for U.S. National U18 Team refers to TEAM = 'U.S. National U18 Team';",
"committed the highest rule violations or penalty minutes refers to MAX(PIM); 2000-2001 season refers to SEASON = '2000-2001'",
"FALSE;",
"total NHL games played in their first 7 years of NHL career is no less than 500 refers to sum_7yr_GP > 500; name of the player refers to PlayerName; committed the most rule violations refers to MAX(PIM);",
"weight in kilograms refers to weight_in_kg; longest time on ice in the player's first 7 years of NHL career refers to MAX(sum_7yr_TOI);",
"average weight in pounds = AVG(weight_in_lbs); weight in pounds refers to weight_in_lbs; players refers to PlayerName; drafted by Arizona Coyotes refers to overallby = 'Arizona Coyotes';"
]
} |
{
"query": "Calculate the average weight in pounds of all players drafted by Arizona Coyotes.",
"pos": [
"average weight in pounds = AVG(weight_in_lbs); weight in pounds refers to weight_in_lbs; players refers to PlayerName; drafted by Arizona Coyotes refers to overallby = 'Arizona Coyotes';"
],
"neg": [
"players refers to PlayerName; weigh 120 kg refers to weight_in_kg = 120;",
"how much taller = SUBTRACT(SUM(height_in_cm WHERE PlayerName = 'David Bornhammar'), SUM(height_in_cm WHERE PlayerName = 'Pauli Levokari')); height in centimeters refers to height_in_cm;",
"name of the player refers to PlayerName; playoffs refers to GAMETYPE = 'Playoffs'; highest points refers to MAX(P); 2006-2007 season refers to SEASON = '2006-2007'; SuperElit league refers to LEAGUE = 'SuperElit';",
"tallest player refers to MAX(height_in_cm);",
"height of over 6'2\" inches refers to height_in_inch > '6''2\"'; born in Sweden refers to nation = 'Sweden' ;",
"committed the highest rule violations or penalty minutes refers to MAX(PIM); 2000-2001 season refers to SEASON = '2000-2001'",
"players refers to PlayerName; drafted by the Toronto Maple Leafs refers to overallby = 'Toronto Maple Leafs'; percentage = MULTIPLY(DIVIDE(SUM(nation = 'Eastern Europe'), COUNT(ELITEID) WHERE overallby = 'Toronto Maple Leafs'), 100); from Eastern Europe refers to nation in ('Belarus', 'Bulgaria', 'Czech Republic', 'Hungary', 'Moldova', 'Poland', 'Romania', 'Slovakia', 'Ukraine'); countries in a continent can be identified by referring to https://worldpopulationreview.com/country-rankings/list-of-countries-by-continent;",
"percentage = MULTIPLY(DIVIDE(SUM(nation = 'Sweden'), COUNT(ELITEID) WHERE SEASON = '1997-2000'), 100); Swedish refers to nation = 'Sweden'; players refers to PlayerName; playoffs games refers to GAMETYPE = 'Playoffs'; 1997-2000 season refers to 3 consecutive SEASONs : '1997-1998', '1998-1999', '1999-2000';",
"right-shooted players refers to shoots = 'R'; height of 5'7'' refers to height_in_inch = '5''7\"';",
"players refers to PlayerName; drafted by the Toronto Maple Leafs refers to overallby = 'Toronto Maple Leafs'; highest prospects for the draft refers to MAX(CSS_rank);"
]
} |
{
"query": "Name the player who has the most NHL points in draft year.",
"pos": [
"name of the player refers to PlayerName; most NHL points in draft year refers to MAX(P);"
],
"neg": [
"drafted by Anaheim Ducks refers to overallby = 'Anaheim Ducks'; in 2008 refers to draftyear = 2008; played for U.S. National U18 Team refers to TEAM = 'U.S. National U18 Team';",
"tallest player refers to MAX(height_in_cm);",
"name of the player refers to PlayerName; position of the player refers to position_info; committed the most rule violations refers to MAX(PIM);",
"weigh more than 90 kg refers to weight_in_kg > 90;",
"right-shooted players refers to shoots = 'R'; height of 5'7'' refers to height_in_inch = '5''7\"';",
"weight in kilograms refers to weight_in_kg; highest number of goal differential of all time refers to MAX(PLUSMINUS);",
"height of over 6'2\" inches refers to height_in_inch > '6''2\"'; born in Sweden refers to nation = 'Sweden' ;",
"height in inches refers to height_in_inch; players refers to PlayerName; team Oshawa Generals refers to TEAM = 'Oshawa Generals';",
"1997-1998 season refers to SEASON = '1997-1998';",
"difference = SUBTRACT(SUM(G WHERE GAMETYPE = 'Regular Season'), SUM(G WHERE GAMETYPE = 'Playoffs') WHERE SEASON = '1998-1999'); number of goals scored refers to G; regular season refers to GAMETYPE = 'Regular Season'; playoffs refers to GAMETYPE = 'Playoffs'; 1998-1999 season refers to SEASON = '1998-1999';"
]
} |
{
"query": "How many players were born in 1982 and have a height above 182cm?",
"pos": [
"born in 1982 refers to birthyear = 1982; height above 182cm refers to height_in_cm > 182 ;"
],
"neg": [
"weigh more than 90 kg refers to weight_in_kg > 90;",
"height of over 6'2\" inches refers to height_in_inch > '6''2\"'; born in Sweden refers to nation = 'Sweden' ;",
"Swedish refers to nation = 'Sweden'; team with the most Swedish refers to MAX(TEAM WHERE nation = 'Sweden');",
"FALSE;",
"name of players refers to PlayerName; height of 5'8\" refers to height_in_inch = '5''8\"';",
"names of the players refers to PlayerName; Avangard Omsk refers to TEAM = 'Avangard Omsk'; playoffs refers to GAMETYPE = 'Playoffs'; 2000-2001 season refers to SEASON = '2000-2001';",
"weight in kilograms refers to weight_in_kg; longest time on ice in the player's first 7 years of NHL career refers to MAX(sum_7yr_TOI);",
"players refers to PlayerName; weigh 120 kg refers to weight_in_kg = 120;",
"penalty minutes refers to PIM; Ak Bars Kazan refers to TEAM = 'Ak Bars Kazan'; percentage = MULTIPLY(DIVIDE(SUM(PIM WHERE PlayerName = 'Yevgeni Muratov'), SUM(PIM)), 100.0); 1999-2000 season refers to SEASON = '1999-2000';",
"most valuable player refers to MAX(P); 2000-2001 season refers to SEASON = '2000-2001'; International league refers to LEAGUE = 'International';"
]
} |
{
"query": "List the names of all players in team Avangard Omsk in season 2000-2001.",
"pos": [
"names of the players refers to PlayerName; team Avangard Omsk refers to TEAM = 'Avangard Omsk'; 2000-2001 season refers to SEASON = '2000-2001';"
],
"neg": [
"USA refers to nation = 'USA' ; players refers to PlayerName; lightest weight refers to MIN(weight_in_lbs);\n",
"Swedish refers to nation = 'Sweden'; team with the most Swedish refers to MAX(TEAM WHERE nation = 'Sweden');",
"born in 1982 refers to birthyear = 1982; height above 182cm refers to height_in_cm > 182 ;",
"drafted by the Toronto Maple Leafs refers to overallby = 'Toronto Maple Leafs'; played over 300 games in their first 7 years of the NHL career refers to sum_7yr_GP > 300;",
"total NHL games played in their first 7 years of NHL career is no less than 500 refers to sum_7yr_GP > 500; name of the player refers to PlayerName; committed the most rule violations refers to MAX(PIM);",
"goals scored refers to G; Calgary Hitmen refers to TEAM = 'Calgary Hitmen'; percentage = MULTIPLY(DIVIDE(SUM(G WHERE PlayerName = 'Ian Schultz'), SUM(G)), 100); 2007-2008 season refers to SEASON = '2007-2008';",
"how much taller = SUBTRACT(SUM(height_in_cm WHERE PlayerName = 'David Bornhammar'), SUM(height_in_cm WHERE PlayerName = 'Pauli Levokari')); height in centimeters refers to height_in_cm;",
"percentage = MULTIPLY(DIVIDE(SUM(nation = 'Sweden'), COUNT(ELITEID) WHERE SEASON = '1997-2000'), 100); Swedish refers to nation = 'Sweden'; players refers to PlayerName; playoffs games refers to GAMETYPE = 'Playoffs'; 1997-2000 season refers to 3 consecutive SEASONs : '1997-1998', '1998-1999', '1999-2000';",
"percentage = MULTIPLY(DIVIDE(SUM(nation = 'Russia' WHERE height_in_cm < 200), COUNT(ELITEID)), 100); Russian refers to nation = 'Russia'; players refers to PlayerName; height of under 200 inch refers to height_in_cm < 200;",
"difference = SUBTRACT(SUM(G WHERE GAMETYPE = 'Regular Season'), SUM(G WHERE GAMETYPE = 'Playoffs') WHERE SEASON = '1998-1999'); number of goals scored refers to G; regular season refers to GAMETYPE = 'Regular Season'; playoffs refers to GAMETYPE = 'Playoffs'; 1998-1999 season refers to SEASON = '1998-1999';"
]
} |
{
"query": "Which team has the most Swedish?",
"pos": [
"Swedish refers to nation = 'Sweden'; team with the most Swedish refers to MAX(TEAM WHERE nation = 'Sweden');"
],
"neg": [
"right-shooted players refers to shoots = 'R'; height of 5'7'' refers to height_in_inch = '5''7\"';",
"heaviest player refers to MAX(weight_in_lb); drafted by Arizona Coyotes refers to overallby = 'Arizona Coyotes';",
"total NHL games played in their first 7 years of NHL career is no less than 500 refers to sum_7yr_GP > 500; name of the player refers to PlayerName; committed the most rule violations refers to MAX(PIM);",
"heigh in inches refers to height_in_inch;",
"names of the players refers to PlayerName; team Avangard Omsk refers to TEAM = 'Avangard Omsk'; 2000-2001 season refers to SEASON = '2000-2001';",
"name of the player refers to PlayerName; position of the player refers to position_info; committed the most rule violations refers to MAX(PIM);",
"USA refers to nation = 'USA' ; players refers to PlayerName; lightest weight refers to MIN(weight_in_lbs);\n",
"average weight in pounds = AVG(weight_in_lbs); weight in pounds refers to weight_in_lbs; players refers to PlayerName; drafted by Arizona Coyotes refers to overallby = 'Arizona Coyotes';",
"name of the player refers to PlayerName; most NHL points in draft year refers to MAX(P);",
"drafted by Anaheim Ducks refers to overallby = 'Anaheim Ducks'; in 2008 refers to draftyear = 2008; played for U.S. National U18 Team refers to TEAM = 'U.S. National U18 Team';"
]
} |
{
"query": "Who among the players drafted by Arizona Coyotes in 2000 has committed the highest rule violations?",
"pos": [
"who refers to PlayerName; drafted by Arizona Coyotes refers to overallby = 'Arizona Coyotes'; committed the highest rule violations refers to MAX(PIM); in 2000 refers to draftyear = 2000;"
],
"neg": [
"tallest player refers to MAX(height_in_cm);",
"name of the player refers to PlayerName; position of the player refers to position_info; committed the most rule violations refers to MAX(PIM);",
"how much taller = SUBTRACT(SUM(height_in_cm WHERE PlayerName = 'David Bornhammar'), SUM(height_in_cm WHERE PlayerName = 'Pauli Levokari')); height in centimeters refers to height_in_cm;",
"percentage = MULTIPLY(DIVIDE(SUM(nation = 'Sweden'), COUNT(ELITEID) WHERE SEASON = '1997-2000'), 100); Swedish refers to nation = 'Sweden'; players refers to PlayerName; playoffs games refers to GAMETYPE = 'Playoffs'; 1997-2000 season refers to 3 consecutive SEASONs : '1997-1998', '1998-1999', '1999-2000';",
"type of game refers to GAMETYPE;",
"FALSE;",
"playoffs refers to GAMETYPE = 'Playoffs';",
"names of the players refers to PlayerName; team Avangard Omsk refers to TEAM = 'Avangard Omsk'; 2000-2001 season refers to SEASON = '2000-2001';",
"weigh in kilograms refers to weight_in_kg;",
"penalty minutes refers to PIM; Ak Bars Kazan refers to TEAM = 'Ak Bars Kazan'; percentage = MULTIPLY(DIVIDE(SUM(PIM WHERE PlayerName = 'Yevgeni Muratov'), SUM(PIM)), 100.0); 1999-2000 season refers to SEASON = '1999-2000';"
]
} |
{
"query": "Among all players drafted by the Toronto Maple Leafs, identify the percentage who are from Eastern Europe.",
"pos": [
"players refers to PlayerName; drafted by the Toronto Maple Leafs refers to overallby = 'Toronto Maple Leafs'; percentage = MULTIPLY(DIVIDE(SUM(nation = 'Eastern Europe'), COUNT(ELITEID) WHERE overallby = 'Toronto Maple Leafs'), 100); from Eastern Europe refers to nation in ('Belarus', 'Bulgaria', 'Czech Republic', 'Hungary', 'Moldova', 'Poland', 'Romania', 'Slovakia', 'Ukraine'); countries in a continent can be identified by referring to https://worldpopulationreview.com/country-rankings/list-of-countries-by-continent;"
],
"neg": [
"penalty minutes refers to PIM; Ak Bars Kazan refers to TEAM = 'Ak Bars Kazan'; percentage = MULTIPLY(DIVIDE(SUM(PIM WHERE PlayerName = 'Yevgeni Muratov'), SUM(PIM)), 100.0); 1999-2000 season refers to SEASON = '1999-2000';",
"players refers to PlayerName; weigh 120 kg refers to weight_in_kg = 120;",
"total NHL games played in their first 7 years of NHL career is no less than 500 refers to sum_7yr_GP > 500; name of the player refers to PlayerName; committed the most rule violations refers to MAX(PIM);",
"FALSE;",
"FALSE;",
"drafted by Anaheim Ducks refers to overallby = 'Anaheim Ducks'; in 2008 refers to draftyear = 2008; played for U.S. National U18 Team refers to TEAM = 'U.S. National U18 Team';",
"height of over 6'2\" inches refers to height_in_inch > '6''2\"'; born in Sweden refers to nation = 'Sweden' ;",
"how much taller = SUBTRACT(SUM(height_in_cm WHERE PlayerName = 'David Bornhammar'), SUM(height_in_cm WHERE PlayerName = 'Pauli Levokari')); height in centimeters refers to height_in_cm;",
"names of the players refers to PlayerName; team Avangard Omsk refers to TEAM = 'Avangard Omsk'; 2000-2001 season refers to SEASON = '2000-2001';",
"name of the player refers to PlayerName; position of the player refers to position_info; committed the most rule violations refers to MAX(PIM);"
]
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.