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