context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_2 (rider_2 VARCHAR, city VARCHAR, horse_1 VARCHAR)
SELECT rider_2 FROM table_name_2 WHERE city = "rancagua" AND horse_1 = "papayero"
Who was the second rider when papayero raced as Horse 1 in the city of rancagua?
<s>[INST]Who was the second rider when papayero raced as Horse 1 in the city of rancagua? Context: CREATE TABLE table_name_2 (rider_2 VARCHAR, city VARCHAR, horse_1 VARCHAR)[/INST]SELECT rider_2 FROM table_name_2 WHERE city = "rancagua" AND horse_1 = "papayero"</s>
CREATE TABLE table_224840_4 (vacator VARCHAR, district VARCHAR)
SELECT COUNT(vacator) FROM table_224840_4 WHERE district = "Massachusetts 3rd"
How many seats became avaliable in Massachusetts 3rd district?
<s>[INST]How many seats became avaliable in Massachusetts 3rd district? Context: CREATE TABLE table_224840_4 (vacator VARCHAR, district VARCHAR)[/INST]SELECT COUNT(vacator) FROM table_224840_4 WHERE district = "Massachusetts 3rd"</s>
CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_26 WHERE date = "august 1"
Name the score on august 1
<s>[INST]Name the score on august 1 Context: CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_26 WHERE date = "august 1"</s>
CREATE TABLE table_name_47 (team VARCHAR, points VARCHAR)
SELECT team FROM table_name_47 WHERE points = 13
What is the name of the team that has 13 points?
<s>[INST]What is the name of the team that has 13 points? Context: CREATE TABLE table_name_47 (team VARCHAR, points VARCHAR)[/INST]SELECT team FROM table_name_47 WHERE points = 13</s>
CREATE TABLE table_23284271_10 (score VARCHAR, game VARCHAR)
SELECT score FROM table_23284271_10 WHERE game = 78
What is the score for game 78?
<s>[INST]What is the score for game 78? Context: CREATE TABLE table_23284271_10 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_23284271_10 WHERE game = 78</s>
CREATE TABLE table_name_27 (entrant VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_27 WHERE chassis = "gh1"
Name the entrant for chassis of gh1
<s>[INST]Name the entrant for chassis of gh1 Context: CREATE TABLE table_name_27 (entrant VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_27 WHERE chassis = "gh1"</s>
CREATE TABLE table_11256021_1 (extroverted VARCHAR, _relationship_oriented VARCHAR, moderate VARCHAR)
SELECT extroverted, _relationship_oriented FROM table_11256021_1 WHERE moderate = "Introverted Sanguine"
what's the extroverted, relationship-oriented where moderate is introverted sanguine
<s>[INST] what's the extroverted, relationship-oriented where moderate is introverted sanguine Context: CREATE TABLE table_11256021_1 (extroverted VARCHAR, _relationship_oriented VARCHAR, moderate VARCHAR)[/INST]SELECT extroverted, _relationship_oriented FROM table_11256021_1 WHERE moderate = "Introverted Sanguine"</s>
CREATE TABLE table_name_41 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_41 WHERE venue = "western oval"
What did the home team score when playing at Western Oval?
<s>[INST]What did the home team score when playing at Western Oval? Context: CREATE TABLE table_name_41 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_41 WHERE venue = "western oval"</s>
CREATE TABLE table_name_96 (fa_cup_goals INTEGER, flt_goals INTEGER)
SELECT MAX(fa_cup_goals) FROM table_name_96 WHERE flt_goals > 0
what is the highest fa cup goals when flt goals is more than 0?
<s>[INST]what is the highest fa cup goals when flt goals is more than 0? Context: CREATE TABLE table_name_96 (fa_cup_goals INTEGER, flt_goals INTEGER)[/INST]SELECT MAX(fa_cup_goals) FROM table_name_96 WHERE flt_goals > 0</s>
CREATE TABLE table_name_12 (category VARCHAR, nominated_work VARCHAR)
SELECT category FROM table_name_12 WHERE nominated_work = "24"
Which category has 24 nominated work?
<s>[INST]Which category has 24 nominated work? Context: CREATE TABLE table_name_12 (category VARCHAR, nominated_work VARCHAR)[/INST]SELECT category FROM table_name_12 WHERE nominated_work = "24"</s>
CREATE TABLE table_name_8 (enrollment INTEGER, mascot VARCHAR)
SELECT MIN(enrollment) FROM table_name_8 WHERE mascot = "trojans"
What's the least enrolled when the mascot was the Trojans?
<s>[INST]What's the least enrolled when the mascot was the Trojans? Context: CREATE TABLE table_name_8 (enrollment INTEGER, mascot VARCHAR)[/INST]SELECT MIN(enrollment) FROM table_name_8 WHERE mascot = "trojans"</s>
CREATE TABLE table_name_98 (set_2 VARCHAR, date VARCHAR)
SELECT set_2 FROM table_name_98 WHERE date = "jun 29"
What is the Set 2 with a Date that is jun 29?
<s>[INST]What is the Set 2 with a Date that is jun 29? Context: CREATE TABLE table_name_98 (set_2 VARCHAR, date VARCHAR)[/INST]SELECT set_2 FROM table_name_98 WHERE date = "jun 29"</s>
CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, function VARCHAR)
SELECT copies_per_particle FROM table_140968_1 WHERE function = "Enterotoxin"
How many copies per particle are created by the enterotoxin?
<s>[INST]How many copies per particle are created by the enterotoxin? Context: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, function VARCHAR)[/INST]SELECT copies_per_particle FROM table_140968_1 WHERE function = "Enterotoxin"</s>
CREATE TABLE table_name_8 (guest_performer VARCHAR, time VARCHAR)
SELECT guest_performer FROM table_name_8 WHERE time = "5:49"
Which guest performer has a track length of 5:49?
<s>[INST]Which guest performer has a track length of 5:49? Context: CREATE TABLE table_name_8 (guest_performer VARCHAR, time VARCHAR)[/INST]SELECT guest_performer FROM table_name_8 WHERE time = "5:49"</s>
CREATE TABLE table_name_39 (name VARCHAR, transfer_window VARCHAR, country VARCHAR)
SELECT name FROM table_name_39 WHERE transfer_window = "summer" AND country = "sen"
WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTRY SEN?
<s>[INST]WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTRY SEN? Context: CREATE TABLE table_name_39 (name VARCHAR, transfer_window VARCHAR, country VARCHAR)[/INST]SELECT name FROM table_name_39 WHERE transfer_window = "summer" AND country = "sen"</s>
CREATE TABLE table_name_99 (date VARCHAR, points VARCHAR, home VARCHAR)
SELECT date FROM table_name_99 WHERE points < 35 AND home = "chicago"
What is the date of the game with less than 35 points and chicago as the home team?
<s>[INST]What is the date of the game with less than 35 points and chicago as the home team? Context: CREATE TABLE table_name_99 (date VARCHAR, points VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_99 WHERE points < 35 AND home = "chicago"</s>
CREATE TABLE table_name_98 (location VARCHAR, county VARCHAR)
SELECT location FROM table_name_98 WHERE county = "rockingham"
Where was the county of rockingham?
<s>[INST]Where was the county of rockingham? Context: CREATE TABLE table_name_98 (location VARCHAR, county VARCHAR)[/INST]SELECT location FROM table_name_98 WHERE county = "rockingham"</s>
CREATE TABLE table_name_65 (quantity VARCHAR, model VARCHAR)
SELECT quantity FROM table_name_65 WHERE model = "pg-2901"
What is the Quantity of the engine Model PG-2901?
<s>[INST]What is the Quantity of the engine Model PG-2901? Context: CREATE TABLE table_name_65 (quantity VARCHAR, model VARCHAR)[/INST]SELECT quantity FROM table_name_65 WHERE model = "pg-2901"</s>
CREATE TABLE table_23802822_1 (_receipts VARCHAR, _or_shipments__$1 VARCHAR, sales INTEGER, establishments VARCHAR)
SELECT MAX(sales), _receipts, _or_shipments__$1, 000 AS _ FROM table_23802822_1 WHERE establishments = 49319
If the establishment is 49319, what is the sales, receipts or shipments maximum amount?
<s>[INST]If the establishment is 49319, what is the sales, receipts or shipments maximum amount? Context: CREATE TABLE table_23802822_1 (_receipts VARCHAR, _or_shipments__$1 VARCHAR, sales INTEGER, establishments VARCHAR)[/INST]SELECT MAX(sales), _receipts, _or_shipments__$1, 000 AS _ FROM table_23802822_1 WHERE establ...
CREATE TABLE table_name_20 (ntfs VARCHAR, fat32 VARCHAR, refs VARCHAR)
SELECT ntfs FROM table_name_20 WHERE fat32 = "yes" AND refs = "no"
Which NTFS has a yes for FAT32 and a no for ReFS?
<s>[INST]Which NTFS has a yes for FAT32 and a no for ReFS? Context: CREATE TABLE table_name_20 (ntfs VARCHAR, fat32 VARCHAR, refs VARCHAR)[/INST]SELECT ntfs FROM table_name_20 WHERE fat32 = "yes" AND refs = "no"</s>
CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, pole_position VARCHAR)
SELECT fastest_lap FROM table_1140077_2 WHERE pole_position = "Gilles Villeneuve"
What is the fastest lap with pole position of gilles villeneuve?
<s>[INST]What is the fastest lap with pole position of gilles villeneuve? Context: CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, pole_position VARCHAR)[/INST]SELECT fastest_lap FROM table_1140077_2 WHERE pole_position = "Gilles Villeneuve"</s>
CREATE TABLE table_name_25 (richmond_ VARCHAR, staten_is VARCHAR)
SELECT 1953 FROM table_name_25 WHERE richmond_[staten_is] = "1,019"
What was the candidate that got 1,019 votes for staten island?
<s>[INST]What was the candidate that got 1,019 votes for staten island? Context: CREATE TABLE table_name_25 (richmond_ VARCHAR, staten_is VARCHAR)[/INST]SELECT 1953 FROM table_name_25 WHERE richmond_[staten_is] = "1,019"</s>
CREATE TABLE table_27704187_11 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_27704187_11 WHERE date = "April 8"
Who had the high rebounds on april 8?
<s>[INST]Who had the high rebounds on april 8? Context: CREATE TABLE table_27704187_11 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_27704187_11 WHERE date = "April 8"</s>
CREATE TABLE table_name_59 (opponent VARCHAR, week VARCHAR, stadium VARCHAR)
SELECT opponent FROM table_name_59 WHERE week > 7 AND stadium = "schaefer stadium"
Who was the opposing team at Schaefer Stadium later in the season than week 7?
<s>[INST]Who was the opposing team at Schaefer Stadium later in the season than week 7? Context: CREATE TABLE table_name_59 (opponent VARCHAR, week VARCHAR, stadium VARCHAR)[/INST]SELECT opponent FROM table_name_59 WHERE week > 7 AND stadium = "schaefer stadium"</s>
CREATE TABLE table_27112708_2 (general_classification VARCHAR, stage VARCHAR)
SELECT general_classification FROM table_27112708_2 WHERE stage = 4
Who is listed under general classification on stage 4?
<s>[INST]Who is listed under general classification on stage 4? Context: CREATE TABLE table_27112708_2 (general_classification VARCHAR, stage VARCHAR)[/INST]SELECT general_classification FROM table_27112708_2 WHERE stage = 4</s>
CREATE TABLE table_1977630_2 (vos__ VARCHAR, _ VARCHAR, él___ella___usted VARCHAR)
SELECT vos__ * _ FROM table_1977630_2 WHERE él___ella___usted = "muela"
What are the forms of the conjucated vos(*) where él / ella / usted is muela
<s>[INST]What are the forms of the conjucated vos(*) where él / ella / usted is muela Context: CREATE TABLE table_1977630_2 (vos__ VARCHAR, _ VARCHAR, él___ella___usted VARCHAR)[/INST]SELECT vos__ * _ FROM table_1977630_2 WHERE él___ella___usted = "muela"</s>
CREATE TABLE table (league_cup VARCHAR, r VARCHAR)
SELECT COUNT(league_cup) FROM table WHERE r = 4
How many times was the r 4?
<s>[INST]How many times was the r 4? Context: CREATE TABLE table (league_cup VARCHAR, r VARCHAR)[/INST]SELECT COUNT(league_cup) FROM table WHERE r = 4</s>
CREATE TABLE table_name_23 (party VARCHAR, state VARCHAR, electorate VARCHAR)
SELECT party FROM table_name_23 WHERE state = "vic" AND electorate = "wannon"
Which party had a member from the state of Vic and an Electorate called Wannon?
<s>[INST]Which party had a member from the state of Vic and an Electorate called Wannon? Context: CREATE TABLE table_name_23 (party VARCHAR, state VARCHAR, electorate VARCHAR)[/INST]SELECT party FROM table_name_23 WHERE state = "vic" AND electorate = "wannon"</s>
CREATE TABLE table_29289372_1 (city_municipality VARCHAR, area__km²_ VARCHAR)
SELECT city_municipality FROM table_29289372_1 WHERE area__km²_ = "106"
When 106 is the area in kilometers squared what is the city/municipality?
<s>[INST]When 106 is the area in kilometers squared what is the city/municipality? Context: CREATE TABLE table_29289372_1 (city_municipality VARCHAR, area__km²_ VARCHAR)[/INST]SELECT city_municipality FROM table_29289372_1 WHERE area__km²_ = "106"</s>
CREATE TABLE table_11734041_1 (years_for_rockets VARCHAR, position VARCHAR, school_club_team_country VARCHAR)
SELECT COUNT(years_for_rockets) FROM table_11734041_1 WHERE position = "Center" AND school_club_team_country = "Oral Roberts"
How many times did a center that attended Oral Roberts play for the Rockets?
<s>[INST]How many times did a center that attended Oral Roberts play for the Rockets? Context: CREATE TABLE table_11734041_1 (years_for_rockets VARCHAR, position VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT COUNT(years_for_rockets) FROM table_11734041_1 WHERE position = "Center" AND school_club_team_country ...
CREATE TABLE table_name_61 (duration VARCHAR, end_time VARCHAR)
SELECT duration FROM table_name_61 WHERE end_time = "21:06"
What is the duration of the flight with end time of 21:06?
<s>[INST]What is the duration of the flight with end time of 21:06? Context: CREATE TABLE table_name_61 (duration VARCHAR, end_time VARCHAR)[/INST]SELECT duration FROM table_name_61 WHERE end_time = "21:06"</s>
CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_37 WHERE opponent = "st. george illawarra dragons"
On what date was the match against the St. George Illawarra Dragons?
<s>[INST]On what date was the match against the St. George Illawarra Dragons? Context: CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_37 WHERE opponent = "st. george illawarra dragons"</s>
CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_45 WHERE nation = "austria" AND gold < 0
What is the full amount of Total for Austria when the number of gold is less than 0?
<s>[INST]What is the full amount of Total for Austria when the number of gold is less than 0? Context: CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT SUM(total) FROM table_name_45 WHERE nation = "austria" AND gold < 0</s>
CREATE TABLE table_name_77 (high_points VARCHAR, score VARCHAR)
SELECT high_points FROM table_name_77 WHERE score = "w 93-85"
Which player was the high points scorer during the game with an end score of W 93-85?
<s>[INST]Which player was the high points scorer during the game with an end score of W 93-85? Context: CREATE TABLE table_name_77 (high_points VARCHAR, score VARCHAR)[/INST]SELECT high_points FROM table_name_77 WHERE score = "w 93-85"</s>
CREATE TABLE table_name_27 (game INTEGER, score VARCHAR)
SELECT AVG(game) FROM table_name_27 WHERE score = "89-91"
What game has a score of 89-91?
<s>[INST]What game has a score of 89-91? Context: CREATE TABLE table_name_27 (game INTEGER, score VARCHAR)[/INST]SELECT AVG(game) FROM table_name_27 WHERE score = "89-91"</s>
CREATE TABLE table_name_15 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_15 WHERE date = "april 7"
Who had the highest rebounds of the game on April 7?
<s>[INST]Who had the highest rebounds of the game on April 7? Context: CREATE TABLE table_name_15 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_name_15 WHERE date = "april 7"</s>
CREATE TABLE table_name_6 (to_par INTEGER, player VARCHAR)
SELECT AVG(to_par) FROM table_name_6 WHERE player = "tom weiskopf"
What is the to par for Tom Weiskopf?
<s>[INST]What is the to par for Tom Weiskopf? Context: CREATE TABLE table_name_6 (to_par INTEGER, player VARCHAR)[/INST]SELECT AVG(to_par) FROM table_name_6 WHERE player = "tom weiskopf"</s>
CREATE TABLE table_15366849_1 (zone INTEGER)
SELECT MAX(zone) FROM table_15366849_1
What's the biggest zone?
<s>[INST]What's the biggest zone? Context: CREATE TABLE table_15366849_1 (zone INTEGER)[/INST]SELECT MAX(zone) FROM table_15366849_1</s>
CREATE TABLE table_name_57 (date VARCHAR, golden_tickets VARCHAR)
SELECT date FROM table_name_57 WHERE golden_tickets = 26
What was the date when there were 26 golden tickets?
<s>[INST]What was the date when there were 26 golden tickets? Context: CREATE TABLE table_name_57 (date VARCHAR, golden_tickets VARCHAR)[/INST]SELECT date FROM table_name_57 WHERE golden_tickets = 26</s>
CREATE TABLE table_name_35 (total INTEGER, e_score VARCHAR, t_score VARCHAR)
SELECT MAX(total) FROM table_name_35 WHERE e_score > 9.35 AND t_score < 4
How large was the total when the E Score was greater than 9.35 and T Score was less than 4?
<s>[INST]How large was the total when the E Score was greater than 9.35 and T Score was less than 4? Context: CREATE TABLE table_name_35 (total INTEGER, e_score VARCHAR, t_score VARCHAR)[/INST]SELECT MAX(total) FROM table_name_35 WHERE e_score > 9.35 AND t_score < 4</s>
CREATE TABLE table_name_78 (apparent_magnitude VARCHAR, object_type VARCHAR)
SELECT apparent_magnitude FROM table_name_78 WHERE object_type = "globular cluster"
What is the Apparent magnitude of a globular cluster?
<s>[INST]What is the Apparent magnitude of a globular cluster? Context: CREATE TABLE table_name_78 (apparent_magnitude VARCHAR, object_type VARCHAR)[/INST]SELECT apparent_magnitude FROM table_name_78 WHERE object_type = "globular cluster"</s>
CREATE TABLE table_name_94 (attendance VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT COUNT(attendance) FROM table_name_94 WHERE opponent = "mariners" AND score = "9-6"
How many people attended the game against the Mariners with a score of 9-6?
<s>[INST]How many people attended the game against the Mariners with a score of 9-6? Context: CREATE TABLE table_name_94 (attendance VARCHAR, opponent VARCHAR, score VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_94 WHERE opponent = "mariners" AND score = "9-6"</s>
CREATE TABLE table_name_74 (points VARCHAR, year VARCHAR, entrant VARCHAR, chassis VARCHAR)
SELECT COUNT(points) FROM table_name_74 WHERE entrant = "wolfgang seidel" AND chassis = "cooper t45" AND year > 1960
What is the number of points for the Entrant of wolfgang seidel and a Cooper t45 chassis later than 1960?
<s>[INST]What is the number of points for the Entrant of wolfgang seidel and a Cooper t45 chassis later than 1960? Context: CREATE TABLE table_name_74 (points VARCHAR, year VARCHAR, entrant VARCHAR, chassis VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_74 WHERE entrant = "wolfgang seidel" AND chassis = "cooper t4...
CREATE TABLE table_1342149_43 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342149_43 WHERE incumbent = "Wright Patman"
What party did incumbent Wright Patman belong to?
<s>[INST]What party did incumbent Wright Patman belong to? Context: CREATE TABLE table_1342149_43 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1342149_43 WHERE incumbent = "Wright Patman"</s>
CREATE TABLE table_28418916_3 (opponents_head_coach VARCHAR, fbs_opponent VARCHAR)
SELECT COUNT(opponents_head_coach) FROM table_28418916_3 WHERE fbs_opponent = "Kent State Golden Flashes"
How many head coaches did Kent state golden flashes have?
<s>[INST]How many head coaches did Kent state golden flashes have? Context: CREATE TABLE table_28418916_3 (opponents_head_coach VARCHAR, fbs_opponent VARCHAR)[/INST]SELECT COUNT(opponents_head_coach) FROM table_28418916_3 WHERE fbs_opponent = "Kent State Golden Flashes"</s>
CREATE TABLE table_name_70 (competition VARCHAR, notes VARCHAR)
SELECT competition FROM table_name_70 WHERE notes = "half marathon"
Tell me the competition for half marathon
<s>[INST]Tell me the competition for half marathon Context: CREATE TABLE table_name_70 (competition VARCHAR, notes VARCHAR)[/INST]SELECT competition FROM table_name_70 WHERE notes = "half marathon"</s>
CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_59 WHERE player = "leland gibson"
Name the To par for leland gibson
<s>[INST]Name the To par for leland gibson Context: CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_59 WHERE player = "leland gibson"</s>
CREATE TABLE table_name_16 (coefficient VARCHAR, parts_per_example VARCHAR)
SELECT coefficient FROM table_name_16 WHERE parts_per_example = "2 ppt"
What is the Coefficient of 2 ppt?
<s>[INST]What is the Coefficient of 2 ppt? Context: CREATE TABLE table_name_16 (coefficient VARCHAR, parts_per_example VARCHAR)[/INST]SELECT coefficient FROM table_name_16 WHERE parts_per_example = "2 ppt"</s>
CREATE TABLE table_name_23 (result VARCHAR, weight VARCHAR, race VARCHAR)
SELECT result FROM table_name_23 WHERE weight > 8.1 AND race = "sajc king's cup"
What is the result of the sajc king's cup race, which has a weight heavier than 8.1?
<s>[INST]What is the result of the sajc king's cup race, which has a weight heavier than 8.1? Context: CREATE TABLE table_name_23 (result VARCHAR, weight VARCHAR, race VARCHAR)[/INST]SELECT result FROM table_name_23 WHERE weight > 8.1 AND race = "sajc king's cup"</s>
CREATE TABLE table_name_90 (team_1 VARCHAR)
SELECT 1 AS st_round FROM table_name_90 WHERE team_1 = "angers sco (d1)"
Which first round has a first team of angers sco (d1)?
<s>[INST]Which first round has a first team of angers sco (d1)? Context: CREATE TABLE table_name_90 (team_1 VARCHAR)[/INST]SELECT 1 AS st_round FROM table_name_90 WHERE team_1 = "angers sco (d1)"</s>
CREATE TABLE table_name_29 (mls_team VARCHAR, affiliation VARCHAR)
SELECT mls_team FROM table_name_29 WHERE affiliation = "university of california"
Which MLS tea, drafted a player affilaited with the university of california?
<s>[INST]Which MLS tea, drafted a player affilaited with the university of california? Context: CREATE TABLE table_name_29 (mls_team VARCHAR, affiliation VARCHAR)[/INST]SELECT mls_team FROM table_name_29 WHERE affiliation = "university of california"</s>
CREATE TABLE festival_detail (Chair_Name VARCHAR, YEAR VARCHAR)
SELECT Chair_Name FROM festival_detail ORDER BY YEAR
What are the names of the chairs of festivals, sorted in ascending order of the year held?
<s>[INST]What are the names of the chairs of festivals, sorted in ascending order of the year held? Context: CREATE TABLE festival_detail (Chair_Name VARCHAR, YEAR VARCHAR)[/INST]SELECT Chair_Name FROM festival_detail ORDER BY YEAR</s>
CREATE TABLE table_name_91 (population INTEGER, town_status VARCHAR)
SELECT MAX(population) FROM table_name_91 WHERE town_status = "2010"
What is the highest population of a city that has a town status of 2010?
<s>[INST]What is the highest population of a city that has a town status of 2010? Context: CREATE TABLE table_name_91 (population INTEGER, town_status VARCHAR)[/INST]SELECT MAX(population) FROM table_name_91 WHERE town_status = "2010"</s>
CREATE TABLE table_14342480_15 (extra_points INTEGER)
SELECT MAX(extra_points) FROM table_14342480_15
What is the highest number of extra points?
<s>[INST]What is the highest number of extra points? Context: CREATE TABLE table_14342480_15 (extra_points INTEGER)[/INST]SELECT MAX(extra_points) FROM table_14342480_15</s>
CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR)
SELECT points AS defending FROM table_24431264_17 WHERE player = "Caroline Wozniacki"
List the total number of defense points for caroline wozniacki.
<s>[INST]List the total number of defense points for caroline wozniacki. Context: CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR)[/INST]SELECT points AS defending FROM table_24431264_17 WHERE player = "Caroline Wozniacki"</s>
CREATE TABLE table_name_57 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_57 WHERE date = "august 21"
What loss occurred on August 21?
<s>[INST]What loss occurred on August 21? Context: CREATE TABLE table_name_57 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_57 WHERE date = "august 21"</s>
CREATE TABLE table_name_72 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_72 WHERE player = "jim colbert"
What was Jim Colbert's score?
<s>[INST]What was Jim Colbert's score? Context: CREATE TABLE table_name_72 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_72 WHERE player = "jim colbert"</s>
CREATE TABLE table_2216245_2 (top_5 INTEGER, team_s_ VARCHAR)
SELECT MAX(top_5) FROM table_2216245_2 WHERE team_s_ = "#28/#49 Jay Robinson Racing"
How many top 5s when he was on team #28/#49 jay robinson racing?
<s>[INST]How many top 5s when he was on team #28/#49 jay robinson racing? Context: CREATE TABLE table_2216245_2 (top_5 INTEGER, team_s_ VARCHAR)[/INST]SELECT MAX(top_5) FROM table_2216245_2 WHERE team_s_ = "#28/#49 Jay Robinson Racing"</s>
CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR)
SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = "1.1%"
What percentage of voters chose McCain in the county where 1.1% of voters voted third party?
<s>[INST]What percentage of voters chose McCain in the county where 1.1% of voters voted third party? Context: CREATE TABLE table_20278716_2 (mccain__percentage VARCHAR, others__percentage VARCHAR)[/INST]SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = "1.1%"</s>
CREATE TABLE table_name_97 (country VARCHAR, label VARCHAR)
SELECT country FROM table_name_97 WHERE label = "debemur morti prod."
What country is the Debemur Morti prod. label from?
<s>[INST]What country is the Debemur Morti prod. label from? Context: CREATE TABLE table_name_97 (country VARCHAR, label VARCHAR)[/INST]SELECT country FROM table_name_97 WHERE label = "debemur morti prod."</s>
CREATE TABLE table_name_54 (tournament VARCHAR)
SELECT tournament FROM table_name_54 WHERE 2008 = "2r"
Which tournament has a value of 2R in 2008?
<s>[INST]Which tournament has a value of 2R in 2008? Context: CREATE TABLE table_name_54 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_54 WHERE 2008 = "2r"</s>
CREATE TABLE Customers_cards (Id VARCHAR)
SELECT COUNT(*) FROM Customers_cards
Show the number of customer cards.
<s>[INST]Show the number of customer cards. Context: CREATE TABLE Customers_cards (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Customers_cards</s>
CREATE TABLE table_name_78 (commissioned VARCHAR, laid_down VARCHAR)
SELECT commissioned FROM table_name_78 WHERE laid_down = "6 september 2003"
What is Commissioned, when Laid Down is "6 September 2003"?
<s>[INST]What is Commissioned, when Laid Down is "6 September 2003"? Context: CREATE TABLE table_name_78 (commissioned VARCHAR, laid_down VARCHAR)[/INST]SELECT commissioned FROM table_name_78 WHERE laid_down = "6 september 2003"</s>
CREATE TABLE table_name_75 (opponent VARCHAR, round VARCHAR, season VARCHAR)
SELECT opponent FROM table_name_75 WHERE round = "q2" AND season = "2005–06"
What is the Opponent with a Round of q2, in the 2005–06 season?
<s>[INST]What is the Opponent with a Round of q2, in the 2005–06 season? Context: CREATE TABLE table_name_75 (opponent VARCHAR, round VARCHAR, season VARCHAR)[/INST]SELECT opponent FROM table_name_75 WHERE round = "q2" AND season = "2005–06"</s>
CREATE TABLE table_20590020_2 (player VARCHAR, cuts_made VARCHAR)
SELECT player FROM table_20590020_2 WHERE cuts_made = 8
Which players made exactly 8 cuts?
<s>[INST]Which players made exactly 8 cuts? Context: CREATE TABLE table_20590020_2 (player VARCHAR, cuts_made VARCHAR)[/INST]SELECT player FROM table_20590020_2 WHERE cuts_made = 8</s>
CREATE TABLE table_name_57 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR)
SELECT MAX(number_of_households) FROM table_name_57 WHERE per_capita_income = "$25,557" AND population < 22 OFFSET 330
What is the highest Number of Households, when Per Capita Income is "$25,557", and when Population is less than "22,330"?
<s>[INST]What is the highest Number of Households, when Per Capita Income is "$25,557", and when Population is less than "22,330"? Context: CREATE TABLE table_name_57 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR)[/INST]SELECT MAX(number_of_households) FROM table_name_57 WHERE per_capita_...
CREATE TABLE table_name_99 (attendance__away_ INTEGER, venue VARCHAR, date VARCHAR)
SELECT MIN(attendance__away_) FROM table_name_99 WHERE venue = "away" AND date = "24 august 2007"
Name the least attendance with venue of away on 24 august 2007
<s>[INST]Name the least attendance with venue of away on 24 august 2007 Context: CREATE TABLE table_name_99 (attendance__away_ INTEGER, venue VARCHAR, date VARCHAR)[/INST]SELECT MIN(attendance__away_) FROM table_name_99 WHERE venue = "away" AND date = "24 august 2007"</s>
CREATE TABLE table_name_2 (le_5_model VARCHAR, le_5A VARCHAR)
SELECT le_5_model FROM table_name_2 WHERE le_5A = 130
Which LE-5 Model has an LE-5A of 130?
<s>[INST]Which LE-5 Model has an LE-5A of 130? Context: CREATE TABLE table_name_2 (le_5_model VARCHAR, le_5A VARCHAR)[/INST]SELECT le_5_model FROM table_name_2 WHERE le_5A = 130</s>
CREATE TABLE table_27733909_1 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_27733909_1 WHERE date = "October 20"
what is the most number where the calendar shows october 20
<s>[INST]what is the most number where the calendar shows october 20 Context: CREATE TABLE table_27733909_1 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_27733909_1 WHERE date = "October 20"</s>
CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_80 WHERE date = "17 december 1979"
Name the Score on 17 december 1979?
<s>[INST]Name the Score on 17 december 1979? Context: CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_80 WHERE date = "17 december 1979"</s>
CREATE TABLE product (product VARCHAR)
SELECT product FROM product WHERE product LIKE "%Scanner%"
Find all the product whose name contains the word "Scanner".
<s>[INST]Find all the product whose name contains the word "Scanner". Context: CREATE TABLE product (product VARCHAR)[/INST]SELECT product FROM product WHERE product LIKE "%Scanner%"</s>
CREATE TABLE table_20278716_2 (county VARCHAR, others__number VARCHAR)
SELECT county FROM table_20278716_2 WHERE others__number = 915
What county had 915 third party voters?
<s>[INST]What county had 915 third party voters? Context: CREATE TABLE table_20278716_2 (county VARCHAR, others__number VARCHAR)[/INST]SELECT county FROM table_20278716_2 WHERE others__number = 915</s>
CREATE TABLE table_name_82 (year VARCHAR, role_episode VARCHAR)
SELECT year FROM table_name_82 WHERE role_episode = "david duchovny"
what is the year when the role/episode is david duchovny?
<s>[INST]what is the year when the role/episode is david duchovny? Context: CREATE TABLE table_name_82 (year VARCHAR, role_episode VARCHAR)[/INST]SELECT year FROM table_name_82 WHERE role_episode = "david duchovny"</s>
CREATE TABLE table_1341930_10 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1341930_10 WHERE incumbent = "Paul Rogers"
When was Paul Rogers first elected?
<s>[INST]When was Paul Rogers first elected? Context: CREATE TABLE table_1341930_10 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT first_elected FROM table_1341930_10 WHERE incumbent = "Paul Rogers"</s>
CREATE TABLE table_name_74 (fa_cup INTEGER, championship VARCHAR, total VARCHAR)
SELECT MAX(fa_cup) FROM table_name_74 WHERE championship = 18 AND total = 19
Name the most FA cup for championship of 18 and total of 19
<s>[INST]Name the most FA cup for championship of 18 and total of 19 Context: CREATE TABLE table_name_74 (fa_cup INTEGER, championship VARCHAR, total VARCHAR)[/INST]SELECT MAX(fa_cup) FROM table_name_74 WHERE championship = 18 AND total = 19</s>
CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR)
SELECT total FROM table_21249915_1 WHERE department = "Chuquisaca"
What is the total for Chuquisaca?
<s>[INST]What is the total for Chuquisaca? Context: CREATE TABLE table_21249915_1 (total VARCHAR, department VARCHAR)[/INST]SELECT total FROM table_21249915_1 WHERE department = "Chuquisaca"</s>
CREATE TABLE table_name_45 (Id VARCHAR)
SELECT 2009 FROM table_name_45 WHERE 2011 = "39th"
What 2009 has 39th as the 2011?
<s>[INST]What 2009 has 39th as the 2011? Context: CREATE TABLE table_name_45 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_45 WHERE 2011 = "39th"</s>
CREATE TABLE table_name_13 (result VARCHAR, rank VARCHAR)
SELECT result FROM table_name_13 WHERE rank = 12
what is the result when the rank is 12?
<s>[INST]what is the result when the rank is 12? Context: CREATE TABLE table_name_13 (result VARCHAR, rank VARCHAR)[/INST]SELECT result FROM table_name_13 WHERE rank = 12</s>
CREATE TABLE table_name_93 (score VARCHAR, name VARCHAR, champion VARCHAR)
SELECT score FROM table_name_93 WHERE name = "nice international championships" AND champion = "björn borg"
What's the score of the Nice International Championships where Björn Borg was the champion?
<s>[INST]What's the score of the Nice International Championships where Björn Borg was the champion? Context: CREATE TABLE table_name_93 (score VARCHAR, name VARCHAR, champion VARCHAR)[/INST]SELECT score FROM table_name_93 WHERE name = "nice international championships" AND champion = "björn borg"</s>
CREATE TABLE table_name_70 (name VARCHAR, weight VARCHAR)
SELECT name FROM table_name_70 WHERE weight = "head coach: aleksandr kabanov"
What is the name when weight shows head coach: Aleksandr Kabanov?
<s>[INST]What is the name when weight shows head coach: Aleksandr Kabanov? Context: CREATE TABLE table_name_70 (name VARCHAR, weight VARCHAR)[/INST]SELECT name FROM table_name_70 WHERE weight = "head coach: aleksandr kabanov"</s>
CREATE TABLE table_name_14 (game INTEGER, points INTEGER)
SELECT MIN(game) FROM table_name_14 WHERE points < 92
Which Game is the lowest one that has Points smaller than 92?
<s>[INST]Which Game is the lowest one that has Points smaller than 92? Context: CREATE TABLE table_name_14 (game INTEGER, points INTEGER)[/INST]SELECT MIN(game) FROM table_name_14 WHERE points < 92</s>
CREATE TABLE table_name_81 (year INTEGER, venue VARCHAR)
SELECT AVG(year) FROM table_name_81 WHERE venue = "doha, qatar"
What's the average of all years tournaments were hosted in Doha, Qatar?
<s>[INST]What's the average of all years tournaments were hosted in Doha, Qatar? Context: CREATE TABLE table_name_81 (year INTEGER, venue VARCHAR)[/INST]SELECT AVG(year) FROM table_name_81 WHERE venue = "doha, qatar"</s>
CREATE TABLE table_2472711_31 (last_year INTEGER, lowest VARCHAR)
SELECT MAX(last_year) FROM table_2472711_31 WHERE lowest = 23578
What is the last year total for the team with a lowest of 23578?
<s>[INST]What is the last year total for the team with a lowest of 23578? Context: CREATE TABLE table_2472711_31 (last_year INTEGER, lowest VARCHAR)[/INST]SELECT MAX(last_year) FROM table_2472711_31 WHERE lowest = 23578</s>
CREATE TABLE table_21550870_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT original_air_date FROM table_21550870_1 WHERE us_viewers__million_ = "9.16"
Name the original air date for 9.16 viewers
<s>[INST]Name the original air date for 9.16 viewers Context: CREATE TABLE table_21550870_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT original_air_date FROM table_21550870_1 WHERE us_viewers__million_ = "9.16"</s>
CREATE TABLE table_2417345_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)
SELECT successor FROM table_2417345_3 WHERE date_of_successors_formal_installation = "February 23, 1870"
Who were the successors when the date the successors were installed was February 23, 1870?
<s>[INST]Who were the successors when the date the successors were installed was February 23, 1870? Context: CREATE TABLE table_2417345_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)[/INST]SELECT successor FROM table_2417345_3 WHERE date_of_successors_formal_installation = "February 23, 1870"</s>
CREATE TABLE table_name_69 (constructor VARCHAR, entrant VARCHAR, rounds VARCHAR)
SELECT constructor FROM table_name_69 WHERE entrant = "jo bonnier" AND rounds = "6"
What was the constructor for jo bonnier of 6 rounds?
<s>[INST]What was the constructor for jo bonnier of 6 rounds? Context: CREATE TABLE table_name_69 (constructor VARCHAR, entrant VARCHAR, rounds VARCHAR)[/INST]SELECT constructor FROM table_name_69 WHERE entrant = "jo bonnier" AND rounds = "6"</s>
CREATE TABLE table_15081939_4 (province VARCHAR, swimsuit VARCHAR)
SELECT province FROM table_15081939_4 WHERE swimsuit = "8.43"
Which province got a swimsuit score of 8.43
<s>[INST]Which province got a swimsuit score of 8.43 Context: CREATE TABLE table_15081939_4 (province VARCHAR, swimsuit VARCHAR)[/INST]SELECT province FROM table_15081939_4 WHERE swimsuit = "8.43"</s>
CREATE TABLE table_2523809_1 (coverage VARCHAR, callsign VARCHAR)
SELECT coverage FROM table_2523809_1 WHERE callsign = "KPNZ-TV"
Which city did kpnz-tv provide coverage for?
<s>[INST]Which city did kpnz-tv provide coverage for? Context: CREATE TABLE table_2523809_1 (coverage VARCHAR, callsign VARCHAR)[/INST]SELECT coverage FROM table_2523809_1 WHERE callsign = "KPNZ-TV"</s>
CREATE TABLE table_name_50 (notes VARCHAR, year INTEGER)
SELECT notes FROM table_name_50 WHERE year < 2010
What notes are for years earlier than 2010?
<s>[INST]What notes are for years earlier than 2010? Context: CREATE TABLE table_name_50 (notes VARCHAR, year INTEGER)[/INST]SELECT notes FROM table_name_50 WHERE year < 2010</s>
CREATE TABLE table_name_25 (score VARCHAR, att VARCHAR)
SELECT score FROM table_name_25 WHERE att = 354
What was the score for the matchup having attendance of 354?
<s>[INST]What was the score for the matchup having attendance of 354? Context: CREATE TABLE table_name_25 (score VARCHAR, att VARCHAR)[/INST]SELECT score FROM table_name_25 WHERE att = 354</s>
CREATE TABLE table_24319661_5 (production_code VARCHAR, directed_by VARCHAR)
SELECT production_code FROM table_24319661_5 WHERE directed_by = "Robert Duncan McNeill"
What as the production code for the episode directed by Robert Duncan McNeill?
<s>[INST]What as the production code for the episode directed by Robert Duncan McNeill? Context: CREATE TABLE table_24319661_5 (production_code VARCHAR, directed_by VARCHAR)[/INST]SELECT production_code FROM table_24319661_5 WHERE directed_by = "Robert Duncan McNeill"</s>
CREATE TABLE table_name_54 (round INTEGER, opponent VARCHAR)
SELECT AVG(round) FROM table_name_54 WHERE opponent = "clay guida"
What is the average number of rounds when fighting against Clay Guida?
<s>[INST]What is the average number of rounds when fighting against Clay Guida? Context: CREATE TABLE table_name_54 (round INTEGER, opponent VARCHAR)[/INST]SELECT AVG(round) FROM table_name_54 WHERE opponent = "clay guida"</s>
CREATE TABLE table_name_99 (original_title VARCHAR, winner_and_nominees VARCHAR)
SELECT original_title FROM table_name_99 WHERE winner_and_nominees = "the king's speech"
What was the original title of the king's speech?
<s>[INST]What was the original title of the king's speech? Context: CREATE TABLE table_name_99 (original_title VARCHAR, winner_and_nominees VARCHAR)[/INST]SELECT original_title FROM table_name_99 WHERE winner_and_nominees = "the king's speech"</s>
CREATE TABLE table_name_75 (date VARCHAR, event VARCHAR)
SELECT date FROM table_name_75 WHERE event = "team pursuit (8 laps)"
On what date was a record set in the team pursuit (8 laps) event?
<s>[INST]On what date was a record set in the team pursuit (8 laps) event? Context: CREATE TABLE table_name_75 (date VARCHAR, event VARCHAR)[/INST]SELECT date FROM table_name_75 WHERE event = "team pursuit (8 laps)"</s>
CREATE TABLE table_name_27 (total INTEGER, rank VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT AVG(total) FROM table_name_27 WHERE bronze > 2 AND gold < 16 AND silver = 0 AND rank = "13"
Which Total has a Bronze larger than 2, a Gold smaller than 16, a Silver of 0, and a Rank of 13?
<s>[INST]Which Total has a Bronze larger than 2, a Gold smaller than 16, a Silver of 0, and a Rank of 13? Context: CREATE TABLE table_name_27 (total INTEGER, rank VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT AVG(total) FROM table_name_27 WHERE bronze > 2 AND gold < 16 AND silver = 0 AND rank = "1...
CREATE TABLE table_name_81 (team VARCHAR, player VARCHAR)
SELECT team FROM table_name_81 WHERE player = "a.j. moye"
Which Team has the Player of A.J. Moye?
<s>[INST]Which Team has the Player of A.J. Moye? Context: CREATE TABLE table_name_81 (team VARCHAR, player VARCHAR)[/INST]SELECT team FROM table_name_81 WHERE player = "a.j. moye"</s>
CREATE TABLE table_name_40 (date VARCHAR, player VARCHAR)
SELECT date FROM table_name_40 WHERE player = "wilbert robinson"
Which date is associated with the player Wilbert Robinson?
<s>[INST]Which date is associated with the player Wilbert Robinson? Context: CREATE TABLE table_name_40 (date VARCHAR, player VARCHAR)[/INST]SELECT date FROM table_name_40 WHERE player = "wilbert robinson"</s>
CREATE TABLE table_name_23 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_23 WHERE date = "september 16"
What is the average number in attendance on September 16?
<s>[INST]What is the average number in attendance on September 16? Context: CREATE TABLE table_name_23 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_23 WHERE date = "september 16"</s>
CREATE TABLE table_name_49 (socialist_labor_ticket VARCHAR, republican_ticket VARCHAR)
SELECT socialist_labor_ticket FROM table_name_49 WHERE republican_ticket = "cuthbert w. pound"
Who's the Socialist Labor ticket with a Republican ticket of cuthbert w. pound?
<s>[INST]Who's the Socialist Labor ticket with a Republican ticket of cuthbert w. pound? Context: CREATE TABLE table_name_49 (socialist_labor_ticket VARCHAR, republican_ticket VARCHAR)[/INST]SELECT socialist_labor_ticket FROM table_name_49 WHERE republican_ticket = "cuthbert w. pound"</s>
CREATE TABLE table_name_64 (moving_to VARCHAR, transfer_fee VARCHAR, name VARCHAR)
SELECT moving_to FROM table_name_64 WHERE transfer_fee = "undisclosed" AND name = "odjidja-ofoe"
Where is Odjidja-Ofoe, with an undisclosed transfer fee, moving to?
<s>[INST]Where is Odjidja-Ofoe, with an undisclosed transfer fee, moving to? Context: CREATE TABLE table_name_64 (moving_to VARCHAR, transfer_fee VARCHAR, name VARCHAR)[/INST]SELECT moving_to FROM table_name_64 WHERE transfer_fee = "undisclosed" AND name = "odjidja-ofoe"</s>