context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR)
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Jeremy" AND t1.lname = "Gibbons"
What are the titles of papers published by "Jeremy Gibbons"?
<s>[INST]What are the titles of papers published by "Jeremy Gibbons"? Context: CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR)[/INST]SELECT t3.title FROM authors AS t1 JOIN authorship AS ...
CREATE TABLE table_name_32 (country VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT country FROM table_name_32 WHERE money___$__ = 816 AND player = "pete cooper"
Which country is Pete Cooper, who made $816, from?
<s>[INST]Which country is Pete Cooper, who made $816, from? Context: CREATE TABLE table_name_32 (country VARCHAR, money___$__ VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_32 WHERE money___$__ = 816 AND player = "pete cooper"</s>
CREATE TABLE table_name_22 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_22 WHERE venue = "brunswick street oval"
What away team is playing at the Brunswick Street Oval Venue?
<s>[INST]What away team is playing at the Brunswick Street Oval Venue? Context: CREATE TABLE table_name_22 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_22 WHERE venue = "brunswick street oval"</s>
CREATE TABLE table_name_37 (apps INTEGER, name VARCHAR)
SELECT SUM(apps) FROM table_name_37 WHERE name = "keith treacy"
What is the total of apps for Keith Treacy?
<s>[INST]What is the total of apps for Keith Treacy? Context: CREATE TABLE table_name_37 (apps INTEGER, name VARCHAR)[/INST]SELECT SUM(apps) FROM table_name_37 WHERE name = "keith treacy"</s>
CREATE TABLE table_27910411_1 (original_air_date VARCHAR, no_in_series VARCHAR)
SELECT original_air_date FROM table_27910411_1 WHERE no_in_series = 10
What date did episode 10 in the series originally air?
<s>[INST]What date did episode 10 in the series originally air? Context: CREATE TABLE table_27910411_1 (original_air_date VARCHAR, no_in_series VARCHAR)[/INST]SELECT original_air_date FROM table_27910411_1 WHERE no_in_series = 10</s>
CREATE TABLE table_name_50 (diameter__km_ INTEGER, latitude VARCHAR, year_named VARCHAR, longitude VARCHAR)
SELECT MIN(diameter__km_) FROM table_name_50 WHERE year_named = 1997 AND longitude = "212.0e" AND latitude = "47.0n"
What is the diameter for 1997 when longitude is 212.0e and latitude is 47.0n?
<s>[INST]What is the diameter for 1997 when longitude is 212.0e and latitude is 47.0n? Context: CREATE TABLE table_name_50 (diameter__km_ INTEGER, latitude VARCHAR, year_named VARCHAR, longitude VARCHAR)[/INST]SELECT MIN(diameter__km_) FROM table_name_50 WHERE year_named = 1997 AND longitude = "212.0e" AND latitude = "...
CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_21 WHERE to_par = 12 AND country = "fiji"
Which Player has a To par of 12, and a Country of fiji?
<s>[INST]Which Player has a To par of 12, and a Country of fiji? Context: CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_21 WHERE to_par = 12 AND country = "fiji"</s>
CREATE TABLE table_name_47 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_47 WHERE date = "2006-04-08"
Who was the opponent of the match on 2006-04-08?
<s>[INST]Who was the opponent of the match on 2006-04-08? Context: CREATE TABLE table_name_47 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_47 WHERE date = "2006-04-08"</s>
CREATE TABLE market (Country VARCHAR)
SELECT Country FROM market ORDER BY Country
List all countries of markets in ascending alphabetical order.
<s>[INST]List all countries of markets in ascending alphabetical order. Context: CREATE TABLE market (Country VARCHAR)[/INST]SELECT Country FROM market ORDER BY Country</s>
CREATE TABLE table_name_58 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_58 WHERE place = "t1" AND score = 70 - 72 - 73 - 72 = 287
What's the to par for the t1 place with a score of 70-72-73-72=287?
<s>[INST]What's the to par for the t1 place with a score of 70-72-73-72=287? Context: CREATE TABLE table_name_58 (to_par VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_58 WHERE place = "t1" AND score = 70 - 72 - 73 - 72 = 287</s>
CREATE TABLE table_20590020_2 (starts VARCHAR, player VARCHAR)
SELECT COUNT(starts) FROM table_20590020_2 WHERE player = "Leif Olson"
What is the total number of entries for Leif Olson?
<s>[INST]What is the total number of entries for Leif Olson? Context: CREATE TABLE table_20590020_2 (starts VARCHAR, player VARCHAR)[/INST]SELECT COUNT(starts) FROM table_20590020_2 WHERE player = "Leif Olson"</s>
CREATE TABLE table_name_53 (races INTEGER, podiums INTEGER)
SELECT MIN(races) FROM table_name_53 WHERE podiums > 1
What is the lowest Races, when Podiums is greater than 1?
<s>[INST]What is the lowest Races, when Podiums is greater than 1? Context: CREATE TABLE table_name_53 (races INTEGER, podiums INTEGER)[/INST]SELECT MIN(races) FROM table_name_53 WHERE podiums > 1</s>
CREATE TABLE table_name_71 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_71 WHERE city = "tripoli"
what is the iata when the city is tripoli?
<s>[INST]what is the iata when the city is tripoli? Context: CREATE TABLE table_name_71 (iata VARCHAR, city VARCHAR)[/INST]SELECT iata FROM table_name_71 WHERE city = "tripoli"</s>
CREATE TABLE table_name_51 (product VARCHAR)
SELECT 2004 FROM table_name_51 WHERE product = "oil terminal"
What is the amount of oil terminal in 2004?
<s>[INST]What is the amount of oil terminal in 2004? Context: CREATE TABLE table_name_51 (product VARCHAR)[/INST]SELECT 2004 FROM table_name_51 WHERE product = "oil terminal"</s>
CREATE TABLE table_name_75 (socket VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR)
SELECT socket FROM table_name_75 WHERE release_price___usd__ = "$378" AND turbo = "6/6/8/9"
Which socket goes with the item with release price of $378 and turbo of 6/6/8/9?
<s>[INST]Which socket goes with the item with release price of $378 and turbo of 6/6/8/9? Context: CREATE TABLE table_name_75 (socket VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR)[/INST]SELECT socket FROM table_name_75 WHERE release_price___usd__ = "$378" AND turbo = "6/6/8/9"</s>
CREATE TABLE table_name_14 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_14 WHERE game = "13"
What was the date for game 13?
<s>[INST]What was the date for game 13? Context: CREATE TABLE table_name_14 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_14 WHERE game = "13"</s>
CREATE TABLE table_17366952_1 (team VARCHAR, goal_average_1 VARCHAR)
SELECT team FROM table_17366952_1 WHERE goal_average_1 = "1.34"
Which team had goal averages of 1.34?
<s>[INST]Which team had goal averages of 1.34? Context: CREATE TABLE table_17366952_1 (team VARCHAR, goal_average_1 VARCHAR)[/INST]SELECT team FROM table_17366952_1 WHERE goal_average_1 = "1.34"</s>
CREATE TABLE table_11667521_17 (team_classification VARCHAR, points_classification VARCHAR)
SELECT team_classification FROM table_11667521_17 WHERE points_classification = "Bradley Wiggins"
WHAT TEAM CLASSIFIED IN THE STAGE WHERE BRADLEY WIGGINS WON THE POINTS CLASSIFICATION ?
<s>[INST]WHAT TEAM CLASSIFIED IN THE STAGE WHERE BRADLEY WIGGINS WON THE POINTS CLASSIFICATION ? Context: CREATE TABLE table_11667521_17 (team_classification VARCHAR, points_classification VARCHAR)[/INST]SELECT team_classification FROM table_11667521_17 WHERE points_classification = "Bradley Wiggins"</s>
CREATE TABLE table_name_10 (attendance INTEGER, scorers VARCHAR)
SELECT AVG(attendance) FROM table_name_10 WHERE scorers = "steven, johnston, walters, mccoist, i.ferguson"
Can you tell me the average Attendance that has the Scorers of steven, johnston, walters, mccoist, i.ferguson?
<s>[INST]Can you tell me the average Attendance that has the Scorers of steven, johnston, walters, mccoist, i.ferguson? Context: CREATE TABLE table_name_10 (attendance INTEGER, scorers VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_10 WHERE scorers = "steven, johnston, walters, mccoist, i.ferguson"</s>
CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR)
SELECT MIN(rank) FROM table_name_67 WHERE name = "citigroup"
What is the lowest rank of Citigroup?
<s>[INST]What is the lowest rank of Citigroup? Context: CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_67 WHERE name = "citigroup"</s>
CREATE TABLE table_name_82 (try_bonus VARCHAR, points_for VARCHAR)
SELECT try_bonus FROM table_name_82 WHERE points_for = "418"
That is the value for Try bonus when the value for Points is 418?
<s>[INST]That is the value for Try bonus when the value for Points is 418? Context: CREATE TABLE table_name_82 (try_bonus VARCHAR, points_for VARCHAR)[/INST]SELECT try_bonus FROM table_name_82 WHERE points_for = "418"</s>
CREATE TABLE table_name_77 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date_of_appointment FROM table_name_77 WHERE outgoing_manager = "zoltán varga"
When was outgoing manager Zoltán Varga appointed?
<s>[INST]When was outgoing manager Zoltán Varga appointed? Context: CREATE TABLE table_name_77 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_appointment FROM table_name_77 WHERE outgoing_manager = "zoltán varga"</s>
CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)
SELECT first_broadcast FROM table_23575917_6 WHERE davids_team = "David O'Doherty and Katherine Parkinson"
When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast?
<s>[INST]When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast? Context: CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)[/INST]SELECT first_broadcast FROM table_23575917_6 WHERE davids_team = "David O'Doherty and Katherine Parkinson"</s>
CREATE TABLE table_25058269_1 (season VARCHAR, runner_up VARCHAR)
SELECT season FROM table_25058269_1 WHERE runner_up = "Lase-R/Riga"
In which season is the runner-up Lase-R/Riga?
<s>[INST]In which season is the runner-up Lase-R/Riga? Context: CREATE TABLE table_25058269_1 (season VARCHAR, runner_up VARCHAR)[/INST]SELECT season FROM table_25058269_1 WHERE runner_up = "Lase-R/Riga"</s>
CREATE TABLE table_23759976_1 (rank VARCHAR, building_ VARCHAR, a_ VARCHAR)
SELECT COUNT(rank) FROM table_23759976_1 WHERE building_[a_] = "Cathay Pacific Plaza 2"
How many different ranks does the Cathay Pacific Plaza 2 have?
<s>[INST]How many different ranks does the Cathay Pacific Plaza 2 have? Context: CREATE TABLE table_23759976_1 (rank VARCHAR, building_ VARCHAR, a_ VARCHAR)[/INST]SELECT COUNT(rank) FROM table_23759976_1 WHERE building_[a_] = "Cathay Pacific Plaza 2"</s>
CREATE TABLE table_name_24 (time VARCHAR, news_freq VARCHAR, local_networked VARCHAR, ad_freq VARCHAR)
SELECT time FROM table_name_24 WHERE local_networked = "local" AND ad_freq = "20 minutes" AND news_freq = "n/a after 7pm news"
Which time has a local/networked value of Local, ad frequency of every 20 minutes, and news frequency of n/a after 7PM news?
<s>[INST]Which time has a local/networked value of Local, ad frequency of every 20 minutes, and news frequency of n/a after 7PM news? Context: CREATE TABLE table_name_24 (time VARCHAR, news_freq VARCHAR, local_networked VARCHAR, ad_freq VARCHAR)[/INST]SELECT time FROM table_name_24 WHERE local_networked = "local" AND a...
CREATE TABLE table_1140085_2 (date VARCHAR, constructor VARCHAR, location VARCHAR)
SELECT date FROM table_1140085_2 WHERE constructor = "Ferrari" AND location = "Anderstorp"
what is the date where the constructor is ferrari and the location is anderstorp?
<s>[INST]what is the date where the constructor is ferrari and the location is anderstorp? Context: CREATE TABLE table_1140085_2 (date VARCHAR, constructor VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_1140085_2 WHERE constructor = "Ferrari" AND location = "Anderstorp"</s>
CREATE TABLE table_name_31 (round VARCHAR, fixtures VARCHAR)
SELECT round FROM table_name_31 WHERE fixtures = 2
What is the Round when the value for Fixtures is 2?
<s>[INST]What is the Round when the value for Fixtures is 2? Context: CREATE TABLE table_name_31 (round VARCHAR, fixtures VARCHAR)[/INST]SELECT round FROM table_name_31 WHERE fixtures = 2</s>
CREATE TABLE table_name_73 (player VARCHAR, pos VARCHAR, previous_team VARCHAR)
SELECT player FROM table_name_73 WHERE pos = "f" AND previous_team = "new york knicks"
What F Player was previously with the New York Knicks?
<s>[INST]What F Player was previously with the New York Knicks? Context: CREATE TABLE table_name_73 (player VARCHAR, pos VARCHAR, previous_team VARCHAR)[/INST]SELECT player FROM table_name_73 WHERE pos = "f" AND previous_team = "new york knicks"</s>
CREATE TABLE table_name_67 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_name_67 WHERE partner = "alexandra fusai"
what is the score when the partner is alexandra fusai?
<s>[INST]what is the score when the partner is alexandra fusai? Context: CREATE TABLE table_name_67 (score VARCHAR, partner VARCHAR)[/INST]SELECT score FROM table_name_67 WHERE partner = "alexandra fusai"</s>
CREATE TABLE WINE (YEAR VARCHAR, Price INTEGER, Score INTEGER)
SELECT MAX(Price), MAX(Score), YEAR FROM WINE GROUP BY YEAR
What are the maximum price and score of wines in each year?
<s>[INST]What are the maximum price and score of wines in each year? Context: CREATE TABLE WINE (YEAR VARCHAR, Price INTEGER, Score INTEGER)[/INST]SELECT MAX(Price), MAX(Score), YEAR FROM WINE GROUP BY YEAR</s>
CREATE TABLE table_name_15 (opponents_in_final VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT opponents_in_final FROM table_name_15 WHERE outcome = "winner" AND surface = "hard" AND date = "april 17, 1994"
Which Opponents in Final has an Outcome of winner, and a Surface of hard, and a Date of april 17, 1994?
<s>[INST]Which Opponents in Final has an Outcome of winner, and a Surface of hard, and a Date of april 17, 1994? Context: CREATE TABLE table_name_15 (opponents_in_final VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT opponents_in_final FROM table_name_15 WHERE outcome = "winner" AND surface = "har...
CREATE TABLE table_name_99 (home VARCHAR, away VARCHAR, season VARCHAR)
SELECT home FROM table_name_99 WHERE away = "1-1" AND season = "2004-05"
What is the home with a 1-1 away in the 2004-05 season?
<s>[INST]What is the home with a 1-1 away in the 2004-05 season? Context: CREATE TABLE table_name_99 (home VARCHAR, away VARCHAR, season VARCHAR)[/INST]SELECT home FROM table_name_99 WHERE away = "1-1" AND season = "2004-05"</s>
CREATE TABLE table_name_30 (opposing_team VARCHAR, status VARCHAR)
SELECT opposing_team FROM table_name_30 WHERE status = "second test"
What was the opposing team for the second test?
<s>[INST]What was the opposing team for the second test? Context: CREATE TABLE table_name_30 (opposing_team VARCHAR, status VARCHAR)[/INST]SELECT opposing_team FROM table_name_30 WHERE status = "second test"</s>
CREATE TABLE table_name_82 (rank INTEGER, years VARCHAR)
SELECT AVG(rank) FROM table_name_82 WHERE years = "1998–present"
Which Rank has a Years of 1998–present?
<s>[INST]Which Rank has a Years of 1998–present? Context: CREATE TABLE table_name_82 (rank INTEGER, years VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_82 WHERE years = "1998–present"</s>
CREATE TABLE table_27723526_12 (score VARCHAR, high_assists VARCHAR)
SELECT score FROM table_27723526_12 WHERE high_assists = "José Juan Barea (8)"
Name the score for josé juan barea (8)
<s>[INST]Name the score for josé juan barea (8) Context: CREATE TABLE table_27723526_12 (score VARCHAR, high_assists VARCHAR)[/INST]SELECT score FROM table_27723526_12 WHERE high_assists = "José Juan Barea (8)"</s>
CREATE TABLE table_name_80 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_80 WHERE date = "13 february 1994"
On what type of surface did they play on 13 February 1994?
<s>[INST]On what type of surface did they play on 13 February 1994? Context: CREATE TABLE table_name_80 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_80 WHERE date = "13 february 1994"</s>
CREATE TABLE table_name_86 (position VARCHAR, round INTEGER)
SELECT position FROM table_name_86 WHERE round < 2
What position has round less than 2?
<s>[INST]What position has round less than 2? Context: CREATE TABLE table_name_86 (position VARCHAR, round INTEGER)[/INST]SELECT position FROM table_name_86 WHERE round < 2</s>
CREATE TABLE table_1231892_4 (number_in_series VARCHAR, broadcast_order VARCHAR)
SELECT COUNT(number_in_series) FROM table_1231892_4 WHERE broadcast_order = "S04 E07"
What's the number of episodes with a broadcast order s04 e07?
<s>[INST]What's the number of episodes with a broadcast order s04 e07? Context: CREATE TABLE table_1231892_4 (number_in_series VARCHAR, broadcast_order VARCHAR)[/INST]SELECT COUNT(number_in_series) FROM table_1231892_4 WHERE broadcast_order = "S04 E07"</s>
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR)
SELECT COUNT(*) FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Dayana Robel"
How many policies are listed for the customer named "Dayana Robel"?
<s>[INST]How many policies are listed for the customer named "Dayana Robel"? Context: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR)[/INST]SELECT COUNT(*) FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHE...
CREATE TABLE table_18018214_3 (goals_scored VARCHAR, club VARCHAR)
SELECT goals_scored FROM table_18018214_3 WHERE club = "FM (LOSC) Vilnius"
How many goals were scored by club team fm (losc) vilnius
<s>[INST]How many goals were scored by club team fm (losc) vilnius Context: CREATE TABLE table_18018214_3 (goals_scored VARCHAR, club VARCHAR)[/INST]SELECT goals_scored FROM table_18018214_3 WHERE club = "FM (LOSC) Vilnius"</s>
CREATE TABLE table_19529639_3 (original_toronto_cast VARCHAR, first_national_tour_cast VARCHAR)
SELECT original_toronto_cast FROM table_19529639_3 WHERE first_national_tour_cast = "Constantine Maroulis"
What member of the original Toronto cast played the character played by Constantine Maroulis in the first national tour cast?
<s>[INST]What member of the original Toronto cast played the character played by Constantine Maroulis in the first national tour cast? Context: CREATE TABLE table_19529639_3 (original_toronto_cast VARCHAR, first_national_tour_cast VARCHAR)[/INST]SELECT original_toronto_cast FROM table_19529639_3 WHERE first_national_to...
CREATE TABLE table_name_29 (Id VARCHAR)
SELECT 2013 FROM table_name_29 WHERE 2009 = "3r"
What in 2013 has a 2009 of 3r?
<s>[INST]What in 2013 has a 2009 of 3r? Context: CREATE TABLE table_name_29 (Id VARCHAR)[/INST]SELECT 2013 FROM table_name_29 WHERE 2009 = "3r"</s>
CREATE TABLE table_1341472_34 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 1"
Name the first elected for new york 1
<s>[INST]Name the first elected for new york 1 Context: CREATE TABLE table_1341472_34 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 1"</s>
CREATE TABLE table_name_36 (january INTEGER, record VARCHAR, game VARCHAR)
SELECT SUM(january) FROM table_name_36 WHERE record = "27-12-3" AND game < 42
What was the sum of January values with a record of 27-12-3 for a game less than 42?
<s>[INST]What was the sum of January values with a record of 27-12-3 for a game less than 42? Context: CREATE TABLE table_name_36 (january INTEGER, record VARCHAR, game VARCHAR)[/INST]SELECT SUM(january) FROM table_name_36 WHERE record = "27-12-3" AND game < 42</s>
CREATE TABLE table_name_30 (team VARCHAR, college VARCHAR)
SELECT team FROM table_name_30 WHERE college = "virginia tech"
What is the team when the college is virginia tech?
<s>[INST]What is the team when the college is virginia tech? Context: CREATE TABLE table_name_30 (team VARCHAR, college VARCHAR)[/INST]SELECT team FROM table_name_30 WHERE college = "virginia tech"</s>
CREATE TABLE table_22854436_1 (per_capita_average_annual_renewable_water_resources_m_3 VARCHAR, average_annual_rainfall__mm_ VARCHAR)
SELECT COUNT(per_capita_average_annual_renewable_water_resources_m_3) FROM table_22854436_1 WHERE average_annual_rainfall__mm_ = "650"
Name the total water resources m3 for rainfall being 650
<s>[INST]Name the total water resources m3 for rainfall being 650 Context: CREATE TABLE table_22854436_1 (per_capita_average_annual_renewable_water_resources_m_3 VARCHAR, average_annual_rainfall__mm_ VARCHAR)[/INST]SELECT COUNT(per_capita_average_annual_renewable_water_resources_m_3) FROM table_22854436_1 WHERE average...
CREATE TABLE table_name_36 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_36 WHERE team_2 = "iskra odintsovo"
What is Team 1, when Team 2 is "Iskra Odintsovo"?
<s>[INST]What is Team 1, when Team 2 is "Iskra Odintsovo"? Context: CREATE TABLE table_name_36 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_36 WHERE team_2 = "iskra odintsovo"</s>
CREATE TABLE table_28178756_1 (average_speed__mph_ VARCHAR, team VARCHAR)
SELECT average_speed__mph_ FROM table_28178756_1 WHERE team = "FILMAR Racing"
What is the average speed for filmar racing?
<s>[INST]What is the average speed for filmar racing? Context: CREATE TABLE table_28178756_1 (average_speed__mph_ VARCHAR, team VARCHAR)[/INST]SELECT average_speed__mph_ FROM table_28178756_1 WHERE team = "FILMAR Racing"</s>
CREATE TABLE table_name_83 (commodity VARCHAR)
SELECT 2004 AS _05 FROM table_name_83 WHERE commodity = "milk"
What is the 2005-05 production for milk?
<s>[INST]What is the 2005-05 production for milk? Context: CREATE TABLE table_name_83 (commodity VARCHAR)[/INST]SELECT 2004 AS _05 FROM table_name_83 WHERE commodity = "milk"</s>
CREATE TABLE table_1828368_1 (pop_density__km_2__ VARCHAR, area__km_2__ VARCHAR)
SELECT pop_density__km_2__ FROM table_1828368_1 WHERE area__km_2__ = "28.3"
What are the population densities of all communes with an are of 28.3 sq.km.?
<s>[INST]What are the population densities of all communes with an are of 28.3 sq.km.? Context: CREATE TABLE table_1828368_1 (pop_density__km_2__ VARCHAR, area__km_2__ VARCHAR)[/INST]SELECT pop_density__km_2__ FROM table_1828368_1 WHERE area__km_2__ = "28.3"</s>
CREATE TABLE table_170961_2 (official_name VARCHAR, area_km_2 VARCHAR)
SELECT COUNT(official_name) FROM table_170961_2 WHERE area_km_2 = "508.30"
What is the name of the parish where the area is 508.30?
<s>[INST]What is the name of the parish where the area is 508.30? Context: CREATE TABLE table_170961_2 (official_name VARCHAR, area_km_2 VARCHAR)[/INST]SELECT COUNT(official_name) FROM table_170961_2 WHERE area_km_2 = "508.30"</s>
CREATE TABLE races (name VARCHAR, date VARCHAR)
SELECT name FROM races ORDER BY date DESC LIMIT 1
What is the name of the race held most recently?
<s>[INST]What is the name of the race held most recently? Context: CREATE TABLE races (name VARCHAR, date VARCHAR)[/INST]SELECT name FROM races ORDER BY date DESC LIMIT 1</s>
CREATE TABLE table_name_6 (inegi_code INTEGER, municipal_seat VARCHAR, area__km2_ VARCHAR)
SELECT AVG(inegi_code) FROM table_name_6 WHERE municipal_seat = "mexicali" AND area__km2_ > 13 OFFSET 700
What is the inegi code for mexicali with 13,700 km area?
<s>[INST]What is the inegi code for mexicali with 13,700 km area? Context: CREATE TABLE table_name_6 (inegi_code INTEGER, municipal_seat VARCHAR, area__km2_ VARCHAR)[/INST]SELECT AVG(inegi_code) FROM table_name_6 WHERE municipal_seat = "mexicali" AND area__km2_ > 13 OFFSET 700</s>
CREATE TABLE table_name_66 (wins INTEGER, events INTEGER)
SELECT SUM(wins) FROM table_name_66 WHERE events < 3
What is the total of wins when the evens is less than 3?
<s>[INST]What is the total of wins when the evens is less than 3? Context: CREATE TABLE table_name_66 (wins INTEGER, events INTEGER)[/INST]SELECT SUM(wins) FROM table_name_66 WHERE events < 3</s>
CREATE TABLE table_name_3 (march VARCHAR, november VARCHAR)
SELECT march FROM table_name_3 WHERE november = "cara wakelin"
Who is the March playmate with a November playmate Cara Wakelin?
<s>[INST]Who is the March playmate with a November playmate Cara Wakelin? Context: CREATE TABLE table_name_3 (march VARCHAR, november VARCHAR)[/INST]SELECT march FROM table_name_3 WHERE november = "cara wakelin"</s>
CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_86 WHERE away_team = "manchester united"
Who was the home team that played against Manchester United?
<s>[INST]Who was the home team that played against Manchester United? Context: CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_86 WHERE away_team = "manchester united"</s>
CREATE TABLE table_15187735_17 (segment_a VARCHAR, segment_d VARCHAR)
SELECT segment_a FROM table_15187735_17 WHERE segment_d = "Wood Boring Augers"
how many segments involve wood boring augers
<s>[INST]how many segments involve wood boring augers Context: CREATE TABLE table_15187735_17 (segment_a VARCHAR, segment_d VARCHAR)[/INST]SELECT segment_a FROM table_15187735_17 WHERE segment_d = "Wood Boring Augers"</s>
CREATE TABLE table_name_93 (score VARCHAR, goal VARCHAR)
SELECT score FROM table_name_93 WHERE goal = 16
What was the score with a goal of 16?
<s>[INST]What was the score with a goal of 16? Context: CREATE TABLE table_name_93 (score VARCHAR, goal VARCHAR)[/INST]SELECT score FROM table_name_93 WHERE goal = 16</s>
CREATE TABLE table_name_36 (speed VARCHAR, rank VARCHAR, team VARCHAR)
SELECT speed FROM table_name_36 WHERE rank > 2 AND team = "500cc norton manx"
What is the speed when the rank is larger than 2, and team is 500cc norton manx?
<s>[INST]What is the speed when the rank is larger than 2, and team is 500cc norton manx? Context: CREATE TABLE table_name_36 (speed VARCHAR, rank VARCHAR, team VARCHAR)[/INST]SELECT speed FROM table_name_36 WHERE rank > 2 AND team = "500cc norton manx"</s>
CREATE TABLE table_22360_3 (total INTEGER)
SELECT MAX(total) FROM table_22360_3
Name the most total
<s>[INST]Name the most total Context: CREATE TABLE table_22360_3 (total INTEGER)[/INST]SELECT MAX(total) FROM table_22360_3</s>
CREATE TABLE table_name_78 (team VARCHAR, qual_1 VARCHAR)
SELECT team FROM table_name_78 WHERE qual_1 = "1:02.755"
What team had a qual 1 of 1:02.755?
<s>[INST]What team had a qual 1 of 1:02.755? Context: CREATE TABLE table_name_78 (team VARCHAR, qual_1 VARCHAR)[/INST]SELECT team FROM table_name_78 WHERE qual_1 = "1:02.755"</s>
CREATE TABLE table_name_60 (overall INTEGER, pick__number VARCHAR, round VARCHAR, college VARCHAR)
SELECT SUM(overall) FROM table_name_60 WHERE round < 4 AND college = "tennessee" AND pick__number > 9
What is the total overall for the pick that went before round 4, who went to Tennessee for college, and was picked at a number bigger than 9?
<s>[INST]What is the total overall for the pick that went before round 4, who went to Tennessee for college, and was picked at a number bigger than 9? Context: CREATE TABLE table_name_60 (overall INTEGER, pick__number VARCHAR, round VARCHAR, college VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_60 WHERE round < 4 ...
CREATE TABLE table_name_87 (wins INTEGER, player VARCHAR)
SELECT MIN(wins) FROM table_name_87 WHERE player = "ben crenshaw"
What is the lowest number of wins for ben crenshaw?
<s>[INST]What is the lowest number of wins for ben crenshaw? Context: CREATE TABLE table_name_87 (wins INTEGER, player VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_87 WHERE player = "ben crenshaw"</s>
CREATE TABLE table_1342013_34 (party VARCHAR, candidates VARCHAR)
SELECT COUNT(party) FROM table_1342013_34 WHERE candidates = "John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%"
how many party with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5%
<s>[INST] how many party with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5% Context: CREATE TABLE table_1342013_34 (party VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(party) FROM table_1342013_34 WHERE candidates = "John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%"</s>
CREATE TABLE table_name_69 (location VARCHAR, mascot VARCHAR)
SELECT location FROM table_name_69 WHERE mascot = "lakers"
Can you tell me the Location that has the Mascot of lakers?
<s>[INST]Can you tell me the Location that has the Mascot of lakers? Context: CREATE TABLE table_name_69 (location VARCHAR, mascot VARCHAR)[/INST]SELECT location FROM table_name_69 WHERE mascot = "lakers"</s>
CREATE TABLE table_name_23 (eastern__number2 VARCHAR, western__number2 VARCHAR)
SELECT eastern__number2 FROM table_name_23 WHERE western__number2 = "oakland"
Tell me the eastern #2 for western #2 of oakland
<s>[INST]Tell me the eastern #2 for western #2 of oakland Context: CREATE TABLE table_name_23 (eastern__number2 VARCHAR, western__number2 VARCHAR)[/INST]SELECT eastern__number2 FROM table_name_23 WHERE western__number2 = "oakland"</s>
CREATE TABLE table_name_51 (engine VARCHAR, team VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_51 WHERE team = "chesterfield racing" AND chassis = "march 761"
Which Engine has a Team of Chesterfield Racing and include a Chassis of March 761?
<s>[INST]Which Engine has a Team of Chesterfield Racing and include a Chassis of March 761? Context: CREATE TABLE table_name_51 (engine VARCHAR, team VARCHAR, chassis VARCHAR)[/INST]SELECT engine FROM table_name_51 WHERE team = "chesterfield racing" AND chassis = "march 761"</s>
CREATE TABLE table_name_87 (rank INTEGER, wins__outdoor_ VARCHAR, wins__indoor_ VARCHAR)
SELECT MAX(rank) FROM table_name_87 WHERE wins__outdoor_ > 1 AND wins__indoor_ < 0
Name the most rank for wins outdoor larger than 1 and wins indoor less than 0
<s>[INST]Name the most rank for wins outdoor larger than 1 and wins indoor less than 0 Context: CREATE TABLE table_name_87 (rank INTEGER, wins__outdoor_ VARCHAR, wins__indoor_ VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_87 WHERE wins__outdoor_ > 1 AND wins__indoor_ < 0</s>
CREATE TABLE table_name_53 (host_team VARCHAR, visiting_team VARCHAR)
SELECT host_team FROM table_name_53 WHERE visiting_team = "kansas city chiefs"
Which team hosted the Kansas City Chiefs?
<s>[INST]Which team hosted the Kansas City Chiefs? Context: CREATE TABLE table_name_53 (host_team VARCHAR, visiting_team VARCHAR)[/INST]SELECT host_team FROM table_name_53 WHERE visiting_team = "kansas city chiefs"</s>
CREATE TABLE table_29077342_19 (general_classification VARCHAR, winner VARCHAR)
SELECT general_classification FROM table_29077342_19 WHERE winner = "Mauricio Soler"
Name the general classification for mauricio soler
<s>[INST]Name the general classification for mauricio soler Context: CREATE TABLE table_29077342_19 (general_classification VARCHAR, winner VARCHAR)[/INST]SELECT general_classification FROM table_29077342_19 WHERE winner = "Mauricio Soler"</s>
CREATE TABLE affiliated_with (physician VARCHAR, department VARCHAR); CREATE TABLE department (DepartmentID VARCHAR, name VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)
SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID = T2.physician JOIN department AS T3 ON T2.department = T3.DepartmentID WHERE T3.name = 'Surgery' INTERSECT SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID = T2.physician JOIN department AS T3 ON T2.departmen...
Find the name of physicians who are affiliated with both Surgery and Psychiatry departments.
<s>[INST]Find the name of physicians who are affiliated with both Surgery and Psychiatry departments. Context: CREATE TABLE affiliated_with (physician VARCHAR, department VARCHAR); CREATE TABLE department (DepartmentID VARCHAR, name VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)[/INST]SELECT T1.nam...
CREATE TABLE table_name_57 (year_joined__or_joining_ INTEGER, city VARCHAR)
SELECT AVG(year_joined__or_joining_) FROM table_name_57 WHERE city = "aurora"
What year did the team from City of Aurora join?
<s>[INST]What year did the team from City of Aurora join? Context: CREATE TABLE table_name_57 (year_joined__or_joining_ INTEGER, city VARCHAR)[/INST]SELECT AVG(year_joined__or_joining_) FROM table_name_57 WHERE city = "aurora"</s>
CREATE TABLE table_name_90 (chassis VARCHAR, year INTEGER)
SELECT chassis FROM table_name_90 WHERE year > 1967
What is the chassis more recent than 1967?
<s>[INST]What is the chassis more recent than 1967? Context: CREATE TABLE table_name_90 (chassis VARCHAR, year INTEGER)[/INST]SELECT chassis FROM table_name_90 WHERE year > 1967</s>
CREATE TABLE table_20398823_1 (season VARCHAR, team VARCHAR)
SELECT COUNT(season) FROM table_20398823_1 WHERE team = "team Bruichladdich"
Name the number of season for team bruichladdich
<s>[INST]Name the number of season for team bruichladdich Context: CREATE TABLE table_20398823_1 (season VARCHAR, team VARCHAR)[/INST]SELECT COUNT(season) FROM table_20398823_1 WHERE team = "team Bruichladdich"</s>
CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR)
SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Eagles"
How many teams have an eagles mascot?
<s>[INST]How many teams have an eagles mascot? Context: CREATE TABLE table_13456202_1 (affiliation VARCHAR, mascot VARCHAR)[/INST]SELECT COUNT(affiliation) FROM table_13456202_1 WHERE mascot = "Eagles"</s>
CREATE TABLE table_name_1 (rank VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT COUNT(rank) FROM table_name_1 WHERE bronze < 8 AND total < 7 AND gold < 1
How many ranks have a Bronze smaller than 8, and a Total smaller than 7, and a Gold smaller than 1?
<s>[INST]How many ranks have a Bronze smaller than 8, and a Total smaller than 7, and a Gold smaller than 1? Context: CREATE TABLE table_name_1 (rank VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_1 WHERE bronze < 8 AND total < 7 AND gold < 1</s>
CREATE TABLE CUSTOMER (Email VARCHAR)
SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE "%gmail.com%"
How many customers have email that contains "gmail.com"?
<s>[INST]How many customers have email that contains "gmail.com"? Context: CREATE TABLE CUSTOMER (Email VARCHAR)[/INST]SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE "%gmail.com%"</s>
CREATE TABLE table_name_71 (origin VARCHAR, launch VARCHAR)
SELECT origin FROM table_name_71 WHERE launch = 2010
What is the origin for the launch taking place in 2010?
<s>[INST]What is the origin for the launch taking place in 2010? Context: CREATE TABLE table_name_71 (origin VARCHAR, launch VARCHAR)[/INST]SELECT origin FROM table_name_71 WHERE launch = 2010</s>
CREATE TABLE table_name_27 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_27 WHERE title = "2003"
Who is the director when the title is 2003?
<s>[INST]Who is the director when the title is 2003? Context: CREATE TABLE table_name_27 (director VARCHAR, title VARCHAR)[/INST]SELECT director FROM table_name_27 WHERE title = "2003"</s>
CREATE TABLE table_name_2 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_2 WHERE winning_score = −14(63 - 67 - 73 - 67 = 270)
What was the margin of victory when the winning score was −14 (63-67-73-67=270)?
<s>[INST]What was the margin of victory when the winning score was −14 (63-67-73-67=270)? Context: CREATE TABLE table_name_2 (margin_of_victory VARCHAR, winning_score VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_2 WHERE winning_score = −14(63 - 67 - 73 - 67 = 270)</s>
CREATE TABLE table_255829_1 (pop_density__per_km_2__ VARCHAR, municipality VARCHAR)
SELECT pop_density__per_km_2__ FROM table_255829_1 WHERE municipality = "Caramoran"
What is the population density of Caramoran?
<s>[INST]What is the population density of Caramoran? Context: CREATE TABLE table_255829_1 (pop_density__per_km_2__ VARCHAR, municipality VARCHAR)[/INST]SELECT pop_density__per_km_2__ FROM table_255829_1 WHERE municipality = "Caramoran"</s>
CREATE TABLE table_name_30 (year_started INTEGER, number_of_cars VARCHAR, car__number VARCHAR)
SELECT MIN(year_started) FROM table_name_30 WHERE number_of_cars > 7 AND car__number = "100"
Which Year started is the lowest one that has a Number of cars larger than 7, and a Car # of 100?
<s>[INST]Which Year started is the lowest one that has a Number of cars larger than 7, and a Car # of 100? Context: CREATE TABLE table_name_30 (year_started INTEGER, number_of_cars VARCHAR, car__number VARCHAR)[/INST]SELECT MIN(year_started) FROM table_name_30 WHERE number_of_cars > 7 AND car__number = "100"</s>
CREATE TABLE table_name_93 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_93 WHERE tournament = "women's kemper open"
What is Margin of Victory, when Tournament is "Women's Kemper Open"?
<s>[INST]What is Margin of Victory, when Tournament is "Women's Kemper Open"? Context: CREATE TABLE table_name_93 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_93 WHERE tournament = "women's kemper open"</s>
CREATE TABLE table_name_32 (goals INTEGER, competition VARCHAR, apps VARCHAR)
SELECT AVG(goals) FROM table_name_32 WHERE competition = "bundesliga" AND apps < 7
How many goals did he have in the bundesliga with under 7 appearances?
<s>[INST]How many goals did he have in the bundesliga with under 7 appearances? Context: CREATE TABLE table_name_32 (goals INTEGER, competition VARCHAR, apps VARCHAR)[/INST]SELECT AVG(goals) FROM table_name_32 WHERE competition = "bundesliga" AND apps < 7</s>
CREATE TABLE TV_Channel (Package_Option VARCHAR, series_name VARCHAR)
SELECT Package_Option FROM TV_Channel WHERE series_name = "Sky Radio"
What is the Package Option of TV Channel with serial name "Sky Radio"?
<s>[INST]What is the Package Option of TV Channel with serial name "Sky Radio"? Context: CREATE TABLE TV_Channel (Package_Option VARCHAR, series_name VARCHAR)[/INST]SELECT Package_Option FROM TV_Channel WHERE series_name = "Sky Radio"</s>
CREATE TABLE table_21312959_1 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_21312959_1 WHERE no_in_series = 129
Who are the writers for the episode number in series 129?
<s>[INST]Who are the writers for the episode number in series 129? Context: CREATE TABLE table_21312959_1 (written_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT written_by FROM table_21312959_1 WHERE no_in_series = 129</s>
CREATE TABLE table_10023387_1 (singles_w_l VARCHAR, player VARCHAR)
SELECT singles_w_l FROM table_10023387_1 WHERE player = "Kim Doo-Hwan"
what's the singles w-l for kim doo-hwan
<s>[INST]what's the singles w-l for kim doo-hwan Context: CREATE TABLE table_10023387_1 (singles_w_l VARCHAR, player VARCHAR)[/INST]SELECT singles_w_l FROM table_10023387_1 WHERE player = "Kim Doo-Hwan"</s>
CREATE TABLE table_name_96 (active_pixels VARCHAR, model VARCHAR)
SELECT active_pixels FROM table_name_96 WHERE model = "c-most"
What are the active pixels of the c-most model camera?
<s>[INST]What are the active pixels of the c-most model camera? Context: CREATE TABLE table_name_96 (active_pixels VARCHAR, model VARCHAR)[/INST]SELECT active_pixels FROM table_name_96 WHERE model = "c-most"</s>
CREATE TABLE table_17111812_1 (fourth VARCHAR, sixth VARCHAR)
SELECT fourth FROM table_17111812_1 WHERE sixth = "Air Traffic"
Who was in 4th when in 6th is Air Traffic?
<s>[INST]Who was in 4th when in 6th is Air Traffic? Context: CREATE TABLE table_17111812_1 (fourth VARCHAR, sixth VARCHAR)[/INST]SELECT fourth FROM table_17111812_1 WHERE sixth = "Air Traffic"</s>
CREATE TABLE table_26336739_1 (elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(elected) FROM table_26336739_1 WHERE incumbent = "Saxby Chambliss"
How many elected catagories are there for the district with Saxby Chambliss as the incumbent?
<s>[INST]How many elected catagories are there for the district with Saxby Chambliss as the incumbent? Context: CREATE TABLE table_26336739_1 (elected VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(elected) FROM table_26336739_1 WHERE incumbent = "Saxby Chambliss"</s>
CREATE TABLE table_26816495_26 (home_att INTEGER, avg VARCHAR)
SELECT MAX(home_att) FROM table_26816495_26 WHERE avg = "11,322"
What is the maximum home attendance if the average is 11,322?
<s>[INST]What is the maximum home attendance if the average is 11,322? Context: CREATE TABLE table_26816495_26 (home_att INTEGER, avg VARCHAR)[/INST]SELECT MAX(home_att) FROM table_26816495_26 WHERE avg = "11,322"</s>
CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Name VARCHAR, Host_ID VARCHAR)
SELECT Name FROM HOST WHERE NOT Host_ID IN (SELECT Host_ID FROM party_host)
List the names of hosts who did not serve as a host of any party in our record.
<s>[INST]List the names of hosts who did not serve as a host of any party in our record. Context: CREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Name VARCHAR, Host_ID VARCHAR)[/INST]SELECT Name FROM HOST WHERE NOT Host_ID IN (SELECT Host_ID FROM party_host)</s>
CREATE TABLE table_name_10 (capacity INTEGER, city VARCHAR)
SELECT MIN(capacity) FROM table_name_10 WHERE city = "bursa"
What is the smallest capacity for Bursa?
<s>[INST]What is the smallest capacity for Bursa? Context: CREATE TABLE table_name_10 (capacity INTEGER, city VARCHAR)[/INST]SELECT MIN(capacity) FROM table_name_10 WHERE city = "bursa"</s>
CREATE TABLE table_name_31 (date VARCHAR, runner_up VARCHAR)
SELECT date FROM table_name_31 WHERE runner_up = "shaun murphy"
When was the match that had Shaun Murphy as runner-up?
<s>[INST]When was the match that had Shaun Murphy as runner-up? Context: CREATE TABLE table_name_31 (date VARCHAR, runner_up VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE runner_up = "shaun murphy"</s>
CREATE TABLE table_name_48 (goals_against VARCHAR, position VARCHAR, wins VARCHAR, club VARCHAR)
SELECT COUNT(goals_against) FROM table_name_48 WHERE wins > 12 AND club = "ud las palmas" AND position > 5
How many Goals against have Wins larger than 12, and a Club of ud las palmas, and a Position larger than 5?
<s>[INST]How many Goals against have Wins larger than 12, and a Club of ud las palmas, and a Position larger than 5? Context: CREATE TABLE table_name_48 (goals_against VARCHAR, position VARCHAR, wins VARCHAR, club VARCHAR)[/INST]SELECT COUNT(goals_against) FROM table_name_48 WHERE wins > 12 AND club = "ud las palmas" A...
CREATE TABLE table_name_31 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_31 WHERE record = "17–18–6"
What score had a record of 17–18–6?
<s>[INST]What score had a record of 17–18–6? Context: CREATE TABLE table_name_31 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_31 WHERE record = "17–18–6"</s>
CREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, team VARCHAR)
SELECT capacity_percentage FROM table_28884858_2 WHERE team = "Denver Broncos"
What was the capacity for the Denver Broncos?
<s>[INST]What was the capacity for the Denver Broncos? Context: CREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, team VARCHAR)[/INST]SELECT capacity_percentage FROM table_28884858_2 WHERE team = "Denver Broncos"</s>
CREATE TABLE table_name_45 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR)
SELECT duration FROM table_name_45 WHERE soap_opera = "the archers" AND actor = "pauline seville"
What's the duration of the Archers with Pauline Seville acting?
<s>[INST]What's the duration of the Archers with Pauline Seville acting? Context: CREATE TABLE table_name_45 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR)[/INST]SELECT duration FROM table_name_45 WHERE soap_opera = "the archers" AND actor = "pauline seville"</s>
CREATE TABLE table_name_92 (hanzi VARCHAR, regional_population_2010_ VARCHAR)
SELECT hanzi FROM table_name_92 WHERE regional_population_2010_ = "4,591,972"
Which Hanzi has a Regional Population of 4,591,972 in 2010?
<s>[INST]Which Hanzi has a Regional Population of 4,591,972 in 2010? Context: CREATE TABLE table_name_92 (hanzi VARCHAR, regional_population_2010_ VARCHAR)[/INST]SELECT hanzi FROM table_name_92 WHERE regional_population_2010_ = "4,591,972"</s>