context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_18278508_6 (scores_by_each_individual_judge VARCHAR, main_contestant VARCHAR, date_performed VARCHAR)
SELECT scores_by_each_individual_judge FROM table_18278508_6 WHERE main_contestant = "Karanvir Bohra" AND date_performed = "August 13"
What were the scores by the individual judges for Karanvir Bohra on August 13?
<s>[INST]What were the scores by the individual judges for Karanvir Bohra on August 13? Context: CREATE TABLE table_18278508_6 (scores_by_each_individual_judge VARCHAR, main_contestant VARCHAR, date_performed VARCHAR)[/INST]SELECT scores_by_each_individual_judge FROM table_18278508_6 WHERE main_contestant = "Karanvir B...
CREATE TABLE table_23186738_9 (game INTEGER, score VARCHAR)
SELECT MIN(game) FROM table_23186738_9 WHERE score = "L 93–109 (OT)"
Name the least game for score of l 93–109 (ot)
<s>[INST]Name the least game for score of l 93–109 (ot) Context: CREATE TABLE table_23186738_9 (game INTEGER, score VARCHAR)[/INST]SELECT MIN(game) FROM table_23186738_9 WHERE score = "L 93–109 (OT)"</s>
CREATE TABLE table_name_98 (pilot VARCHAR, position VARCHAR, speed VARCHAR)
SELECT pilot FROM table_name_98 WHERE position > 5 AND speed = "118.8km/h"
Which pilot has a position above 5 and a speed of 118.8km/h?
<s>[INST]Which pilot has a position above 5 and a speed of 118.8km/h? Context: CREATE TABLE table_name_98 (pilot VARCHAR, position VARCHAR, speed VARCHAR)[/INST]SELECT pilot FROM table_name_98 WHERE position > 5 AND speed = "118.8km/h"</s>
CREATE TABLE table_1341423_22 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1341423_22 WHERE incumbent = "Bart Stupak"
How many districts have Bart Stupak as the incumbent?
<s>[INST]How many districts have Bart Stupak as the incumbent? Context: CREATE TABLE table_1341423_22 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(district) FROM table_1341423_22 WHERE incumbent = "Bart Stupak"</s>
CREATE TABLE table_14219514_1 (home__1st_leg_ VARCHAR)
SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = "Independiente"
How many 2nd legs are there where home (1st leg) is Independiente?
<s>[INST]How many 2nd legs are there where home (1st leg) is Independiente? Context: CREATE TABLE table_14219514_1 (home__1st_leg_ VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = "Independiente"</s>
CREATE TABLE table_name_73 (capital VARCHAR, population VARCHAR)
SELECT capital FROM table_name_73 WHERE population = "308,610"
Which capital has a population of 308,610?
<s>[INST]Which capital has a population of 308,610? Context: CREATE TABLE table_name_73 (capital VARCHAR, population VARCHAR)[/INST]SELECT capital FROM table_name_73 WHERE population = "308,610"</s>
CREATE TABLE table_name_94 (rank INTEGER, matches VARCHAR, goals VARCHAR)
SELECT SUM(rank) FROM table_name_94 WHERE matches = 367 AND goals > 216
How many ranks had 367 matches and more than 216 goals?
<s>[INST]How many ranks had 367 matches and more than 216 goals? Context: CREATE TABLE table_name_94 (rank INTEGER, matches VARCHAR, goals VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_94 WHERE matches = 367 AND goals > 216</s>
CREATE TABLE table_name_6 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_6 WHERE tie_no = "21"
What was the score for a no. 21 tie?
<s>[INST]What was the score for a no. 21 tie? Context: CREATE TABLE table_name_6 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_6 WHERE tie_no = "21"</s>
CREATE TABLE table_name_71 (losing_bonus VARCHAR, points_against VARCHAR)
SELECT losing_bonus FROM table_name_71 WHERE points_against = "546"
The club that had 546 points against, what was the losing bonus?
<s>[INST]The club that had 546 points against, what was the losing bonus? Context: CREATE TABLE table_name_71 (losing_bonus VARCHAR, points_against VARCHAR)[/INST]SELECT losing_bonus FROM table_name_71 WHERE points_against = "546"</s>
CREATE TABLE table_name_74 (audience VARCHAR, title VARCHAR)
SELECT audience FROM table_name_74 WHERE title = "mi amigo el monstruo"
What was the audience for Mi Amigo el Monstruo?
<s>[INST]What was the audience for Mi Amigo el Monstruo? Context: CREATE TABLE table_name_74 (audience VARCHAR, title VARCHAR)[/INST]SELECT audience FROM table_name_74 WHERE title = "mi amigo el monstruo"</s>
CREATE TABLE table_name_3 (airportname VARCHAR, city___town VARCHAR, iata VARCHAR)
SELECT airportname FROM table_name_3 WHERE city___town = "são filipe" AND iata = "sfl"
What is the name of the airport in São Filipe that has an IATA of sfl?
<s>[INST]What is the name of the airport in São Filipe that has an IATA of sfl? Context: CREATE TABLE table_name_3 (airportname VARCHAR, city___town VARCHAR, iata VARCHAR)[/INST]SELECT airportname FROM table_name_3 WHERE city___town = "são filipe" AND iata = "sfl"</s>
CREATE TABLE table_name_56 (prize_fund___us INTEGER, owgr_pts VARCHAR, dates VARCHAR)
SELECT AVG(prize_fund___us) AS $__ FROM table_name_56 WHERE owgr_pts > 20 AND dates = "nov 6-9"
What is the average Prize fund ( US$ ), when OWGR pts is greater than 20, and when Dates is Nov 6-9?
<s>[INST]What is the average Prize fund ( US$ ), when OWGR pts is greater than 20, and when Dates is Nov 6-9? Context: CREATE TABLE table_name_56 (prize_fund___us INTEGER, owgr_pts VARCHAR, dates VARCHAR)[/INST]SELECT AVG(prize_fund___us) AS $__ FROM table_name_56 WHERE owgr_pts > 20 AND dates = "nov 6-9"</s>
CREATE TABLE table_name_67 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_67 WHERE time_retired = "+1 lap" AND driver = "jean-christophe boullion"
How many laps does jean-christophe boullion have with a time/retired of +1 lap?
<s>[INST]How many laps does jean-christophe boullion have with a time/retired of +1 lap? Context: CREATE TABLE table_name_67 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)[/INST]SELECT laps FROM table_name_67 WHERE time_retired = "+1 lap" AND driver = "jean-christophe boullion"</s>
CREATE TABLE table_27753492_2 (womens_doubles VARCHAR, mixed_doubles VARCHAR, tour VARCHAR)
SELECT womens_doubles FROM table_27753492_2 WHERE mixed_doubles = "Zhang Nan Zhao Yunlei" AND tour = "All England Super Series"
Who were the womens doubles when the mixed doubles were zhang nan zhao yunlei on the tour all england super series?
<s>[INST]Who were the womens doubles when the mixed doubles were zhang nan zhao yunlei on the tour all england super series? Context: CREATE TABLE table_27753492_2 (womens_doubles VARCHAR, mixed_doubles VARCHAR, tour VARCHAR)[/INST]SELECT womens_doubles FROM table_27753492_2 WHERE mixed_doubles = "Zhang Nan Zhao Yunlei...
CREATE TABLE table_name_41 (polling_dates VARCHAR, alex_munter VARCHAR, polling_firm VARCHAR)
SELECT polling_dates FROM table_name_41 WHERE alex_munter = "25%" AND polling_firm = "decima"
What dates does Alex Munter have 25% and the polling firm of Decima?
<s>[INST]What dates does Alex Munter have 25% and the polling firm of Decima? Context: CREATE TABLE table_name_41 (polling_dates VARCHAR, alex_munter VARCHAR, polling_firm VARCHAR)[/INST]SELECT polling_dates FROM table_name_41 WHERE alex_munter = "25%" AND polling_firm = "decima"</s>
CREATE TABLE table_name_90 (authors VARCHAR, name VARCHAR, novelty VARCHAR, location VARCHAR)
SELECT authors FROM table_name_90 WHERE novelty = "gen nov" AND location = "south africa" AND name = "criocephalosaurus"
What is Authors, when Novelty is Gen Nov, when Location is South Africa, and when Name is Criocephalosaurus?
<s>[INST]What is Authors, when Novelty is Gen Nov, when Location is South Africa, and when Name is Criocephalosaurus? Context: CREATE TABLE table_name_90 (authors VARCHAR, name VARCHAR, novelty VARCHAR, location VARCHAR)[/INST]SELECT authors FROM table_name_90 WHERE novelty = "gen nov" AND location = "south africa" AND...
CREATE TABLE table_name_56 (track VARCHAR, location VARCHAR)
SELECT track FROM table_name_56 WHERE location = "louisville, kentucky"
What is the Track in Louisville, Kentucky?
<s>[INST]What is the Track in Louisville, Kentucky? Context: CREATE TABLE table_name_56 (track VARCHAR, location VARCHAR)[/INST]SELECT track FROM table_name_56 WHERE location = "louisville, kentucky"</s>
CREATE TABLE table_name_30 (pages INTEGER, vol__number VARCHAR, isbn VARCHAR)
SELECT SUM(pages) FROM table_name_30 WHERE vol__number < 8 AND isbn = "1-40122-892-5"
How many pages does the edition with a volume # smaller than 8 and an ISBM of 1-40122-892-5 have?
<s>[INST]How many pages does the edition with a volume # smaller than 8 and an ISBM of 1-40122-892-5 have? Context: CREATE TABLE table_name_30 (pages INTEGER, vol__number VARCHAR, isbn VARCHAR)[/INST]SELECT SUM(pages) FROM table_name_30 WHERE vol__number < 8 AND isbn = "1-40122-892-5"</s>
CREATE TABLE table_name_61 (round INTEGER, position VARCHAR, pick__number VARCHAR)
SELECT MAX(round) FROM table_name_61 WHERE position = "linebacker" AND pick__number > 5
Let's say position was linebacker with a pick number less than 5, what was the highest round?
<s>[INST]Let's say position was linebacker with a pick number less than 5, what was the highest round? Context: CREATE TABLE table_name_61 (round INTEGER, position VARCHAR, pick__number VARCHAR)[/INST]SELECT MAX(round) FROM table_name_61 WHERE position = "linebacker" AND pick__number > 5</s>
CREATE TABLE review (rating INTEGER)
SELECT AVG(rating), MAX(rating) FROM review
Find the average and maximum rating of all reviews.
<s>[INST]Find the average and maximum rating of all reviews. Context: CREATE TABLE review (rating INTEGER)[/INST]SELECT AVG(rating), MAX(rating) FROM review</s>
CREATE TABLE table_22667773_8 (country VARCHAR, name VARCHAR)
SELECT country FROM table_22667773_8 WHERE name = "Gerrard"
Name the country for gerrard
<s>[INST]Name the country for gerrard Context: CREATE TABLE table_22667773_8 (country VARCHAR, name VARCHAR)[/INST]SELECT country FROM table_22667773_8 WHERE name = "Gerrard"</s>
CREATE TABLE table_name_5 (theme_song_s_ VARCHAR, japanese_title VARCHAR)
SELECT theme_song_s_ FROM table_name_5 WHERE japanese_title = "働きマン"
What is the Theme Song of 働きマン?
<s>[INST]What is the Theme Song of 働きマン? Context: CREATE TABLE table_name_5 (theme_song_s_ VARCHAR, japanese_title VARCHAR)[/INST]SELECT theme_song_s_ FROM table_name_5 WHERE japanese_title = "働きマン"</s>
CREATE TABLE table_name_9 (opponents_in_the_final VARCHAR, partner VARCHAR)
SELECT opponents_in_the_final FROM table_name_9 WHERE partner = "simon aspelin"
In the final, who are the opponents of partner Simon Aspelin?
<s>[INST]In the final, who are the opponents of partner Simon Aspelin? Context: CREATE TABLE table_name_9 (opponents_in_the_final VARCHAR, partner VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_9 WHERE partner = "simon aspelin"</s>
CREATE TABLE table_name_23 (result VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_23 WHERE week < 9 AND attendance = "49,970"
What was the result of the game prior to week 9 with an attendance of 49,970?
<s>[INST]What was the result of the game prior to week 9 with an attendance of 49,970? Context: CREATE TABLE table_name_23 (result VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_23 WHERE week < 9 AND attendance = "49,970"</s>
CREATE TABLE table_name_21 (chinese__simplified_ VARCHAR, album_number VARCHAR)
SELECT chinese__simplified_ FROM table_name_21 WHERE album_number = "9th"
What is the simplified Chinese name for the 9th album?
<s>[INST]What is the simplified Chinese name for the 9th album? Context: CREATE TABLE table_name_21 (chinese__simplified_ VARCHAR, album_number VARCHAR)[/INST]SELECT chinese__simplified_ FROM table_name_21 WHERE album_number = "9th"</s>
CREATE TABLE table_15026994_3 (writer VARCHAR, director VARCHAR)
SELECT COUNT(writer) FROM table_15026994_3 WHERE director = "David Tucker"
Who wrote the episode that David Tucker directed?
<s>[INST]Who wrote the episode that David Tucker directed? Context: CREATE TABLE table_15026994_3 (writer VARCHAR, director VARCHAR)[/INST]SELECT COUNT(writer) FROM table_15026994_3 WHERE director = "David Tucker"</s>
CREATE TABLE table_name_70 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_70 WHERE date = "november 15, 1981"
Who was the opponent on November 15, 1981?
<s>[INST]Who was the opponent on November 15, 1981? Context: CREATE TABLE table_name_70 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_70 WHERE date = "november 15, 1981"</s>
CREATE TABLE table_name_52 (team VARCHAR, high_points VARCHAR)
SELECT team FROM table_name_52 WHERE high_points = "vince carter (19)"
What was the team when vince carter (19) had the high points?
<s>[INST]What was the team when vince carter (19) had the high points? Context: CREATE TABLE table_name_52 (team VARCHAR, high_points VARCHAR)[/INST]SELECT team FROM table_name_52 WHERE high_points = "vince carter (19)"</s>
CREATE TABLE table_name_18 (general_classification VARCHAR, team_classification VARCHAR)
SELECT general_classification FROM table_name_18 WHERE team_classification = "japan"
What is the general classification when the team classification is japan?
<s>[INST]What is the general classification when the team classification is japan? Context: CREATE TABLE table_name_18 (general_classification VARCHAR, team_classification VARCHAR)[/INST]SELECT general_classification FROM table_name_18 WHERE team_classification = "japan"</s>
CREATE TABLE table_name_73 (set_1 VARCHAR, total VARCHAR)
SELECT set_1 FROM table_name_73 WHERE total = "45:40"
What is the Set 1 of the 45:40 Total?
<s>[INST]What is the Set 1 of the 45:40 Total? Context: CREATE TABLE table_name_73 (set_1 VARCHAR, total VARCHAR)[/INST]SELECT set_1 FROM table_name_73 WHERE total = "45:40"</s>
CREATE TABLE Student (Major VARCHAR)
SELECT DISTINCT Major FROM Student
Show all majors.
<s>[INST]Show all majors. Context: CREATE TABLE Student (Major VARCHAR)[/INST]SELECT DISTINCT Major FROM Student</s>
CREATE TABLE table_name_50 (remixed_by VARCHAR, album VARCHAR)
SELECT remixed_by FROM table_name_50 WHERE album = "dance remixes"
Who remixed an album of dance remixes?
<s>[INST]Who remixed an album of dance remixes? Context: CREATE TABLE table_name_50 (remixed_by VARCHAR, album VARCHAR)[/INST]SELECT remixed_by FROM table_name_50 WHERE album = "dance remixes"</s>
CREATE TABLE table_name_1 (round VARCHAR, college VARCHAR)
SELECT round FROM table_name_1 WHERE college = "connecticut"
In what Round was a player from College of Connecticut drafted?
<s>[INST]In what Round was a player from College of Connecticut drafted? Context: CREATE TABLE table_name_1 (round VARCHAR, college VARCHAR)[/INST]SELECT round FROM table_name_1 WHERE college = "connecticut"</s>
CREATE TABLE table_name_87 (year INTEGER, nominee VARCHAR, result VARCHAR, category VARCHAR)
SELECT AVG(year) FROM table_name_87 WHERE result = "nominated" AND category = "favorite male replacement" AND nominee = "aaron tveit"
What year was Aaron Tveit nominated in the Favorite Male Replacement category?
<s>[INST]What year was Aaron Tveit nominated in the Favorite Male Replacement category? Context: CREATE TABLE table_name_87 (year INTEGER, nominee VARCHAR, result VARCHAR, category VARCHAR)[/INST]SELECT AVG(year) FROM table_name_87 WHERE result = "nominated" AND category = "favorite male replacement" AND nominee = "aar...
CREATE TABLE table_name_18 (win_percentage INTEGER, losses VARCHAR)
SELECT MAX(win_percentage) FROM table_name_18 WHERE losses = 23
What is the highest win percentage when there were 23 losses?
<s>[INST]What is the highest win percentage when there were 23 losses? Context: CREATE TABLE table_name_18 (win_percentage INTEGER, losses VARCHAR)[/INST]SELECT MAX(win_percentage) FROM table_name_18 WHERE losses = 23</s>
CREATE TABLE table_name_38 (agg VARCHAR, team_1 VARCHAR)
SELECT agg FROM table_name_38 WHERE team_1 = "vsadc"
What was the Agg., when Team 1 was VSADC?
<s>[INST]What was the Agg., when Team 1 was VSADC? Context: CREATE TABLE table_name_38 (agg VARCHAR, team_1 VARCHAR)[/INST]SELECT agg FROM table_name_38 WHERE team_1 = "vsadc"</s>
CREATE TABLE table_name_79 (player VARCHAR, pick INTEGER)
SELECT player FROM table_name_79 WHERE pick > 20
Which Player has a Pick larger than 20?
<s>[INST]Which Player has a Pick larger than 20? Context: CREATE TABLE table_name_79 (player VARCHAR, pick INTEGER)[/INST]SELECT player FROM table_name_79 WHERE pick > 20</s>
CREATE TABLE table_name_44 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_44 WHERE laps < 15 AND grid > 32 AND time_retired = "accident"
Who is the rider with less than 15 laps, more than 32 grids, and an accident time/retired?
<s>[INST]Who is the rider with less than 15 laps, more than 32 grids, and an accident time/retired? Context: CREATE TABLE table_name_44 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT rider FROM table_name_44 WHERE laps < 15 AND grid > 32 AND time_retired = "accident"</s>
CREATE TABLE table_25716399_1 (no_in_season INTEGER, directed_by VARCHAR)
SELECT MAX(no_in_season) FROM table_25716399_1 WHERE directed_by = "Wendey Stanzler"
What season was an episode directed by wendey stanzler?
<s>[INST]What season was an episode directed by wendey stanzler? Context: CREATE TABLE table_25716399_1 (no_in_season INTEGER, directed_by VARCHAR)[/INST]SELECT MAX(no_in_season) FROM table_25716399_1 WHERE directed_by = "Wendey Stanzler"</s>
CREATE TABLE table_name_91 (premiere_date VARCHAR)
SELECT 2 AS nd_runner_up FROM table_name_91 WHERE premiere_date = "july 20, 2007"
Name the 2nd runner-up for july 20, 2007
<s>[INST]Name the 2nd runner-up for july 20, 2007 Context: CREATE TABLE table_name_91 (premiere_date VARCHAR)[/INST]SELECT 2 AS nd_runner_up FROM table_name_91 WHERE premiere_date = "july 20, 2007"</s>
CREATE TABLE table_16278602_1 (pop_density__per_km²_ VARCHAR, english_name VARCHAR)
SELECT pop_density__per_km²_ FROM table_16278602_1 WHERE english_name = "Capital Region of Denmark"
What is the population density of the Capital Region of Denmark?
<s>[INST]What is the population density of the Capital Region of Denmark? Context: CREATE TABLE table_16278602_1 (pop_density__per_km²_ VARCHAR, english_name VARCHAR)[/INST]SELECT pop_density__per_km²_ FROM table_16278602_1 WHERE english_name = "Capital Region of Denmark"</s>
CREATE TABLE table_name_25 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_25 WHERE record = "78-63"
what opponent has the record of 78-63?
<s>[INST]what opponent has the record of 78-63? Context: CREATE TABLE table_name_25 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_25 WHERE record = "78-63"</s>
CREATE TABLE table_29583818_3 (place VARCHAR, couple VARCHAR)
SELECT COUNT(place) FROM table_29583818_3 WHERE couple = "Kerry & Daniel"
How many times is the couple kerry & daniel?
<s>[INST]How many times is the couple kerry & daniel? Context: CREATE TABLE table_29583818_3 (place VARCHAR, couple VARCHAR)[/INST]SELECT COUNT(place) FROM table_29583818_3 WHERE couple = "Kerry & Daniel"</s>
CREATE TABLE table_name_82 (surface VARCHAR, partner VARCHAR)
SELECT surface FROM table_name_82 WHERE partner = "oliver marach"
Which Surface has a Partner of oliver marach?
<s>[INST]Which Surface has a Partner of oliver marach? Context: CREATE TABLE table_name_82 (surface VARCHAR, partner VARCHAR)[/INST]SELECT surface FROM table_name_82 WHERE partner = "oliver marach"</s>
CREATE TABLE table_name_45 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_45 WHERE player = "brett sonne"
Which college/junior/club team (league) did Brett Sonne play in?
<s>[INST]Which college/junior/club team (league) did Brett Sonne play in? Context: CREATE TABLE table_name_45 (college_junior_club_team__league_ VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_45 WHERE player = "brett sonne"</s>
CREATE TABLE table_2701625_1 (female_life_expectancy INTEGER, country VARCHAR)
SELECT MAX(female_life_expectancy) FROM table_2701625_1 WHERE country = "Djibouti"
Name the most female life expectancy for djibouti
<s>[INST]Name the most female life expectancy for djibouti Context: CREATE TABLE table_2701625_1 (female_life_expectancy INTEGER, country VARCHAR)[/INST]SELECT MAX(female_life_expectancy) FROM table_2701625_1 WHERE country = "Djibouti"</s>
CREATE TABLE branch (name VARCHAR, membership_amount VARCHAR)
SELECT name FROM branch ORDER BY membership_amount DESC LIMIT 3
What are names for top three branches with most number of membership?
<s>[INST]What are names for top three branches with most number of membership? Context: CREATE TABLE branch (name VARCHAR, membership_amount VARCHAR)[/INST]SELECT name FROM branch ORDER BY membership_amount DESC LIMIT 3</s>
CREATE TABLE table_name_9 (Id VARCHAR)
SELECT 2010 FROM table_name_9 WHERE 2006 = "2r"
Name the 2010 for 2006 of 2r
<s>[INST]Name the 2010 for 2006 of 2r Context: CREATE TABLE table_name_9 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_9 WHERE 2006 = "2r"</s>
CREATE TABLE table_name_82 (name_of_the_song VARCHAR, kind_of_the_song VARCHAR, drama VARCHAR)
SELECT name_of_the_song FROM table_name_82 WHERE kind_of_the_song = "opening theme" AND drama = "revolving doors of vengeance"
What is the name of the song that is part of the opening theme and has a drama of the revolving doors of vengeance?
<s>[INST]What is the name of the song that is part of the opening theme and has a drama of the revolving doors of vengeance? Context: CREATE TABLE table_name_82 (name_of_the_song VARCHAR, kind_of_the_song VARCHAR, drama VARCHAR)[/INST]SELECT name_of_the_song FROM table_name_82 WHERE kind_of_the_song = "opening theme" A...
CREATE TABLE table_name_51 (player VARCHAR, pl_gp INTEGER)
SELECT player FROM table_name_51 WHERE pl_gp > 0
What player has a number of playoff games played greater than 0?
<s>[INST]What player has a number of playoff games played greater than 0? Context: CREATE TABLE table_name_51 (player VARCHAR, pl_gp INTEGER)[/INST]SELECT player FROM table_name_51 WHERE pl_gp > 0</s>
CREATE TABLE table_name_40 (team VARCHAR, game VARCHAR)
SELECT team FROM table_name_40 WHERE game = 4
Which team was played against in game 4?
<s>[INST]Which team was played against in game 4? Context: CREATE TABLE table_name_40 (team VARCHAR, game VARCHAR)[/INST]SELECT team FROM table_name_40 WHERE game = 4</s>
CREATE TABLE table_name_82 (mountains_classification VARCHAR, stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR)
SELECT mountains_classification FROM table_name_82 WHERE young_rider_classification = "francesco casagrande" AND intergiro_classification = "not awarded" AND stage = "2"
Name the mountains classification which has a young rider classification of francesco casagrande and integiro classification of not awarded with stage of 2
<s>[INST]Name the mountains classification which has a young rider classification of francesco casagrande and integiro classification of not awarded with stage of 2 Context: CREATE TABLE table_name_82 (mountains_classification VARCHAR, stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR)...
CREATE TABLE table_30062172_3 (length VARCHAR, round VARCHAR, gt3_winner VARCHAR)
SELECT length FROM table_30062172_3 WHERE round = 1 AND gt3_winner = "David Ashburn Richard Westbrook"
When david ashburn richard westbrook is the gt3 winner and 1 is the round what is the length?
<s>[INST]When david ashburn richard westbrook is the gt3 winner and 1 is the round what is the length? Context: CREATE TABLE table_30062172_3 (length VARCHAR, round VARCHAR, gt3_winner VARCHAR)[/INST]SELECT length FROM table_30062172_3 WHERE round = 1 AND gt3_winner = "David Ashburn Richard Westbrook"</s>
CREATE TABLE table_11167610_1 (fuel_delivery VARCHAR, power VARCHAR)
SELECT fuel_delivery FROM table_11167610_1 WHERE power = "hp (kW) @6500 rpm"
what's the fuel delivery where power is hp (kw) @6500 rpm
<s>[INST] what's the fuel delivery where power is hp (kw) @6500 rpm Context: CREATE TABLE table_11167610_1 (fuel_delivery VARCHAR, power VARCHAR)[/INST]SELECT fuel_delivery FROM table_11167610_1 WHERE power = "hp (kW) @6500 rpm"</s>
CREATE TABLE table_name_6 (overall VARCHAR, position VARCHAR)
SELECT COUNT(overall) FROM table_name_6 WHERE position = "defensive tackle"
Name the total number of overall for defensive tackle
<s>[INST]Name the total number of overall for defensive tackle Context: CREATE TABLE table_name_6 (overall VARCHAR, position VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_6 WHERE position = "defensive tackle"</s>
CREATE TABLE table_name_82 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_82 WHERE score = "4-0"
What is the result when the score is 4-0?
<s>[INST]What is the result when the score is 4-0? Context: CREATE TABLE table_name_82 (result VARCHAR, score VARCHAR)[/INST]SELECT result FROM table_name_82 WHERE score = "4-0"</s>
CREATE TABLE table_name_73 (constituency_number VARCHAR, name VARCHAR)
SELECT constituency_number FROM table_name_73 WHERE name = "total:"
What is the Constituency Number of Total:?
<s>[INST]What is the Constituency Number of Total:? Context: CREATE TABLE table_name_73 (constituency_number VARCHAR, name VARCHAR)[/INST]SELECT constituency_number FROM table_name_73 WHERE name = "total:"</s>
CREATE TABLE table_name_1 (surface VARCHAR, opponents_in_the_final VARCHAR)
SELECT surface FROM table_name_1 WHERE opponents_in_the_final = "kathleen horvath marcella mesker"
On what surface was the tournament with opponents kathleen horvath marcella mesker in the finals?
<s>[INST]On what surface was the tournament with opponents kathleen horvath marcella mesker in the finals? Context: CREATE TABLE table_name_1 (surface VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT surface FROM table_name_1 WHERE opponents_in_the_final = "kathleen horvath marcella mesker"</s>
CREATE TABLE table_name_79 (arena VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT arena FROM table_name_79 WHERE opponent = "@ oilers" AND date = "may 25"
Which Arena has an Opponent of @ oilers, and a Date of may 25?
<s>[INST]Which Arena has an Opponent of @ oilers, and a Date of may 25? Context: CREATE TABLE table_name_79 (arena VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT arena FROM table_name_79 WHERE opponent = "@ oilers" AND date = "may 25"</s>
CREATE TABLE table_name_52 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_52 WHERE away_team = "wrexham"
WHAT'S THE TIE NUMBER WITH AN AWAY TEAM OF WREXHAM?
<s>[INST]WHAT'S THE TIE NUMBER WITH AN AWAY TEAM OF WREXHAM? Context: CREATE TABLE table_name_52 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_52 WHERE away_team = "wrexham"</s>
CREATE TABLE table_name_68 (location VARCHAR, copies_per_particle VARCHAR, protein VARCHAR)
SELECT location FROM table_name_68 WHERE copies_per_particle = "0" AND protein = "nsp3"
Which location has a copies per particle of 0 and a protein of nsp3?
<s>[INST]Which location has a copies per particle of 0 and a protein of nsp3? Context: CREATE TABLE table_name_68 (location VARCHAR, copies_per_particle VARCHAR, protein VARCHAR)[/INST]SELECT location FROM table_name_68 WHERE copies_per_particle = "0" AND protein = "nsp3"</s>
CREATE TABLE table_name_8 (winning_score VARCHAR, year VARCHAR, championship VARCHAR)
SELECT winning_score FROM table_name_8 WHERE year < 1985 AND championship = "u.s. women's open"
What was the winning score in 1985 for Championship of u.s. women's open?
<s>[INST]What was the winning score in 1985 for Championship of u.s. women's open? Context: CREATE TABLE table_name_8 (winning_score VARCHAR, year VARCHAR, championship VARCHAR)[/INST]SELECT winning_score FROM table_name_8 WHERE year < 1985 AND championship = "u.s. women's open"</s>
CREATE TABLE table_name_34 (year VARCHAR, third VARCHAR)
SELECT year FROM table_name_34 WHERE third = "kyle newman"
What year did Kyle Newman place third?
<s>[INST]What year did Kyle Newman place third? Context: CREATE TABLE table_name_34 (year VARCHAR, third VARCHAR)[/INST]SELECT year FROM table_name_34 WHERE third = "kyle newman"</s>
CREATE TABLE table_1969577_1 (joined INTEGER, institution VARCHAR)
SELECT MAX(joined) FROM table_1969577_1 WHERE institution = "Molloy College"
Name the most joined for molloy college
<s>[INST]Name the most joined for molloy college Context: CREATE TABLE table_1969577_1 (joined INTEGER, institution VARCHAR)[/INST]SELECT MAX(joined) FROM table_1969577_1 WHERE institution = "Molloy College"</s>
CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR)
SELECT customer_first_name, customer_last_name FROM Customers EXCEPT SELECT T1.customer_first_name, T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id
Show the first names and last names of customers without any account.
<s>[INST]Show the first names and last names of customers without any account. Context: CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR)[/IN...
CREATE TABLE table_24865763_2 (gt2_winning_team VARCHAR, lmp1_winning_team VARCHAR)
SELECT gt2_winning_team FROM table_24865763_2 WHERE lmp1_winning_team = "Greg Mansell Leo Mansell"
Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team?
<s>[INST]Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team? Context: CREATE TABLE table_24865763_2 (gt2_winning_team VARCHAR, lmp1_winning_team VARCHAR)[/INST]SELECT gt2_winning_team FROM table_24865763_2 WHERE lmp1_winning_team = "Greg Mansell Leo Mansell"</s>
CREATE TABLE table_name_72 (placings VARCHAR, total VARCHAR, name VARCHAR)
SELECT placings FROM table_name_72 WHERE total > 131.26 AND name = "jacqueline du bief"
How many placings did Jacqueline du Bief earn where her total score is greater than 131.26?
<s>[INST]How many placings did Jacqueline du Bief earn where her total score is greater than 131.26? Context: CREATE TABLE table_name_72 (placings VARCHAR, total VARCHAR, name VARCHAR)[/INST]SELECT placings FROM table_name_72 WHERE total > 131.26 AND name = "jacqueline du bief"</s>
CREATE TABLE table_name_67 (Id VARCHAR)
SELECT 2000 FROM table_name_67 WHERE 1998 = "1.5"
What is the 2000 value if the 1998 value is 1.5?
<s>[INST]What is the 2000 value if the 1998 value is 1.5? Context: CREATE TABLE table_name_67 (Id VARCHAR)[/INST]SELECT 2000 FROM table_name_67 WHERE 1998 = "1.5"</s>
CREATE TABLE table_name_12 (date VARCHAR, score VARCHAR, record VARCHAR)
SELECT date FROM table_name_12 WHERE score = "24-7" AND record = "4-10"
Which Date has a Score of 24-7, and a Record of 4-10?
<s>[INST]Which Date has a Score of 24-7, and a Record of 4-10? Context: CREATE TABLE table_name_12 (date VARCHAR, score VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_12 WHERE score = "24-7" AND record = "4-10"</s>
CREATE TABLE table_name_70 (march INTEGER, record VARCHAR, points VARCHAR)
SELECT AVG(march) FROM table_name_70 WHERE record = "25–30–13" AND points < 63
What day has a record of 25–30–13 and less than 63 points?
<s>[INST]What day has a record of 25–30–13 and less than 63 points? Context: CREATE TABLE table_name_70 (march INTEGER, record VARCHAR, points VARCHAR)[/INST]SELECT AVG(march) FROM table_name_70 WHERE record = "25–30–13" AND points < 63</s>
CREATE TABLE table_name_71 (casualties VARCHAR, circumstances VARCHAR, location VARCHAR)
SELECT casualties FROM table_name_71 WHERE circumstances = "combat" AND location = "fayzabad area"
How many casualties from the combat in the Fayzabad area?
<s>[INST]How many casualties from the combat in the Fayzabad area? Context: CREATE TABLE table_name_71 (casualties VARCHAR, circumstances VARCHAR, location VARCHAR)[/INST]SELECT casualties FROM table_name_71 WHERE circumstances = "combat" AND location = "fayzabad area"</s>
CREATE TABLE table_name_17 (championship VARCHAR, year VARCHAR, winning_score VARCHAR)
SELECT championship FROM table_name_17 WHERE year > 1985 AND winning_score = –8(68 - 72 - 69 - 71 = 280)
Which championship after 1985 had a winning score of –8 (68-72-69-71=280)?
<s>[INST]Which championship after 1985 had a winning score of –8 (68-72-69-71=280)? Context: CREATE TABLE table_name_17 (championship VARCHAR, year VARCHAR, winning_score VARCHAR)[/INST]SELECT championship FROM table_name_17 WHERE year > 1985 AND winning_score = –8(68 - 72 - 69 - 71 = 280)</s>
CREATE TABLE table_name_32 (home_team VARCHAR, crowd INTEGER)
SELECT home_team AS score FROM table_name_32 WHERE crowd > 21 OFFSET 188
What was the score when the home team had a crowd larger than 21,188?
<s>[INST]What was the score when the home team had a crowd larger than 21,188? Context: CREATE TABLE table_name_32 (home_team VARCHAR, crowd INTEGER)[/INST]SELECT home_team AS score FROM table_name_32 WHERE crowd > 21 OFFSET 188</s>
CREATE TABLE table_name_73 (date VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT date FROM table_name_73 WHERE opponent = "john mcenroe" AND score = "3–6, 6–3, 2–6"
What is the date of the match against John McEnroe with a Score of 3–6, 6–3, 2–6?
<s>[INST]What is the date of the match against John McEnroe with a Score of 3–6, 6–3, 2–6? Context: CREATE TABLE table_name_73 (date VARCHAR, opponent VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_73 WHERE opponent = "john mcenroe" AND score = "3–6, 6–3, 2–6"</s>
CREATE TABLE table_name_60 (winning_party_2007 VARCHAR, constituency VARCHAR, result VARCHAR, swing_to_gain VARCHAR)
SELECT winning_party_2007 FROM table_name_60 WHERE result = "labour hold" AND swing_to_gain < 7.11 AND constituency = "wrexham"
Name the winning party 2007 for result of labour hold and swing to gain less than 7.11 for wrexham
<s>[INST]Name the winning party 2007 for result of labour hold and swing to gain less than 7.11 for wrexham Context: CREATE TABLE table_name_60 (winning_party_2007 VARCHAR, constituency VARCHAR, result VARCHAR, swing_to_gain VARCHAR)[/INST]SELECT winning_party_2007 FROM table_name_60 WHERE result = "labour hold" AND sw...
CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_54 WHERE venue = "mcg"
What is the home team's score at mcg?
<s>[INST]What is the home team's score at mcg? Context: CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_54 WHERE venue = "mcg"</s>
CREATE TABLE table_name_71 (competition VARCHAR, result VARCHAR)
SELECT competition FROM table_name_71 WHERE result = "17-1"
What competition has 17-1 as the result?
<s>[INST]What competition has 17-1 as the result? Context: CREATE TABLE table_name_71 (competition VARCHAR, result VARCHAR)[/INST]SELECT competition FROM table_name_71 WHERE result = "17-1"</s>
CREATE TABLE table_name_83 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT pole_position FROM table_name_83 WHERE grand_prix = "german grand prix"
What is the Pole Position for the German Grand Prix
<s>[INST]What is the Pole Position for the German Grand Prix Context: CREATE TABLE table_name_83 (pole_position VARCHAR, grand_prix VARCHAR)[/INST]SELECT pole_position FROM table_name_83 WHERE grand_prix = "german grand prix"</s>
CREATE TABLE table_name_21 (result VARCHAR, streak VARCHAR)
SELECT result FROM table_name_21 WHERE streak = "won 6"
what's the result with streak of won 6?
<s>[INST]what's the result with streak of won 6? Context: CREATE TABLE table_name_21 (result VARCHAR, streak VARCHAR)[/INST]SELECT result FROM table_name_21 WHERE streak = "won 6"</s>
CREATE TABLE table_name_1 (player VARCHAR, school_club_team_country VARCHAR)
SELECT player FROM table_name_1 WHERE school_club_team_country = "illinois"
Which player plays for Illinois?
<s>[INST]Which player plays for Illinois? Context: CREATE TABLE table_name_1 (player VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT player FROM table_name_1 WHERE school_club_team_country = "illinois"</s>
CREATE TABLE table_name_56 (gold VARCHAR, total VARCHAR)
SELECT gold FROM table_name_56 WHERE total = 14
How many golds for the nation with 14 total?
<s>[INST]How many golds for the nation with 14 total? Context: CREATE TABLE table_name_56 (gold VARCHAR, total VARCHAR)[/INST]SELECT gold FROM table_name_56 WHERE total = 14</s>
CREATE TABLE table_2861364_1 (place_of_execution VARCHAR, executed_person VARCHAR)
SELECT place_of_execution FROM table_2861364_1 WHERE executed_person = "Mazouz Ghaouti"
where was mazouz ghaouti executed?
<s>[INST]where was mazouz ghaouti executed? Context: CREATE TABLE table_2861364_1 (place_of_execution VARCHAR, executed_person VARCHAR)[/INST]SELECT place_of_execution FROM table_2861364_1 WHERE executed_person = "Mazouz Ghaouti"</s>
CREATE TABLE table_name_4 (time VARCHAR, nationality VARCHAR)
SELECT COUNT(time) FROM table_name_4 WHERE nationality = "great britain"
What was Great Britain's total time?
<s>[INST]What was Great Britain's total time? Context: CREATE TABLE table_name_4 (time VARCHAR, nationality VARCHAR)[/INST]SELECT COUNT(time) FROM table_name_4 WHERE nationality = "great britain"</s>
CREATE TABLE table_name_52 (place INTEGER, total VARCHAR, average VARCHAR)
SELECT MIN(place) FROM table_name_52 WHERE total = 16 AND average < 16
What is the smallest place number when the total is 16 and average is less than 16?
<s>[INST]What is the smallest place number when the total is 16 and average is less than 16? Context: CREATE TABLE table_name_52 (place INTEGER, total VARCHAR, average VARCHAR)[/INST]SELECT MIN(place) FROM table_name_52 WHERE total = 16 AND average < 16</s>
CREATE TABLE table_name_62 (wins VARCHAR, rank VARCHAR, top_fives VARCHAR)
SELECT COUNT(wins) FROM table_name_62 WHERE rank = "36th" AND top_fives > 0
What is the total number of wins when casey mears ranked 36th and had more than 0 top fives?
<s>[INST]What is the total number of wins when casey mears ranked 36th and had more than 0 top fives? Context: CREATE TABLE table_name_62 (wins VARCHAR, rank VARCHAR, top_fives VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_62 WHERE rank = "36th" AND top_fives > 0</s>
CREATE TABLE table_name_13 (virtue VARCHAR, acedia VARCHAR, latin VARCHAR)
SELECT virtue FROM table_name_13 WHERE (latin) = acedia
Which virtue is acedia(Latin)?
<s>[INST]Which virtue is acedia(Latin)? Context: CREATE TABLE table_name_13 (virtue VARCHAR, acedia VARCHAR, latin VARCHAR)[/INST]SELECT virtue FROM table_name_13 WHERE (latin) = acedia</s>
CREATE TABLE table_1708050_1 (starts VARCHAR, position VARCHAR)
SELECT starts FROM table_1708050_1 WHERE position = "16th"
Name the starts when position is 16th
<s>[INST]Name the starts when position is 16th Context: CREATE TABLE table_1708050_1 (starts VARCHAR, position VARCHAR)[/INST]SELECT starts FROM table_1708050_1 WHERE position = "16th"</s>
CREATE TABLE table_22903773_2 (opp_points INTEGER, record VARCHAR)
SELECT MAX(opp_points) FROM table_22903773_2 WHERE record = "16-5"
How many points did the opponents score on the game where Sooners' record was 16-5?
<s>[INST]How many points did the opponents score on the game where Sooners' record was 16-5? Context: CREATE TABLE table_22903773_2 (opp_points INTEGER, record VARCHAR)[/INST]SELECT MAX(opp_points) FROM table_22903773_2 WHERE record = "16-5"</s>
CREATE TABLE table_name_80 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_80 WHERE opponent = "leeds united"
what is the date when the opponent is leeds united?
<s>[INST]what is the date when the opponent is leeds united? Context: CREATE TABLE table_name_80 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_80 WHERE opponent = "leeds united"</s>
CREATE TABLE table_13719788_1 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT COUNT(year__ceremony_) FROM table_13719788_1 WHERE film_title_used_in_nomination = "Nagabonar"
How many years have a film that uses the title "Nagabonar" in the nomination?
<s>[INST]How many years have a film that uses the title "Nagabonar" in the nomination? Context: CREATE TABLE table_13719788_1 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT COUNT(year__ceremony_) FROM table_13719788_1 WHERE film_title_used_in_nomination = "Nagabonar"</s>
CREATE TABLE member (Name VARCHAR, Country VARCHAR)
SELECT Name, Country FROM member
What are the names and countries of members?
<s>[INST]What are the names and countries of members? Context: CREATE TABLE member (Name VARCHAR, Country VARCHAR)[/INST]SELECT Name, Country FROM member</s>
CREATE TABLE table_name_17 (worship_leader VARCHAR, time VARCHAR)
SELECT worship_leader FROM table_name_17 WHERE time = "7:05"
Who was the Worship Leader for the song that was 7:05 long?
<s>[INST]Who was the Worship Leader for the song that was 7:05 long? Context: CREATE TABLE table_name_17 (worship_leader VARCHAR, time VARCHAR)[/INST]SELECT worship_leader FROM table_name_17 WHERE time = "7:05"</s>
CREATE TABLE table_name_48 (year_joined VARCHAR, mascot VARCHAR, year_left VARCHAR)
SELECT COUNT(year_joined) FROM table_name_48 WHERE mascot = "ingots" AND year_left > 2007
What year did the Ingots, who left after 2007, join?
<s>[INST]What year did the Ingots, who left after 2007, join? Context: CREATE TABLE table_name_48 (year_joined VARCHAR, mascot VARCHAR, year_left VARCHAR)[/INST]SELECT COUNT(year_joined) FROM table_name_48 WHERE mascot = "ingots" AND year_left > 2007</s>
CREATE TABLE table_name_91 (national_cup VARCHAR, club VARCHAR)
SELECT national_cup FROM table_name_91 WHERE club = "fc barcelona"
What national cup has fc barcelona?
<s>[INST]What national cup has fc barcelona? Context: CREATE TABLE table_name_91 (national_cup VARCHAR, club VARCHAR)[/INST]SELECT national_cup FROM table_name_91 WHERE club = "fc barcelona"</s>
CREATE TABLE table_name_15 (ddr3_speed INTEGER, model VARCHAR)
SELECT AVG(ddr3_speed) FROM table_name_15 WHERE model = "e-350"
Name the average DDR3 speed for model e-350
<s>[INST]Name the average DDR3 speed for model e-350 Context: CREATE TABLE table_name_15 (ddr3_speed INTEGER, model VARCHAR)[/INST]SELECT AVG(ddr3_speed) FROM table_name_15 WHERE model = "e-350"</s>
CREATE TABLE table_name_93 (byes INTEGER, losses VARCHAR, draws VARCHAR)
SELECT MAX(byes) FROM table_name_93 WHERE losses = 9 AND draws < 0
What is the highest number of byes where the losses were 9 and the draws were less than 0?
<s>[INST]What is the highest number of byes where the losses were 9 and the draws were less than 0? Context: CREATE TABLE table_name_93 (byes INTEGER, losses VARCHAR, draws VARCHAR)[/INST]SELECT MAX(byes) FROM table_name_93 WHERE losses = 9 AND draws < 0</s>
CREATE TABLE table_14598_9 (females___percentage_ VARCHAR, india_state_ut VARCHAR)
SELECT females___percentage_ FROM table_14598_9 WHERE india_state_ut = "Maharashtra"
What is the percentage of females where in India and are maharashtra?
<s>[INST]What is the percentage of females where in India and are maharashtra? Context: CREATE TABLE table_14598_9 (females___percentage_ VARCHAR, india_state_ut VARCHAR)[/INST]SELECT females___percentage_ FROM table_14598_9 WHERE india_state_ut = "Maharashtra"</s>
CREATE TABLE table_name_7 (winning_driver VARCHAR, fastest_lap VARCHAR, most_laps_led VARCHAR)
SELECT winning_driver FROM table_name_7 WHERE fastest_lap = "ryan hunter-reay" AND most_laps_led = "ryan briscoe"
What is Winning Driver, when Fastest Lap is Ryan Hunter-Reay, and when Most Laps Led is Ryan Briscoe?
<s>[INST]What is Winning Driver, when Fastest Lap is Ryan Hunter-Reay, and when Most Laps Led is Ryan Briscoe? Context: CREATE TABLE table_name_7 (winning_driver VARCHAR, fastest_lap VARCHAR, most_laps_led VARCHAR)[/INST]SELECT winning_driver FROM table_name_7 WHERE fastest_lap = "ryan hunter-reay" AND most_laps_led = ...
CREATE TABLE table_name_84 (points INTEGER, nation VARCHAR, places VARCHAR)
SELECT SUM(points) FROM table_name_84 WHERE nation = "east germany" AND places = "88"
What is the number of points for east germany, and a Places of 88?
<s>[INST]What is the number of points for east germany, and a Places of 88? Context: CREATE TABLE table_name_84 (points INTEGER, nation VARCHAR, places VARCHAR)[/INST]SELECT SUM(points) FROM table_name_84 WHERE nation = "east germany" AND places = "88"</s>
CREATE TABLE table_name_34 (runs INTEGER, high_score VARCHAR, innings VARCHAR)
SELECT SUM(runs) FROM table_name_34 WHERE high_score = 55 AND innings > 12
How many runs were there when the high score was 55 and there were more than 12 innings?
<s>[INST]How many runs were there when the high score was 55 and there were more than 12 innings? Context: CREATE TABLE table_name_34 (runs INTEGER, high_score VARCHAR, innings VARCHAR)[/INST]SELECT SUM(runs) FROM table_name_34 WHERE high_score = 55 AND innings > 12</s>