context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_27715173_10 (game VARCHAR, date VARCHAR)
SELECT COUNT(game) FROM table_27715173_10 WHERE date = "March 12"
How many games were held on March 12?
<s>[INST]How many games were held on March 12? Context: CREATE TABLE table_27715173_10 (game VARCHAR, date VARCHAR)[/INST]SELECT COUNT(game) FROM table_27715173_10 WHERE date = "March 12"</s>
CREATE TABLE table_name_41 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_41 WHERE player = "lee trevino"
What country is Lee Trevino from?
<s>[INST]What country is Lee Trevino from? Context: CREATE TABLE table_name_41 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_41 WHERE player = "lee trevino"</s>
CREATE TABLE table_18602462_21 (quarterfinals VARCHAR, athlete VARCHAR)
SELECT quarterfinals FROM table_18602462_21 WHERE athlete = "Bas van Erp"
When bas van erp was the athlete what was the quarterfinals?
<s>[INST]When bas van erp was the athlete what was the quarterfinals? Context: CREATE TABLE table_18602462_21 (quarterfinals VARCHAR, athlete VARCHAR)[/INST]SELECT quarterfinals FROM table_18602462_21 WHERE athlete = "Bas van Erp"</s>
CREATE TABLE table_name_52 (outcome VARCHAR, year VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_52 WHERE year > 1998 AND tournament = "malaysia satellite"
Which Malaysia Satellite tournaments were played after 1998?
<s>[INST]Which Malaysia Satellite tournaments were played after 1998? Context: CREATE TABLE table_name_52 (outcome VARCHAR, year VARCHAR, tournament VARCHAR)[/INST]SELECT outcome FROM table_name_52 WHERE year > 1998 AND tournament = "malaysia satellite"</s>
CREATE TABLE table_name_64 (term_of_office VARCHAR, member VARCHAR)
SELECT term_of_office FROM table_name_64 WHERE member = "dominic costa"
What is Term of Office, when Member is "Dominic Costa"?
<s>[INST]What is Term of Office, when Member is "Dominic Costa"? Context: CREATE TABLE table_name_64 (term_of_office VARCHAR, member VARCHAR)[/INST]SELECT term_of_office FROM table_name_64 WHERE member = "dominic costa"</s>
CREATE TABLE table_name_59 (copa_libertadores_1992 VARCHAR, supercopa_sudamericana_1992 VARCHAR, team VARCHAR)
SELECT copa_libertadores_1992 FROM table_name_59 WHERE supercopa_sudamericana_1992 = "round of 16" AND team = "grêmio"
Which Copa Libertadores 1992 has a Supercopa Sudamericana 1992 of round of 16, and a Team of grêmio?
<s>[INST]Which Copa Libertadores 1992 has a Supercopa Sudamericana 1992 of round of 16, and a Team of grêmio? Context: CREATE TABLE table_name_59 (copa_libertadores_1992 VARCHAR, supercopa_sudamericana_1992 VARCHAR, team VARCHAR)[/INST]SELECT copa_libertadores_1992 FROM table_name_59 WHERE supercopa_sudamericana_1992 =...
CREATE TABLE table_name_29 (time INTEGER, rank VARCHAR)
SELECT AVG(time) FROM table_name_29 WHERE rank = 61
What is the average time in a rank of 61?
<s>[INST]What is the average time in a rank of 61? Context: CREATE TABLE table_name_29 (time INTEGER, rank VARCHAR)[/INST]SELECT AVG(time) FROM table_name_29 WHERE rank = 61</s>
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
SELECT COUNT(DISTINCT t3.characteristic_name) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame"
How many distinct characteristic names does the product "cumin" have?
<s>[INST]How many distinct characteristic names does the product "cumin" have? Context: CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VAR...
CREATE TABLE table_24501530_1 (background VARCHAR, result VARCHAR)
SELECT background FROM table_24501530_1 WHERE result = "Fired in week 5"
What is the background of the person fired in week 5?
<s>[INST]What is the background of the person fired in week 5? Context: CREATE TABLE table_24501530_1 (background VARCHAR, result VARCHAR)[/INST]SELECT background FROM table_24501530_1 WHERE result = "Fired in week 5"</s>
CREATE TABLE table_name_45 (final_year INTEGER, notes VARCHAR, first_year VARCHAR)
SELECT MIN(final_year) FROM table_name_45 WHERE notes = "replaced by i-75 and m-25" AND first_year > 1926
What is the most minimal Final year that has a Notes of replaced by i-75 and m-25, and a First year larger than 1926?
<s>[INST]What is the most minimal Final year that has a Notes of replaced by i-75 and m-25, and a First year larger than 1926? Context: CREATE TABLE table_name_45 (final_year INTEGER, notes VARCHAR, first_year VARCHAR)[/INST]SELECT MIN(final_year) FROM table_name_45 WHERE notes = "replaced by i-75 and m-25" AND first_y...
CREATE TABLE table_2724704_5 (color_analyst_s_ VARCHAR, studio_analyst_s_ VARCHAR, tv_rating VARCHAR)
SELECT color_analyst_s_ FROM table_2724704_5 WHERE studio_analyst_s_ = "Terry Bowden" AND tv_rating = "17.2"
Name the color analyst for terry bowden and 17.2
<s>[INST]Name the color analyst for terry bowden and 17.2 Context: CREATE TABLE table_2724704_5 (color_analyst_s_ VARCHAR, studio_analyst_s_ VARCHAR, tv_rating VARCHAR)[/INST]SELECT color_analyst_s_ FROM table_2724704_5 WHERE studio_analyst_s_ = "Terry Bowden" AND tv_rating = "17.2"</s>
CREATE TABLE table_name_91 (Id VARCHAR)
SELECT 2001 FROM table_name_91 WHERE 2002 = "2,360,000 tonnes"
What is the 2001 statistic for the product that had 2,360,000 tonnes in 2002?
<s>[INST]What is the 2001 statistic for the product that had 2,360,000 tonnes in 2002? Context: CREATE TABLE table_name_91 (Id VARCHAR)[/INST]SELECT 2001 FROM table_name_91 WHERE 2002 = "2,360,000 tonnes"</s>
CREATE TABLE table_25341765_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR)
SELECT us_viewers__million_ FROM table_25341765_1 WHERE directed_by = "Jeffrey Blitz"
How many millions of viewers did the episode directed by Jeffrey Blitz have?
<s>[INST]How many millions of viewers did the episode directed by Jeffrey Blitz have? Context: CREATE TABLE table_25341765_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR)[/INST]SELECT us_viewers__million_ FROM table_25341765_1 WHERE directed_by = "Jeffrey Blitz"</s>
CREATE TABLE table_name_11 (weeks_3_4 VARCHAR, name VARCHAR)
SELECT weeks_3_4 FROM table_name_11 WHERE name = "zach"
what week had a player named zach
<s>[INST]what week had a player named zach Context: CREATE TABLE table_name_11 (weeks_3_4 VARCHAR, name VARCHAR)[/INST]SELECT weeks_3_4 FROM table_name_11 WHERE name = "zach"</s>
CREATE TABLE table_1000181_1 (notes VARCHAR, current_slogan VARCHAR)
SELECT notes FROM table_1000181_1 WHERE current_slogan = "SOUTH AUSTRALIA"
Tell me what the notes are for South Australia
<s>[INST]Tell me what the notes are for South Australia Context: CREATE TABLE table_1000181_1 (notes VARCHAR, current_slogan VARCHAR)[/INST]SELECT notes FROM table_1000181_1 WHERE current_slogan = "SOUTH AUSTRALIA"</s>
CREATE TABLE table_14966537_1 (record VARCHAR, opponent VARCHAR)
SELECT COUNT(record) FROM table_14966537_1 WHERE opponent = "Chicago Bears"
How many games were played against the Chicago Bears?
<s>[INST]How many games were played against the Chicago Bears? Context: CREATE TABLE table_14966537_1 (record VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(record) FROM table_14966537_1 WHERE opponent = "Chicago Bears"</s>
CREATE TABLE table_name_12 (time VARCHAR, round VARCHAR, record VARCHAR)
SELECT time FROM table_name_12 WHERE round = 3 AND record = "2–0"
Which Time has a Round of 3, and a Record of 2–0?
<s>[INST]Which Time has a Round of 3, and a Record of 2–0? Context: CREATE TABLE table_name_12 (time VARCHAR, round VARCHAR, record VARCHAR)[/INST]SELECT time FROM table_name_12 WHERE round = 3 AND record = "2–0"</s>
CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, date_left VARCHAR)
SELECT first_name, middle_name, last_name FROM Students ORDER BY date_left LIMIT 1
Who is the earliest graduate of the school? List the first name, middle name and last name.
<s>[INST]Who is the earliest graduate of the school? List the first name, middle name and last name. Context: CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, date_left VARCHAR)[/INST]SELECT first_name, middle_name, last_name FROM Students ORDER BY date_left LIMIT 1</s>
CREATE TABLE ARTIST (Name VARCHAR)
SELECT Name FROM ARTIST WHERE Name LIKE "%a%"
Find the names of all artists that have "a" in their names.
<s>[INST]Find the names of all artists that have "a" in their names. Context: CREATE TABLE ARTIST (Name VARCHAR)[/INST]SELECT Name FROM ARTIST WHERE Name LIKE "%a%"</s>
CREATE TABLE table_name_62 (jersey__number INTEGER, birthplace VARCHAR, weight__kg_ VARCHAR)
SELECT MIN(jersey__number) FROM table_name_62 WHERE birthplace = "evergreen park, illinois" AND weight__kg_ > 86
What is the lowest jersey # that has evergreen park, illinois as the birthplace, with a weight (km) greater than 86?
<s>[INST]What is the lowest jersey # that has evergreen park, illinois as the birthplace, with a weight (km) greater than 86? Context: CREATE TABLE table_name_62 (jersey__number INTEGER, birthplace VARCHAR, weight__kg_ VARCHAR)[/INST]SELECT MIN(jersey__number) FROM table_name_62 WHERE birthplace = "evergreen park, illi...
CREATE TABLE table_name_45 (tv_station VARCHAR, episodes VARCHAR, romaji_title VARCHAR)
SELECT tv_station FROM table_name_45 WHERE episodes > 10 AND romaji_title = "tantei gakuen q"
Which TV station, has romaji title of tantei gakuen q and episodes larger than 10?
<s>[INST]Which TV station, has romaji title of tantei gakuen q and episodes larger than 10? Context: CREATE TABLE table_name_45 (tv_station VARCHAR, episodes VARCHAR, romaji_title VARCHAR)[/INST]SELECT tv_station FROM table_name_45 WHERE episodes > 10 AND romaji_title = "tantei gakuen q"</s>
CREATE TABLE table_27155678_2 (gene_name VARCHAR, accession_number VARCHAR)
SELECT gene_name FROM table_27155678_2 WHERE accession_number = "BX897700.1"
Name the gene name for accession number bx897700.1
<s>[INST]Name the gene name for accession number bx897700.1 Context: CREATE TABLE table_27155678_2 (gene_name VARCHAR, accession_number VARCHAR)[/INST]SELECT gene_name FROM table_27155678_2 WHERE accession_number = "BX897700.1"</s>
CREATE TABLE table_27743641_2 (gt_winning_team VARCHAR, gtc_winning_team VARCHAR)
SELECT gt_winning_team FROM table_27743641_2 WHERE gtc_winning_team = "No. 54 Black Swan Racing"
Who were the GT winning team when the GTC winning team was No. 54 Black Swan Racing?
<s>[INST]Who were the GT winning team when the GTC winning team was No. 54 Black Swan Racing? Context: CREATE TABLE table_27743641_2 (gt_winning_team VARCHAR, gtc_winning_team VARCHAR)[/INST]SELECT gt_winning_team FROM table_27743641_2 WHERE gtc_winning_team = "No. 54 Black Swan Racing"</s>
CREATE TABLE table_name_29 (remote_camera VARCHAR)
SELECT 3 AS _person_dive FROM table_name_29 WHERE remote_camera = "0"
Which 3-person dive has 0 as a remote camera?
<s>[INST]Which 3-person dive has 0 as a remote camera? Context: CREATE TABLE table_name_29 (remote_camera VARCHAR)[/INST]SELECT 3 AS _person_dive FROM table_name_29 WHERE remote_camera = "0"</s>
CREATE TABLE table_name_89 (venue VARCHAR, against VARCHAR)
SELECT venue FROM table_name_89 WHERE against = 25
Which Venue has Against of 25?
<s>[INST]Which Venue has Against of 25? Context: CREATE TABLE table_name_89 (venue VARCHAR, against VARCHAR)[/INST]SELECT venue FROM table_name_89 WHERE against = 25</s>
CREATE TABLE table_name_7 (distance VARCHAR, winning_horse VARCHAR)
SELECT distance FROM table_name_7 WHERE winning_horse = "summer doldrums"
What distance did the winning horse run in the Summer Doldrums.
<s>[INST]What distance did the winning horse run in the Summer Doldrums. Context: CREATE TABLE table_name_7 (distance VARCHAR, winning_horse VARCHAR)[/INST]SELECT distance FROM table_name_7 WHERE winning_horse = "summer doldrums"</s>
CREATE TABLE table_20780285_1 (country_region VARCHAR, title VARCHAR)
SELECT country_region FROM table_20780285_1 WHERE title = "Marele câștigător The Big Winner"
What country uses the title Marele Câștigător The Big Winner?
<s>[INST]What country uses the title Marele Câștigător The Big Winner? Context: CREATE TABLE table_20780285_1 (country_region VARCHAR, title VARCHAR)[/INST]SELECT country_region FROM table_20780285_1 WHERE title = "Marele câștigător The Big Winner"</s>
CREATE TABLE table_13665809_2 (uu_usu_score VARCHAR, winner VARCHAR)
SELECT uu_usu_score FROM table_13665809_2 WHERE winner = "#5 Brigham Young (2–0)"
what are all the uu-usu score with winner is #5 brigham young (2–0)
<s>[INST]what are all the uu-usu score with winner is #5 brigham young (2–0) Context: CREATE TABLE table_13665809_2 (uu_usu_score VARCHAR, winner VARCHAR)[/INST]SELECT uu_usu_score FROM table_13665809_2 WHERE winner = "#5 Brigham Young (2–0)"</s>
CREATE TABLE table_name_65 (game VARCHAR, opponent VARCHAR)
SELECT COUNT(game) FROM table_name_65 WHERE opponent = "buffalo sabres"
What is the total number of games played against the Buffalo Sabres?
<s>[INST]What is the total number of games played against the Buffalo Sabres? Context: CREATE TABLE table_name_65 (game VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_65 WHERE opponent = "buffalo sabres"</s>
CREATE TABLE table_1585609_2 (date_of_designation VARCHAR, name VARCHAR)
SELECT date_of_designation FROM table_1585609_2 WHERE name = "Kurume"
Name all the date of designations for kurume
<s>[INST]Name all the date of designations for kurume Context: CREATE TABLE table_1585609_2 (date_of_designation VARCHAR, name VARCHAR)[/INST]SELECT date_of_designation FROM table_1585609_2 WHERE name = "Kurume"</s>
CREATE TABLE table_name_69 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_69 WHERE venue = "windy hill"
Who is the away team at Windy Hill?
<s>[INST]Who is the away team at Windy Hill? Context: CREATE TABLE table_name_69 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_69 WHERE venue = "windy hill"</s>
CREATE TABLE table_name_69 (partner VARCHAR, date VARCHAR)
SELECT partner FROM table_name_69 WHERE date = "june 17, 2012"
What was the Partner on June 17, 2012?
<s>[INST]What was the Partner on June 17, 2012? Context: CREATE TABLE table_name_69 (partner VARCHAR, date VARCHAR)[/INST]SELECT partner FROM table_name_69 WHERE date = "june 17, 2012"</s>
CREATE TABLE table_17012578_37 (Ends VARCHAR, pa VARCHAR)
SELECT COUNT(Ends) AS won FROM table_17012578_37 WHERE pa = 39
How many values are in the ends won cell corresponding to a PA of 39?
<s>[INST]How many values are in the ends won cell corresponding to a PA of 39? Context: CREATE TABLE table_17012578_37 (Ends VARCHAR, pa VARCHAR)[/INST]SELECT COUNT(Ends) AS won FROM table_17012578_37 WHERE pa = 39</s>
CREATE TABLE table_name_66 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_66 WHERE opponent = "new england patriots"
What was the final of the New England Patriots game?
<s>[INST]What was the final of the New England Patriots game? Context: CREATE TABLE table_name_66 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_66 WHERE opponent = "new england patriots"</s>
CREATE TABLE invoices (total INTEGER, customer_id VARCHAR); CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, id VARCHAR)
SELECT T1.first_name, T1.last_name, SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY SUM(T2.total) DESC LIMIT 10
List the top 10 customers by total gross sales. List customers' first and last name and total gross sales.
<s>[INST]List the top 10 customers by total gross sales. List customers' first and last name and total gross sales. Context: CREATE TABLE invoices (total INTEGER, customer_id VARCHAR); CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, id VARCHAR)[/INST]SELECT T1.first_name, T1.last_name, SUM(T2.total) FROM...
CREATE TABLE table_name_31 (year VARCHAR, laps VARCHAR)
SELECT year FROM table_name_31 WHERE laps = 112
Which year has 112 laps?
<s>[INST]Which year has 112 laps? Context: CREATE TABLE table_name_31 (year VARCHAR, laps VARCHAR)[/INST]SELECT year FROM table_name_31 WHERE laps = 112</s>
CREATE TABLE GRAPES (Grape VARCHAR, Color VARCHAR); CREATE TABLE WINE (Name VARCHAR, Grape VARCHAR)
SELECT DISTINCT T2.Name FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T1.Color = "Red"
List the names of all distinct wines that are made of red color grape.
<s>[INST]List the names of all distinct wines that are made of red color grape. Context: CREATE TABLE GRAPES (Grape VARCHAR, Color VARCHAR); CREATE TABLE WINE (Name VARCHAR, Grape VARCHAR)[/INST]SELECT DISTINCT T2.Name FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T1.Color = "Red"</s>
CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR); CREATE TABLE FLIGHTS (Airline VARCHAR, SourceAirport VARCHAR)
SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = "APG" INTERSECT SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = "CVO"
Find all airlines that have flights from both airports 'APG' and 'CVO'.
<s>[INST]Find all airlines that have flights from both airports 'APG' and 'CVO'. Context: CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR); CREATE TABLE FLIGHTS (Airline VARCHAR, SourceAirport VARCHAR)[/INST]SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.SourceAirport = "AP...
CREATE TABLE table_name_96 (rowers VARCHAR, time VARCHAR)
SELECT rowers FROM table_name_96 WHERE time = "5:54.57"
Who are the rowers with the time of 5:54.57?
<s>[INST]Who are the rowers with the time of 5:54.57? Context: CREATE TABLE table_name_96 (rowers VARCHAR, time VARCHAR)[/INST]SELECT rowers FROM table_name_96 WHERE time = "5:54.57"</s>
CREATE TABLE CLASS (class_room VARCHAR, prof_num VARCHAR); CREATE TABLE professor (emp_num VARCHAR, dept_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)
SELECT T2.emp_fname, T1.class_room FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Accounting'
Find the first names of all professors in the Accounting department who is teaching some course and the class room.
<s>[INST]Find the first names of all professors in the Accounting department who is teaching some course and the class room. Context: CREATE TABLE CLASS (class_room VARCHAR, prof_num VARCHAR); CREATE TABLE professor (emp_num VARCHAR, dept_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CR...
CREATE TABLE table_name_83 (record VARCHAR, opponent VARCHAR, time VARCHAR, venue VARCHAR)
SELECT record FROM table_name_83 WHERE time = "3:00" AND venue = "michael's eighth avenue" AND opponent = "tim coleman"
The match of at Michael's Eighth Avenue venue against Tim Coleman that went 3:00 has what record?
<s>[INST]The match of at Michael's Eighth Avenue venue against Tim Coleman that went 3:00 has what record? Context: CREATE TABLE table_name_83 (record VARCHAR, opponent VARCHAR, time VARCHAR, venue VARCHAR)[/INST]SELECT record FROM table_name_83 WHERE time = "3:00" AND venue = "michael's eighth avenue" AND opponent = "...
CREATE TABLE table_name_37 (pick__number VARCHAR, college VARCHAR, overall VARCHAR)
SELECT COUNT(pick__number) FROM table_name_37 WHERE college = "west virginia" AND overall < 203
What is the Pick # of the player with an Overall less than 203 from West Virginia?
<s>[INST]What is the Pick # of the player with an Overall less than 203 from West Virginia? Context: CREATE TABLE table_name_37 (pick__number VARCHAR, college VARCHAR, overall VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_37 WHERE college = "west virginia" AND overall < 203</s>
CREATE TABLE table_name_6 (film_title_used_in_nomination VARCHAR, country VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_6 WHERE country = "netherlands"
What was the film nomination in the Netherlands?
<s>[INST]What was the film nomination in the Netherlands? Context: CREATE TABLE table_name_6 (film_title_used_in_nomination VARCHAR, country VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_6 WHERE country = "netherlands"</s>
CREATE TABLE table_name_96 (grid VARCHAR, manufacturer VARCHAR, laps VARCHAR)
SELECT grid FROM table_name_96 WHERE manufacturer = "ducati" AND laps < 22
What grid is Ducati with fewer than 22 laps?
<s>[INST]What grid is Ducati with fewer than 22 laps? Context: CREATE TABLE table_name_96 (grid VARCHAR, manufacturer VARCHAR, laps VARCHAR)[/INST]SELECT grid FROM table_name_96 WHERE manufacturer = "ducati" AND laps < 22</s>
CREATE TABLE table_name_37 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR)
SELECT club_team FROM table_name_37 WHERE nationality = "canada" AND overall = "15"
What is the Overall of 15 Club team with a Nationality of Canada?
<s>[INST]What is the Overall of 15 Club team with a Nationality of Canada? Context: CREATE TABLE table_name_37 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR)[/INST]SELECT club_team FROM table_name_37 WHERE nationality = "canada" AND overall = "15"</s>
CREATE TABLE table_name_13 (pick INTEGER, player VARCHAR, position VARCHAR, team VARCHAR)
SELECT MIN(pick) FROM table_name_13 WHERE position = "of" AND team = "san francisco giants" AND player = "arturo mcdowell"
What is the lowest pick number for Arturo McDowell, who plays the OF position for the San Francisco Giants?
<s>[INST]What is the lowest pick number for Arturo McDowell, who plays the OF position for the San Francisco Giants? Context: CREATE TABLE table_name_13 (pick INTEGER, player VARCHAR, position VARCHAR, team VARCHAR)[/INST]SELECT MIN(pick) FROM table_name_13 WHERE position = "of" AND team = "san francisco giants" AND pl...
CREATE TABLE table_name_18 (attendance INTEGER, loss VARCHAR)
SELECT AVG(attendance) FROM table_name_18 WHERE loss = "stoneman (0-2)"
Which average attendance has stoneman (0-2) as the loss?
<s>[INST]Which average attendance has stoneman (0-2) as the loss? Context: CREATE TABLE table_name_18 (attendance INTEGER, loss VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_18 WHERE loss = "stoneman (0-2)"</s>
CREATE TABLE table_name_63 (communist_ticket VARCHAR, office VARCHAR)
SELECT communist_ticket FROM table_name_63 WHERE office = "judge of the court of appeals"
What is the name on the Communist ticket with an Office of judge of the court of appeals?
<s>[INST]What is the name on the Communist ticket with an Office of judge of the court of appeals? Context: CREATE TABLE table_name_63 (communist_ticket VARCHAR, office VARCHAR)[/INST]SELECT communist_ticket FROM table_name_63 WHERE office = "judge of the court of appeals"</s>
CREATE TABLE table_1358608_2 (result VARCHAR, race VARCHAR)
SELECT result FROM table_1358608_2 WHERE race = "Railway Stakes"
What was the result for the railway stakes race?
<s>[INST]What was the result for the railway stakes race? Context: CREATE TABLE table_1358608_2 (result VARCHAR, race VARCHAR)[/INST]SELECT result FROM table_1358608_2 WHERE race = "Railway Stakes"</s>
CREATE TABLE table_name_16 (episode VARCHAR, production_code VARCHAR, season VARCHAR, directed_by VARCHAR)
SELECT episode FROM table_name_16 WHERE season < 25 AND directed_by = "bob anderson" AND production_code = "kabf16"
Which episode was directed by Bob Anderson with a production code of KABF16 and a season before than 25?
<s>[INST]Which episode was directed by Bob Anderson with a production code of KABF16 and a season before than 25? Context: CREATE TABLE table_name_16 (episode VARCHAR, production_code VARCHAR, season VARCHAR, directed_by VARCHAR)[/INST]SELECT episode FROM table_name_16 WHERE season < 25 AND directed_by = "bob anderson"...
CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_33 WHERE home_team = "leicester city"
WHAT IS THE AWAY TEAM WITH HOME OF LEICESTER CITY?
<s>[INST]WHAT IS THE AWAY TEAM WITH HOME OF LEICESTER CITY? Context: CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_33 WHERE home_team = "leicester city"</s>
CREATE TABLE table_name_52 (title VARCHAR, length VARCHAR)
SELECT title FROM table_name_52 WHERE length = "3:38"
Which title is 3:38 long?
<s>[INST]Which title is 3:38 long? Context: CREATE TABLE table_name_52 (title VARCHAR, length VARCHAR)[/INST]SELECT title FROM table_name_52 WHERE length = "3:38"</s>
CREATE TABLE table_name_66 (state_ranked_in_partisan_order VARCHAR, percentage_democrats VARCHAR, republican__democratic VARCHAR)
SELECT state_ranked_in_partisan_order FROM table_name_66 WHERE percentage_democrats = "25%" AND republican__democratic = "6/2"
What state is 25% Democrats has a ratio of 6/2 of Republicans to Democrats?
<s>[INST]What state is 25% Democrats has a ratio of 6/2 of Republicans to Democrats? Context: CREATE TABLE table_name_66 (state_ranked_in_partisan_order VARCHAR, percentage_democrats VARCHAR, republican__democratic VARCHAR)[/INST]SELECT state_ranked_in_partisan_order FROM table_name_66 WHERE percentage_democrats = "25%...
CREATE TABLE table_191105_2 (music_by VARCHAR, performed_by VARCHAR)
SELECT COUNT(music_by) FROM table_191105_2 WHERE performed_by = "Zachary Sanders"
When zachary sanders is the performer how many people is the music by?
<s>[INST]When zachary sanders is the performer how many people is the music by? Context: CREATE TABLE table_191105_2 (music_by VARCHAR, performed_by VARCHAR)[/INST]SELECT COUNT(music_by) FROM table_191105_2 WHERE performed_by = "Zachary Sanders"</s>
CREATE TABLE table_name_55 (total INTEGER, year_s__won VARCHAR)
SELECT SUM(total) FROM table_name_55 WHERE year_s__won = "1985"
what is the sum of total when year(s) won is 1985?
<s>[INST]what is the sum of total when year(s) won is 1985? Context: CREATE TABLE table_name_55 (total INTEGER, year_s__won VARCHAR)[/INST]SELECT SUM(total) FROM table_name_55 WHERE year_s__won = "1985"</s>
CREATE TABLE player (Gender VARCHAR, Occupation VARCHAR)
SELECT Gender, Occupation FROM player
What are the gender and occupation of players?
<s>[INST]What are the gender and occupation of players? Context: CREATE TABLE player (Gender VARCHAR, Occupation VARCHAR)[/INST]SELECT Gender, Occupation FROM player</s>
CREATE TABLE table_name_21 (production_number VARCHAR, series VARCHAR, title VARCHAR)
SELECT COUNT(production_number) FROM table_name_21 WHERE series = "mm" AND title = "bell hoppy"
What is the production number for Bell Hoppy in the MM Series?
<s>[INST]What is the production number for Bell Hoppy in the MM Series? Context: CREATE TABLE table_name_21 (production_number VARCHAR, series VARCHAR, title VARCHAR)[/INST]SELECT COUNT(production_number) FROM table_name_21 WHERE series = "mm" AND title = "bell hoppy"</s>
CREATE TABLE table_name_42 (try_diff VARCHAR, points_against VARCHAR)
SELECT try_diff FROM table_name_42 WHERE points_against = "213"
What is Try Diff, when Points Against is 213?
<s>[INST]What is Try Diff, when Points Against is 213? Context: CREATE TABLE table_name_42 (try_diff VARCHAR, points_against VARCHAR)[/INST]SELECT try_diff FROM table_name_42 WHERE points_against = "213"</s>
CREATE TABLE table_name_47 (week_2 VARCHAR, week_4 VARCHAR)
SELECT week_2 FROM table_name_47 WHERE week_4 = "terri lynn farrow"
Who was the girl of the week 2 weeks before terri lynn farrow in the same month?
<s>[INST]Who was the girl of the week 2 weeks before terri lynn farrow in the same month? Context: CREATE TABLE table_name_47 (week_2 VARCHAR, week_4 VARCHAR)[/INST]SELECT week_2 FROM table_name_47 WHERE week_4 = "terri lynn farrow"</s>
CREATE TABLE table_1137704_2 (report VARCHAR, winning_constructor VARCHAR, grand_prix VARCHAR)
SELECT report FROM table_1137704_2 WHERE winning_constructor = "Williams - Renault" AND grand_prix = "South African grand_prix"
what are all the report where winning constructor is williams - renault and grand prix is south african grand prix
<s>[INST]what are all the report where winning constructor is williams - renault and grand prix is south african grand prix Context: CREATE TABLE table_1137704_2 (report VARCHAR, winning_constructor VARCHAR, grand_prix VARCHAR)[/INST]SELECT report FROM table_1137704_2 WHERE winning_constructor = "Williams - Renault" AN...
CREATE TABLE table_name_92 (total VARCHAR, finish VARCHAR)
SELECT COUNT(total) FROM table_name_92 WHERE finish = "t32"
How many times was the finish t32?
<s>[INST]How many times was the finish t32? Context: CREATE TABLE table_name_92 (total VARCHAR, finish VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_92 WHERE finish = "t32"</s>
CREATE TABLE table_name_5 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_5 WHERE tie_no = "7"
What is Home Team, when Tie No is "7"?
<s>[INST]What is Home Team, when Tie No is "7"? Context: CREATE TABLE table_name_5 (home_team VARCHAR, tie_no VARCHAR)[/INST]SELECT home_team FROM table_name_5 WHERE tie_no = "7"</s>
CREATE TABLE table_name_22 (Id VARCHAR)
SELECT 2012 FROM table_name_22 WHERE 2009 = "205"
What's the 2012 when 2009 was 205?
<s>[INST]What's the 2012 when 2009 was 205? Context: CREATE TABLE table_name_22 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_22 WHERE 2009 = "205"</s>
CREATE TABLE table_name_86 (drawn INTEGER, games INTEGER)
SELECT MAX(drawn) FROM table_name_86 WHERE games < 7
What is the highest number of games drawn, where the games played was less than 7?
<s>[INST]What is the highest number of games drawn, where the games played was less than 7? Context: CREATE TABLE table_name_86 (drawn INTEGER, games INTEGER)[/INST]SELECT MAX(drawn) FROM table_name_86 WHERE games < 7</s>
CREATE TABLE table_name_96 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_96 WHERE name = "prenocephale"
What is the status of Prenocephale?
<s>[INST]What is the status of Prenocephale? Context: CREATE TABLE table_name_96 (status VARCHAR, name VARCHAR)[/INST]SELECT status FROM table_name_96 WHERE name = "prenocephale"</s>
CREATE TABLE table_name_65 (build_date VARCHAR, total_produced VARCHAR)
SELECT build_date FROM table_name_65 WHERE total_produced = 146
Name the build date for total produced of 146
<s>[INST]Name the build date for total produced of 146 Context: CREATE TABLE table_name_65 (build_date VARCHAR, total_produced VARCHAR)[/INST]SELECT build_date FROM table_name_65 WHERE total_produced = 146</s>
CREATE TABLE table_name_78 (lane INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR)
SELECT AVG(lane) FROM table_name_78 WHERE nationality = "japan" AND time = "4:37.35" AND heat < 3
What is the average lane of the athlete from japan with a time of 4:37.35 and a heat less than 3?
<s>[INST]What is the average lane of the athlete from japan with a time of 4:37.35 and a heat less than 3? Context: CREATE TABLE table_name_78 (lane INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR)[/INST]SELECT AVG(lane) FROM table_name_78 WHERE nationality = "japan" AND time = "4:37.35" AND heat < 3</s>
CREATE TABLE table_name_41 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_41 WHERE visitor = "st. louis"
Name the record when the visitor is st. louis
<s>[INST]Name the record when the visitor is st. louis Context: CREATE TABLE table_name_41 (record VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_41 WHERE visitor = "st. louis"</s>
CREATE TABLE table_name_93 (city VARCHAR, winner VARCHAR)
SELECT city FROM table_name_93 WHERE winner = "patrik antonius"
What city was the event in when Patrik Antonius won?
<s>[INST]What city was the event in when Patrik Antonius won? Context: CREATE TABLE table_name_93 (city VARCHAR, winner VARCHAR)[/INST]SELECT city FROM table_name_93 WHERE winner = "patrik antonius"</s>
CREATE TABLE table_name_19 (Id VARCHAR)
SELECT 2000 FROM table_name_19 WHERE 2013 = "3rd"
What shows for 2000 when 2013 shows 3rd?
<s>[INST]What shows for 2000 when 2013 shows 3rd? Context: CREATE TABLE table_name_19 (Id VARCHAR)[/INST]SELECT 2000 FROM table_name_19 WHERE 2013 = "3rd"</s>
CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_23 WHERE player = "arnold palmer"
What is Place, when Player is "Arnold Palmer"?
<s>[INST]What is Place, when Player is "Arnold Palmer"? Context: CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_23 WHERE player = "arnold palmer"</s>
CREATE TABLE table_name_7 (release_date VARCHAR, country VARCHAR)
SELECT COUNT(release_date) FROM table_name_7 WHERE country = "canada"
How many release dates has Canada had?
<s>[INST]How many release dates has Canada had? Context: CREATE TABLE table_name_7 (release_date VARCHAR, country VARCHAR)[/INST]SELECT COUNT(release_date) FROM table_name_7 WHERE country = "canada"</s>
CREATE TABLE table_name_98 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_98 WHERE home = "new york rangers"
What is the score of the game when the New York Rangers were the home team?
<s>[INST]What is the score of the game when the New York Rangers were the home team? Context: CREATE TABLE table_name_98 (score VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_98 WHERE home = "new york rangers"</s>
CREATE TABLE table_1717824_1 (south_asians_2001 VARCHAR, _percentage_2011 VARCHAR)
SELECT COUNT(south_asians_2001) FROM table_1717824_1 WHERE _percentage_2011 = "4.4%"
How many figures are given for total number of South Asians in 2001 for the area where they were 4.4% of population in 2011?
<s>[INST]How many figures are given for total number of South Asians in 2001 for the area where they were 4.4% of population in 2011? Context: CREATE TABLE table_1717824_1 (south_asians_2001 VARCHAR, _percentage_2011 VARCHAR)[/INST]SELECT COUNT(south_asians_2001) FROM table_1717824_1 WHERE _percentage_2011 = "4.4%"</s>
CREATE TABLE table_14006_1 (bleeding_time VARCHAR, condition VARCHAR)
SELECT bleeding_time FROM table_14006_1 WHERE condition = "Factor V deficiency"
what's the bleeding time with condition being factor v deficiency
<s>[INST]what's the bleeding time with condition being factor v deficiency Context: CREATE TABLE table_14006_1 (bleeding_time VARCHAR, condition VARCHAR)[/INST]SELECT bleeding_time FROM table_14006_1 WHERE condition = "Factor V deficiency"</s>
CREATE TABLE table_name_94 (time VARCHAR, winner VARCHAR)
SELECT time FROM table_name_94 WHERE winner = "salford ii"
What was the time for the winning horse Salford ii?
<s>[INST]What was the time for the winning horse Salford ii? Context: CREATE TABLE table_name_94 (time VARCHAR, winner VARCHAR)[/INST]SELECT time FROM table_name_94 WHERE winner = "salford ii"</s>
CREATE TABLE table_name_88 (type VARCHAR, quantity VARCHAR, number_s_ VARCHAR)
SELECT type FROM table_name_88 WHERE quantity < 6 AND number_s_ = "5201"
What is the type with a quantity of fewer than 6 and number(s) 5201?
<s>[INST]What is the type with a quantity of fewer than 6 and number(s) 5201? Context: CREATE TABLE table_name_88 (type VARCHAR, quantity VARCHAR, number_s_ VARCHAR)[/INST]SELECT type FROM table_name_88 WHERE quantity < 6 AND number_s_ = "5201"</s>
CREATE TABLE table_name_39 (points_jury VARCHAR, dance VARCHAR)
SELECT points_jury FROM table_name_39 WHERE dance = "pop"
What is the Points Jury for Dance pop?
<s>[INST]What is the Points Jury for Dance pop? Context: CREATE TABLE table_name_39 (points_jury VARCHAR, dance VARCHAR)[/INST]SELECT points_jury FROM table_name_39 WHERE dance = "pop"</s>
CREATE TABLE table_name_45 (race_name VARCHAR, winning_driver VARCHAR, constructor VARCHAR, circuit VARCHAR)
SELECT race_name FROM table_name_45 WHERE constructor = "maserati" AND circuit = "aintree" AND winning_driver = "stirling moss"
What was the race that featured stirling moss winning with a maserati at aintree?
<s>[INST]What was the race that featured stirling moss winning with a maserati at aintree? Context: CREATE TABLE table_name_45 (race_name VARCHAR, winning_driver VARCHAR, constructor VARCHAR, circuit VARCHAR)[/INST]SELECT race_name FROM table_name_45 WHERE constructor = "maserati" AND circuit = "aintree" AND winning_dr...
CREATE TABLE table_27715173_6 (high_assists VARCHAR, score VARCHAR)
SELECT high_assists FROM table_27715173_6 WHERE score = "W 107–95 (OT)"
Who had the high assists when the score was w 107–95 (ot)?
<s>[INST]Who had the high assists when the score was w 107–95 (ot)? Context: CREATE TABLE table_27715173_6 (high_assists VARCHAR, score VARCHAR)[/INST]SELECT high_assists FROM table_27715173_6 WHERE score = "W 107–95 (OT)"</s>
CREATE TABLE table_name_92 (nordbayern VARCHAR, year VARCHAR, württemberg VARCHAR)
SELECT nordbayern FROM table_name_92 WHERE year < 1932 AND württemberg = "union böckingen"
What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932?
<s>[INST]What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932? Context: CREATE TABLE table_name_92 (nordbayern VARCHAR, year VARCHAR, württemberg VARCHAR)[/INST]SELECT nordbayern FROM table_name_92 WHERE year < 1932 AND württemberg = "union böckingen"</s>
CREATE TABLE table_name_54 (netscape VARCHAR, internet_explorer VARCHAR)
SELECT netscape FROM table_name_54 WHERE internet_explorer = "63.67%"
What percentage of users were using Netscape during the period in which 63.67% were using Internet Explorer?
<s>[INST]What percentage of users were using Netscape during the period in which 63.67% were using Internet Explorer? Context: CREATE TABLE table_name_54 (netscape VARCHAR, internet_explorer VARCHAR)[/INST]SELECT netscape FROM table_name_54 WHERE internet_explorer = "63.67%"</s>
CREATE TABLE table_23183195_5 (minutes INTEGER, player VARCHAR)
SELECT MAX(minutes) FROM table_23183195_5 WHERE player = "Morgan Jennings"
Name the most minutes for morgan jennings
<s>[INST]Name the most minutes for morgan jennings Context: CREATE TABLE table_23183195_5 (minutes INTEGER, player VARCHAR)[/INST]SELECT MAX(minutes) FROM table_23183195_5 WHERE player = "Morgan Jennings"</s>
CREATE TABLE table_10120207_8 (tv_season VARCHAR, rank VARCHAR)
SELECT tv_season FROM table_10120207_8 WHERE rank = "39"
What is the season year where the rank is 39?
<s>[INST]What is the season year where the rank is 39? Context: CREATE TABLE table_10120207_8 (tv_season VARCHAR, rank VARCHAR)[/INST]SELECT tv_season FROM table_10120207_8 WHERE rank = "39"</s>
CREATE TABLE table_name_36 (year_s__won VARCHAR, total VARCHAR, to_par VARCHAR)
SELECT year_s__won FROM table_name_36 WHERE total < 300 AND to_par = 9
What year did the player with a total less than 300 and a to par of 9 have a win?
<s>[INST]What year did the player with a total less than 300 and a to par of 9 have a win? Context: CREATE TABLE table_name_36 (year_s__won VARCHAR, total VARCHAR, to_par VARCHAR)[/INST]SELECT year_s__won FROM table_name_36 WHERE total < 300 AND to_par = 9</s>
CREATE TABLE table_name_19 (losses INTEGER, points VARCHAR, wins VARCHAR, position VARCHAR)
SELECT MAX(losses) FROM table_name_19 WHERE wins < 2 AND position < 11 AND points > 6
What is the most losses for teams with under 2 wins, more than 6 points, and a position under 11?
<s>[INST]What is the most losses for teams with under 2 wins, more than 6 points, and a position under 11? Context: CREATE TABLE table_name_19 (losses INTEGER, points VARCHAR, wins VARCHAR, position VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_19 WHERE wins < 2 AND position < 11 AND points > 6</s>
CREATE TABLE table_27515452_3 (hometown VARCHAR, contestant VARCHAR)
SELECT hometown FROM table_27515452_3 WHERE contestant = "Marelissa Him"
where is the participant marelissa him from
<s>[INST]where is the participant marelissa him from Context: CREATE TABLE table_27515452_3 (hometown VARCHAR, contestant VARCHAR)[/INST]SELECT hometown FROM table_27515452_3 WHERE contestant = "Marelissa Him"</s>
CREATE TABLE table_25548213_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__million_ FROM table_25548213_1 WHERE written_by = "Kevin Biegel & Aseem Batra"
How many million viewers watch the episode that kevin biegel & aseem batra wrote?
<s>[INST]How many million viewers watch the episode that kevin biegel & aseem batra wrote? Context: CREATE TABLE table_25548213_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)[/INST]SELECT us_viewers__million_ FROM table_25548213_1 WHERE written_by = "Kevin Biegel & Aseem Batra"</s>
CREATE TABLE table_name_96 (region VARCHAR, location VARCHAR)
SELECT region FROM table_name_96 WHERE location = "49.7462°n 117.1419°w"
what is the region when the location is 49.7462°n 117.1419°w?
<s>[INST]what is the region when the location is 49.7462°n 117.1419°w? Context: CREATE TABLE table_name_96 (region VARCHAR, location VARCHAR)[/INST]SELECT region FROM table_name_96 WHERE location = "49.7462°n 117.1419°w"</s>
CREATE TABLE table_name_17 (number_of_seats VARCHAR, year VARCHAR, quantity VARCHAR)
SELECT COUNT(number_of_seats) FROM table_name_17 WHERE year = "2001" AND quantity > 4
How many seats in 2001 with a quantity greater than 4?
<s>[INST]How many seats in 2001 with a quantity greater than 4? Context: CREATE TABLE table_name_17 (number_of_seats VARCHAR, year VARCHAR, quantity VARCHAR)[/INST]SELECT COUNT(number_of_seats) FROM table_name_17 WHERE year = "2001" AND quantity > 4</s>
CREATE TABLE table_name_7 (population__2006_ VARCHAR, vehicle_registration_code VARCHAR, population_density VARCHAR)
SELECT population__2006_ FROM table_name_7 WHERE vehicle_registration_code = "g" AND population_density = "1,432.0"
What is the 2006 population of the area with vehicle registration code of G and population density of 1,432.0?
<s>[INST]What is the 2006 population of the area with vehicle registration code of G and population density of 1,432.0? Context: CREATE TABLE table_name_7 (population__2006_ VARCHAR, vehicle_registration_code VARCHAR, population_density VARCHAR)[/INST]SELECT population__2006_ FROM table_name_7 WHERE vehicle_registratio...
CREATE TABLE table_name_71 (points VARCHAR, engine VARCHAR, year VARCHAR)
SELECT COUNT(points) FROM table_name_71 WHERE engine = "judd v8" AND year = 1989
How many points did Judd v8 has in 1989?
<s>[INST]How many points did Judd v8 has in 1989? Context: CREATE TABLE table_name_71 (points VARCHAR, engine VARCHAR, year VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_71 WHERE engine = "judd v8" AND year = 1989</s>
CREATE TABLE table_name_73 (college VARCHAR, position VARCHAR, pick VARCHAR)
SELECT college FROM table_name_73 WHERE position = "tackle" AND pick < 87
What college has a pick smaller than 87 for the position of tackle?
<s>[INST]What college has a pick smaller than 87 for the position of tackle? Context: CREATE TABLE table_name_73 (college VARCHAR, position VARCHAR, pick VARCHAR)[/INST]SELECT college FROM table_name_73 WHERE position = "tackle" AND pick < 87</s>
CREATE TABLE table_name_55 (year VARCHAR, class VARCHAR)
SELECT year FROM table_name_55 WHERE class = "125cc"
Tell me the year for class of 125cc
<s>[INST]Tell me the year for class of 125cc Context: CREATE TABLE table_name_55 (year VARCHAR, class VARCHAR)[/INST]SELECT year FROM table_name_55 WHERE class = "125cc"</s>
CREATE TABLE table_name_67 (laid_down VARCHAR, completed VARCHAR)
SELECT laid_down FROM table_name_67 WHERE completed = "22 october 1934"
Name the laid down for completed of 22 october 1934
<s>[INST]Name the laid down for completed of 22 october 1934 Context: CREATE TABLE table_name_67 (laid_down VARCHAR, completed VARCHAR)[/INST]SELECT laid_down FROM table_name_67 WHERE completed = "22 october 1934"</s>
CREATE TABLE table_name_73 (pts_rank VARCHAR, club VARCHAR)
SELECT pts_rank FROM table_name_73 WHERE club = "chicago fire"
What is the points ranking of Chicago Fire?
<s>[INST]What is the points ranking of Chicago Fire? Context: CREATE TABLE table_name_73 (pts_rank VARCHAR, club VARCHAR)[/INST]SELECT pts_rank FROM table_name_73 WHERE club = "chicago fire"</s>
CREATE TABLE table_name_19 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_name_19 WHERE incumbent = "wyatt aiken"
What district is Wyatt Aiken in?
<s>[INST]What district is Wyatt Aiken in? Context: CREATE TABLE table_name_19 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_name_19 WHERE incumbent = "wyatt aiken"</s>
CREATE TABLE table_name_75 (outcome VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_75 WHERE opponent_in_the_final = "sylvia hanika" AND surface = "hard (i)"
What is the outcome of the match against Sylvia Hanika on a hard (i) surface?
<s>[INST]What is the outcome of the match against Sylvia Hanika on a hard (i) surface? Context: CREATE TABLE table_name_75 (outcome VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR)[/INST]SELECT outcome FROM table_name_75 WHERE opponent_in_the_final = "sylvia hanika" AND surface = "hard (i)"</s>
CREATE TABLE table_1475840_1 (stolen_ends INTEGER, locale VARCHAR, Alberta VARCHAR)
SELECT MIN(stolen_ends) FROM table_1475840_1 WHERE locale = Alberta
What is the minimum stolen ends for the locale Alberta?
<s>[INST]What is the minimum stolen ends for the locale Alberta? Context: CREATE TABLE table_1475840_1 (stolen_ends INTEGER, locale VARCHAR, Alberta VARCHAR)[/INST]SELECT MIN(stolen_ends) FROM table_1475840_1 WHERE locale = Alberta</s>
CREATE TABLE table_1341549_33 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_1341549_33 WHERE district = "New York2"
how many first elected with district being new york2
<s>[INST] how many first elected with district being new york2 Context: CREATE TABLE table_1341549_33 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1341549_33 WHERE district = "New York2"</s>