question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 | text stringlengths 114 1.06k |
|---|---|---|---|
What is the total losses for the player with fewer than 51 pens, 3 tries and 45 starts? | CREATE TABLE table_name_19 (lost VARCHAR, start VARCHAR, pens VARCHAR, tries VARCHAR) | SELECT COUNT(lost) FROM table_name_19 WHERE pens < 51 AND tries = 3 AND start = 45 | ### Context: CREATE TABLE table_name_19 (lost VARCHAR, start VARCHAR, pens VARCHAR, tries VARCHAR) ### Question: What is the total losses for the player with fewer than 51 pens, 3 tries and 45 starts? ### Answer: SELECT COUNT(lost) FROM table_name_19 WHERE pens < 51 AND tries = 3 AND start = 45 |
What is the average crowd size at glenferrie oval? | CREATE TABLE table_name_16 (crowd INTEGER, venue VARCHAR) | SELECT AVG(crowd) FROM table_name_16 WHERE venue = "glenferrie oval" | ### Context: CREATE TABLE table_name_16 (crowd INTEGER, venue VARCHAR) ### Question: What is the average crowd size at glenferrie oval? ### Answer: SELECT AVG(crowd) FROM table_name_16 WHERE venue = "glenferrie oval" |
What is the away team's score when the away team is geelong? | CREATE TABLE table_name_16 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_16 WHERE away_team = "geelong" | ### Context: CREATE TABLE table_name_16 (away_team VARCHAR) ### Question: What is the away team's score when the away team is geelong? ### Answer: SELECT away_team AS score FROM table_name_16 WHERE away_team = "geelong" |
What is the largest crowd when melbourne plays at home? | CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR) | SELECT MAX(crowd) FROM table_name_98 WHERE home_team = "melbourne" | ### Context: CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR) ### Question: What is the largest crowd when melbourne plays at home? ### Answer: SELECT MAX(crowd) FROM table_name_98 WHERE home_team = "melbourne" |
What was the championship game for the Southwest conference? | CREATE TABLE table_name_63 (championship_game VARCHAR, conference VARCHAR) | SELECT championship_game FROM table_name_63 WHERE conference = "southwest" | ### Context: CREATE TABLE table_name_63 (championship_game VARCHAR, conference VARCHAR) ### Question: What was the championship game for the Southwest conference? ### Answer: SELECT championship_game FROM table_name_63 WHERE conference = "southwest" |
Which manager has Sol Campbell as captain? | CREATE TABLE table_name_29 (manager VARCHAR, captain VARCHAR) | SELECT manager FROM table_name_29 WHERE captain = "sol campbell" | ### Context: CREATE TABLE table_name_29 (manager VARCHAR, captain VARCHAR) ### Question: Which manager has Sol Campbell as captain? ### Answer: SELECT manager FROM table_name_29 WHERE captain = "sol campbell" |
What team does Carlsberg sponsor? | CREATE TABLE table_name_52 (team VARCHAR, shirt_sponsor VARCHAR) | SELECT team FROM table_name_52 WHERE shirt_sponsor = "carlsberg" | ### Context: CREATE TABLE table_name_52 (team VARCHAR, shirt_sponsor VARCHAR) ### Question: What team does Carlsberg sponsor? ### Answer: SELECT team FROM table_name_52 WHERE shirt_sponsor = "carlsberg" |
Who sponsors Middlesbrough? | CREATE TABLE table_name_74 (shirt_sponsor VARCHAR, team VARCHAR) | SELECT shirt_sponsor FROM table_name_74 WHERE team = "middlesbrough" | ### Context: CREATE TABLE table_name_74 (shirt_sponsor VARCHAR, team VARCHAR) ### Question: Who sponsors Middlesbrough? ### Answer: SELECT shirt_sponsor FROM table_name_74 WHERE team = "middlesbrough" |
Which sponsor has Mark Hughes as manager? | CREATE TABLE table_name_23 (shirt_sponsor VARCHAR, manager VARCHAR) | SELECT shirt_sponsor FROM table_name_23 WHERE manager = "mark hughes" | ### Context: CREATE TABLE table_name_23 (shirt_sponsor VARCHAR, manager VARCHAR) ### Question: Which sponsor has Mark Hughes as manager? ### Answer: SELECT shirt_sponsor FROM table_name_23 WHERE manager = "mark hughes" |
Which kit maker does Aston Villa use? | CREATE TABLE table_name_42 (kit_maker VARCHAR, team VARCHAR) | SELECT kit_maker FROM table_name_42 WHERE team = "aston villa" | ### Context: CREATE TABLE table_name_42 (kit_maker VARCHAR, team VARCHAR) ### Question: Which kit maker does Aston Villa use? ### Answer: SELECT kit_maker FROM table_name_42 WHERE team = "aston villa" |
Who captains Portsmouth? | CREATE TABLE table_name_9 (captain VARCHAR, team VARCHAR) | SELECT captain FROM table_name_9 WHERE team = "portsmouth" | ### Context: CREATE TABLE table_name_9 (captain VARCHAR, team VARCHAR) ### Question: Who captains Portsmouth? ### Answer: SELECT captain FROM table_name_9 WHERE team = "portsmouth" |
What bombing happened in Brighton, UK? | CREATE TABLE table_name_98 (event VARCHAR, location VARCHAR) | SELECT event FROM table_name_98 WHERE location = "brighton, uk" | ### Context: CREATE TABLE table_name_98 (event VARCHAR, location VARCHAR) ### Question: What bombing happened in Brighton, UK? ### Answer: SELECT event FROM table_name_98 WHERE location = "brighton, uk" |
What result had a score of 3–0? | CREATE TABLE table_name_50 (result VARCHAR, score VARCHAR) | SELECT result FROM table_name_50 WHERE score = "3–0" | ### Context: CREATE TABLE table_name_50 (result VARCHAR, score VARCHAR) ### Question: What result had a score of 3–0? ### Answer: SELECT result FROM table_name_50 WHERE score = "3–0" |
For the venue of suwon world cup stadium , suwon , south korea and a Score of 3–0 what is the result? | CREATE TABLE table_name_74 (result VARCHAR, venue VARCHAR, score VARCHAR) | SELECT result FROM table_name_74 WHERE venue = "suwon world cup stadium , suwon , south korea" AND score = "3–0" | ### Context: CREATE TABLE table_name_74 (result VARCHAR, venue VARCHAR, score VARCHAR) ### Question: For the venue of suwon world cup stadium , suwon , south korea and a Score of 3–0 what is the result? ### Answer: SELECT result FROM table_name_74 WHERE venue = "suwon world cup stadium , suwon , south korea" AND score ... |
What is the top goal for the result of 2–3? | CREATE TABLE table_name_39 (goal INTEGER, result VARCHAR) | SELECT MAX(goal) FROM table_name_39 WHERE result = "2–3" | ### Context: CREATE TABLE table_name_39 (goal INTEGER, result VARCHAR) ### Question: What is the top goal for the result of 2–3? ### Answer: SELECT MAX(goal) FROM table_name_39 WHERE result = "2–3" |
When was the time of 12:49:08 first set? | CREATE TABLE table_name_7 (year INTEGER, time VARCHAR) | SELECT MIN(year) FROM table_name_7 WHERE time = "12:49:08" | ### Context: CREATE TABLE table_name_7 (year INTEGER, time VARCHAR) ### Question: When was the time of 12:49:08 first set? ### Answer: SELECT MIN(year) FROM table_name_7 WHERE time = "12:49:08" |
What was the date when the attendance was 77,918? | CREATE TABLE table_name_90 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_90 WHERE attendance = "77,918" | ### Context: CREATE TABLE table_name_90 (date VARCHAR, attendance VARCHAR) ### Question: What was the date when the attendance was 77,918? ### Answer: SELECT date FROM table_name_90 WHERE attendance = "77,918" |
What was the attendance of the game played in the Georgia Dome? | CREATE TABLE table_name_6 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_6 WHERE game_site = "georgia dome" | ### Context: CREATE TABLE table_name_6 (attendance VARCHAR, game_site VARCHAR) ### Question: What was the attendance of the game played in the Georgia Dome? ### Answer: SELECT attendance FROM table_name_6 WHERE game_site = "georgia dome" |
What was the date when the attendance was 73,529? | CREATE TABLE table_name_89 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_89 WHERE attendance = "73,529" | ### Context: CREATE TABLE table_name_89 (date VARCHAR, attendance VARCHAR) ### Question: What was the date when the attendance was 73,529? ### Answer: SELECT date FROM table_name_89 WHERE attendance = "73,529" |
What away team played at Western Oval? | CREATE TABLE table_name_75 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_75 WHERE venue = "western oval" | ### Context: CREATE TABLE table_name_75 (away_team VARCHAR, venue VARCHAR) ### Question: What away team played at Western Oval? ### Answer: SELECT away_team FROM table_name_75 WHERE venue = "western oval" |
What was the smallest crowd when Footscray played at home? | CREATE TABLE table_name_95 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_95 WHERE home_team = "footscray" | ### Context: CREATE TABLE table_name_95 (crowd INTEGER, home_team VARCHAR) ### Question: What was the smallest crowd when Footscray played at home? ### Answer: SELECT MIN(crowd) FROM table_name_95 WHERE home_team = "footscray" |
What was the outcome when she partnered with mashona washington? | CREATE TABLE table_name_39 (outcome VARCHAR, partner VARCHAR) | SELECT outcome FROM table_name_39 WHERE partner = "mashona washington" | ### Context: CREATE TABLE table_name_39 (outcome VARCHAR, partner VARCHAR) ### Question: What was the outcome when she partnered with mashona washington? ### Answer: SELECT outcome FROM table_name_39 WHERE partner = "mashona washington" |
What is the listed crowd at junction oval? | CREATE TABLE table_name_54 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_54 WHERE venue = "junction oval" | ### Context: CREATE TABLE table_name_54 (crowd VARCHAR, venue VARCHAR) ### Question: What is the listed crowd at junction oval? ### Answer: SELECT crowd FROM table_name_54 WHERE venue = "junction oval" |
What is the sum of crowd(s) when north melbourne is away? | CREATE TABLE table_name_92 (crowd INTEGER, away_team VARCHAR) | SELECT SUM(crowd) FROM table_name_92 WHERE away_team = "north melbourne" | ### Context: CREATE TABLE table_name_92 (crowd INTEGER, away_team VARCHAR) ### Question: What is the sum of crowd(s) when north melbourne is away? ### Answer: SELECT SUM(crowd) FROM table_name_92 WHERE away_team = "north melbourne" |
What day is south melbourne away? | CREATE TABLE table_name_19 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_19 WHERE away_team = "south melbourne" | ### Context: CREATE TABLE table_name_19 (date VARCHAR, away_team VARCHAR) ### Question: What day is south melbourne away? ### Answer: SELECT date FROM table_name_19 WHERE away_team = "south melbourne" |
What was the score of the competition on 23 November 2003? | CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_64 WHERE date = "23 november 2003" | ### Context: CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR) ### Question: What was the score of the competition on 23 November 2003? ### Answer: SELECT score FROM table_name_64 WHERE date = "23 november 2003" |
Where did Richmond play as an away team? | CREATE TABLE table_name_70 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_70 WHERE away_team = "richmond" | ### Context: CREATE TABLE table_name_70 (venue VARCHAR, away_team VARCHAR) ### Question: Where did Richmond play as an away team? ### Answer: SELECT venue FROM table_name_70 WHERE away_team = "richmond" |
When did South Melbourne play at home? | CREATE TABLE table_name_3 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_3 WHERE home_team = "south melbourne" | ### Context: CREATE TABLE table_name_3 (date VARCHAR, home_team VARCHAR) ### Question: When did South Melbourne play at home? ### Answer: SELECT date FROM table_name_3 WHERE home_team = "south melbourne" |
What is the average election for vicenza province with the liga veneta party? | CREATE TABLE table_name_31 (election INTEGER, party VARCHAR, province VARCHAR) | SELECT AVG(election) FROM table_name_31 WHERE party = "liga veneta" AND province = "vicenza" | ### Context: CREATE TABLE table_name_31 (election INTEGER, party VARCHAR, province VARCHAR) ### Question: What is the average election for vicenza province with the liga veneta party? ### Answer: SELECT AVG(election) FROM table_name_31 WHERE party = "liga veneta" AND province = "vicenza" |
What is the sum of elections in vicenza? | CREATE TABLE table_name_1 (election INTEGER, province VARCHAR) | SELECT SUM(election) FROM table_name_1 WHERE province = "vicenza" | ### Context: CREATE TABLE table_name_1 (election INTEGER, province VARCHAR) ### Question: What is the sum of elections in vicenza? ### Answer: SELECT SUM(election) FROM table_name_1 WHERE province = "vicenza" |
What province has an election after 2009? | CREATE TABLE table_name_55 (province VARCHAR, election INTEGER) | SELECT province FROM table_name_55 WHERE election > 2009 | ### Context: CREATE TABLE table_name_55 (province VARCHAR, election INTEGER) ### Question: What province has an election after 2009? ### Answer: SELECT province FROM table_name_55 WHERE election > 2009 |
What format does Japan use? | CREATE TABLE table_name_34 (format VARCHAR, country VARCHAR) | SELECT format FROM table_name_34 WHERE country = "japan" | ### Context: CREATE TABLE table_name_34 (format VARCHAR, country VARCHAR) ### Question: What format does Japan use? ### Answer: SELECT format FROM table_name_34 WHERE country = "japan" |
What date has a catalogue of 540 3622? | CREATE TABLE table_name_82 (date VARCHAR, catalogue VARCHAR) | SELECT date FROM table_name_82 WHERE catalogue = "540 3622" | ### Context: CREATE TABLE table_name_82 (date VARCHAR, catalogue VARCHAR) ### Question: What date has a catalogue of 540 3622? ### Answer: SELECT date FROM table_name_82 WHERE catalogue = "540 3622" |
What format has a catalogue of asw 40362? | CREATE TABLE table_name_81 (format VARCHAR, catalogue VARCHAR) | SELECT format FROM table_name_81 WHERE catalogue = "asw 40362" | ### Context: CREATE TABLE table_name_81 (format VARCHAR, catalogue VARCHAR) ### Question: What format has a catalogue of asw 40362? ### Answer: SELECT format FROM table_name_81 WHERE catalogue = "asw 40362" |
What date has a catalogue of asw 40362? | CREATE TABLE table_name_90 (date VARCHAR, catalogue VARCHAR) | SELECT date FROM table_name_90 WHERE catalogue = "asw 40362" | ### Context: CREATE TABLE table_name_90 (date VARCHAR, catalogue VARCHAR) ### Question: What date has a catalogue of asw 40362? ### Answer: SELECT date FROM table_name_90 WHERE catalogue = "asw 40362" |
On what Date is the Crowd larger than 17,000? | CREATE TABLE table_name_8 (date VARCHAR, crowd INTEGER) | SELECT date FROM table_name_8 WHERE crowd > 17 OFFSET 000 | ### Context: CREATE TABLE table_name_8 (date VARCHAR, crowd INTEGER) ### Question: On what Date is the Crowd larger than 17,000? ### Answer: SELECT date FROM table_name_8 WHERE crowd > 17 OFFSET 000 |
Which Away team has the Home team of Carlton? | CREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_2 WHERE home_team = "carlton" | ### Context: CREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR) ### Question: Which Away team has the Home team of Carlton? ### Answer: SELECT away_team FROM table_name_2 WHERE home_team = "carlton" |
What was the score of the Jeff Tarango game? | CREATE TABLE table_name_12 (score VARCHAR, partner VARCHAR) | SELECT score FROM table_name_12 WHERE partner = "jeff tarango" | ### Context: CREATE TABLE table_name_12 (score VARCHAR, partner VARCHAR) ### Question: What was the score of the Jeff Tarango game? ### Answer: SELECT score FROM table_name_12 WHERE partner = "jeff tarango" |
Where did Collingwood play ae the away team? | CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_57 WHERE away_team = "collingwood" | ### Context: CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR) ### Question: Where did Collingwood play ae the away team? ### Answer: SELECT venue FROM table_name_57 WHERE away_team = "collingwood" |
What was the score when there was more than 27,000 in attendance? | CREATE TABLE table_name_73 (home_team VARCHAR, crowd INTEGER) | SELECT home_team AS score FROM table_name_73 WHERE crowd > 27 OFFSET 000 | ### Context: CREATE TABLE table_name_73 (home_team VARCHAR, crowd INTEGER) ### Question: What was the score when there was more than 27,000 in attendance? ### Answer: SELECT home_team AS score FROM table_name_73 WHERE crowd > 27 OFFSET 000 |
Where did Hawthorn play as the home team? | CREATE TABLE table_name_41 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_41 WHERE home_team = "hawthorn" | ### Context: CREATE TABLE table_name_41 (venue VARCHAR, home_team VARCHAR) ### Question: Where did Hawthorn play as the home team? ### Answer: SELECT venue FROM table_name_41 WHERE home_team = "hawthorn" |
In 1990-2005 what is the lowest Start with Convs smaller than 2? | CREATE TABLE table_name_93 (start INTEGER, span VARCHAR, conv VARCHAR) | SELECT MIN(start) FROM table_name_93 WHERE span = "1990-2005" AND conv < 2 | ### Context: CREATE TABLE table_name_93 (start INTEGER, span VARCHAR, conv VARCHAR) ### Question: In 1990-2005 what is the lowest Start with Convs smaller than 2? ### Answer: SELECT MIN(start) FROM table_name_93 WHERE span = "1990-2005" AND conv < 2 |
What is the total of the crowd when the home team is footscray? | CREATE TABLE table_name_60 (crowd VARCHAR, home_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_60 WHERE home_team = "footscray" | ### Context: CREATE TABLE table_name_60 (crowd VARCHAR, home_team VARCHAR) ### Question: What is the total of the crowd when the home team is footscray? ### Answer: SELECT COUNT(crowd) FROM table_name_60 WHERE home_team = "footscray" |
What is the away team score when the away team is Essendon? | CREATE TABLE table_name_16 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_16 WHERE away_team = "essendon" | ### Context: CREATE TABLE table_name_16 (away_team VARCHAR) ### Question: What is the away team score when the away team is Essendon? ### Answer: SELECT away_team AS score FROM table_name_16 WHERE away_team = "essendon" |
How many weeks ended in a result of L 20-10? | CREATE TABLE table_name_85 (week VARCHAR, result VARCHAR) | SELECT COUNT(week) FROM table_name_85 WHERE result = "l 20-10" | ### Context: CREATE TABLE table_name_85 (week VARCHAR, result VARCHAR) ### Question: How many weeks ended in a result of L 20-10? ### Answer: SELECT COUNT(week) FROM table_name_85 WHERE result = "l 20-10" |
What was the attendance in week 6? | CREATE TABLE table_name_13 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_13 WHERE week = 6 | ### Context: CREATE TABLE table_name_13 (attendance VARCHAR, week VARCHAR) ### Question: What was the attendance in week 6? ### Answer: SELECT attendance FROM table_name_13 WHERE week = 6 |
Who was the opponent in the game that had an attendance of 60,066? | CREATE TABLE table_name_30 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_30 WHERE attendance = "60,066" | ### Context: CREATE TABLE table_name_30 (opponent VARCHAR, attendance VARCHAR) ### Question: Who was the opponent in the game that had an attendance of 60,066? ### Answer: SELECT opponent FROM table_name_30 WHERE attendance = "60,066" |
What is the designation of material or non-material for either positional or automatic with no rectified count and either opponent? | CREATE TABLE table_name_36 (material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR, count_rectified VARCHAR) | SELECT material_or_non_material FROM table_name_36 WHERE positional_or_automatic = "either" AND count_rectified = "no" AND opponents = "either" | ### Context: CREATE TABLE table_name_36 (material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR, count_rectified VARCHAR) ### Question: What is the designation of material or non-material for either positional or automatic with no rectified count and either opponent? ### Answer: SELECT mat... |
What is the value for positional opponents with no material or non-material, and 3 suits? | CREATE TABLE table_name_92 (opponents VARCHAR, suits VARCHAR, positional_or_automatic VARCHAR, material_or_non_material VARCHAR) | SELECT opponents FROM table_name_92 WHERE positional_or_automatic = "positional" AND material_or_non_material = "no" AND suits = "3" | ### Context: CREATE TABLE table_name_92 (opponents VARCHAR, suits VARCHAR, positional_or_automatic VARCHAR, material_or_non_material VARCHAR) ### Question: What is the value for positional opponents with no material or non-material, and 3 suits? ### Answer: SELECT opponents FROM table_name_92 WHERE positional_or_automa... |
Is it material or non-material when there are 2 suits for either opponent? | CREATE TABLE table_name_63 (material_or_non_material VARCHAR, suits VARCHAR, opponents VARCHAR) | SELECT material_or_non_material FROM table_name_63 WHERE suits = "2" AND opponents = "either" | ### Context: CREATE TABLE table_name_63 (material_or_non_material VARCHAR, suits VARCHAR, opponents VARCHAR) ### Question: Is it material or non-material when there are 2 suits for either opponent? ### Answer: SELECT material_or_non_material FROM table_name_63 WHERE suits = "2" AND opponents = "either" |
Is the count rectified for single opponents, either positional or automatic, and no material or non-material? | CREATE TABLE table_name_78 (count_rectified VARCHAR, material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR) | SELECT count_rectified FROM table_name_78 WHERE opponents = "single" AND positional_or_automatic = "either" AND material_or_non_material = "no" | ### Context: CREATE TABLE table_name_78 (count_rectified VARCHAR, material_or_non_material VARCHAR, opponents VARCHAR, positional_or_automatic VARCHAR) ### Question: Is the count rectified for single opponents, either positional or automatic, and no material or non-material? ### Answer: SELECT count_rectified FROM tabl... |
How many points did Happy Valley score before game 14? | CREATE TABLE table_name_89 (point VARCHAR, team VARCHAR, game VARCHAR) | SELECT COUNT(point) FROM table_name_89 WHERE team = "happy valley" AND game < 14 | ### Context: CREATE TABLE table_name_89 (point VARCHAR, team VARCHAR, game VARCHAR) ### Question: How many points did Happy Valley score before game 14? ### Answer: SELECT COUNT(point) FROM table_name_89 WHERE team = "happy valley" AND game < 14 |
How many draws did the game after game 14 with goal gain 17 have? | CREATE TABLE table_name_45 (draw INTEGER, goal_gain VARCHAR, game VARCHAR) | SELECT MAX(draw) FROM table_name_45 WHERE goal_gain = 17 AND game > 14 | ### Context: CREATE TABLE table_name_45 (draw INTEGER, goal_gain VARCHAR, game VARCHAR) ### Question: How many draws did the game after game 14 with goal gain 17 have? ### Answer: SELECT MAX(draw) FROM table_name_45 WHERE goal_gain = 17 AND game > 14 |
How many total draws were there with a less than 8 loss, more than 30 points, and a goal diff larger than 26? | CREATE TABLE table_name_21 (draw VARCHAR, goal_diff VARCHAR, loss VARCHAR, point VARCHAR) | SELECT COUNT(draw) FROM table_name_21 WHERE loss < 8 AND point > 30 AND goal_diff > 26 | ### Context: CREATE TABLE table_name_21 (draw VARCHAR, goal_diff VARCHAR, loss VARCHAR, point VARCHAR) ### Question: How many total draws were there with a less than 8 loss, more than 30 points, and a goal diff larger than 26? ### Answer: SELECT COUNT(draw) FROM table_name_21 WHERE loss < 8 AND point > 30 AND goal_diff... |
What is the highest loss before game 14? | CREATE TABLE table_name_31 (loss INTEGER, game INTEGER) | SELECT MAX(loss) FROM table_name_31 WHERE game < 14 | ### Context: CREATE TABLE table_name_31 (loss INTEGER, game INTEGER) ### Question: What is the highest loss before game 14? ### Answer: SELECT MAX(loss) FROM table_name_31 WHERE game < 14 |
How many average points did the player with a time/retired of +16.789 and have more laps than 68 have? | CREATE TABLE table_name_8 (points INTEGER, time_retired VARCHAR, laps VARCHAR) | SELECT AVG(points) FROM table_name_8 WHERE time_retired = "+16.789" AND laps > 68 | ### Context: CREATE TABLE table_name_8 (points INTEGER, time_retired VARCHAR, laps VARCHAR) ### Question: How many average points did the player with a time/retired of +16.789 and have more laps than 68 have? ### Answer: SELECT AVG(points) FROM table_name_8 WHERE time_retired = "+16.789" AND laps > 68 |
How many average points did the team Minardi Team USA have when there was a grid 3 and more laps than 68? | CREATE TABLE table_name_21 (points INTEGER, laps VARCHAR, team VARCHAR, grid VARCHAR) | SELECT AVG(points) FROM table_name_21 WHERE team = "minardi team usa" AND grid = 3 AND laps > 68 | ### Context: CREATE TABLE table_name_21 (points INTEGER, laps VARCHAR, team VARCHAR, grid VARCHAR) ### Question: How many average points did the team Minardi Team USA have when there was a grid 3 and more laps than 68? ### Answer: SELECT AVG(points) FROM table_name_21 WHERE team = "minardi team usa" AND grid = 3 AND la... |
Which was the highest crowd drawn by an Away team in Richmond? | CREATE TABLE table_name_6 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_6 WHERE away_team = "richmond" | ### Context: CREATE TABLE table_name_6 (crowd INTEGER, away_team VARCHAR) ### Question: Which was the highest crowd drawn by an Away team in Richmond? ### Answer: SELECT MAX(crowd) FROM table_name_6 WHERE away_team = "richmond" |
Which home team has a venue of Arden Street Oval? | CREATE TABLE table_name_94 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_94 WHERE venue = "arden street oval" | ### Context: CREATE TABLE table_name_94 (home_team VARCHAR, venue VARCHAR) ### Question: Which home team has a venue of Arden Street Oval? ### Answer: SELECT home_team FROM table_name_94 WHERE venue = "arden street oval" |
Which away team has a venue of Arden Street Oval? | CREATE TABLE table_name_76 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_76 WHERE venue = "arden street oval" | ### Context: CREATE TABLE table_name_76 (away_team VARCHAR, venue VARCHAR) ### Question: Which away team has a venue of Arden Street Oval? ### Answer: SELECT away_team FROM table_name_76 WHERE venue = "arden street oval" |
What is the value for 2011 corresponding to a 2007 value of 1r? | CREATE TABLE table_name_32 (Id VARCHAR) | SELECT 2011 FROM table_name_32 WHERE 2007 = "1r" | ### Context: CREATE TABLE table_name_32 (Id VARCHAR) ### Question: What is the value for 2011 corresponding to a 2007 value of 1r? ### Answer: SELECT 2011 FROM table_name_32 WHERE 2007 = "1r" |
What value in 2013 corresponds to Grand Slam Tournaments in 2012? | CREATE TABLE table_name_38 (Id VARCHAR) | SELECT 2013 FROM table_name_38 WHERE 2012 = "grand slam tournaments" | ### Context: CREATE TABLE table_name_38 (Id VARCHAR) ### Question: What value in 2013 corresponds to Grand Slam Tournaments in 2012? ### Answer: SELECT 2013 FROM table_name_38 WHERE 2012 = "grand slam tournaments" |
What is the 2012 value when the 2011 and 2007 values are 1R? | CREATE TABLE table_name_28 (Id VARCHAR) | SELECT 2012 FROM table_name_28 WHERE 2011 = "1r" AND 2007 = "1r" | ### Context: CREATE TABLE table_name_28 (Id VARCHAR) ### Question: What is the 2012 value when the 2011 and 2007 values are 1R? ### Answer: SELECT 2012 FROM table_name_28 WHERE 2011 = "1r" AND 2007 = "1r" |
What value for 2013 corresponds to the US Open Tournament? | CREATE TABLE table_name_55 (tournament VARCHAR) | SELECT 2013 FROM table_name_55 WHERE tournament = "us open" | ### Context: CREATE TABLE table_name_55 (tournament VARCHAR) ### Question: What value for 2013 corresponds to the US Open Tournament? ### Answer: SELECT 2013 FROM table_name_55 WHERE tournament = "us open" |
The school nicknamed the wildcats has what sum of enrollment? | CREATE TABLE table_name_5 (enrollment INTEGER, team_nickname VARCHAR) | SELECT SUM(enrollment) FROM table_name_5 WHERE team_nickname = "wildcats" | ### Context: CREATE TABLE table_name_5 (enrollment INTEGER, team_nickname VARCHAR) ### Question: The school nicknamed the wildcats has what sum of enrollment? ### Answer: SELECT SUM(enrollment) FROM table_name_5 WHERE team_nickname = "wildcats" |
What is the Founded year of the school located in Paul Smiths, New York? | CREATE TABLE table_name_99 (founded VARCHAR, location VARCHAR) | SELECT founded FROM table_name_99 WHERE location = "paul smiths, new york" | ### Context: CREATE TABLE table_name_99 (founded VARCHAR, location VARCHAR) ### Question: What is the Founded year of the school located in Paul Smiths, New York? ### Answer: SELECT founded FROM table_name_99 WHERE location = "paul smiths, new york" |
What was fitzroy's away side score? | CREATE TABLE table_name_59 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_59 WHERE away_team = "fitzroy" | ### Context: CREATE TABLE table_name_59 (away_team VARCHAR) ### Question: What was fitzroy's away side score? ### Answer: SELECT away_team AS score FROM table_name_59 WHERE away_team = "fitzroy" |
What player attended UAB college? | CREATE TABLE table_name_53 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_53 WHERE college = "uab" | ### Context: CREATE TABLE table_name_53 (player VARCHAR, college VARCHAR) ### Question: What player attended UAB college? ### Answer: SELECT player FROM table_name_53 WHERE college = "uab" |
What was the score of the game at RIch Stadium? | CREATE TABLE table_name_14 (result VARCHAR, stadium VARCHAR) | SELECT result FROM table_name_14 WHERE stadium = "rich stadium" | ### Context: CREATE TABLE table_name_14 (result VARCHAR, stadium VARCHAR) ### Question: What was the score of the game at RIch Stadium? ### Answer: SELECT result FROM table_name_14 WHERE stadium = "rich stadium" |
Who had the best time of 1:32.269? | CREATE TABLE table_name_21 (name VARCHAR, best VARCHAR) | SELECT name FROM table_name_21 WHERE best = "1:32.269" | ### Context: CREATE TABLE table_name_21 (name VARCHAR, best VARCHAR) ### Question: Who had the best time of 1:32.269? ### Answer: SELECT name FROM table_name_21 WHERE best = "1:32.269" |
Who from Conquest Racing had the best time of 1:34.748 in Qual 1? | CREATE TABLE table_name_4 (best VARCHAR, team VARCHAR, qual_1 VARCHAR) | SELECT best FROM table_name_4 WHERE team = "conquest racing" AND qual_1 = "1:34.748" | ### Context: CREATE TABLE table_name_4 (best VARCHAR, team VARCHAR, qual_1 VARCHAR) ### Question: Who from Conquest Racing had the best time of 1:34.748 in Qual 1? ### Answer: SELECT best FROM table_name_4 WHERE team = "conquest racing" AND qual_1 = "1:34.748" |
Who in Qual 2 had the best time of 1:31.327? | CREATE TABLE table_name_5 (qual_2 VARCHAR, best VARCHAR) | SELECT qual_2 FROM table_name_5 WHERE best = "1:31.327" | ### Context: CREATE TABLE table_name_5 (qual_2 VARCHAR, best VARCHAR) ### Question: Who in Qual 2 had the best time of 1:31.327? ### Answer: SELECT qual_2 FROM table_name_5 WHERE best = "1:31.327" |
What was Dan Selznick best time? | CREATE TABLE table_name_63 (best VARCHAR, name VARCHAR) | SELECT best FROM table_name_63 WHERE name = "dan selznick" | ### Context: CREATE TABLE table_name_63 (best VARCHAR, name VARCHAR) ### Question: What was Dan Selznick best time? ### Answer: SELECT best FROM table_name_63 WHERE name = "dan selznick" |
What team had 1:34.578 in Qual 2? | CREATE TABLE table_name_55 (team VARCHAR, qual_2 VARCHAR) | SELECT team FROM table_name_55 WHERE qual_2 = "1:34.578" | ### Context: CREATE TABLE table_name_55 (team VARCHAR, qual_2 VARCHAR) ### Question: What team had 1:34.578 in Qual 2? ### Answer: SELECT team FROM table_name_55 WHERE qual_2 = "1:34.578" |
Jiang Tengyi is on which team? | CREATE TABLE table_name_87 (team VARCHAR, name VARCHAR) | SELECT team FROM table_name_87 WHERE name = "jiang tengyi" | ### Context: CREATE TABLE table_name_87 (team VARCHAR, name VARCHAR) ### Question: Jiang Tengyi is on which team? ### Answer: SELECT team FROM table_name_87 WHERE name = "jiang tengyi" |
What is the away team's score when footscray is the away team? | CREATE TABLE table_name_74 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_74 WHERE away_team = "footscray" | ### Context: CREATE TABLE table_name_74 (away_team VARCHAR) ### Question: What is the away team's score when footscray is the away team? ### Answer: SELECT away_team AS score FROM table_name_74 WHERE away_team = "footscray" |
What was the rank for czechoslovakia with 1 bronze? | CREATE TABLE table_name_42 (rank VARCHAR, bronze VARCHAR, nation VARCHAR) | SELECT rank FROM table_name_42 WHERE bronze = 1 AND nation = "czechoslovakia" | ### Context: CREATE TABLE table_name_42 (rank VARCHAR, bronze VARCHAR, nation VARCHAR) ### Question: What was the rank for czechoslovakia with 1 bronze? ### Answer: SELECT rank FROM table_name_42 WHERE bronze = 1 AND nation = "czechoslovakia" |
How many bronze medals for the nation with over 9 golds? | CREATE TABLE table_name_8 (bronze VARCHAR, gold INTEGER) | SELECT COUNT(bronze) FROM table_name_8 WHERE gold > 9 | ### Context: CREATE TABLE table_name_8 (bronze VARCHAR, gold INTEGER) ### Question: How many bronze medals for the nation with over 9 golds? ### Answer: SELECT COUNT(bronze) FROM table_name_8 WHERE gold > 9 |
What is the average number of goals that occurred in Hong Kong Stadium, Hong Kong? | CREATE TABLE table_name_53 (goals INTEGER, venue VARCHAR) | SELECT AVG(goals) FROM table_name_53 WHERE venue = "hong kong stadium, hong kong" | ### Context: CREATE TABLE table_name_53 (goals INTEGER, venue VARCHAR) ### Question: What is the average number of goals that occurred in Hong Kong Stadium, Hong Kong? ### Answer: SELECT AVG(goals) FROM table_name_53 WHERE venue = "hong kong stadium, hong kong" |
Which country uses pound sterling with a value higher than 1.33 USD? | CREATE TABLE table_name_66 (country VARCHAR, value_in_usd VARCHAR, currency VARCHAR) | SELECT country FROM table_name_66 WHERE value_in_usd > 1.33 AND currency = "pound sterling" | ### Context: CREATE TABLE table_name_66 (country VARCHAR, value_in_usd VARCHAR, currency VARCHAR) ### Question: Which country uses pound sterling with a value higher than 1.33 USD? ### Answer: SELECT country FROM table_name_66 WHERE value_in_usd > 1.33 AND currency = "pound sterling" |
What venue features carlton at home? | CREATE TABLE table_name_88 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_88 WHERE home_team = "carlton" | ### Context: CREATE TABLE table_name_88 (venue VARCHAR, home_team VARCHAR) ### Question: What venue features carlton at home? ### Answer: SELECT venue FROM table_name_88 WHERE home_team = "carlton" |
What venue features fitzroy as the away side? | CREATE TABLE table_name_66 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_66 WHERE away_team = "fitzroy" | ### Context: CREATE TABLE table_name_66 (venue VARCHAR, away_team VARCHAR) ### Question: What venue features fitzroy as the away side? ### Answer: SELECT venue FROM table_name_66 WHERE away_team = "fitzroy" |
What was the smallest crowd that Melbourne played for at home? | CREATE TABLE table_name_18 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_18 WHERE home_team = "melbourne" | ### Context: CREATE TABLE table_name_18 (crowd INTEGER, home_team VARCHAR) ### Question: What was the smallest crowd that Melbourne played for at home? ### Answer: SELECT MIN(crowd) FROM table_name_18 WHERE home_team = "melbourne" |
What home team played the away team of Richmond? | CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_75 WHERE away_team = "richmond" | ### Context: CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR) ### Question: What home team played the away team of Richmond? ### Answer: SELECT home_team FROM table_name_75 WHERE away_team = "richmond" |
What is the high score for the player with 0 stumps, 4 catches, more than 14 inns and an average smaller than 56.1? | CREATE TABLE table_name_52 (high_score INTEGER, inns VARCHAR, average VARCHAR, stump VARCHAR, catches VARCHAR) | SELECT SUM(high_score) FROM table_name_52 WHERE stump = 0 AND catches = 4 AND average < 56.1 AND inns > 14 | ### Context: CREATE TABLE table_name_52 (high_score INTEGER, inns VARCHAR, average VARCHAR, stump VARCHAR, catches VARCHAR) ### Question: What is the high score for the player with 0 stumps, 4 catches, more than 14 inns and an average smaller than 56.1? ### Answer: SELECT SUM(high_score) FROM table_name_52 WHERE stump ... |
What is the total number of runs for the player with fewer than 9 Inns? | CREATE TABLE table_name_82 (runs VARCHAR, inns INTEGER) | SELECT COUNT(runs) FROM table_name_82 WHERE inns < 9 | ### Context: CREATE TABLE table_name_82 (runs VARCHAR, inns INTEGER) ### Question: What is the total number of runs for the player with fewer than 9 Inns? ### Answer: SELECT COUNT(runs) FROM table_name_82 WHERE inns < 9 |
What is the smallest average for the player with 13 matches and fewer than 7 catches? | CREATE TABLE table_name_82 (average INTEGER, matches VARCHAR, catches VARCHAR) | SELECT MIN(average) FROM table_name_82 WHERE matches = 13 AND catches < 7 | ### Context: CREATE TABLE table_name_82 (average INTEGER, matches VARCHAR, catches VARCHAR) ### Question: What is the smallest average for the player with 13 matches and fewer than 7 catches? ### Answer: SELECT MIN(average) FROM table_name_82 WHERE matches = 13 AND catches < 7 |
Which city is the host of the University of Texas? | CREATE TABLE table_name_1 (city VARCHAR, host VARCHAR) | SELECT city FROM table_name_1 WHERE host = "university of texas" | ### Context: CREATE TABLE table_name_1 (city VARCHAR, host VARCHAR) ### Question: Which city is the host of the University of Texas? ### Answer: SELECT city FROM table_name_1 WHERE host = "university of texas" |
In which region is the Thompson-Boling arena located? | CREATE TABLE table_name_16 (region VARCHAR, venue VARCHAR) | SELECT region FROM table_name_16 WHERE venue = "thompson-boling arena" | ### Context: CREATE TABLE table_name_16 (region VARCHAR, venue VARCHAR) ### Question: In which region is the Thompson-Boling arena located? ### Answer: SELECT region FROM table_name_16 WHERE venue = "thompson-boling arena" |
Who is the host in the city of Philadelphia? | CREATE TABLE table_name_61 (host VARCHAR, city VARCHAR) | SELECT host FROM table_name_61 WHERE city = "philadelphia" | ### Context: CREATE TABLE table_name_61 (host VARCHAR, city VARCHAR) ### Question: Who is the host in the city of Philadelphia? ### Answer: SELECT host FROM table_name_61 WHERE city = "philadelphia" |
Which city in the mideast region is the hot of Temple University? | CREATE TABLE table_name_39 (city VARCHAR, region VARCHAR, host VARCHAR) | SELECT city FROM table_name_39 WHERE region = "mideast" AND host = "temple university" | ### Context: CREATE TABLE table_name_39 (city VARCHAR, region VARCHAR, host VARCHAR) ### Question: Which city in the mideast region is the hot of Temple University? ### Answer: SELECT city FROM table_name_39 WHERE region = "mideast" AND host = "temple university" |
Which city is the University of Montana located in? | CREATE TABLE table_name_80 (city VARCHAR, host VARCHAR) | SELECT city FROM table_name_80 WHERE host = "university of montana" | ### Context: CREATE TABLE table_name_80 (city VARCHAR, host VARCHAR) ### Question: Which city is the University of Montana located in? ### Answer: SELECT city FROM table_name_80 WHERE host = "university of montana" |
What was the away team score at Hawthorn? | CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_26 WHERE home_team = "hawthorn" | ### Context: CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR) ### Question: What was the away team score at Hawthorn? ### Answer: SELECT away_team AS score FROM table_name_26 WHERE home_team = "hawthorn" |
Who went to Geelong to play? | CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_61 WHERE home_team = "geelong" | ### Context: CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR) ### Question: Who went to Geelong to play? ### Answer: SELECT away_team FROM table_name_61 WHERE home_team = "geelong" |
Who did Collingwood play at home? | CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_89 WHERE away_team = "collingwood" | ### Context: CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) ### Question: Who did Collingwood play at home? ### Answer: SELECT home_team FROM table_name_89 WHERE away_team = "collingwood" |
Which population is the greatest, has a density of 20.3, and an area (km²) larger than 50,350? | CREATE TABLE table_name_1 (population INTEGER, density VARCHAR, area__km²_ VARCHAR) | SELECT MAX(population) FROM table_name_1 WHERE density = 20.3 AND area__km²_ > 50 OFFSET 350 | ### Context: CREATE TABLE table_name_1 (population INTEGER, density VARCHAR, area__km²_ VARCHAR) ### Question: Which population is the greatest, has a density of 20.3, and an area (km²) larger than 50,350? ### Answer: SELECT MAX(population) FROM table_name_1 WHERE density = 20.3 AND area__km²_ > 50 OFFSET 350 |
Who was the home team at the game held at the Junction Oval? | CREATE TABLE table_name_73 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_73 WHERE venue = "junction oval" | ### Context: CREATE TABLE table_name_73 (home_team VARCHAR, venue VARCHAR) ### Question: Who was the home team at the game held at the Junction Oval? ### Answer: SELECT home_team FROM table_name_73 WHERE venue = "junction oval" |
Where was the game held when Fitzroy was the away team? | CREATE TABLE table_name_24 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_24 WHERE away_team = "fitzroy" | ### Context: CREATE TABLE table_name_24 (venue VARCHAR, away_team VARCHAR) ### Question: Where was the game held when Fitzroy was the away team? ### Answer: SELECT venue FROM table_name_24 WHERE away_team = "fitzroy" |
How many people attended the Rams game against the Kansas City Chiefs? | CREATE TABLE table_name_86 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_86 WHERE opponent = "kansas city chiefs" | ### Context: CREATE TABLE table_name_86 (attendance VARCHAR, opponent VARCHAR) ### Question: How many people attended the Rams game against the Kansas City Chiefs? ### Answer: SELECT attendance FROM table_name_86 WHERE opponent = "kansas city chiefs" |
What is China's IATA? | CREATE TABLE table_name_58 (iata VARCHAR, country VARCHAR) | SELECT iata FROM table_name_58 WHERE country = "china" | ### Context: CREATE TABLE table_name_58 (iata VARCHAR, country VARCHAR) ### Question: What is China's IATA? ### Answer: SELECT iata FROM table_name_58 WHERE country = "china" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.