context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_13943239_1 (viewers__millions_ VARCHAR, episode VARCHAR)
SELECT COUNT(viewers__millions_) FROM table_13943239_1 WHERE episode = "7th Pride of Britain Awards"
How much audience did the 7th Pride of Britain Awards ceremony have?
<s>[INST]How much audience did the 7th Pride of Britain Awards ceremony have? Context: CREATE TABLE table_13943239_1 (viewers__millions_ VARCHAR, episode VARCHAR)[/INST]SELECT COUNT(viewers__millions_) FROM table_13943239_1 WHERE episode = "7th Pride of Britain Awards"</s>
CREATE TABLE table_name_19 (name VARCHAR, moving_to VARCHAR)
SELECT name FROM table_name_19 WHERE moving_to = "atlético minero"
What is the name when moving to atlético minero?
<s>[INST]What is the name when moving to atlético minero? Context: CREATE TABLE table_name_19 (name VARCHAR, moving_to VARCHAR)[/INST]SELECT name FROM table_name_19 WHERE moving_to = "atlético minero"</s>
CREATE TABLE table_name_50 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_50 WHERE home_team = "carshalton athletic"
What was the Tie no when the Home team was carshalton athletic?
<s>[INST]What was the Tie no when the Home team was carshalton athletic? Context: CREATE TABLE table_name_50 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_50 WHERE home_team = "carshalton athletic"</s>
CREATE TABLE table_name_24 (time INTEGER, number VARCHAR)
SELECT MAX(time) FROM table_name_24 WHERE number = 21
What is number 21's highest time?
<s>[INST]What is number 21's highest time? Context: CREATE TABLE table_name_24 (time INTEGER, number VARCHAR)[/INST]SELECT MAX(time) FROM table_name_24 WHERE number = 21</s>
CREATE TABLE table_name_85 (fraction VARCHAR, dots VARCHAR)
SELECT fraction FROM table_name_85 WHERE dots = "0.\dot{3}"
What fraction has a value for dots of 0.\dot{3}?
<s>[INST]What fraction has a value for dots of 0.\dot{3}? Context: CREATE TABLE table_name_85 (fraction VARCHAR, dots VARCHAR)[/INST]SELECT fraction FROM table_name_85 WHERE dots = "0.\dot{3}"</s>
CREATE TABLE table_name_52 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_52 WHERE venue = "brunswick street oval"
What was the score for the home team that played at Brunswick Street Oval?
<s>[INST]What was the score for the home team that played at Brunswick Street Oval? Context: CREATE TABLE table_name_52 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_52 WHERE venue = "brunswick street oval"</s>
CREATE TABLE table_23670057_4 (height__m_ VARCHAR, player VARCHAR)
SELECT height__m_ FROM table_23670057_4 WHERE player = "Lior Eliyahu"
How tall is the basket ball player lior eliyahu in meters?
<s>[INST]How tall is the basket ball player lior eliyahu in meters? Context: CREATE TABLE table_23670057_4 (height__m_ VARCHAR, player VARCHAR)[/INST]SELECT height__m_ FROM table_23670057_4 WHERE player = "Lior Eliyahu"</s>
CREATE TABLE table_22514845_3 (race_caller VARCHAR, year VARCHAR)
SELECT race_caller FROM table_22514845_3 WHERE year = 1994
Who is the race caller for the year 1994?
<s>[INST]Who is the race caller for the year 1994? Context: CREATE TABLE table_22514845_3 (race_caller VARCHAR, year VARCHAR)[/INST]SELECT race_caller FROM table_22514845_3 WHERE year = 1994</s>
CREATE TABLE table_2534387_11 (winner VARCHAR, event__number VARCHAR)
SELECT COUNT(winner) FROM table_2534387_11 WHERE event__number = 5
If the event number is 5, what is the winner total number?
<s>[INST]If the event number is 5, what is the winner total number? Context: CREATE TABLE table_2534387_11 (winner VARCHAR, event__number VARCHAR)[/INST]SELECT COUNT(winner) FROM table_2534387_11 WHERE event__number = 5</s>
CREATE TABLE table_11654169_1 (car_plates__since_1937_ VARCHAR, capital VARCHAR)
SELECT car_plates__since_1937_ FROM table_11654169_1 WHERE capital = "Wilno"
List all car plates in the capital of Wilno since the year of 1937.
<s>[INST]List all car plates in the capital of Wilno since the year of 1937. Context: CREATE TABLE table_11654169_1 (car_plates__since_1937_ VARCHAR, capital VARCHAR)[/INST]SELECT car_plates__since_1937_ FROM table_11654169_1 WHERE capital = "Wilno"</s>
CREATE TABLE table_name_56 (west_ham_wins VARCHAR, drawn VARCHAR, millwall_wins VARCHAR, millwall_goals VARCHAR)
SELECT west_ham_wins FROM table_name_56 WHERE millwall_wins > 5 AND millwall_goals > 23 AND drawn = 8
How many wins did West Ham get when Millwall had more than 23 goal and 5 wins, and they tied 8 times?
<s>[INST]How many wins did West Ham get when Millwall had more than 23 goal and 5 wins, and they tied 8 times? Context: CREATE TABLE table_name_56 (west_ham_wins VARCHAR, drawn VARCHAR, millwall_wins VARCHAR, millwall_goals VARCHAR)[/INST]SELECT west_ham_wins FROM table_name_56 WHERE millwall_wins > 5 AND millwall_goals > 23 AND drawn = 8</s>
CREATE TABLE table_name_62 (date VARCHAR, margin_of_victory VARCHAR)
SELECT date FROM table_name_62 WHERE margin_of_victory = "5 strokes"
What is the date of the tournament with 5 strokes as the margin of victory?
<s>[INST]What is the date of the tournament with 5 strokes as the margin of victory? Context: CREATE TABLE table_name_62 (date VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE margin_of_victory = "5 strokes"</s>
CREATE TABLE table_name_57 (built VARCHAR, cr_no VARCHAR, lms_no VARCHAR)
SELECT built FROM table_name_57 WHERE cr_no > 940 AND lms_no = 14760
What's the built date when the CR number is more than 940 and the LMS number is 14760?
<s>[INST]What's the built date when the CR number is more than 940 and the LMS number is 14760? Context: CREATE TABLE table_name_57 (built VARCHAR, cr_no VARCHAR, lms_no VARCHAR)[/INST]SELECT built FROM table_name_57 WHERE cr_no > 940 AND lms_no = 14760</s>
CREATE TABLE table_name_54 (tonnage VARCHAR, u_boats_destroyed__kuk_ VARCHAR, ships_sunk__pola_ VARCHAR)
SELECT tonnage FROM table_name_54 WHERE u_boats_destroyed__kuk_ = "2" AND ships_sunk__pola_ = "(not recorded)"
What is the listed Tonnage that has U-boats destroyed (KuK) of 2 and Ships sunk (Pola) of (not recorded)?
<s>[INST]What is the listed Tonnage that has U-boats destroyed (KuK) of 2 and Ships sunk (Pola) of (not recorded)? Context: CREATE TABLE table_name_54 (tonnage VARCHAR, u_boats_destroyed__kuk_ VARCHAR, ships_sunk__pola_ VARCHAR)[/INST]SELECT tonnage FROM table_name_54 WHERE u_boats_destroyed__kuk_ = "2" AND ships_sunk__pola_ = "(not recorded)"</s>
CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, municipality VARCHAR)
SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE municipality = "Bar"
How many league of communists have the municipality of bar?
<s>[INST]How many league of communists have the municipality of bar? Context: CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, municipality VARCHAR)[/INST]SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE municipality = "Bar"</s>
CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, series VARCHAR)
SELECT MAX(attendance) FROM table_name_99 WHERE venue = "td banknorth garden" AND series = "montreal leads 3-1"
Name the most that attendend when the venue was td banknorth garden and the series of montreal leads 3-1
<s>[INST]Name the most that attendend when the venue was td banknorth garden and the series of montreal leads 3-1 Context: CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, series VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_99 WHERE venue = "td banknorth garden" AND series = "montreal leads 3-1"</s>
CREATE TABLE table_name_37 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_37 WHERE week = 17
On what date was the week 17 game?
<s>[INST]On what date was the week 17 game? Context: CREATE TABLE table_name_37 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_37 WHERE week = 17</s>
CREATE TABLE table_18600760_20 (ansi_code VARCHAR, latitude VARCHAR)
SELECT COUNT(ansi_code) FROM table_18600760_20 WHERE latitude = "46.415037"
How many ansi codes are there for longitude 46.415037?
<s>[INST]How many ansi codes are there for longitude 46.415037? Context: CREATE TABLE table_18600760_20 (ansi_code VARCHAR, latitude VARCHAR)[/INST]SELECT COUNT(ansi_code) FROM table_18600760_20 WHERE latitude = "46.415037"</s>
CREATE TABLE table_name_95 (home_team VARCHAR, score VARCHAR)
SELECT home_team FROM table_name_95 WHERE score = "0-1"
What is the home team of the game that ended with a score of 0-1?
<s>[INST]What is the home team of the game that ended with a score of 0-1? Context: CREATE TABLE table_name_95 (home_team VARCHAR, score VARCHAR)[/INST]SELECT home_team FROM table_name_95 WHERE score = "0-1"</s>
CREATE TABLE table_name_42 (compulsory VARCHAR, voluntary VARCHAR, total VARCHAR)
SELECT COUNT(compulsory) FROM table_name_42 WHERE voluntary = 38.7 AND total > 69.2
What's the total compulsory when the total is more than 69.2 and the voluntary is 38.7?
<s>[INST]What's the total compulsory when the total is more than 69.2 and the voluntary is 38.7? Context: CREATE TABLE table_name_42 (compulsory VARCHAR, voluntary VARCHAR, total VARCHAR)[/INST]SELECT COUNT(compulsory) FROM table_name_42 WHERE voluntary = 38.7 AND total > 69.2</s>
CREATE TABLE table_name_17 (best VARCHAR, name VARCHAR)
SELECT best FROM table_name_17 WHERE name = "jimmy vasser"
What is Best, when Name is Jimmy Vasser?
<s>[INST]What is Best, when Name is Jimmy Vasser? Context: CREATE TABLE table_name_17 (best VARCHAR, name VARCHAR)[/INST]SELECT best FROM table_name_17 WHERE name = "jimmy vasser"</s>
CREATE TABLE table_name_45 (race_1 INTEGER, race_3 VARCHAR, points VARCHAR)
SELECT SUM(race_1) FROM table_name_45 WHERE race_3 = "5" AND points < 59
How many race 1's have 5 as the race 3, with points less than 59?
<s>[INST]How many race 1's have 5 as the race 3, with points less than 59? Context: CREATE TABLE table_name_45 (race_1 INTEGER, race_3 VARCHAR, points VARCHAR)[/INST]SELECT SUM(race_1) FROM table_name_45 WHERE race_3 = "5" AND points < 59</s>
CREATE TABLE table_name_82 (gold_medals INTEGER, total_medals VARCHAR, bronze_medals VARCHAR, silver_medals VARCHAR)
SELECT AVG(gold_medals) FROM table_name_82 WHERE bronze_medals < 1 AND silver_medals = 0 AND total_medals > 1
Name the average gold medals when the bronze medals was less than 1, silver medals being 0 and total medals more than 1
<s>[INST]Name the average gold medals when the bronze medals was less than 1, silver medals being 0 and total medals more than 1 Context: CREATE TABLE table_name_82 (gold_medals INTEGER, total_medals VARCHAR, bronze_medals VARCHAR, silver_medals VARCHAR)[/INST]SELECT AVG(gold_medals) FROM table_name_82 WHERE bronze_medals < 1 AND silver_medals = 0 AND total_medals > 1</s>
CREATE TABLE table_1939214_1 (year VARCHAR, league VARCHAR)
SELECT year FROM table_1939214_1 WHERE league = "USISL Pro league"
In what year did the team compete in the USISL Pro League?
<s>[INST]In what year did the team compete in the USISL Pro League? Context: CREATE TABLE table_1939214_1 (year VARCHAR, league VARCHAR)[/INST]SELECT year FROM table_1939214_1 WHERE league = "USISL Pro league"</s>
CREATE TABLE Restaurant (ResName VARCHAR)
SELECT ResName FROM Restaurant
Show me all the restaurants.
<s>[INST]Show me all the restaurants. Context: CREATE TABLE Restaurant (ResName VARCHAR)[/INST]SELECT ResName FROM Restaurant</s>
CREATE TABLE table_name_83 (seat_order__right_to_left_ VARCHAR, series_3 VARCHAR)
SELECT COUNT(seat_order__right_to_left_) FROM table_name_83 WHERE series_3 = "deborah meaden"
How many Seat Orders (Right to Left) have a Series 3 of deborah meaden?
<s>[INST]How many Seat Orders (Right to Left) have a Series 3 of deborah meaden? Context: CREATE TABLE table_name_83 (seat_order__right_to_left_ VARCHAR, series_3 VARCHAR)[/INST]SELECT COUNT(seat_order__right_to_left_) FROM table_name_83 WHERE series_3 = "deborah meaden"</s>
CREATE TABLE table_22875369_3 (date VARCHAR, irish_points VARCHAR)
SELECT date FROM table_22875369_3 WHERE irish_points = 89
Name the date for irish points being 89
<s>[INST]Name the date for irish points being 89 Context: CREATE TABLE table_22875369_3 (date VARCHAR, irish_points VARCHAR)[/INST]SELECT date FROM table_22875369_3 WHERE irish_points = 89</s>
CREATE TABLE table_name_13 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_13 WHERE venue = "vfl park"
What team played away at vfl park?
<s>[INST]What team played away at vfl park? Context: CREATE TABLE table_name_13 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_13 WHERE venue = "vfl park"</s>
CREATE TABLE table_name_27 (engine VARCHAR, entrant VARCHAR, points VARCHAR, tyres VARCHAR)
SELECT engine FROM table_name_27 WHERE points = "47" AND tyres = "f" AND entrant = "rob walker racing team"
Which engine of Rob Walker Racing Team has 47 points and F tyres?
<s>[INST]Which engine of Rob Walker Racing Team has 47 points and F tyres? Context: CREATE TABLE table_name_27 (engine VARCHAR, entrant VARCHAR, points VARCHAR, tyres VARCHAR)[/INST]SELECT engine FROM table_name_27 WHERE points = "47" AND tyres = "f" AND entrant = "rob walker racing team"</s>
CREATE TABLE table_name_73 (nickname VARCHAR, age___ma__ VARCHAR)
SELECT nickname FROM table_name_73 WHERE age___ma__ = "4.9"
Name the nickname with age of 4.9
<s>[INST]Name the nickname with age of 4.9 Context: CREATE TABLE table_name_73 (nickname VARCHAR, age___ma__ VARCHAR)[/INST]SELECT nickname FROM table_name_73 WHERE age___ma__ = "4.9"</s>
CREATE TABLE table_name_1 (wins INTEGER, goals_for INTEGER)
SELECT MIN(wins) FROM table_name_1 WHERE goals_for > 72
What is the low win count with more than 72 goals?
<s>[INST]What is the low win count with more than 72 goals? Context: CREATE TABLE table_name_1 (wins INTEGER, goals_for INTEGER)[/INST]SELECT MIN(wins) FROM table_name_1 WHERE goals_for > 72</s>
CREATE TABLE table_name_58 (tournament VARCHAR)
SELECT 2008 FROM table_name_58 WHERE 2010 = "2r" AND tournament = "wimbledon"
Name the 2008 with 2010 of 2r and wimbledon tournament
<s>[INST]Name the 2008 with 2010 of 2r and wimbledon tournament Context: CREATE TABLE table_name_58 (tournament VARCHAR)[/INST]SELECT 2008 FROM table_name_58 WHERE 2010 = "2r" AND tournament = "wimbledon"</s>
CREATE TABLE table_name_30 (viewers VARCHAR, rank VARCHAR)
SELECT COUNT(viewers) FROM table_name_30 WHERE rank = "#40"
What is the total number of Viewers when the rank is #40?
<s>[INST]What is the total number of Viewers when the rank is #40? Context: CREATE TABLE table_name_30 (viewers VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(viewers) FROM table_name_30 WHERE rank = "#40"</s>
CREATE TABLE table_name_86 (total_capacity__mwe_ INTEGER, power_plant VARCHAR)
SELECT SUM(total_capacity__mwe_) FROM table_name_86 WHERE power_plant = "ramakkalmedu"
At the power plant located in ramakkalmedu, what is the sum of the total capacity (MWe)?
<s>[INST]At the power plant located in ramakkalmedu, what is the sum of the total capacity (MWe)? Context: CREATE TABLE table_name_86 (total_capacity__mwe_ INTEGER, power_plant VARCHAR)[/INST]SELECT SUM(total_capacity__mwe_) FROM table_name_86 WHERE power_plant = "ramakkalmedu"</s>
CREATE TABLE table_name_7 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR)
SELECT AVG(extra_points) FROM table_name_7 WHERE player = "james lawrence" AND touchdowns < 1
What mean number of extra points was there when James Lawrence was a player and the touchdown number was less than 1?
<s>[INST]What mean number of extra points was there when James Lawrence was a player and the touchdown number was less than 1? Context: CREATE TABLE table_name_7 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR)[/INST]SELECT AVG(extra_points) FROM table_name_7 WHERE player = "james lawrence" AND touchdowns < 1</s>
CREATE TABLE table_17972193_1 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_17972193_1 WHERE opponent = "at Los Angeles Rams"
When was the game played when the opponent was 'at Los Angeles Rams'?
<s>[INST]When was the game played when the opponent was 'at Los Angeles Rams'? Context: CREATE TABLE table_17972193_1 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_17972193_1 WHERE opponent = "at Los Angeles Rams"</s>
CREATE TABLE table_name_69 (league_from VARCHAR, nhl_team VARCHAR)
SELECT league_from FROM table_name_69 WHERE nhl_team = "atlanta thrashers (from dallas) 6"
From which league is the player chosen by the Atlanta Thrashers (from Dallas) 6?
<s>[INST]From which league is the player chosen by the Atlanta Thrashers (from Dallas) 6? Context: CREATE TABLE table_name_69 (league_from VARCHAR, nhl_team VARCHAR)[/INST]SELECT league_from FROM table_name_69 WHERE nhl_team = "atlanta thrashers (from dallas) 6"</s>
CREATE TABLE table_name_20 (matches_w_l VARCHAR, placing VARCHAR)
SELECT matches_w_l FROM table_name_20 WHERE placing = 3
Placing of 3 had what match w-l?
<s>[INST]Placing of 3 had what match w-l? Context: CREATE TABLE table_name_20 (matches_w_l VARCHAR, placing VARCHAR)[/INST]SELECT matches_w_l FROM table_name_20 WHERE placing = 3</s>
CREATE TABLE table_name_60 (non_suited_match VARCHAR, number_of_decks INTEGER)
SELECT non_suited_match FROM table_name_60 WHERE number_of_decks > 6
Name the Non-Suited Match that has greater than 6 Number of Decks.
<s>[INST]Name the Non-Suited Match that has greater than 6 Number of Decks. Context: CREATE TABLE table_name_60 (non_suited_match VARCHAR, number_of_decks INTEGER)[/INST]SELECT non_suited_match FROM table_name_60 WHERE number_of_decks > 6</s>
CREATE TABLE table_name_39 (position VARCHAR, total_apps VARCHAR)
SELECT position FROM table_name_39 WHERE total_apps = "5"
Which position has 5 total apps?
<s>[INST]Which position has 5 total apps? Context: CREATE TABLE table_name_39 (position VARCHAR, total_apps VARCHAR)[/INST]SELECT position FROM table_name_39 WHERE total_apps = "5"</s>
CREATE TABLE players (country_code VARCHAR)
SELECT COUNT(DISTINCT country_code) FROM players
find the number of distinct country codes of all players.
<s>[INST]find the number of distinct country codes of all players. Context: CREATE TABLE players (country_code VARCHAR)[/INST]SELECT COUNT(DISTINCT country_code) FROM players</s>
CREATE TABLE table_19401346_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)
SELECT MIN(no_in_series) FROM table_19401346_1 WHERE us_viewers__millions_ = "9.35"
What's the series number of the episode seen by 9.35 million people in the US?
<s>[INST]What's the series number of the episode seen by 9.35 million people in the US? Context: CREATE TABLE table_19401346_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)[/INST]SELECT MIN(no_in_series) FROM table_19401346_1 WHERE us_viewers__millions_ = "9.35"</s>
CREATE TABLE table_name_60 (score VARCHAR, game VARCHAR, march VARCHAR)
SELECT score FROM table_name_60 WHERE game > 76 AND march > 26
Game larger than 76, and a March larger than 26 involves what score?
<s>[INST]Game larger than 76, and a March larger than 26 involves what score? Context: CREATE TABLE table_name_60 (score VARCHAR, game VARCHAR, march VARCHAR)[/INST]SELECT score FROM table_name_60 WHERE game > 76 AND march > 26</s>
CREATE TABLE table_name_16 (rank INTEGER, borough VARCHAR, population VARCHAR)
SELECT MIN(rank) FROM table_name_16 WHERE borough = "richmondshire" AND population > 8 OFFSET 178
Which Rank is the lowest one that has a Borough of richmondshire, and a Population larger than 8,178?
<s>[INST]Which Rank is the lowest one that has a Borough of richmondshire, and a Population larger than 8,178? Context: CREATE TABLE table_name_16 (rank INTEGER, borough VARCHAR, population VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_16 WHERE borough = "richmondshire" AND population > 8 OFFSET 178</s>
CREATE TABLE table_17323529_5 (high_assists VARCHAR, score VARCHAR)
SELECT high_assists FROM table_17323529_5 WHERE score = "L 98–103 (OT)"
Name the high assists for l 98–103 (ot)
<s>[INST]Name the high assists for l 98–103 (ot) Context: CREATE TABLE table_17323529_5 (high_assists VARCHAR, score VARCHAR)[/INST]SELECT high_assists FROM table_17323529_5 WHERE score = "L 98–103 (OT)"</s>
CREATE TABLE table_name_30 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_30 WHERE attendance = "28,135"
What is the record of the game with 28,135 people in attendance?
<s>[INST]What is the record of the game with 28,135 people in attendance? Context: CREATE TABLE table_name_30 (record VARCHAR, attendance VARCHAR)[/INST]SELECT record FROM table_name_30 WHERE attendance = "28,135"</s>
CREATE TABLE table_1108394_47 (party VARCHAR, manhattan VARCHAR)
SELECT COUNT(party) FROM table_1108394_47 WHERE manhattan = "29.9_percentage"
How many parties received 29.9% of the vote in Manhattan?
<s>[INST]How many parties received 29.9% of the vote in Manhattan? Context: CREATE TABLE table_1108394_47 (party VARCHAR, manhattan VARCHAR)[/INST]SELECT COUNT(party) FROM table_1108394_47 WHERE manhattan = "29.9_percentage"</s>
CREATE TABLE table_11318462_29 (enrolment VARCHAR, in_competition_since VARCHAR, abbreviation VARCHAR)
SELECT COUNT(enrolment) FROM table_11318462_29 WHERE in_competition_since = 1990 AND abbreviation = "STM"
What is the enrollment of STM which has been in competition since 1990?
<s>[INST]What is the enrollment of STM which has been in competition since 1990? Context: CREATE TABLE table_11318462_29 (enrolment VARCHAR, in_competition_since VARCHAR, abbreviation VARCHAR)[/INST]SELECT COUNT(enrolment) FROM table_11318462_29 WHERE in_competition_since = 1990 AND abbreviation = "STM"</s>
CREATE TABLE table_name_65 (title VARCHAR, producer VARCHAR)
SELECT title FROM table_name_65 WHERE producer = "2003"
What is the title of the film when the producer was 2003?
<s>[INST]What is the title of the film when the producer was 2003? Context: CREATE TABLE table_name_65 (title VARCHAR, producer VARCHAR)[/INST]SELECT title FROM table_name_65 WHERE producer = "2003"</s>
CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_21 WHERE away_team = "leicester city"
What was the tie against the away team, Leicester City?
<s>[INST]What was the tie against the away team, Leicester City? Context: CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_21 WHERE away_team = "leicester city"</s>
CREATE TABLE table_name_57 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, gender VARCHAR, specification VARCHAR)
SELECT university_students_and_adults__18yrs + _ FROM table_name_57 WHERE gender = "male" AND specification = "minimum weight"
What value for university students and adult goes with male gender for minimum weight?
<s>[INST]What value for university students and adult goes with male gender for minimum weight? Context: CREATE TABLE table_name_57 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, gender VARCHAR, specification VARCHAR)[/INST]SELECT university_students_and_adults__18yrs + _ FROM table_name_57 WHERE gender = "male" AND specification = "minimum weight"</s>
CREATE TABLE table_22319599_1 (location VARCHAR, varsity_teams VARCHAR)
SELECT location FROM table_22319599_1 WHERE varsity_teams = 6
If the varsity team is 6, what is the location?
<s>[INST]If the varsity team is 6, what is the location? Context: CREATE TABLE table_22319599_1 (location VARCHAR, varsity_teams VARCHAR)[/INST]SELECT location FROM table_22319599_1 WHERE varsity_teams = 6</s>
CREATE TABLE table_name_38 (length__km_ INTEGER, name VARCHAR, length__mi_ VARCHAR)
SELECT MIN(length__km_) FROM table_name_38 WHERE name = "north klondike highway" AND length__mi_ < 326
What's the shortest length from north klondike highway that has a length less than 326?
<s>[INST]What's the shortest length from north klondike highway that has a length less than 326? Context: CREATE TABLE table_name_38 (length__km_ INTEGER, name VARCHAR, length__mi_ VARCHAR)[/INST]SELECT MIN(length__km_) FROM table_name_38 WHERE name = "north klondike highway" AND length__mi_ < 326</s>
CREATE TABLE table_name_7 (to_par VARCHAR, place VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_7 WHERE place = "t9" AND country = "australia"
What was Australia's to par when the place was t9?
<s>[INST]What was Australia's to par when the place was t9? Context: CREATE TABLE table_name_7 (to_par VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_7 WHERE place = "t9" AND country = "australia"</s>
CREATE TABLE table_256286_40 (passed VARCHAR, yes_votes VARCHAR)
SELECT COUNT(passed) FROM table_256286_40 WHERE yes_votes = 390338
How many votes passed are listed on the measure that had 390338 yes votes?
<s>[INST]How many votes passed are listed on the measure that had 390338 yes votes? Context: CREATE TABLE table_256286_40 (passed VARCHAR, yes_votes VARCHAR)[/INST]SELECT COUNT(passed) FROM table_256286_40 WHERE yes_votes = 390338</s>
CREATE TABLE table_name_25 (week INTEGER, attendance VARCHAR)
SELECT AVG(week) FROM table_name_25 WHERE attendance = "14,381"
What week had an attendance of 14,381?
<s>[INST]What week had an attendance of 14,381? Context: CREATE TABLE table_name_25 (week INTEGER, attendance VARCHAR)[/INST]SELECT AVG(week) FROM table_name_25 WHERE attendance = "14,381"</s>
CREATE TABLE table_22654073_8 (game VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_22654073_8 WHERE record = "29-10"
How many games are associated with a record of 29-10?
<s>[INST]How many games are associated with a record of 29-10? Context: CREATE TABLE table_22654073_8 (game VARCHAR, record VARCHAR)[/INST]SELECT COUNT(game) FROM table_22654073_8 WHERE record = "29-10"</s>
CREATE TABLE table_name_19 (goals_against VARCHAR, played INTEGER)
SELECT COUNT(goals_against) FROM table_name_19 WHERE played > 38
What is the number of goals against when the played is more than 38?
<s>[INST]What is the number of goals against when the played is more than 38? Context: CREATE TABLE table_name_19 (goals_against VARCHAR, played INTEGER)[/INST]SELECT COUNT(goals_against) FROM table_name_19 WHERE played > 38</s>
CREATE TABLE table_name_14 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_14 WHERE away_team = "collingwood"
Which home team played the away team of collingwood?
<s>[INST]Which home team played the away team of collingwood? Context: CREATE TABLE table_name_14 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_14 WHERE away_team = "collingwood"</s>
CREATE TABLE table_name_13 (pick VARCHAR, team VARCHAR)
SELECT COUNT(pick) FROM table_name_13 WHERE team = "seattle mariners"
What is the total number pick for seattle mariners team?
<s>[INST]What is the total number pick for seattle mariners team? Context: CREATE TABLE table_name_13 (pick VARCHAR, team VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_13 WHERE team = "seattle mariners"</s>
CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR)
SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "rockies" AND record = "32-30"
How much Attendance has an Opponent of rockies, and a Record of 32-30?
<s>[INST]How much Attendance has an Opponent of rockies, and a Record of 32-30? Context: CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "rockies" AND record = "32-30"</s>
CREATE TABLE table_name_82 (males VARCHAR, percentage___percentage_ VARCHAR)
SELECT males FROM table_name_82 WHERE percentage___percentage_ = "80.62"
How many males have a percentage of 80.62?
<s>[INST]How many males have a percentage of 80.62? Context: CREATE TABLE table_name_82 (males VARCHAR, percentage___percentage_ VARCHAR)[/INST]SELECT males FROM table_name_82 WHERE percentage___percentage_ = "80.62"</s>
CREATE TABLE table_name_29 (result VARCHAR, h___a VARCHAR, round VARCHAR)
SELECT result FROM table_name_29 WHERE h___a = "h" AND round = "r6 replay"
What is the result for an H/A of H and a round value of R6 replay?
<s>[INST]What is the result for an H/A of H and a round value of R6 replay? Context: CREATE TABLE table_name_29 (result VARCHAR, h___a VARCHAR, round VARCHAR)[/INST]SELECT result FROM table_name_29 WHERE h___a = "h" AND round = "r6 replay"</s>
CREATE TABLE table_name_2 (value INTEGER, word_form VARCHAR)
SELECT SUM(value) FROM table_name_2 WHERE word_form = "សាមសិប"
What's the total value of សាមសិប?
<s>[INST]What's the total value of សាមសិប? Context: CREATE TABLE table_name_2 (value INTEGER, word_form VARCHAR)[/INST]SELECT SUM(value) FROM table_name_2 WHERE word_form = "សាមសិប"</s>
CREATE TABLE table_name_90 (position VARCHAR, year VARCHAR, notes VARCHAR)
SELECT position FROM table_name_90 WHERE year = 2010 AND notes = "team"
What was the position in 2010 with team notes?
<s>[INST]What was the position in 2010 with team notes? Context: CREATE TABLE table_name_90 (position VARCHAR, year VARCHAR, notes VARCHAR)[/INST]SELECT position FROM table_name_90 WHERE year = 2010 AND notes = "team"</s>
CREATE TABLE table_name_95 (pole_position VARCHAR, race VARCHAR)
SELECT pole_position FROM table_name_95 WHERE race = "swedish grand prix"
What is the Pole Position of the Swedish Grand Prix?
<s>[INST]What is the Pole Position of the Swedish Grand Prix? Context: CREATE TABLE table_name_95 (pole_position VARCHAR, race VARCHAR)[/INST]SELECT pole_position FROM table_name_95 WHERE race = "swedish grand prix"</s>
CREATE TABLE table_name_46 (round INTEGER, draft VARCHAR, player VARCHAR)
SELECT MAX(round) FROM table_name_46 WHERE draft > 1980 AND player = "shane doan category:articles with hcards"
What is the highest Round, when Draft is greater than 1980, and when Player is "Shane Doan Category:Articles with hCards"?
<s>[INST]What is the highest Round, when Draft is greater than 1980, and when Player is "Shane Doan Category:Articles with hCards"? Context: CREATE TABLE table_name_46 (round INTEGER, draft VARCHAR, player VARCHAR)[/INST]SELECT MAX(round) FROM table_name_46 WHERE draft > 1980 AND player = "shane doan category:articles with hcards"</s>
CREATE TABLE table_name_71 (developer_s_ VARCHAR, year VARCHAR, genre VARCHAR)
SELECT developer_s_ FROM table_name_71 WHERE year > 2010 AND genre = "action rpg"
Who were the developers for the Action RPG made after 2010?
<s>[INST]Who were the developers for the Action RPG made after 2010? Context: CREATE TABLE table_name_71 (developer_s_ VARCHAR, year VARCHAR, genre VARCHAR)[/INST]SELECT developer_s_ FROM table_name_71 WHERE year > 2010 AND genre = "action rpg"</s>
CREATE TABLE table_name_62 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_62 WHERE score = 70 - 75 = 145
Who is the player with a 70-75=145 score?
<s>[INST]Who is the player with a 70-75=145 score? Context: CREATE TABLE table_name_62 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_62 WHERE score = 70 - 75 = 145</s>
CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_26 WHERE date = "september 27"
What is the record for the game played on September 27?
<s>[INST]What is the record for the game played on September 27? Context: CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_26 WHERE date = "september 27"</s>
CREATE TABLE table_name_76 (league VARCHAR, fa_cup VARCHAR, total VARCHAR)
SELECT league FROM table_name_76 WHERE fa_cup > 0 AND total > 21
Which league has an FA cup greater than 0, with a total greater than 21?
<s>[INST]Which league has an FA cup greater than 0, with a total greater than 21? Context: CREATE TABLE table_name_76 (league VARCHAR, fa_cup VARCHAR, total VARCHAR)[/INST]SELECT league FROM table_name_76 WHERE fa_cup > 0 AND total > 21</s>
CREATE TABLE table_24101118_1 (model__list_ VARCHAR, processor VARCHAR, brand_name VARCHAR)
SELECT model__list_ FROM table_24101118_1 WHERE processor = "Yorkfield" AND brand_name = "Xeon"
what is the model where the processor is yorkfield and the brand name is xeon?
<s>[INST]what is the model where the processor is yorkfield and the brand name is xeon? Context: CREATE TABLE table_24101118_1 (model__list_ VARCHAR, processor VARCHAR, brand_name VARCHAR)[/INST]SELECT model__list_ FROM table_24101118_1 WHERE processor = "Yorkfield" AND brand_name = "Xeon"</s>
CREATE TABLE table_2581397_4 (distance VARCHAR, race VARCHAR)
SELECT distance FROM table_2581397_4 WHERE race = "Manikato Stakes"
What was the distance in the Manikato Stakes race?
<s>[INST]What was the distance in the Manikato Stakes race? Context: CREATE TABLE table_2581397_4 (distance VARCHAR, race VARCHAR)[/INST]SELECT distance FROM table_2581397_4 WHERE race = "Manikato Stakes"</s>
CREATE TABLE table_name_92 (Id VARCHAR)
SELECT 2011 FROM table_name_92 WHERE 2012 = "a" AND 2010 = "1r" AND 2008 = "2r"
Name the 2011 for 2012 of a and 2010 of 1r with 2008 of 2r
<s>[INST]Name the 2011 for 2012 of a and 2010 of 1r with 2008 of 2r Context: CREATE TABLE table_name_92 (Id VARCHAR)[/INST]SELECT 2011 FROM table_name_92 WHERE 2012 = "a" AND 2010 = "1r" AND 2008 = "2r"</s>
CREATE TABLE table_name_72 (driver VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_72 WHERE entrant = "rovero campello"
Who was the driver for Rovero Campello?
<s>[INST]Who was the driver for Rovero Campello? Context: CREATE TABLE table_name_72 (driver VARCHAR, entrant VARCHAR)[/INST]SELECT driver FROM table_name_72 WHERE entrant = "rovero campello"</s>
CREATE TABLE table_name_34 (transfer_fee VARCHAR, type VARCHAR, name VARCHAR)
SELECT transfer_fee FROM table_name_34 WHERE type = "career end" AND name = "willy sagnol"
Willy Sagnol with a type as career end had what has the transfer fee?
<s>[INST]Willy Sagnol with a type as career end had what has the transfer fee? Context: CREATE TABLE table_name_34 (transfer_fee VARCHAR, type VARCHAR, name VARCHAR)[/INST]SELECT transfer_fee FROM table_name_34 WHERE type = "career end" AND name = "willy sagnol"</s>
CREATE TABLE table_name_31 (last_5 VARCHAR, rank VARCHAR)
SELECT last_5 FROM table_name_31 WHERE rank = 7
Which Last 5 has a Rank of 7?
<s>[INST]Which Last 5 has a Rank of 7? Context: CREATE TABLE table_name_31 (last_5 VARCHAR, rank VARCHAR)[/INST]SELECT last_5 FROM table_name_31 WHERE rank = 7</s>
CREATE TABLE table_name_29 (city VARCHAR, venue VARCHAR)
SELECT city FROM table_name_29 WHERE venue = "mandalay bay resort"
Which City has mandalay bay resort
<s>[INST]Which City has mandalay bay resort Context: CREATE TABLE table_name_29 (city VARCHAR, venue VARCHAR)[/INST]SELECT city FROM table_name_29 WHERE venue = "mandalay bay resort"</s>
CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR, product_price VARCHAR)
SELECT product_name, product_category_code FROM products ORDER BY product_price DESC LIMIT 1
Find the name and category of the most expensive product.
<s>[INST]Find the name and category of the most expensive product. Context: CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR, product_price VARCHAR)[/INST]SELECT product_name, product_category_code FROM products ORDER BY product_price DESC LIMIT 1</s>
CREATE TABLE FLIGHTS (DestAirport VARCHAR); CREATE TABLE AIRPORTS (City VARCHAR, AirportCode VARCHAR)
SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport GROUP BY T1.City ORDER BY COUNT(*) DESC LIMIT 1
Which city has most number of arriving flights?
<s>[INST]Which city has most number of arriving flights? Context: CREATE TABLE FLIGHTS (DestAirport VARCHAR); CREATE TABLE AIRPORTS (City VARCHAR, AirportCode VARCHAR)[/INST]SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.DestAirport GROUP BY T1.City ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_14286908_1 (winners VARCHAR, school VARCHAR)
SELECT COUNT(winners) FROM table_14286908_1 WHERE school = "Banbridge Academy"
How many times was banbridge academy the winner?
<s>[INST]How many times was banbridge academy the winner? Context: CREATE TABLE table_14286908_1 (winners VARCHAR, school VARCHAR)[/INST]SELECT COUNT(winners) FROM table_14286908_1 WHERE school = "Banbridge Academy"</s>
CREATE TABLE table_1342331_11 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342331_11 WHERE incumbent = "John S. Wood"
What candidates ran in the election when john s. wood was the incumbent?
<s>[INST]What candidates ran in the election when john s. wood was the incumbent? Context: CREATE TABLE table_1342331_11 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342331_11 WHERE incumbent = "John S. Wood"</s>
CREATE TABLE table_name_40 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)
SELECT MAX(first_elected) FROM table_name_40 WHERE results = "lost re-election democratic gain" AND incumbent = "john hostettler"
What is the latest year for first elected with john hostettler as incumbent and a result of lost re-election democratic gain?
<s>[INST]What is the latest year for first elected with john hostettler as incumbent and a result of lost re-election democratic gain? Context: CREATE TABLE table_name_40 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)[/INST]SELECT MAX(first_elected) FROM table_name_40 WHERE results = "lost re-election democratic gain" AND incumbent = "john hostettler"</s>
CREATE TABLE table_24575253_4 (division_three VARCHAR, division_two VARCHAR)
SELECT COUNT(division_three) FROM table_24575253_4 WHERE division_two = "Westcott 1935"
When westcott 1935 is in division two how many leagues are in division three?
<s>[INST]When westcott 1935 is in division two how many leagues are in division three? Context: CREATE TABLE table_24575253_4 (division_three VARCHAR, division_two VARCHAR)[/INST]SELECT COUNT(division_three) FROM table_24575253_4 WHERE division_two = "Westcott 1935"</s>
CREATE TABLE table_name_39 (rochester VARCHAR, syracuse VARCHAR, albany VARCHAR)
SELECT rochester FROM table_name_39 WHERE syracuse = "cardiff dark gray shale" AND albany = "(mt. marion fm.)"
What is Rochester, when Syracuse is Cardiff Dark Gray Shale, and when Albany is (Mt. Marion Fm.)?
<s>[INST]What is Rochester, when Syracuse is Cardiff Dark Gray Shale, and when Albany is (Mt. Marion Fm.)? Context: CREATE TABLE table_name_39 (rochester VARCHAR, syracuse VARCHAR, albany VARCHAR)[/INST]SELECT rochester FROM table_name_39 WHERE syracuse = "cardiff dark gray shale" AND albany = "(mt. marion fm.)"</s>
CREATE TABLE table_name_7 (iata VARCHAR, airport VARCHAR)
SELECT iata FROM table_name_7 WHERE airport = "shahjalal international airport"
What is the IATA code for SHahjalal International Airport?
<s>[INST]What is the IATA code for SHahjalal International Airport? Context: CREATE TABLE table_name_7 (iata VARCHAR, airport VARCHAR)[/INST]SELECT iata FROM table_name_7 WHERE airport = "shahjalal international airport"</s>
CREATE TABLE table_name_11 (home_ground_s_ VARCHAR, name VARCHAR)
SELECT home_ground_s_ FROM table_name_11 WHERE name = "melville cricket club"
What's the Home ground(s) listed for the Name Melville Cricket Club?
<s>[INST]What's the Home ground(s) listed for the Name Melville Cricket Club? Context: CREATE TABLE table_name_11 (home_ground_s_ VARCHAR, name VARCHAR)[/INST]SELECT home_ground_s_ FROM table_name_11 WHERE name = "melville cricket club"</s>
CREATE TABLE table_name_52 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_52 WHERE result = "l 27–3"
Who was the opponent at the game with a result of l 27–3?
<s>[INST]Who was the opponent at the game with a result of l 27–3? Context: CREATE TABLE table_name_52 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_52 WHERE result = "l 27–3"</s>
CREATE TABLE Elimination (Team VARCHAR, Eliminated_By VARCHAR)
SELECT Team FROM Elimination WHERE Eliminated_By = "Orton" INTERSECT SELECT Team FROM Elimination WHERE Eliminated_By = "Benjamin"
Show the teams that have both wrestlers eliminated by "Orton" and wrestlers eliminated by "Benjamin".
<s>[INST]Show the teams that have both wrestlers eliminated by "Orton" and wrestlers eliminated by "Benjamin". Context: CREATE TABLE Elimination (Team VARCHAR, Eliminated_By VARCHAR)[/INST]SELECT Team FROM Elimination WHERE Eliminated_By = "Orton" INTERSECT SELECT Team FROM Elimination WHERE Eliminated_By = "Benjamin"</s>
CREATE TABLE table_23248967_10 (score VARCHAR, date VARCHAR)
SELECT score FROM table_23248967_10 WHERE date = "April 9"
What is the final score of the game on April 9?
<s>[INST]What is the final score of the game on April 9? Context: CREATE TABLE table_23248967_10 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_23248967_10 WHERE date = "April 9"</s>
CREATE TABLE table_224840_4 (successor VARCHAR, district VARCHAR)
SELECT successor FROM table_224840_4 WHERE district = "Massachusetts 3rd"
Who was the latest to take office in Massachusetts 3rd district?
<s>[INST]Who was the latest to take office in Massachusetts 3rd district? Context: CREATE TABLE table_224840_4 (successor VARCHAR, district VARCHAR)[/INST]SELECT successor FROM table_224840_4 WHERE district = "Massachusetts 3rd"</s>
CREATE TABLE table_name_63 (date VARCHAR, decision VARCHAR, score VARCHAR)
SELECT date FROM table_name_63 WHERE decision = "osgood" AND score = "3 – 4"
What date has a Decision of osgood, and a Score of 3 – 4?
<s>[INST]What date has a Decision of osgood, and a Score of 3 – 4? Context: CREATE TABLE table_name_63 (date VARCHAR, decision VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_63 WHERE decision = "osgood" AND score = "3 – 4"</s>
CREATE TABLE table_name_94 (player VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_94 WHERE year_s__won = "2003"
Player than won in 2003?
<s>[INST]Player than won in 2003? Context: CREATE TABLE table_name_94 (player VARCHAR, year_s__won VARCHAR)[/INST]SELECT player FROM table_name_94 WHERE year_s__won = "2003"</s>
CREATE TABLE table_name_96 (goals_against INTEGER, club VARCHAR, ga_average VARCHAR)
SELECT MAX(goals_against) FROM table_name_96 WHERE club = "dallas burn" AND ga_average > 1.46
What is the highest goals against the goalkeeper of Dallas Burn, who had a GA average larger than 1.46, had?
<s>[INST]What is the highest goals against the goalkeeper of Dallas Burn, who had a GA average larger than 1.46, had? Context: CREATE TABLE table_name_96 (goals_against INTEGER, club VARCHAR, ga_average VARCHAR)[/INST]SELECT MAX(goals_against) FROM table_name_96 WHERE club = "dallas burn" AND ga_average > 1.46</s>
CREATE TABLE table_name_38 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_38 WHERE home_team = "parkgate"
What is the score when parkgate is at home?
<s>[INST]What is the score when parkgate is at home? Context: CREATE TABLE table_name_38 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE home_team = "parkgate"</s>
CREATE TABLE table_name_80 (total VARCHAR, set_2 VARCHAR)
SELECT total FROM table_name_80 WHERE set_2 = "25-18"
What is the total for the set 2 of 25-18?
<s>[INST]What is the total for the set 2 of 25-18? Context: CREATE TABLE table_name_80 (total VARCHAR, set_2 VARCHAR)[/INST]SELECT total FROM table_name_80 WHERE set_2 = "25-18"</s>
CREATE TABLE table_name_97 (cashes VARCHAR, match_play VARCHAR, events VARCHAR)
SELECT COUNT(cashes) FROM table_name_97 WHERE match_play < 13 AND events = 7
Which Cashes has a Match Play smaller than 13, and a Events of 7?
<s>[INST]Which Cashes has a Match Play smaller than 13, and a Events of 7? Context: CREATE TABLE table_name_97 (cashes VARCHAR, match_play VARCHAR, events VARCHAR)[/INST]SELECT COUNT(cashes) FROM table_name_97 WHERE match_play < 13 AND events = 7</s>
CREATE TABLE table_name_2 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_2 WHERE team_2 = "la nuova piovese (veneto a)"
Which team was team 1 that had a team 2 that was la nuova piovese (veneto a)?
<s>[INST]Which team was team 1 that had a team 2 that was la nuova piovese (veneto a)? Context: CREATE TABLE table_name_2 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_2 WHERE team_2 = "la nuova piovese (veneto a)"</s>
CREATE TABLE table_name_59 (tournament VARCHAR)
SELECT 2011 FROM table_name_59 WHERE 2007 = "f" AND tournament = "us open"
What was the result of the 2011 US Open when the 2007 was F?
<s>[INST]What was the result of the 2011 US Open when the 2007 was F? Context: CREATE TABLE table_name_59 (tournament VARCHAR)[/INST]SELECT 2011 FROM table_name_59 WHERE 2007 = "f" AND tournament = "us open"</s>
CREATE TABLE table_name_40 (silver INTEGER, gold INTEGER)
SELECT MAX(silver) FROM table_name_40 WHERE gold < 0
Which is the highest silver that has a gold less than 0?
<s>[INST]Which is the highest silver that has a gold less than 0? Context: CREATE TABLE table_name_40 (silver INTEGER, gold INTEGER)[/INST]SELECT MAX(silver) FROM table_name_40 WHERE gold < 0</s>