context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_20246201_9 (office VARCHAR, candidate VARCHAR)
SELECT office FROM table_20246201_9 WHERE candidate = "Jon Huntsman"
What office is Jon Huntsman a candidate for?
<s>[INST]What office is Jon Huntsman a candidate for? Context: CREATE TABLE table_20246201_9 (office VARCHAR, candidate VARCHAR)[/INST]SELECT office FROM table_20246201_9 WHERE candidate = "Jon Huntsman"</s>
CREATE TABLE table_name_78 (round INTEGER, opponent VARCHAR)
SELECT AVG(round) FROM table_name_78 WHERE opponent = "sam sotello"
How many rounds did the match last with Sam Sotello as the opponent?
<s>[INST]How many rounds did the match last with Sam Sotello as the opponent? Context: CREATE TABLE table_name_78 (round INTEGER, opponent VARCHAR)[/INST]SELECT AVG(round) FROM table_name_78 WHERE opponent = "sam sotello"</s>
CREATE TABLE table_name_74 (city VARCHAR, winner VARCHAR, year VARCHAR)
SELECT city FROM table_name_74 WHERE winner = "hallescher fc" AND year = 2008
What was the city where Hallescher FC won in 2008?
<s>[INST]What was the city where Hallescher FC won in 2008? Context: CREATE TABLE table_name_74 (city VARCHAR, winner VARCHAR, year VARCHAR)[/INST]SELECT city FROM table_name_74 WHERE winner = "hallescher fc" AND year = 2008</s>
CREATE TABLE table_name_49 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_49 WHERE record = "7–7–1"
Which Date has a Record of 7–7–1?
<s>[INST]Which Date has a Record of 7–7–1? Context: CREATE TABLE table_name_49 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_49 WHERE record = "7–7–1"</s>
CREATE TABLE table_16168849_1 (founded INTEGER, nickname VARCHAR)
SELECT MAX(founded) FROM table_16168849_1 WHERE nickname = "Blue Hose"
Name the maximum founded for blue hose
<s>[INST]Name the maximum founded for blue hose Context: CREATE TABLE table_16168849_1 (founded INTEGER, nickname VARCHAR)[/INST]SELECT MAX(founded) FROM table_16168849_1 WHERE nickname = "Blue Hose"</s>
CREATE TABLE Band (id VARCHAR); CREATE TABLE Performance (stageposition VARCHAR, bandmate VARCHAR)
SELECT DISTINCT T1.stageposition FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id WHERE Firstname = "Solveig"
Find all the stage positions of the musicians with first name "Solveig"
<s>[INST]Find all the stage positions of the musicians with first name "Solveig" Context: CREATE TABLE Band (id VARCHAR); CREATE TABLE Performance (stageposition VARCHAR, bandmate VARCHAR)[/INST]SELECT DISTINCT T1.stageposition FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id WHERE Firstname = "Solveig"</s...
CREATE TABLE table_25773116_2 (location VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
SELECT location FROM table_25773116_2 WHERE pole_position = "Daniel Erickson" AND fastest_lap = "Cole Morgan"
Where was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position?
<s>[INST]Where was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position? Context: CREATE TABLE table_25773116_2 (location VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)[/INST]SELECT location FROM table_25773116_2 WHERE pole_position = "Daniel Erickson" AND fastest_lap = "Cole Morga...
CREATE TABLE table_2562572_12 (population__2011_ VARCHAR, settlement VARCHAR)
SELECT COUNT(population__2011_) FROM table_2562572_12 WHERE settlement = "Mladenovo"
How many populations are listed for mladenovo?
<s>[INST]How many populations are listed for mladenovo? Context: CREATE TABLE table_2562572_12 (population__2011_ VARCHAR, settlement VARCHAR)[/INST]SELECT COUNT(population__2011_) FROM table_2562572_12 WHERE settlement = "Mladenovo"</s>
CREATE TABLE table_10935205_1 (canadian_airdate VARCHAR, us_airdate VARCHAR)
SELECT canadian_airdate FROM table_10935205_1 WHERE us_airdate = "8 August 2008"
The U.S. airdate of 8 august 2008 also had canadian airdates of what?
<s>[INST]The U.S. airdate of 8 august 2008 also had canadian airdates of what? Context: CREATE TABLE table_10935205_1 (canadian_airdate VARCHAR, us_airdate VARCHAR)[/INST]SELECT canadian_airdate FROM table_10935205_1 WHERE us_airdate = "8 August 2008"</s>
CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR, gender VARCHAR)
SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Alice' AND T1.gender = 'female'
Find the female friends of Alice.
<s>[INST]Find the female friends of Alice. Context: CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR); CREATE TABLE Person (name VARCHAR, gender VARCHAR)[/INST]SELECT T2.friend FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Alice' AND T1.gender = 'female'</s>
CREATE TABLE table_name_37 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_37 WHERE date = "september 5, 1993"
What was the Week on September 5, 1993?
<s>[INST]What was the Week on September 5, 1993? Context: CREATE TABLE table_name_37 (week VARCHAR, date VARCHAR)[/INST]SELECT week FROM table_name_37 WHERE date = "september 5, 1993"</s>
CREATE TABLE table_name_92 (release_date VARCHAR, series VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_92 WHERE series = "mm" AND title = "confederate honey"
What is the release date of the mm series which has the title confederate honey?
<s>[INST]What is the release date of the mm series which has the title confederate honey? Context: CREATE TABLE table_name_92 (release_date VARCHAR, series VARCHAR, title VARCHAR)[/INST]SELECT release_date FROM table_name_92 WHERE series = "mm" AND title = "confederate honey"</s>
CREATE TABLE driver (name VARCHAR, home_city VARCHAR, age VARCHAR)
SELECT name, home_city, age FROM driver
Show the name, home city, and age for all drivers.
<s>[INST]Show the name, home city, and age for all drivers. Context: CREATE TABLE driver (name VARCHAR, home_city VARCHAR, age VARCHAR)[/INST]SELECT name, home_city, age FROM driver</s>
CREATE TABLE table_name_39 (rider VARCHAR, speed VARCHAR)
SELECT rider FROM table_name_39 WHERE speed = "81.91mph"
Which Rider finished with a speed of 81.91mph?
<s>[INST]Which Rider finished with a speed of 81.91mph? Context: CREATE TABLE table_name_39 (rider VARCHAR, speed VARCHAR)[/INST]SELECT rider FROM table_name_39 WHERE speed = "81.91mph"</s>
CREATE TABLE table_name_27 (couple VARCHAR, style VARCHAR)
SELECT couple FROM table_name_27 WHERE style = "contemporary"
Which couple participated in the Contemporary style of dance?
<s>[INST]Which couple participated in the Contemporary style of dance? Context: CREATE TABLE table_name_27 (couple VARCHAR, style VARCHAR)[/INST]SELECT couple FROM table_name_27 WHERE style = "contemporary"</s>
CREATE TABLE table_name_92 (goals_against INTEGER, wins VARCHAR, draws VARCHAR, losses VARCHAR)
SELECT AVG(goals_against) FROM table_name_92 WHERE draws = 8 AND losses < 12 AND wins > 22
Name the average goals against for draws of 8 and wins more than 22 with losses less than 12
<s>[INST]Name the average goals against for draws of 8 and wins more than 22 with losses less than 12 Context: CREATE TABLE table_name_92 (goals_against INTEGER, wins VARCHAR, draws VARCHAR, losses VARCHAR)[/INST]SELECT AVG(goals_against) FROM table_name_92 WHERE draws = 8 AND losses < 12 AND wins > 22</s>
CREATE TABLE table_name_81 (_number_of_candidates INTEGER, general_election VARCHAR, result VARCHAR, _number_of_seats_won VARCHAR)
SELECT AVG(_number_of_candidates) FROM table_name_81 WHERE result = "liberal majority" AND _number_of_seats_won = 51 AND general_election > 2008
What is the # of candidates of liberal majority with 51 wins and larger number of 2008 in general elections?
<s>[INST]What is the # of candidates of liberal majority with 51 wins and larger number of 2008 in general elections? Context: CREATE TABLE table_name_81 (_number_of_candidates INTEGER, general_election VARCHAR, result VARCHAR, _number_of_seats_won VARCHAR)[/INST]SELECT AVG(_number_of_candidates) FROM table_name_81 WHE...
CREATE TABLE table_name_35 (champion VARCHAR, venue VARCHAR)
SELECT champion FROM table_name_35 WHERE venue = "old waverly golf club"
Which Champion has a Venue of old waverly golf club?
<s>[INST]Which Champion has a Venue of old waverly golf club? Context: CREATE TABLE table_name_35 (champion VARCHAR, venue VARCHAR)[/INST]SELECT champion FROM table_name_35 WHERE venue = "old waverly golf club"</s>
CREATE TABLE table_name_34 (fall_09 INTEGER, fall_05 INTEGER)
SELECT AVG(fall_09) FROM table_name_34 WHERE fall_05 < 3
What is the mean Fall 09 number where fall 05 is less than 3?
<s>[INST]What is the mean Fall 09 number where fall 05 is less than 3? Context: CREATE TABLE table_name_34 (fall_09 INTEGER, fall_05 INTEGER)[/INST]SELECT AVG(fall_09) FROM table_name_34 WHERE fall_05 < 3</s>
CREATE TABLE table_name_3 (iata VARCHAR, airportname VARCHAR)
SELECT iata FROM table_name_3 WHERE airportname = "esperadinha airport"
What is the IATA for Esperadinha Airport?
<s>[INST]What is the IATA for Esperadinha Airport? Context: CREATE TABLE table_name_3 (iata VARCHAR, airportname VARCHAR)[/INST]SELECT iata FROM table_name_3 WHERE airportname = "esperadinha airport"</s>
CREATE TABLE table_name_20 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_20 WHERE venue = "mcg"
What is the home team at the venue mcg?
<s>[INST]What is the home team at the venue mcg? Context: CREATE TABLE table_name_20 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_20 WHERE venue = "mcg"</s>
CREATE TABLE member (address VARCHAR, age INTEGER)
SELECT address FROM member WHERE age < 30 INTERSECT SELECT address FROM member WHERE age > 40
Which address has both members younger than 30 and members older than 40?
<s>[INST]Which address has both members younger than 30 and members older than 40? Context: CREATE TABLE member (address VARCHAR, age INTEGER)[/INST]SELECT address FROM member WHERE age < 30 INTERSECT SELECT address FROM member WHERE age > 40</s>
CREATE TABLE table_name_18 (Id VARCHAR)
SELECT COUNT(1969) FROM table_name_18 WHERE 1967 < 0.73 AND 1964 > 0.07
How much 1969 has a 1967 smaller than 0.73, and a 1964 larger than 0.07?
<s>[INST]How much 1969 has a 1967 smaller than 0.73, and a 1964 larger than 0.07? Context: CREATE TABLE table_name_18 (Id VARCHAR)[/INST]SELECT COUNT(1969) FROM table_name_18 WHERE 1967 < 0.73 AND 1964 > 0.07</s>
CREATE TABLE table_name_57 (silver_medals VARCHAR, gold_medals VARCHAR, total_medals VARCHAR)
SELECT silver_medals FROM table_name_57 WHERE gold_medals = 2 AND total_medals > 2
How many silvers for a school with 2 golds and over 2 total?
<s>[INST]How many silvers for a school with 2 golds and over 2 total? Context: CREATE TABLE table_name_57 (silver_medals VARCHAR, gold_medals VARCHAR, total_medals VARCHAR)[/INST]SELECT silver_medals FROM table_name_57 WHERE gold_medals = 2 AND total_medals > 2</s>
CREATE TABLE table_name_39 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_39 WHERE date = "august 22"
On August 22, how many people came to the game?
<s>[INST]On August 22, how many people came to the game? Context: CREATE TABLE table_name_39 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_39 WHERE date = "august 22"</s>
CREATE TABLE table_22656187_9 (result VARCHAR, partnering VARCHAR)
SELECT result FROM table_22656187_9 WHERE partnering = "Frederica Piedade"
What was the result for a partnering of Frederica Piedade?
<s>[INST]What was the result for a partnering of Frederica Piedade? Context: CREATE TABLE table_22656187_9 (result VARCHAR, partnering VARCHAR)[/INST]SELECT result FROM table_22656187_9 WHERE partnering = "Frederica Piedade"</s>
CREATE TABLE table_name_96 (game INTEGER, record VARCHAR)
SELECT MIN(game) FROM table_name_96 WHERE record = "16–4–3"
What was the earliest game with a record of 16–4–3?
<s>[INST]What was the earliest game with a record of 16–4–3? Context: CREATE TABLE table_name_96 (game INTEGER, record VARCHAR)[/INST]SELECT MIN(game) FROM table_name_96 WHERE record = "16–4–3"</s>
CREATE TABLE table_name_12 (year INTEGER, competition VARCHAR, position VARCHAR)
SELECT SUM(year) FROM table_name_12 WHERE competition = "world indoor championships" AND position = "3rd"
Which year did the World indoor championships gave a position of 3rd?
<s>[INST]Which year did the World indoor championships gave a position of 3rd? Context: CREATE TABLE table_name_12 (year INTEGER, competition VARCHAR, position VARCHAR)[/INST]SELECT SUM(year) FROM table_name_12 WHERE competition = "world indoor championships" AND position = "3rd"</s>
CREATE TABLE table_name_67 (vuelta_wins VARCHAR, name VARCHAR, points VARCHAR, country VARCHAR)
SELECT COUNT(vuelta_wins) FROM table_name_67 WHERE points > 0 AND country = "spain" AND name = "josé pérez-francés"
How many times is vuelta wins when points is more than 0, country is spain and the name is josé pérez-francés?
<s>[INST]How many times is vuelta wins when points is more than 0, country is spain and the name is josé pérez-francés? Context: CREATE TABLE table_name_67 (vuelta_wins VARCHAR, name VARCHAR, points VARCHAR, country VARCHAR)[/INST]SELECT COUNT(vuelta_wins) FROM table_name_67 WHERE points > 0 AND country = "spain" AND n...
CREATE TABLE table_22457674_1 (master_recording VARCHAR, artist VARCHAR)
SELECT COUNT(master_recording) FROM table_22457674_1 WHERE artist = "Doobie Brothers The Doobie Brothers"
Name the number of master recording for doobie brothers the doobie brothers
<s>[INST]Name the number of master recording for doobie brothers the doobie brothers Context: CREATE TABLE table_22457674_1 (master_recording VARCHAR, artist VARCHAR)[/INST]SELECT COUNT(master_recording) FROM table_22457674_1 WHERE artist = "Doobie Brothers The Doobie Brothers"</s>
CREATE TABLE table_12886178_5 (tries_for VARCHAR, tries_against VARCHAR, losing_bonus VARCHAR)
SELECT COUNT(tries_for) FROM table_12886178_5 WHERE tries_against = "45" AND losing_bonus = "4"
How many clubs have a tries against count of 45 and a losing bonus of 4?
<s>[INST]How many clubs have a tries against count of 45 and a losing bonus of 4? Context: CREATE TABLE table_12886178_5 (tries_for VARCHAR, tries_against VARCHAR, losing_bonus VARCHAR)[/INST]SELECT COUNT(tries_for) FROM table_12886178_5 WHERE tries_against = "45" AND losing_bonus = "4"</s>
CREATE TABLE table_name_67 (lane INTEGER, nationality VARCHAR)
SELECT MAX(lane) FROM table_name_67 WHERE nationality = "malta"
What is the highest Lane used by a racer from Malta?
<s>[INST]What is the highest Lane used by a racer from Malta? Context: CREATE TABLE table_name_67 (lane INTEGER, nationality VARCHAR)[/INST]SELECT MAX(lane) FROM table_name_67 WHERE nationality = "malta"</s>
CREATE TABLE table_name_62 (latitude VARCHAR, township VARCHAR, geo_id VARCHAR)
SELECT COUNT(latitude) FROM table_name_62 WHERE township = "berlin" AND geo_id < 3801706260
what is the latitude for the berlin township with a geo id less than 3801706260
<s>[INST]what is the latitude for the berlin township with a geo id less than 3801706260 Context: CREATE TABLE table_name_62 (latitude VARCHAR, township VARCHAR, geo_id VARCHAR)[/INST]SELECT COUNT(latitude) FROM table_name_62 WHERE township = "berlin" AND geo_id < 3801706260</s>
CREATE TABLE table_name_51 (air_date VARCHAR, order VARCHAR)
SELECT SUM(18 AS _49) FROM table_name_51 WHERE air_date = "june 25, 2009" AND order > 29
What is the sum of numbers listed in 18-49 for the episode that aired on June 25, 2009 with an order larger than 29?
<s>[INST]What is the sum of numbers listed in 18-49 for the episode that aired on June 25, 2009 with an order larger than 29? Context: CREATE TABLE table_name_51 (air_date VARCHAR, order VARCHAR)[/INST]SELECT SUM(18 AS _49) FROM table_name_51 WHERE air_date = "june 25, 2009" AND order > 29</s>
CREATE TABLE table_name_58 (jump_2 VARCHAR, jump_1 VARCHAR)
SELECT jump_2 FROM table_name_58 WHERE jump_1 = "7.14"
What is the Jump 2 of the person that has a Jump 1 of 7.14
<s>[INST]What is the Jump 2 of the person that has a Jump 1 of 7.14 Context: CREATE TABLE table_name_58 (jump_2 VARCHAR, jump_1 VARCHAR)[/INST]SELECT jump_2 FROM table_name_58 WHERE jump_1 = "7.14"</s>
CREATE TABLE table_24453847_2 (date VARCHAR, game_site VARCHAR)
SELECT date FROM table_24453847_2 WHERE game_site = "AOL Arena"
What game date was the game at AOL Arena?
<s>[INST]What game date was the game at AOL Arena? Context: CREATE TABLE table_24453847_2 (date VARCHAR, game_site VARCHAR)[/INST]SELECT date FROM table_24453847_2 WHERE game_site = "AOL Arena"</s>
CREATE TABLE table_name_79 (driver VARCHAR, chassis VARCHAR)
SELECT driver FROM table_name_79 WHERE chassis = "tg183b tg184"
Who is the driver of the chassis that is tg183b tg184?
<s>[INST]Who is the driver of the chassis that is tg183b tg184? Context: CREATE TABLE table_name_79 (driver VARCHAR, chassis VARCHAR)[/INST]SELECT driver FROM table_name_79 WHERE chassis = "tg183b tg184"</s>
CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_per_capita_nominal__$_ VARCHAR)
SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE gdp_per_capita_nominal__$_ = 2874
What is the adjusted GDP when the nominal GDP per capita is 2874?
<s>[INST]What is the adjusted GDP when the nominal GDP per capita is 2874? Context: CREATE TABLE table_1610496_3 (gdp_adjusted__$_billions_ VARCHAR, gdp_per_capita_nominal__$_ VARCHAR)[/INST]SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE gdp_per_capita_nominal__$_ = 2874</s>
CREATE TABLE table_name_15 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT country FROM table_name_15 WHERE to_par = "+3" AND player = "ed sneed"
What is the country of player ed sneed with a to par of +3?
<s>[INST]What is the country of player ed sneed with a to par of +3? Context: CREATE TABLE table_name_15 (country VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_15 WHERE to_par = "+3" AND player = "ed sneed"</s>
CREATE TABLE table_name_74 (Double VARCHAR, suited_match VARCHAR)
SELECT Double AS non_suited_match FROM table_name_74 WHERE suited_match = "13:1"
With a Suited Match of 13:1, what is the Double Non-Suited Match?
<s>[INST]With a Suited Match of 13:1, what is the Double Non-Suited Match? Context: CREATE TABLE table_name_74 (Double VARCHAR, suited_match VARCHAR)[/INST]SELECT Double AS non_suited_match FROM table_name_74 WHERE suited_match = "13:1"</s>
CREATE TABLE table_26375386_20 (public VARCHAR, vote_percentage VARCHAR)
SELECT public FROM table_26375386_20 WHERE vote_percentage = "16.0%"
What is the public when the vote percentage is 16.0%
<s>[INST]What is the public when the vote percentage is 16.0% Context: CREATE TABLE table_26375386_20 (public VARCHAR, vote_percentage VARCHAR)[/INST]SELECT public FROM table_26375386_20 WHERE vote_percentage = "16.0%"</s>
CREATE TABLE table_name_45 (goals_against INTEGER, losses VARCHAR, wins VARCHAR, goals_for VARCHAR)
SELECT AVG(goals_against) FROM table_name_45 WHERE wins = 13 AND goals_for > 42 AND losses > 9
Which Goals against has Wins of 13, and Goals for larger than 42, and more than 9 Losses?
<s>[INST]Which Goals against has Wins of 13, and Goals for larger than 42, and more than 9 Losses? Context: CREATE TABLE table_name_45 (goals_against INTEGER, losses VARCHAR, wins VARCHAR, goals_for VARCHAR)[/INST]SELECT AVG(goals_against) FROM table_name_45 WHERE wins = 13 AND goals_for > 42 AND losses > 9</s>
CREATE TABLE table_name_89 (length VARCHAR, stations VARCHAR)
SELECT length FROM table_name_89 WHERE stations = "16"
Stations of 16 is assigned what length?
<s>[INST]Stations of 16 is assigned what length? Context: CREATE TABLE table_name_89 (length VARCHAR, stations VARCHAR)[/INST]SELECT length FROM table_name_89 WHERE stations = "16"</s>
CREATE TABLE table_name_28 (played INTEGER, points VARCHAR, position VARCHAR)
SELECT AVG(played) FROM table_name_28 WHERE points = 2 AND position < 8
Which Played has a Points of 2, and a Position smaller than 8?
<s>[INST]Which Played has a Points of 2, and a Position smaller than 8? Context: CREATE TABLE table_name_28 (played INTEGER, points VARCHAR, position VARCHAR)[/INST]SELECT AVG(played) FROM table_name_28 WHERE points = 2 AND position < 8</s>
CREATE TABLE table_25318033_1 (races VARCHAR, points VARCHAR)
SELECT races FROM table_25318033_1 WHERE points = "137"
Which races have 137 points?
<s>[INST]Which races have 137 points? Context: CREATE TABLE table_25318033_1 (races VARCHAR, points VARCHAR)[/INST]SELECT races FROM table_25318033_1 WHERE points = "137"</s>
CREATE TABLE table_name_96 (seats VARCHAR, share_of_votes VARCHAR)
SELECT seats FROM table_name_96 WHERE share_of_votes = "41.2%"
How many seats had a 41.2% share of votes?
<s>[INST]How many seats had a 41.2% share of votes? Context: CREATE TABLE table_name_96 (seats VARCHAR, share_of_votes VARCHAR)[/INST]SELECT seats FROM table_name_96 WHERE share_of_votes = "41.2%"</s>
CREATE TABLE table_name_92 (ends_won VARCHAR, province VARCHAR, stolen_ends VARCHAR)
SELECT COUNT(ends_won) FROM table_name_92 WHERE province = "saskatchewan" AND stolen_ends < 6
What is the total number of Ends Won, when Province is "Saskatchewan", and when Stolen Ends is less than 6?
<s>[INST]What is the total number of Ends Won, when Province is "Saskatchewan", and when Stolen Ends is less than 6? Context: CREATE TABLE table_name_92 (ends_won VARCHAR, province VARCHAR, stolen_ends VARCHAR)[/INST]SELECT COUNT(ends_won) FROM table_name_92 WHERE province = "saskatchewan" AND stolen_ends < 6</s>
CREATE TABLE table_1612760_1 (line VARCHAR, service_pattern VARCHAR)
SELECT line FROM table_1612760_1 WHERE service_pattern = "Fast to Norwood Junction"
Which line offers Fast to Norwood Junction?
<s>[INST]Which line offers Fast to Norwood Junction? Context: CREATE TABLE table_1612760_1 (line VARCHAR, service_pattern VARCHAR)[/INST]SELECT line FROM table_1612760_1 WHERE service_pattern = "Fast to Norwood Junction"</s>
CREATE TABLE table_name_40 (weeks_on_chart INTEGER, position VARCHAR, year VARCHAR)
SELECT AVG(weeks_on_chart) FROM table_name_40 WHERE position > 3 AND year > 1977
What is the average weeks of a song with a larger than 3 position after 1977?
<s>[INST]What is the average weeks of a song with a larger than 3 position after 1977? Context: CREATE TABLE table_name_40 (weeks_on_chart INTEGER, position VARCHAR, year VARCHAR)[/INST]SELECT AVG(weeks_on_chart) FROM table_name_40 WHERE position > 3 AND year > 1977</s>
CREATE TABLE table_name_83 (resident_state VARCHAR, election_year VARCHAR)
SELECT resident_state FROM table_name_83 WHERE election_year = 1864
What is the resident state for the president elected in 1864?
<s>[INST]What is the resident state for the president elected in 1864? Context: CREATE TABLE table_name_83 (resident_state VARCHAR, election_year VARCHAR)[/INST]SELECT resident_state FROM table_name_83 WHERE election_year = 1864</s>
CREATE TABLE table_name_37 (points INTEGER, chassis VARCHAR)
SELECT MIN(points) FROM table_name_37 WHERE chassis = "mclaren m14a"
What is the lowest points of using mclaren m14a as chassis?
<s>[INST]What is the lowest points of using mclaren m14a as chassis? Context: CREATE TABLE table_name_37 (points INTEGER, chassis VARCHAR)[/INST]SELECT MIN(points) FROM table_name_37 WHERE chassis = "mclaren m14a"</s>
CREATE TABLE table_1965650_2 (player VARCHAR, pick__number VARCHAR)
SELECT player FROM table_1965650_2 WHERE pick__number = 30
Name the player for pick number for 30
<s>[INST]Name the player for pick number for 30 Context: CREATE TABLE table_1965650_2 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_1965650_2 WHERE pick__number = 30</s>
CREATE TABLE table_name_78 (start VARCHAR, finish VARCHAR)
SELECT start FROM table_name_78 WHERE finish = "10"
What race has a finish time of 10?
<s>[INST]What race has a finish time of 10? Context: CREATE TABLE table_name_78 (start VARCHAR, finish VARCHAR)[/INST]SELECT start FROM table_name_78 WHERE finish = "10"</s>
CREATE TABLE table_name_91 (voting_turnout VARCHAR, general_elections VARCHAR)
SELECT voting_turnout FROM table_name_91 WHERE general_elections = 1985
Tell me the voting turnout for 1985 general elections
<s>[INST]Tell me the voting turnout for 1985 general elections Context: CREATE TABLE table_name_91 (voting_turnout VARCHAR, general_elections VARCHAR)[/INST]SELECT voting_turnout FROM table_name_91 WHERE general_elections = 1985</s>
CREATE TABLE table_25037577_1 (middlesex_principal VARCHAR, year VARCHAR)
SELECT COUNT(middlesex_principal) FROM table_25037577_1 WHERE year = "2000-2001"
How many middlesex principals were there in 2000-2001?
<s>[INST]How many middlesex principals were there in 2000-2001? Context: CREATE TABLE table_25037577_1 (middlesex_principal VARCHAR, year VARCHAR)[/INST]SELECT COUNT(middlesex_principal) FROM table_25037577_1 WHERE year = "2000-2001"</s>
CREATE TABLE table_name_19 (rank INTEGER, nation VARCHAR, gold VARCHAR)
SELECT MAX(rank) FROM table_name_19 WHERE nation = "italy" AND gold > 1
what is the highest rank for italy when gold is more than 1?
<s>[INST]what is the highest rank for italy when gold is more than 1? Context: CREATE TABLE table_name_19 (rank INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_19 WHERE nation = "italy" AND gold > 1</s>
CREATE TABLE table_22056184_1 (points VARCHAR, poles VARCHAR)
SELECT points FROM table_22056184_1 WHERE poles = 1
How many points when pole are 1?
<s>[INST]How many points when pole are 1? Context: CREATE TABLE table_22056184_1 (points VARCHAR, poles VARCHAR)[/INST]SELECT points FROM table_22056184_1 WHERE poles = 1</s>
CREATE TABLE table_name_3 (uci_rating INTEGER, race_name VARCHAR)
SELECT MIN(uci_rating) FROM table_name_3 WHERE race_name = "vuelta a ecuador"
What is Vuelta a Ecuador's lowest UCI Rating?
<s>[INST]What is Vuelta a Ecuador's lowest UCI Rating? Context: CREATE TABLE table_name_3 (uci_rating INTEGER, race_name VARCHAR)[/INST]SELECT MIN(uci_rating) FROM table_name_3 WHERE race_name = "vuelta a ecuador"</s>
CREATE TABLE table_name_39 (position VARCHAR, team VARCHAR, played VARCHAR)
SELECT COUNT(position) FROM table_name_39 WHERE team = "figueirense" AND played > 38
How many positions have figueirense as the team, with a played greater than 38?
<s>[INST]How many positions have figueirense as the team, with a played greater than 38? Context: CREATE TABLE table_name_39 (position VARCHAR, team VARCHAR, played VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_39 WHERE team = "figueirense" AND played > 38</s>
CREATE TABLE stadium (country VARCHAR)
SELECT country FROM stadium GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1
Find the country that has the most stadiums.
<s>[INST]Find the country that has the most stadiums. Context: CREATE TABLE stadium (country VARCHAR)[/INST]SELECT country FROM stadium GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_66 (age__years VARCHAR, _days_ VARCHAR, begin_date VARCHAR)
SELECT age__years, _days_ FROM table_name_66 WHERE begin_date = "may 7, 1886"
What was the age of the member of the United States House of Representatives that began their term on May 7, 1886?
<s>[INST]What was the age of the member of the United States House of Representatives that began their term on May 7, 1886? Context: CREATE TABLE table_name_66 (age__years VARCHAR, _days_ VARCHAR, begin_date VARCHAR)[/INST]SELECT age__years, _days_ FROM table_name_66 WHERE begin_date = "may 7, 1886"</s>
CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_62 WHERE record = "3-14-6"
When was the record 3-14-6?
<s>[INST]When was the record 3-14-6? Context: CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE record = "3-14-6"</s>
CREATE TABLE table_name_96 (location VARCHAR, classification VARCHAR)
SELECT location FROM table_name_96 WHERE classification = "t12"
What is the location of Classification of T12?
<s>[INST]What is the location of Classification of T12? Context: CREATE TABLE table_name_96 (location VARCHAR, classification VARCHAR)[/INST]SELECT location FROM table_name_96 WHERE classification = "t12"</s>
CREATE TABLE table_name_76 (event VARCHAR, notes VARCHAR)
SELECT event FROM table_name_76 WHERE notes = "53.76"
What Event goes with Notes 53.76?
<s>[INST]What Event goes with Notes 53.76? Context: CREATE TABLE table_name_76 (event VARCHAR, notes VARCHAR)[/INST]SELECT event FROM table_name_76 WHERE notes = "53.76"</s>
CREATE TABLE table_11274401_2 (rank___number_ VARCHAR, viewers__m_ VARCHAR)
SELECT rank___number_ FROM table_11274401_2 WHERE viewers__m_ = "2.65"
How did the episode rank that had 2.65 million viewers?
<s>[INST]How did the episode rank that had 2.65 million viewers? Context: CREATE TABLE table_11274401_2 (rank___number_ VARCHAR, viewers__m_ VARCHAR)[/INST]SELECT rank___number_ FROM table_11274401_2 WHERE viewers__m_ = "2.65"</s>
CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR, runner_s__up VARCHAR)
SELECT date FROM table_name_95 WHERE tournament = "national jewish hospital open" AND runner_s__up = "pat bradley"
Which Date has a Tournament of national jewish hospital open, and a Runner(s)-up of pat bradley?
<s>[INST]Which Date has a Tournament of national jewish hospital open, and a Runner(s)-up of pat bradley? Context: CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR, runner_s__up VARCHAR)[/INST]SELECT date FROM table_name_95 WHERE tournament = "national jewish hospital open" AND runner_s__up = "pat bradley"<...
CREATE TABLE table_name_3 (party VARCHAR, minister VARCHAR, title VARCHAR)
SELECT party FROM table_name_3 WHERE minister = "parker moloney" AND title = "minister for markets"
What was Parker Moloney's party affiliation when he was the Minister for Markets?
<s>[INST]What was Parker Moloney's party affiliation when he was the Minister for Markets? Context: CREATE TABLE table_name_3 (party VARCHAR, minister VARCHAR, title VARCHAR)[/INST]SELECT party FROM table_name_3 WHERE minister = "parker moloney" AND title = "minister for markets"</s>
CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_25 WHERE venue = "home" AND opponent = "peterborough phantoms"
When did the peterborough phantoms play at a venue of home?
<s>[INST]When did the peterborough phantoms play at a venue of home? Context: CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE venue = "home" AND opponent = "peterborough phantoms"</s>
CREATE TABLE table_name_31 (lane INTEGER, notes VARCHAR, time___sec__ VARCHAR)
SELECT SUM(lane) FROM table_name_31 WHERE notes = "q, sb" AND time___sec__ < 11.22
What is the lane for notes Q, SB and time less than 11.22?
<s>[INST]What is the lane for notes Q, SB and time less than 11.22? Context: CREATE TABLE table_name_31 (lane INTEGER, notes VARCHAR, time___sec__ VARCHAR)[/INST]SELECT SUM(lane) FROM table_name_31 WHERE notes = "q, sb" AND time___sec__ < 11.22</s>
CREATE TABLE table_name_91 (service_area VARCHAR)
SELECT 2 AS fm__mhz_ FROM table_name_91 WHERE service_area = "sw ireland"
What is the 2FM for SW Ireland?
<s>[INST]What is the 2FM for SW Ireland? Context: CREATE TABLE table_name_91 (service_area VARCHAR)[/INST]SELECT 2 AS fm__mhz_ FROM table_name_91 WHERE service_area = "sw ireland"</s>
CREATE TABLE table_name_48 (race VARCHAR, pole_position VARCHAR)
SELECT race AS Winner FROM table_name_48 WHERE pole_position = "niki lauda"
Who was the winner when Niki Lauda held pole position?
<s>[INST]Who was the winner when Niki Lauda held pole position? Context: CREATE TABLE table_name_48 (race VARCHAR, pole_position VARCHAR)[/INST]SELECT race AS Winner FROM table_name_48 WHERE pole_position = "niki lauda"</s>
CREATE TABLE building (floors INTEGER)
SELECT AVG(floors), MAX(floors), MIN(floors) FROM building
What are the average, maximum, and minimum number of floors for all buildings?
<s>[INST]What are the average, maximum, and minimum number of floors for all buildings? Context: CREATE TABLE building (floors INTEGER)[/INST]SELECT AVG(floors), MAX(floors), MIN(floors) FROM building</s>
CREATE TABLE table_name_15 (home_ground VARCHAR, nickname VARCHAR)
SELECT home_ground FROM table_name_15 WHERE nickname = "lions"
What's the home ground of the Lions?
<s>[INST]What's the home ground of the Lions? Context: CREATE TABLE table_name_15 (home_ground VARCHAR, nickname VARCHAR)[/INST]SELECT home_ground FROM table_name_15 WHERE nickname = "lions"</s>
CREATE TABLE table_17060277_7 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_17060277_7 WHERE team = "Memphis"
Name the high rebounds for memphis
<s>[INST]Name the high rebounds for memphis Context: CREATE TABLE table_17060277_7 (high_rebounds VARCHAR, team VARCHAR)[/INST]SELECT high_rebounds FROM table_17060277_7 WHERE team = "Memphis"</s>
CREATE TABLE table_name_19 (date VARCHAR, name VARCHAR)
SELECT date FROM table_name_19 WHERE name = "french grand prix"
What was the date for the French Grand Prix?
<s>[INST]What was the date for the French Grand Prix? Context: CREATE TABLE table_name_19 (date VARCHAR, name VARCHAR)[/INST]SELECT date FROM table_name_19 WHERE name = "french grand prix"</s>
CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_40 WHERE score = "7–6 (7–3) , 6–3"
What is the surface of the score, 7–6 (7–3) , 6–3?
<s>[INST]What is the surface of the score, 7–6 (7–3) , 6–3? Context: CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR)[/INST]SELECT surface FROM table_name_40 WHERE score = "7–6 (7–3) , 6–3"</s>
CREATE TABLE table_name_66 (date VARCHAR, partner VARCHAR)
SELECT date FROM table_name_66 WHERE partner = "daniella dominikovic"
Which Date has a Partner of daniella dominikovic?
<s>[INST]Which Date has a Partner of daniella dominikovic? Context: CREATE TABLE table_name_66 (date VARCHAR, partner VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE partner = "daniella dominikovic"</s>
CREATE TABLE table_name_99 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_99 WHERE team_2 = "sloga jugomagnat"
What team 1 has sloga jugomagnat as team 2?
<s>[INST]What team 1 has sloga jugomagnat as team 2? Context: CREATE TABLE table_name_99 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_99 WHERE team_2 = "sloga jugomagnat"</s>
CREATE TABLE table_name_35 (record VARCHAR, opponent VARCHAR, round VARCHAR, time VARCHAR)
SELECT record FROM table_name_35 WHERE round = 5 AND time = "5:00" AND opponent = "torrance taylor"
What is the Record when the round was 5, time was 5:00, and the opponent was Torrance Taylor
<s>[INST]What is the Record when the round was 5, time was 5:00, and the opponent was Torrance Taylor Context: CREATE TABLE table_name_35 (record VARCHAR, opponent VARCHAR, round VARCHAR, time VARCHAR)[/INST]SELECT record FROM table_name_35 WHERE round = 5 AND time = "5:00" AND opponent = "torrance taylor"</s>
CREATE TABLE table_name_91 (rapid VARCHAR, distance__km_ VARCHAR, station VARCHAR)
SELECT rapid FROM table_name_91 WHERE distance__km_ < 14.2 AND station = "kōmyōji"
Which rapid has a distance in km smaller than 14.2, and a Station of kōmyōji?
<s>[INST]Which rapid has a distance in km smaller than 14.2, and a Station of kōmyōji? Context: CREATE TABLE table_name_91 (rapid VARCHAR, distance__km_ VARCHAR, station VARCHAR)[/INST]SELECT rapid FROM table_name_91 WHERE distance__km_ < 14.2 AND station = "kōmyōji"</s>
CREATE TABLE table_name_45 (winning_driver VARCHAR, round VARCHAR)
SELECT winning_driver FROM table_name_45 WHERE round = 9
Which Winning Driver has a Round of 9?
<s>[INST]Which Winning Driver has a Round of 9? Context: CREATE TABLE table_name_45 (winning_driver VARCHAR, round VARCHAR)[/INST]SELECT winning_driver FROM table_name_45 WHERE round = 9</s>
CREATE TABLE table_13050003_2 (rebounds VARCHAR, year VARCHAR)
SELECT COUNT(rebounds) FROM table_13050003_2 WHERE year = 2008
How many rebounds were there in 2008?
<s>[INST]How many rebounds were there in 2008? Context: CREATE TABLE table_13050003_2 (rebounds VARCHAR, year VARCHAR)[/INST]SELECT COUNT(rebounds) FROM table_13050003_2 WHERE year = 2008</s>
CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR)
SELECT MAX(year) FROM table_name_35 WHERE venue = "berlin, germany"
what is the latest year when the venue is berlin, germany?
<s>[INST]what is the latest year when the venue is berlin, germany? Context: CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR)[/INST]SELECT MAX(year) FROM table_name_35 WHERE venue = "berlin, germany"</s>
CREATE TABLE table_name_81 (series__number INTEGER, directed_by VARCHAR, written_by VARCHAR)
SELECT AVG(series__number) FROM table_name_81 WHERE directed_by = "milan cheylov" AND written_by = "will dixon"
What series number was directed by milan cheylov and written by will dixon?
<s>[INST]What series number was directed by milan cheylov and written by will dixon? Context: CREATE TABLE table_name_81 (series__number INTEGER, directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT AVG(series__number) FROM table_name_81 WHERE directed_by = "milan cheylov" AND written_by = "will dixon"</s>
CREATE TABLE table_25461827_2 (country VARCHAR, contestant VARCHAR)
SELECT country FROM table_25461827_2 WHERE contestant = "Danissa Zurek"
What country was Danissa Zurek from?
<s>[INST]What country was Danissa Zurek from? Context: CREATE TABLE table_25461827_2 (country VARCHAR, contestant VARCHAR)[/INST]SELECT country FROM table_25461827_2 WHERE contestant = "Danissa Zurek"</s>
CREATE TABLE table_name_43 (ifop_4_24_09 VARCHAR, opinionway_4_17_09 VARCHAR, party VARCHAR)
SELECT ifop_4_24_09 FROM table_name_43 WHERE opinionway_4_17_09 = "5%" AND party = "left front"
Name the lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front
<s>[INST]Name the lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front Context: CREATE TABLE table_name_43 (ifop_4_24_09 VARCHAR, opinionway_4_17_09 VARCHAR, party VARCHAR)[/INST]SELECT ifop_4_24_09 FROM table_name_43 WHERE opinionway_4_17_09 = "5%" AND party = "left front"</s>
CREATE TABLE table_name_49 (round VARCHAR, pick VARCHAR, school VARCHAR)
SELECT COUNT(round) FROM table_name_49 WHERE pick > 9 AND school = "duke"
In what Round does Duke have a Pick larger than 9?
<s>[INST]In what Round does Duke have a Pick larger than 9? Context: CREATE TABLE table_name_49 (round VARCHAR, pick VARCHAR, school VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_49 WHERE pick > 9 AND school = "duke"</s>
CREATE TABLE invoices (id VARCHAR, customer_id VARCHAR); CREATE TABLE invoice_lines (track_id VARCHAR, invoice_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT T1.name FROM tracks AS T1 JOIN invoice_lines AS T2 ON T1.id = T2.track_id JOIN invoices AS T3 ON T3.id = T2.invoice_id JOIN customers AS T4 ON T4.id = T3.customer_id WHERE T4.first_name = "Daan" AND T4.last_name = "Peeters"
List all tracks bought by customer Daan Peeters.
<s>[INST]List all tracks bought by customer Daan Peeters. Context: CREATE TABLE invoices (id VARCHAR, customer_id VARCHAR); CREATE TABLE invoice_lines (track_id VARCHAR, invoice_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)[/INST]...
CREATE TABLE table_name_84 (name_of_tournament VARCHAR, champions VARCHAR, score VARCHAR)
SELECT name_of_tournament FROM table_name_84 WHERE champions = "boris becker" AND score = "7–6, 6–4"
In What Tournament did Boris Becker have a Score of 7–6, 6–4?
<s>[INST]In What Tournament did Boris Becker have a Score of 7–6, 6–4? Context: CREATE TABLE table_name_84 (name_of_tournament VARCHAR, champions VARCHAR, score VARCHAR)[/INST]SELECT name_of_tournament FROM table_name_84 WHERE champions = "boris becker" AND score = "7–6, 6–4"</s>
CREATE TABLE table_name_36 (guns VARCHAR, superintendent VARCHAR)
SELECT guns FROM table_name_36 WHERE superintendent = "silas talbot"
What is the number of guns when the superintendent was Silas Talbot?
<s>[INST]What is the number of guns when the superintendent was Silas Talbot? Context: CREATE TABLE table_name_36 (guns VARCHAR, superintendent VARCHAR)[/INST]SELECT guns FROM table_name_36 WHERE superintendent = "silas talbot"</s>
CREATE TABLE table_name_71 (city_of_license VARCHAR, callsign VARCHAR)
SELECT city_of_license FROM table_name_71 WHERE callsign = "kgns-dt3"
In which city is the network with the callsign kgns-dt3 licensed?
<s>[INST]In which city is the network with the callsign kgns-dt3 licensed? Context: CREATE TABLE table_name_71 (city_of_license VARCHAR, callsign VARCHAR)[/INST]SELECT city_of_license FROM table_name_71 WHERE callsign = "kgns-dt3"</s>
CREATE TABLE table_name_55 (total INTEGER, nation VARCHAR, silver VARCHAR)
SELECT MIN(total) FROM table_name_55 WHERE nation = "japan" AND silver > 2
Which Total has a Nation of japan, and a Silver larger than 2?
<s>[INST]Which Total has a Nation of japan, and a Silver larger than 2? Context: CREATE TABLE table_name_55 (total INTEGER, nation VARCHAR, silver VARCHAR)[/INST]SELECT MIN(total) FROM table_name_55 WHERE nation = "japan" AND silver > 2</s>
CREATE TABLE table_name_78 (runner_up VARCHAR, year VARCHAR)
SELECT runner_up FROM table_name_78 WHERE year = "1901"
Who is the runner-up in 1901?
<s>[INST]Who is the runner-up in 1901? Context: CREATE TABLE table_name_78 (runner_up VARCHAR, year VARCHAR)[/INST]SELECT runner_up FROM table_name_78 WHERE year = "1901"</s>
CREATE TABLE table_name_46 (laps INTEGER, year VARCHAR)
SELECT SUM(laps) FROM table_name_46 WHERE year = 2010
How many Laps were there in 2010?
<s>[INST]How many Laps were there in 2010? Context: CREATE TABLE table_name_46 (laps INTEGER, year VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_46 WHERE year = 2010</s>
CREATE TABLE table_name_50 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_50 WHERE venue = "windy hill"
What was the highest crowd size at Windy Hill?
<s>[INST]What was the highest crowd size at Windy Hill? Context: CREATE TABLE table_name_50 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_50 WHERE venue = "windy hill"</s>
CREATE TABLE table_name_19 (season VARCHAR, lost VARCHAR)
SELECT 3 AS _rd FROM table_name_19 WHERE season < 4 AND lost = 61
Name the 3rd for season less than 4 and lost of 61
<s>[INST]Name the 3rd for season less than 4 and lost of 61 Context: CREATE TABLE table_name_19 (season VARCHAR, lost VARCHAR)[/INST]SELECT 3 AS _rd FROM table_name_19 WHERE season < 4 AND lost = 61</s>
CREATE TABLE table_2508633_2 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_2508633_2 WHERE pick__number = 39
Name the position for pick number 39
<s>[INST]Name the position for pick number 39 Context: CREATE TABLE table_2508633_2 (position VARCHAR, pick__number VARCHAR)[/INST]SELECT position FROM table_2508633_2 WHERE pick__number = 39</s>
CREATE TABLE table_10432351_1 (mass__m___ INTEGER, radius__r___ VARCHAR)
SELECT MIN(mass__m___) FROM table_10432351_1 WHERE radius__r___ = 10
If a radius is 10, what is the lowest possible mass?
<s>[INST]If a radius is 10, what is the lowest possible mass? Context: CREATE TABLE table_10432351_1 (mass__m___ INTEGER, radius__r___ VARCHAR)[/INST]SELECT MIN(mass__m___) FROM table_10432351_1 WHERE radius__r___ = 10</s>
CREATE TABLE table_18299148_1 (Missions VARCHAR, notability VARCHAR)
SELECT COUNT(Missions) AS country FROM table_18299148_1 WHERE notability = "President of Burundi"
How many missions countries have notability with president of burundi?
<s>[INST]How many missions countries have notability with president of burundi? Context: CREATE TABLE table_18299148_1 (Missions VARCHAR, notability VARCHAR)[/INST]SELECT COUNT(Missions) AS country FROM table_18299148_1 WHERE notability = "President of Burundi"</s>
CREATE TABLE table_13643320_2 (results VARCHAR, gtu_winning_team VARCHAR)
SELECT COUNT(results) FROM table_13643320_2 WHERE gtu_winning_team = "#98 All American Racers"
How many different results came out of the round in which #98 All American Racers became the GTU winning team?
<s>[INST]How many different results came out of the round in which #98 All American Racers became the GTU winning team? Context: CREATE TABLE table_13643320_2 (results VARCHAR, gtu_winning_team VARCHAR)[/INST]SELECT COUNT(results) FROM table_13643320_2 WHERE gtu_winning_team = "#98 All American Racers"</s>