context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_34 (constructor VARCHAR, race VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
SELECT constructor FROM table_name_34 WHERE winning_driver = "jim clark" AND pole_position = "graham hill" AND race = "dutch grand prix"
I want the constructor for winning driver of jim clark, pole position of graham hill and dutch grand prix
<s>[INST]I want the constructor for winning driver of jim clark, pole position of graham hill and dutch grand prix Context: CREATE TABLE table_name_34 (constructor VARCHAR, race VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)[/INST]SELECT constructor FROM table_name_34 WHERE winning_driver = "jim clark" AND pol...
CREATE TABLE table_name_13 (league VARCHAR, years VARCHAR)
SELECT league AS Cup FROM table_name_13 WHERE years = "1991–present"
What is the League Cup value for 1991–present?
<s>[INST]What is the League Cup value for 1991–present? Context: CREATE TABLE table_name_13 (league VARCHAR, years VARCHAR)[/INST]SELECT league AS Cup FROM table_name_13 WHERE years = "1991–present"</s>
CREATE TABLE table_name_56 (subject INTEGER, plural VARCHAR)
SELECT AVG(subject) FROM table_name_56 WHERE plural = "am(ô)ra (we)"
What subject has a plural of am(ô)ra (we)?
<s>[INST]What subject has a plural of am(ô)ra (we)? Context: CREATE TABLE table_name_56 (subject INTEGER, plural VARCHAR)[/INST]SELECT AVG(subject) FROM table_name_56 WHERE plural = "am(ô)ra (we)"</s>
CREATE TABLE table_name_20 (status VARCHAR, against INTEGER)
SELECT status FROM table_name_20 WHERE against > 22
What is the status of the game where there was more than 22 against?
<s>[INST]What is the status of the game where there was more than 22 against? Context: CREATE TABLE table_name_20 (status VARCHAR, against INTEGER)[/INST]SELECT status FROM table_name_20 WHERE against > 22</s>
CREATE TABLE table_name_23 (competition VARCHAR, position VARCHAR, year VARCHAR)
SELECT competition FROM table_name_23 WHERE position = "2nd" AND year > 2005
Tell me the competition for 2nd position with year more than 2005
<s>[INST]Tell me the competition for 2nd position with year more than 2005 Context: CREATE TABLE table_name_23 (competition VARCHAR, position VARCHAR, year VARCHAR)[/INST]SELECT competition FROM table_name_23 WHERE position = "2nd" AND year > 2005</s>
CREATE TABLE table_name_79 (grid INTEGER, team VARCHAR, points VARCHAR)
SELECT MIN(grid) FROM table_name_79 WHERE team = "mi-jack conquest racing" AND points = "16"
What is the smallest grid value that had 16 points and a team of Mi-Jack Conquest Racing?
<s>[INST]What is the smallest grid value that had 16 points and a team of Mi-Jack Conquest Racing? Context: CREATE TABLE table_name_79 (grid INTEGER, team VARCHAR, points VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_79 WHERE team = "mi-jack conquest racing" AND points = "16"</s>
CREATE TABLE table_247955_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
SELECT margin_of_victory FROM table_247955_2 WHERE runner_s__up = "K. J. Choi"
What was the margin of victory when runner-up was K. J. Choi?
<s>[INST]What was the margin of victory when runner-up was K. J. Choi? Context: CREATE TABLE table_247955_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR)[/INST]SELECT margin_of_victory FROM table_247955_2 WHERE runner_s__up = "K. J. Choi"</s>
CREATE TABLE table_27547668_4 (directed_by VARCHAR, written_by VARCHAR)
SELECT COUNT(directed_by) FROM table_27547668_4 WHERE written_by = "John Callaghan"
what is the total number of films directy and written by john callaghan?
<s>[INST]what is the total number of films directy and written by john callaghan? Context: CREATE TABLE table_27547668_4 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_27547668_4 WHERE written_by = "John Callaghan"</s>
CREATE TABLE table_23274514_4 (high_points VARCHAR, record VARCHAR)
SELECT high_points FROM table_23274514_4 WHERE record = "2-7"
Who had the highest points during the game with a record of 2-7?
<s>[INST]Who had the highest points during the game with a record of 2-7? Context: CREATE TABLE table_23274514_4 (high_points VARCHAR, record VARCHAR)[/INST]SELECT high_points FROM table_23274514_4 WHERE record = "2-7"</s>
CREATE TABLE table_name_89 (bronze VARCHAR, total VARCHAR)
SELECT COUNT(bronze) FROM table_name_89 WHERE total = 135
What nation had 135 Bronze medals?
<s>[INST]What nation had 135 Bronze medals? Context: CREATE TABLE table_name_89 (bronze VARCHAR, total VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_89 WHERE total = 135</s>
CREATE TABLE table_name_92 (chassis VARCHAR, engine VARCHAR)
SELECT chassis FROM table_name_92 WHERE engine = "brm v8"
What chassis did the BRM V8 engine have?
<s>[INST]What chassis did the BRM V8 engine have? Context: CREATE TABLE table_name_92 (chassis VARCHAR, engine VARCHAR)[/INST]SELECT chassis FROM table_name_92 WHERE engine = "brm v8"</s>
CREATE TABLE table_name_92 (to_par VARCHAR, score VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_92 WHERE score = 68 AND player = "tom kite"
What is Tom Kite with a Score of 68's To Par?
<s>[INST]What is Tom Kite with a Score of 68's To Par? Context: CREATE TABLE table_name_92 (to_par VARCHAR, score VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_92 WHERE score = 68 AND player = "tom kite"</s>
CREATE TABLE table_2781227_4 (position VARCHAR, player VARCHAR)
SELECT COUNT(position) FROM table_2781227_4 WHERE player = "John Jakopin"
For player is john jakopin mention the total number of position
<s>[INST]For player is john jakopin mention the total number of position Context: CREATE TABLE table_2781227_4 (position VARCHAR, player VARCHAR)[/INST]SELECT COUNT(position) FROM table_2781227_4 WHERE player = "John Jakopin"</s>
CREATE TABLE Manufacturers (name VARCHAR, code VARCHAR); CREATE TABLE products (Name VARCHAR, Price INTEGER, manufacturer VARCHAR)
SELECT T1.Name, MAX(T1.Price), T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.name
Select the name of each manufacturer along with the name and price of its most expensive product.
<s>[INST]Select the name of each manufacturer along with the name and price of its most expensive product. Context: CREATE TABLE Manufacturers (name VARCHAR, code VARCHAR); CREATE TABLE products (Name VARCHAR, Price INTEGER, manufacturer VARCHAR)[/INST]SELECT T1.Name, MAX(T1.Price), T2.name FROM products AS T1 JOIN Man...
CREATE TABLE table_14903081_1 (began INTEGER, country VARCHAR)
SELECT MIN(began) FROM table_14903081_1 WHERE country = "Italy"
What year was the tournament first held in Italy?
<s>[INST]What year was the tournament first held in Italy? Context: CREATE TABLE table_14903081_1 (began INTEGER, country VARCHAR)[/INST]SELECT MIN(began) FROM table_14903081_1 WHERE country = "Italy"</s>
CREATE TABLE table_name_27 (language VARCHAR, film_name VARCHAR)
SELECT language FROM table_name_27 WHERE film_name = "seethaiah"
what language is seethaiah in
<s>[INST]what language is seethaiah in Context: CREATE TABLE table_name_27 (language VARCHAR, film_name VARCHAR)[/INST]SELECT language FROM table_name_27 WHERE film_name = "seethaiah"</s>
CREATE TABLE table_name_70 (score VARCHAR, competition VARCHAR)
SELECT score FROM table_name_70 WHERE competition = "uefa euro 2012 qualifying"
Which Score has a Competition of uefa euro 2012 qualifying?
<s>[INST]Which Score has a Competition of uefa euro 2012 qualifying? Context: CREATE TABLE table_name_70 (score VARCHAR, competition VARCHAR)[/INST]SELECT score FROM table_name_70 WHERE competition = "uefa euro 2012 qualifying"</s>
CREATE TABLE table_name_83 (goals INTEGER, apps VARCHAR, country VARCHAR, name VARCHAR)
SELECT SUM(goals) FROM table_name_83 WHERE country = "wal" AND name = "smith" AND apps > 0
what is the goals when the country is wal, the name is smith and apps is more than 0?
<s>[INST]what is the goals when the country is wal, the name is smith and apps is more than 0? Context: CREATE TABLE table_name_83 (goals INTEGER, apps VARCHAR, country VARCHAR, name VARCHAR)[/INST]SELECT SUM(goals) FROM table_name_83 WHERE country = "wal" AND name = "smith" AND apps > 0</s>
CREATE TABLE table_name_81 (time VARCHAR, rider VARCHAR, bike VARCHAR, grid VARCHAR)
SELECT time FROM table_name_81 WHERE bike = "yamaha yzf-r6" AND grid > 1 AND rider = "david salom"
What is the time recorded by David Salom on his Yamaha yzf-r6 when his grid was larger than 1?
<s>[INST]What is the time recorded by David Salom on his Yamaha yzf-r6 when his grid was larger than 1? Context: CREATE TABLE table_name_81 (time VARCHAR, rider VARCHAR, bike VARCHAR, grid VARCHAR)[/INST]SELECT time FROM table_name_81 WHERE bike = "yamaha yzf-r6" AND grid > 1 AND rider = "david salom"</s>
CREATE TABLE table_22665117_1 (date_opened VARCHAR, dist_id VARCHAR)
SELECT date_opened FROM table_22665117_1 WHERE dist_id = 11901
What is the date opened if thedistrict ID is 11901?
<s>[INST]What is the date opened if thedistrict ID is 11901? Context: CREATE TABLE table_22665117_1 (date_opened VARCHAR, dist_id VARCHAR)[/INST]SELECT date_opened FROM table_22665117_1 WHERE dist_id = 11901</s>
CREATE TABLE table_name_67 (lane INTEGER, react VARCHAR)
SELECT MIN(lane) FROM table_name_67 WHERE react = 0.216
What is the lowest lane with a 0.216 react?
<s>[INST]What is the lowest lane with a 0.216 react? Context: CREATE TABLE table_name_67 (lane INTEGER, react VARCHAR)[/INST]SELECT MIN(lane) FROM table_name_67 WHERE react = 0.216</s>
CREATE TABLE table_22848931_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)
SELECT COUNT(outgoing_manager) FROM table_22848931_3 WHERE date_of_vacancy = "10 June 2009"
Name the outgoing manager for 10 june 2009
<s>[INST]Name the outgoing manager for 10 june 2009 Context: CREATE TABLE table_22848931_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)[/INST]SELECT COUNT(outgoing_manager) FROM table_22848931_3 WHERE date_of_vacancy = "10 June 2009"</s>
CREATE TABLE table_name_15 (years VARCHAR, tied VARCHAR, pct VARCHAR)
SELECT years FROM table_name_15 WHERE tied < 31 AND pct = 0.5451
How many years for the team with under 31 ties and a percentage of 0.5451?
<s>[INST]How many years for the team with under 31 ties and a percentage of 0.5451? Context: CREATE TABLE table_name_15 (years VARCHAR, tied VARCHAR, pct VARCHAR)[/INST]SELECT years FROM table_name_15 WHERE tied < 31 AND pct = 0.5451</s>
CREATE TABLE table_name_99 (competition VARCHAR, notes VARCHAR)
SELECT competition FROM table_name_99 WHERE notes = "1.90 m"
In which competition(s) did Iljuštšenko jump 1.90 m?
<s>[INST]In which competition(s) did Iljuštšenko jump 1.90 m? Context: CREATE TABLE table_name_99 (competition VARCHAR, notes VARCHAR)[/INST]SELECT competition FROM table_name_99 WHERE notes = "1.90 m"</s>
CREATE TABLE table_name_78 (name VARCHAR, position VARCHAR, lost VARCHAR)
SELECT name FROM table_name_78 WHERE position < 4 AND lost = 2
Which name was in a position less than 4 with 2 losses?
<s>[INST]Which name was in a position less than 4 with 2 losses? Context: CREATE TABLE table_name_78 (name VARCHAR, position VARCHAR, lost VARCHAR)[/INST]SELECT name FROM table_name_78 WHERE position < 4 AND lost = 2</s>
CREATE TABLE table_name_29 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_29 WHERE score = 72 - 71 - 68 = 211
What To par scored 72-71-68=211?
<s>[INST]What To par scored 72-71-68=211? Context: CREATE TABLE table_name_29 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_29 WHERE score = 72 - 71 - 68 = 211</s>
CREATE TABLE table_name_90 (attendance VARCHAR, opponent VARCHAR)
SELECT COUNT(attendance) FROM table_name_90 WHERE opponent = "swindon wildcats"
How much Attendance has an Opponent of swindon wildcats?
<s>[INST]How much Attendance has an Opponent of swindon wildcats? Context: CREATE TABLE table_name_90 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_90 WHERE opponent = "swindon wildcats"</s>
CREATE TABLE table_name_70 (date VARCHAR, region VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_70 WHERE region = "europe" AND catalog = "28765 22392 8"
What's the Date for the Region of Europe and has the Catalog of 28765 22392 8?
<s>[INST]What's the Date for the Region of Europe and has the Catalog of 28765 22392 8? Context: CREATE TABLE table_name_70 (date VARCHAR, region VARCHAR, catalog VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE region = "europe" AND catalog = "28765 22392 8"</s>
CREATE TABLE table_name_62 (finish VARCHAR, engine VARCHAR, start VARCHAR)
SELECT finish FROM table_name_62 WHERE engine = "buick" AND start = "16th"
What was Andretti's finish the year he started 16th with a Buick engine?
<s>[INST]What was Andretti's finish the year he started 16th with a Buick engine? Context: CREATE TABLE table_name_62 (finish VARCHAR, engine VARCHAR, start VARCHAR)[/INST]SELECT finish FROM table_name_62 WHERE engine = "buick" AND start = "16th"</s>
CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR)
SELECT scores FROM table_23575917_6 WHERE lees_team = "Kevin Bridges and Katy Wix"
When kevin bridges and katy wix are both on the less team what is the score?
<s>[INST]When kevin bridges and katy wix are both on the less team what is the score? Context: CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR)[/INST]SELECT scores FROM table_23575917_6 WHERE lees_team = "Kevin Bridges and Katy Wix"</s>
CREATE TABLE table_name_9 (run_1 VARCHAR, run_3 VARCHAR, run_4 VARCHAR)
SELECT run_1 FROM table_name_9 WHERE run_3 = "1:21.4" AND run_4 = "1:23.0"
What was the run 1 for the team with a run 3 of 1:21.4 and a run 4 of 1:23.0?
<s>[INST]What was the run 1 for the team with a run 3 of 1:21.4 and a run 4 of 1:23.0? Context: CREATE TABLE table_name_9 (run_1 VARCHAR, run_3 VARCHAR, run_4 VARCHAR)[/INST]SELECT run_1 FROM table_name_9 WHERE run_3 = "1:21.4" AND run_4 = "1:23.0"</s>
CREATE TABLE table_name_13 (Local VARCHAR, local_position VARCHAR, mission VARCHAR)
SELECT Local AS mission FROM table_name_13 WHERE local_position = "ambassador" AND mission = "suriname"
What is the local mission that has ambassador as the local position, and a mission of suriname?
<s>[INST]What is the local mission that has ambassador as the local position, and a mission of suriname? Context: CREATE TABLE table_name_13 (Local VARCHAR, local_position VARCHAR, mission VARCHAR)[/INST]SELECT Local AS mission FROM table_name_13 WHERE local_position = "ambassador" AND mission = "suriname"</s>
CREATE TABLE Products (Product_Type_Code VARCHAR)
SELECT Product_Type_Code, COUNT(*) FROM Products GROUP BY Product_Type_Code
Show different type codes of products and the number of products with each type code.
<s>[INST]Show different type codes of products and the number of products with each type code. Context: CREATE TABLE Products (Product_Type_Code VARCHAR)[/INST]SELECT Product_Type_Code, COUNT(*) FROM Products GROUP BY Product_Type_Code</s>
CREATE TABLE table_name_83 (venue VARCHAR, score VARCHAR, year VARCHAR)
SELECT venue FROM table_name_83 WHERE score = "3 & 2" AND year = "1965"
What venue has 3 & 2 as the score, and 1965 as the year?
<s>[INST]What venue has 3 & 2 as the score, and 1965 as the year? Context: CREATE TABLE table_name_83 (venue VARCHAR, score VARCHAR, year VARCHAR)[/INST]SELECT venue FROM table_name_83 WHERE score = "3 & 2" AND year = "1965"</s>
CREATE TABLE table_name_52 (games VARCHAR, pen_min VARCHAR)
SELECT games FROM table_name_52 WHERE pen_min = "22"
How many games were played by the player who had 22 penalty minutes?
<s>[INST]How many games were played by the player who had 22 penalty minutes? Context: CREATE TABLE table_name_52 (games VARCHAR, pen_min VARCHAR)[/INST]SELECT games FROM table_name_52 WHERE pen_min = "22"</s>
CREATE TABLE table_name_5 (purse__ INTEGER, tournament VARCHAR)
SELECT SUM(purse__) AS $__ FROM table_name_5 WHERE tournament = "royal caribbean golf classic"
What is the purse total for the royal caribbean golf classic?
<s>[INST]What is the purse total for the royal caribbean golf classic? Context: CREATE TABLE table_name_5 (purse__ INTEGER, tournament VARCHAR)[/INST]SELECT SUM(purse__) AS $__ FROM table_name_5 WHERE tournament = "royal caribbean golf classic"</s>
CREATE TABLE table_17340355_9 (record VARCHAR, date VARCHAR)
SELECT record FROM table_17340355_9 WHERE date = "March 15"
After the March 15 game, what was the team's record?
<s>[INST]After the March 15 game, what was the team's record? Context: CREATE TABLE table_17340355_9 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_17340355_9 WHERE date = "March 15"</s>
CREATE TABLE table_28138035_4 (mens_doubles VARCHAR, mens_singles VARCHAR)
SELECT mens_doubles FROM table_28138035_4 WHERE mens_singles = "Dimitrij Ovtcharov"
Name the mens doubles for dimitrij ovtcharov
<s>[INST]Name the mens doubles for dimitrij ovtcharov Context: CREATE TABLE table_28138035_4 (mens_doubles VARCHAR, mens_singles VARCHAR)[/INST]SELECT mens_doubles FROM table_28138035_4 WHERE mens_singles = "Dimitrij Ovtcharov"</s>
CREATE TABLE table_23186738_9 (score VARCHAR, team VARCHAR)
SELECT score FROM table_23186738_9 WHERE team = "Chicago"
Name the score for chicago
<s>[INST]Name the score for chicago Context: CREATE TABLE table_23186738_9 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_23186738_9 WHERE team = "Chicago"</s>
CREATE TABLE table_1585609_2 (name VARCHAR, date_of_designation VARCHAR)
SELECT name FROM table_1585609_2 WHERE date_of_designation = "2002-04-01"
Name thenames for 2002-04-01
<s>[INST]Name thenames for 2002-04-01 Context: CREATE TABLE table_1585609_2 (name VARCHAR, date_of_designation VARCHAR)[/INST]SELECT name FROM table_1585609_2 WHERE date_of_designation = "2002-04-01"</s>
CREATE TABLE table_name_36 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_36 WHERE home = "oakland seals"
What was the record when the team played at Oakland Seals?
<s>[INST]What was the record when the team played at Oakland Seals? Context: CREATE TABLE table_name_36 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_36 WHERE home = "oakland seals"</s>
CREATE TABLE table_name_94 (date VARCHAR, score VARCHAR, record VARCHAR)
SELECT date FROM table_name_94 WHERE score = "4–5" AND record = "21–21–3"
When has Score of 4–5, and a Record of 21–21–3?
<s>[INST]When has Score of 4–5, and a Record of 21–21–3? Context: CREATE TABLE table_name_94 (date VARCHAR, score VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_94 WHERE score = "4–5" AND record = "21–21–3"</s>
CREATE TABLE table_16570286_4 (matches INTEGER, wickets VARCHAR)
SELECT MAX(matches) FROM table_16570286_4 WHERE wickets = 11
How many matches had 11 wickets?
<s>[INST]How many matches had 11 wickets? Context: CREATE TABLE table_16570286_4 (matches INTEGER, wickets VARCHAR)[/INST]SELECT MAX(matches) FROM table_16570286_4 WHERE wickets = 11</s>
CREATE TABLE Students (email_address VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT email_address FROM Students WHERE first_name = "Emma" AND last_name = "Rohan"
What is the email of the student with first name "Emma" and last name "Rohan"?
<s>[INST]What is the email of the student with first name "Emma" and last name "Rohan"? Context: CREATE TABLE Students (email_address VARCHAR, first_name VARCHAR, last_name VARCHAR)[/INST]SELECT email_address FROM Students WHERE first_name = "Emma" AND last_name = "Rohan"</s>
CREATE TABLE table_1805191_48 (results VARCHAR, first_elected VARCHAR)
SELECT results FROM table_1805191_48 WHERE first_elected = 2000
What was the result in the election where the date of first elected was 2000?
<s>[INST]What was the result in the election where the date of first elected was 2000? Context: CREATE TABLE table_1805191_48 (results VARCHAR, first_elected VARCHAR)[/INST]SELECT results FROM table_1805191_48 WHERE first_elected = 2000</s>
CREATE TABLE table_1342379_41 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1342379_41 WHERE incumbent = "Cordell Hull"
How many times was incumbent cordell hull first elected?
<s>[INST]How many times was incumbent cordell hull first elected? Context: CREATE TABLE table_1342379_41 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1342379_41 WHERE incumbent = "Cordell Hull"</s>
CREATE TABLE table_name_78 (score VARCHAR, high_points VARCHAR)
SELECT score FROM table_name_78 WHERE high_points = "carmelo anthony (26)"
What was the final score for the game in which Carmelo Anthony (26) was the high points scorer?
<s>[INST]What was the final score for the game in which Carmelo Anthony (26) was the high points scorer? Context: CREATE TABLE table_name_78 (score VARCHAR, high_points VARCHAR)[/INST]SELECT score FROM table_name_78 WHERE high_points = "carmelo anthony (26)"</s>
CREATE TABLE table_12280396_1 (rank VARCHAR, municipality VARCHAR)
SELECT rank FROM table_12280396_1 WHERE municipality = "Sunndal"
Name the rank where the municipality is sunndal?
<s>[INST]Name the rank where the municipality is sunndal? Context: CREATE TABLE table_12280396_1 (rank VARCHAR, municipality VARCHAR)[/INST]SELECT rank FROM table_12280396_1 WHERE municipality = "Sunndal"</s>
CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_12 WHERE venue = "corio oval"
Which date was corio oval the venue?
<s>[INST]Which date was corio oval the venue? Context: CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_12 WHERE venue = "corio oval"</s>
CREATE TABLE table_name_96 (time VARCHAR, grid VARCHAR, rider VARCHAR)
SELECT time FROM table_name_96 WHERE grid < 8 AND rider = "troy bayliss"
What is the time of Troy Bayliss with less than 8 grids?
<s>[INST]What is the time of Troy Bayliss with less than 8 grids? Context: CREATE TABLE table_name_96 (time VARCHAR, grid VARCHAR, rider VARCHAR)[/INST]SELECT time FROM table_name_96 WHERE grid < 8 AND rider = "troy bayliss"</s>
CREATE TABLE table_name_81 (points INTEGER, home VARCHAR)
SELECT MIN(points) FROM table_name_81 WHERE home = "boston"
What is the lowest Points, when Home is "Boston"?
<s>[INST]What is the lowest Points, when Home is "Boston"? Context: CREATE TABLE table_name_81 (points INTEGER, home VARCHAR)[/INST]SELECT MIN(points) FROM table_name_81 WHERE home = "boston"</s>
CREATE TABLE manufacturers (founder VARCHAR, name VARCHAR)
SELECT founder FROM manufacturers WHERE name = 'Sony'
Who is the founder of Sony?
<s>[INST]Who is the founder of Sony? Context: CREATE TABLE manufacturers (founder VARCHAR, name VARCHAR)[/INST]SELECT founder FROM manufacturers WHERE name = 'Sony'</s>
CREATE TABLE table_name_4 (developer_s_ VARCHAR, game VARCHAR)
SELECT developer_s_ FROM table_name_4 WHERE game = "resident evil 4"
Who was the developer of Resident Evil 4?
<s>[INST]Who was the developer of Resident Evil 4? Context: CREATE TABLE table_name_4 (developer_s_ VARCHAR, game VARCHAR)[/INST]SELECT developer_s_ FROM table_name_4 WHERE game = "resident evil 4"</s>
CREATE TABLE table_21514460_1 (headquarters VARCHAR, school_district VARCHAR)
SELECT headquarters FROM table_21514460_1 WHERE school_district = "Annapolis Valley Regional School Board"
Where is the headquarter located for the Annapolis Valley Regional School Board?
<s>[INST]Where is the headquarter located for the Annapolis Valley Regional School Board? Context: CREATE TABLE table_21514460_1 (headquarters VARCHAR, school_district VARCHAR)[/INST]SELECT headquarters FROM table_21514460_1 WHERE school_district = "Annapolis Valley Regional School Board"</s>
CREATE TABLE table_name_37 (league VARCHAR, home VARCHAR)
SELECT league FROM table_name_37 WHERE home = "0:1"
What is the league with a 0:1 home?
<s>[INST]What is the league with a 0:1 home? Context: CREATE TABLE table_name_37 (league VARCHAR, home VARCHAR)[/INST]SELECT league FROM table_name_37 WHERE home = "0:1"</s>
CREATE TABLE table_name_51 (player VARCHAR, pick__number VARCHAR)
SELECT player FROM table_name_51 WHERE pick__number = "69"
What is the name of the player that is pick #69?
<s>[INST]What is the name of the player that is pick #69? Context: CREATE TABLE table_name_51 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_name_51 WHERE pick__number = "69"</s>
CREATE TABLE airports (city VARCHAR, country VARCHAR)
SELECT city FROM airports WHERE country = 'United States' GROUP BY city HAVING COUNT(*) > 3
Return the cities with more than 3 airports in the United States.
<s>[INST]Return the cities with more than 3 airports in the United States. Context: CREATE TABLE airports (city VARCHAR, country VARCHAR)[/INST]SELECT city FROM airports WHERE country = 'United States' GROUP BY city HAVING COUNT(*) > 3</s>
CREATE TABLE table_25352324_5 (points VARCHAR, player VARCHAR)
SELECT COUNT(points) FROM table_25352324_5 WHERE player = "Sophia Witherspoon"
How many values for points have Sophia Witherspoon as the player?
<s>[INST]How many values for points have Sophia Witherspoon as the player? Context: CREATE TABLE table_25352324_5 (points VARCHAR, player VARCHAR)[/INST]SELECT COUNT(points) FROM table_25352324_5 WHERE player = "Sophia Witherspoon"</s>
CREATE TABLE table_19763199_3 (song VARCHAR, total_votes VARCHAR)
SELECT song FROM table_19763199_3 WHERE total_votes = 24
What song has 24 votes?
<s>[INST]What song has 24 votes? Context: CREATE TABLE table_19763199_3 (song VARCHAR, total_votes VARCHAR)[/INST]SELECT song FROM table_19763199_3 WHERE total_votes = 24</s>
CREATE TABLE table_name_73 (entrant VARCHAR, chassis VARCHAR, year VARCHAR, pts VARCHAR)
SELECT entrant FROM table_name_73 WHERE year > 1980 AND pts = 8 AND chassis = "theodore ty02"
Who had 8 points, later than 1980, and a theodore ty02 chassis?
<s>[INST]Who had 8 points, later than 1980, and a theodore ty02 chassis? Context: CREATE TABLE table_name_73 (entrant VARCHAR, chassis VARCHAR, year VARCHAR, pts VARCHAR)[/INST]SELECT entrant FROM table_name_73 WHERE year > 1980 AND pts = 8 AND chassis = "theodore ty02"</s>
CREATE TABLE table_17118657_7 (high_points VARCHAR, location_attendance VARCHAR)
SELECT COUNT(high_points) FROM table_17118657_7 WHERE location_attendance = "UIC Pavilion 6,304"
How many players received high points where location/attendance was UIC Pavilion 6,304 respectively?
<s>[INST]How many players received high points where location/attendance was UIC Pavilion 6,304 respectively? Context: CREATE TABLE table_17118657_7 (high_points VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_17118657_7 WHERE location_attendance = "UIC Pavilion 6,304"</s>
CREATE TABLE accelerator_compatible_browser (compatible_since_year VARCHAR, browser_id VARCHAR, accelerator_id VARCHAR); CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR)
SELECT T1.compatible_since_year FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id WHERE T3.name = 'CACHEbox' AND T2.name = 'Internet Explorer'
When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible?
<s>[INST]When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible? Context: CREATE TABLE accelerator_compatible_browser (compatible_since_year VARCHAR, browser_id VARCHAR, accelerator_id VARCHAR); CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE web_client_accelerator (id V...
CREATE TABLE table_1682026_2 (company VARCHAR, profits__billion_$_ VARCHAR)
SELECT company FROM table_1682026_2 WHERE profits__billion_$_ = "26.9"
Which company had profits of 26.9?
<s>[INST]Which company had profits of 26.9? Context: CREATE TABLE table_1682026_2 (company VARCHAR, profits__billion_$_ VARCHAR)[/INST]SELECT company FROM table_1682026_2 WHERE profits__billion_$_ = "26.9"</s>
CREATE TABLE table_name_93 (car__number VARCHAR, driver VARCHAR, pos VARCHAR)
SELECT COUNT(car__number) FROM table_name_93 WHERE driver = "erik darnell" AND pos < 2
How many Car numbers have a Driver of erik darnell, and a Pos smaller than 2?
<s>[INST]How many Car numbers have a Driver of erik darnell, and a Pos smaller than 2? Context: CREATE TABLE table_name_93 (car__number VARCHAR, driver VARCHAR, pos VARCHAR)[/INST]SELECT COUNT(car__number) FROM table_name_93 WHERE driver = "erik darnell" AND pos < 2</s>
CREATE TABLE table_14009909_1 (delegate VARCHAR, first_elected VARCHAR)
SELECT delegate FROM table_14009909_1 WHERE first_elected = 2003
Name the delegate first elected in 2003?
<s>[INST]Name the delegate first elected in 2003? Context: CREATE TABLE table_14009909_1 (delegate VARCHAR, first_elected VARCHAR)[/INST]SELECT delegate FROM table_14009909_1 WHERE first_elected = 2003</s>
CREATE TABLE table_14139408_1 (pts VARCHAR, class VARCHAR, poles VARCHAR, motorcycle VARCHAR)
SELECT pts FROM table_14139408_1 WHERE poles < 1.0 AND motorcycle = "Aprilia" AND class = "250cc"
what's the pts with poles being smaller than 1.0 and motorcycle being aprilia and class being 250cc
<s>[INST]what's the pts with poles being smaller than 1.0 and motorcycle being aprilia and class being 250cc Context: CREATE TABLE table_14139408_1 (pts VARCHAR, class VARCHAR, poles VARCHAR, motorcycle VARCHAR)[/INST]SELECT pts FROM table_14139408_1 WHERE poles < 1.0 AND motorcycle = "Aprilia" AND class = "250cc"</s>
CREATE TABLE table_20963074_1 (original_title VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_20963074_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "Report on Death"
Name the original title for not nominated result with report on death
<s>[INST]Name the original title for not nominated result with report on death Context: CREATE TABLE table_20963074_1 (original_title VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_title FROM table_20963074_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "Repo...
CREATE TABLE table_name_5 (player VARCHAR, club VARCHAR)
SELECT player FROM table_name_5 WHERE club = "omonia nicosia"
Which player was in the Omonia Nicosia club?
<s>[INST]Which player was in the Omonia Nicosia club? Context: CREATE TABLE table_name_5 (player VARCHAR, club VARCHAR)[/INST]SELECT player FROM table_name_5 WHERE club = "omonia nicosia"</s>
CREATE TABLE table_name_55 (match INTEGER, draw VARCHAR, team VARCHAR, lost VARCHAR, points VARCHAR)
SELECT AVG(match) FROM table_name_55 WHERE lost > 0 AND points > 6 AND team = "legia warszawa" AND draw < 0
Which average match has a lost greater than 0, points greater than 6, legia warszawa as the team, and a draw less than 0?
<s>[INST]Which average match has a lost greater than 0, points greater than 6, legia warszawa as the team, and a draw less than 0? Context: CREATE TABLE table_name_55 (match INTEGER, draw VARCHAR, team VARCHAR, lost VARCHAR, points VARCHAR)[/INST]SELECT AVG(match) FROM table_name_55 WHERE lost > 0 AND points > 6 AND te...
CREATE TABLE table (android_version VARCHAR, code_name VARCHAR)
SELECT android_version FROM table WHERE code_name = "Lotus"
What is the Android version is the code name is Lotus?
<s>[INST]What is the Android version is the code name is Lotus? Context: CREATE TABLE table (android_version VARCHAR, code_name VARCHAR)[/INST]SELECT android_version FROM table WHERE code_name = "Lotus"</s>
CREATE TABLE table_name_23 (tournament VARCHAR, winner VARCHAR)
SELECT tournament FROM table_name_23 WHERE winner = "thomas enqvist"
Which tournament did Thomas Enqvist win?
<s>[INST]Which tournament did Thomas Enqvist win? Context: CREATE TABLE table_name_23 (tournament VARCHAR, winner VARCHAR)[/INST]SELECT tournament FROM table_name_23 WHERE winner = "thomas enqvist"</s>
CREATE TABLE table_name_79 (apps INTEGER, division VARCHAR, team VARCHAR, country VARCHAR, goals VARCHAR)
SELECT MIN(apps) FROM table_name_79 WHERE country = "honduras" AND goals < 2 AND team = "club deportivo victoria" AND division > 1
What is the smallest apps in Honduras with less than 2 goals for Club Deportivo Victoria in a division over 1?
<s>[INST]What is the smallest apps in Honduras with less than 2 goals for Club Deportivo Victoria in a division over 1? Context: CREATE TABLE table_name_79 (apps INTEGER, division VARCHAR, team VARCHAR, country VARCHAR, goals VARCHAR)[/INST]SELECT MIN(apps) FROM table_name_79 WHERE country = "honduras" AND goals < 2 AN...
CREATE TABLE table_name_83 (song_title VARCHAR, artist VARCHAR)
SELECT song_title FROM table_name_83 WHERE artist = "winger"
What's the title of the song by Winger?
<s>[INST]What's the title of the song by Winger? Context: CREATE TABLE table_name_83 (song_title VARCHAR, artist VARCHAR)[/INST]SELECT song_title FROM table_name_83 WHERE artist = "winger"</s>
CREATE TABLE table_name_28 (singular VARCHAR, meaning VARCHAR)
SELECT singular FROM table_name_28 WHERE meaning = "night"
What is the singular for the Meaning of night?
<s>[INST]What is the singular for the Meaning of night? Context: CREATE TABLE table_name_28 (singular VARCHAR, meaning VARCHAR)[/INST]SELECT singular FROM table_name_28 WHERE meaning = "night"</s>
CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR, date VARCHAR)
SELECT result FROM table_name_4 WHERE week > 2 AND date = "december 27, 2004"
What's the result for the game held on December 27, 2004 with a week greater than 2?
<s>[INST]What's the result for the game held on December 27, 2004 with a week greater than 2? Context: CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_4 WHERE week > 2 AND date = "december 27, 2004"</s>
CREATE TABLE table_name_26 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = "love"
What is the real name of the movie about love?
<s>[INST]What is the real name of the movie about love? Context: CREATE TABLE table_name_26 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = "love"</s>
CREATE TABLE table_name_94 (title VARCHAR, termination_of_mission VARCHAR)
SELECT title FROM table_name_94 WHERE termination_of_mission = "current"
Which Title has a Termination of Mission of current?
<s>[INST]Which Title has a Termination of Mission of current? Context: CREATE TABLE table_name_94 (title VARCHAR, termination_of_mission VARCHAR)[/INST]SELECT title FROM table_name_94 WHERE termination_of_mission = "current"</s>
CREATE TABLE table_16225511_2 (school VARCHAR, percent VARCHAR)
SELECT COUNT(school) FROM table_16225511_2 WHERE percent = "0.667"
How many schools had the win loss ratio of 0.667?
<s>[INST]How many schools had the win loss ratio of 0.667? Context: CREATE TABLE table_16225511_2 (school VARCHAR, percent VARCHAR)[/INST]SELECT COUNT(school) FROM table_16225511_2 WHERE percent = "0.667"</s>
CREATE TABLE table_name_80 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_name_80 WHERE high_assists = "rafer alston , rashard lewis , hedo türkoğlu (3)"
What is High Rebounds, when High Assists is "Rafer Alston , Rashard Lewis , Hedo Türkoğlu (3)"?
<s>[INST]What is High Rebounds, when High Assists is "Rafer Alston , Rashard Lewis , Hedo Türkoğlu (3)"? Context: CREATE TABLE table_name_80 (high_rebounds VARCHAR, high_assists VARCHAR)[/INST]SELECT high_rebounds FROM table_name_80 WHERE high_assists = "rafer alston , rashard lewis , hedo türkoğlu (3)"</s>
CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_18 WHERE home_team = "south melbourne"
Who was South Melbourne's away opponents?
<s>[INST]Who was South Melbourne's away opponents? Context: CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_18 WHERE home_team = "south melbourne"</s>
CREATE TABLE table_name_47 (year VARCHAR, award VARCHAR)
SELECT COUNT(year) FROM table_name_47 WHERE award = "mercury prize"
How many years has the Mercury Prize award been given?
<s>[INST]How many years has the Mercury Prize award been given? Context: CREATE TABLE table_name_47 (year VARCHAR, award VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_47 WHERE award = "mercury prize"</s>
CREATE TABLE table_name_11 (laps INTEGER, team VARCHAR, year VARCHAR)
SELECT MAX(laps) FROM table_name_11 WHERE team = "corvette racing" AND year = 2004
Name the most laps for corvette racing in 2004
<s>[INST]Name the most laps for corvette racing in 2004 Context: CREATE TABLE table_name_11 (laps INTEGER, team VARCHAR, year VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_11 WHERE team = "corvette racing" AND year = 2004</s>
CREATE TABLE table_14971788_1 (date VARCHAR, week VARCHAR)
SELECT date FROM table_14971788_1 WHERE week = 2
What date was week 2?
<s>[INST]What date was week 2? Context: CREATE TABLE table_14971788_1 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_14971788_1 WHERE week = 2</s>
CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, country VARCHAR)
SELECT admits_boys_girls FROM table_104858_1 WHERE country = "Venezuela"
Does Venezuela admit only boys, only girls, or both?
<s>[INST]Does Venezuela admit only boys, only girls, or both? Context: CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, country VARCHAR)[/INST]SELECT admits_boys_girls FROM table_104858_1 WHERE country = "Venezuela"</s>
CREATE TABLE table_name_99 (date VARCHAR, winner VARCHAR, season VARCHAR)
SELECT date FROM table_name_99 WHERE winner = "universitario" AND season > 1943
What is the date for the winner Universitario after the 1943 season?
<s>[INST]What is the date for the winner Universitario after the 1943 season? Context: CREATE TABLE table_name_99 (date VARCHAR, winner VARCHAR, season VARCHAR)[/INST]SELECT date FROM table_name_99 WHERE winner = "universitario" AND season > 1943</s>
CREATE TABLE table_name_38 (player VARCHAR, nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT player FROM table_name_38 WHERE nationality = "united states" AND college_junior_club_team__league_ = "bowling green falcons (ccha)"
Which player is from the United States, and played for the Bowling Green Falcons (CCHA) as their College/Junior/Club Team (League)?
<s>[INST]Which player is from the United States, and played for the Bowling Green Falcons (CCHA) as their College/Junior/Club Team (League)? Context: CREATE TABLE table_name_38 (player VARCHAR, nationality VARCHAR, college_junior_club_team__league_ VARCHAR)[/INST]SELECT player FROM table_name_38 WHERE nationality = "un...
CREATE TABLE table_name_8 (event VARCHAR, venue VARCHAR)
SELECT event FROM table_name_8 WHERE venue = "helsinki, finland"
What tournement was held in Helsinki, Finland in 2005?
<s>[INST]What tournement was held in Helsinki, Finland in 2005? Context: CREATE TABLE table_name_8 (event VARCHAR, venue VARCHAR)[/INST]SELECT event FROM table_name_8 WHERE venue = "helsinki, finland"</s>
CREATE TABLE table_name_82 (results¹ VARCHAR, date VARCHAR, type_of_game VARCHAR, city VARCHAR)
SELECT results¹ FROM table_name_82 WHERE type_of_game = "friendly" AND city = "belgrade" AND date = "november 2"
With the Type is game of friendly and the City Belgrade and November 2 as the Date what were the Results¹?
<s>[INST]With the Type is game of friendly and the City Belgrade and November 2 as the Date what were the Results¹? Context: CREATE TABLE table_name_82 (results¹ VARCHAR, date VARCHAR, type_of_game VARCHAR, city VARCHAR)[/INST]SELECT results¹ FROM table_name_82 WHERE type_of_game = "friendly" AND city = "belgrade" AND ...
CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR, city VARCHAR)
SELECT result FROM table_name_81 WHERE score = "48-12" AND city = "penrith"
What was the result of the match in Penrith that featured a score of 48-12?
<s>[INST]What was the result of the match in Penrith that featured a score of 48-12? Context: CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR, city VARCHAR)[/INST]SELECT result FROM table_name_81 WHERE score = "48-12" AND city = "penrith"</s>
CREATE TABLE table_name_58 (preliminary_average VARCHAR, evening_gown VARCHAR)
SELECT preliminary_average FROM table_name_58 WHERE evening_gown = "8.774 (6)"
what is the preliminary average score when the evening gown score is 8.774 (6)?
<s>[INST]what is the preliminary average score when the evening gown score is 8.774 (6)? Context: CREATE TABLE table_name_58 (preliminary_average VARCHAR, evening_gown VARCHAR)[/INST]SELECT preliminary_average FROM table_name_58 WHERE evening_gown = "8.774 (6)"</s>
CREATE TABLE table_1691800_2 (income_class VARCHAR, area__km²_ VARCHAR)
SELECT income_class FROM table_1691800_2 WHERE area__km²_ = 75
what is the income class for area 75?
<s>[INST]what is the income class for area 75? Context: CREATE TABLE table_1691800_2 (income_class VARCHAR, area__km²_ VARCHAR)[/INST]SELECT income_class FROM table_1691800_2 WHERE area__km²_ = 75</s>
CREATE TABLE table_name_28 (points_for VARCHAR, lost VARCHAR)
SELECT points_for FROM table_name_28 WHERE lost = "15"
How many points were there for 15 losses?
<s>[INST]How many points were there for 15 losses? Context: CREATE TABLE table_name_28 (points_for VARCHAR, lost VARCHAR)[/INST]SELECT points_for FROM table_name_28 WHERE lost = "15"</s>
CREATE TABLE table_name_6 (silver VARCHAR, rank VARCHAR)
SELECT COUNT(silver) FROM table_name_6 WHERE rank = 6
What is the total number of silver with rank number 6?
<s>[INST]What is the total number of silver with rank number 6? Context: CREATE TABLE table_name_6 (silver VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_6 WHERE rank = 6</s>
CREATE TABLE table_name_1 (earnings___ VARCHAR, wins VARCHAR, rank VARCHAR)
SELECT COUNT(earnings___) AS $__ FROM table_name_1 WHERE wins > 2 AND rank < 2
What's the total earnings ($) with more than two wins and a rank less than 2?
<s>[INST]What's the total earnings ($) with more than two wins and a rank less than 2? Context: CREATE TABLE table_name_1 (earnings___ VARCHAR, wins VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(earnings___) AS $__ FROM table_name_1 WHERE wins > 2 AND rank < 2</s>
CREATE TABLE table_name_99 (name VARCHAR, proposed VARCHAR)
SELECT name FROM table_name_99 WHERE proposed = "06/24/1988"
What is the name of the superfund that was proposed on 06/24/1988?
<s>[INST]What is the name of the superfund that was proposed on 06/24/1988? Context: CREATE TABLE table_name_99 (name VARCHAR, proposed VARCHAR)[/INST]SELECT name FROM table_name_99 WHERE proposed = "06/24/1988"</s>
CREATE TABLE table_name_88 (constructor VARCHAR, engine VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_88 WHERE engine = "cosworth dfv v8" AND driver = "warren booth"
Who built Warren Booth's car with the Cosworth DFV V8 engine?
<s>[INST]Who built Warren Booth's car with the Cosworth DFV V8 engine? Context: CREATE TABLE table_name_88 (constructor VARCHAR, engine VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_88 WHERE engine = "cosworth dfv v8" AND driver = "warren booth"</s>
CREATE TABLE table_16376436_1 (nfl_team VARCHAR, college VARCHAR)
SELECT nfl_team FROM table_16376436_1 WHERE college = "North Carolina"
What is the NFL team for the player who's college was North Carolina?
<s>[INST]What is the NFL team for the player who's college was North Carolina? Context: CREATE TABLE table_16376436_1 (nfl_team VARCHAR, college VARCHAR)[/INST]SELECT nfl_team FROM table_16376436_1 WHERE college = "North Carolina"</s>
CREATE TABLE table_10725629_2 (date VARCHAR, circuit VARCHAR)
SELECT COUNT(date) FROM table_10725629_2 WHERE circuit = "Michigan International Speedway"
On how many dates did the Michigan International Speedway hold a round?
<s>[INST]On how many dates did the Michigan International Speedway hold a round? Context: CREATE TABLE table_10725629_2 (date VARCHAR, circuit VARCHAR)[/INST]SELECT COUNT(date) FROM table_10725629_2 WHERE circuit = "Michigan International Speedway"</s>
CREATE TABLE table_name_54 (title VARCHAR, role VARCHAR)
SELECT title FROM table_name_54 WHERE role = "chris morrell"
In what movie did John Wayne play the role of Chris Morrell?
<s>[INST]In what movie did John Wayne play the role of Chris Morrell? Context: CREATE TABLE table_name_54 (title VARCHAR, role VARCHAR)[/INST]SELECT title FROM table_name_54 WHERE role = "chris morrell"</s>
CREATE TABLE table_name_4 (year INTEGER, championship VARCHAR)
SELECT MAX(year) FROM table_name_4 WHERE championship = "us open"
What is the highest year for the US Open?
<s>[INST]What is the highest year for the US Open? Context: CREATE TABLE table_name_4 (year INTEGER, championship VARCHAR)[/INST]SELECT MAX(year) FROM table_name_4 WHERE championship = "us open"</s>