context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_64 (competition VARCHAR, assist_pass VARCHAR, date VARCHAR)
SELECT competition FROM table_name_64 WHERE assist_pass = "stephanie cox" AND date = "2011-07-02"
Name the competition for stephanie cox on 2011-07-02
<s>[INST]Name the competition for stephanie cox on 2011-07-02 Context: CREATE TABLE table_name_64 (competition VARCHAR, assist_pass VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_64 WHERE assist_pass = "stephanie cox" AND date = "2011-07-02"</s>
CREATE TABLE table_name_67 (employee__real_name_ VARCHAR, pick__number INTEGER)
SELECT employee__real_name_ FROM table_name_67 WHERE pick__number > 9
What is the real name of the Pick # that is greater than 9?
<s>[INST]What is the real name of the Pick # that is greater than 9? Context: CREATE TABLE table_name_67 (employee__real_name_ VARCHAR, pick__number INTEGER)[/INST]SELECT employee__real_name_ FROM table_name_67 WHERE pick__number > 9</s>
CREATE TABLE channel (OWNER VARCHAR, Rating_in_percent INTEGER)
SELECT SUM(Rating_in_percent), OWNER FROM channel GROUP BY OWNER
Find the total rating ratio for each channel owner.
<s>[INST]Find the total rating ratio for each channel owner. Context: CREATE TABLE channel (OWNER VARCHAR, Rating_in_percent INTEGER)[/INST]SELECT SUM(Rating_in_percent), OWNER FROM channel GROUP BY OWNER</s>
CREATE TABLE table_name_91 (years VARCHAR, decile VARCHAR)
SELECT years FROM table_name_91 WHERE decile = "6"
The Decile of 6 has which corresponding Years?
<s>[INST]The Decile of 6 has which corresponding Years? Context: CREATE TABLE table_name_91 (years VARCHAR, decile VARCHAR)[/INST]SELECT years FROM table_name_91 WHERE decile = "6"</s>
CREATE TABLE table_10416547_1 (music_genre_style VARCHAR, lyrics_theme_style VARCHAR)
SELECT COUNT(music_genre_style) FROM table_10416547_1 WHERE lyrics_theme_style = "Detective story"
What is the total number of music genre/style in which the lyrics are a detective story?
<s>[INST]What is the total number of music genre/style in which the lyrics are a detective story? Context: CREATE TABLE table_10416547_1 (music_genre_style VARCHAR, lyrics_theme_style VARCHAR)[/INST]SELECT COUNT(music_genre_style) FROM table_10416547_1 WHERE lyrics_theme_style = "Detective story"</s>
CREATE TABLE table_name_75 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_75 WHERE date = "31 january 1951" AND away_team = "sheffield united"
Who is the home team on 31 January 1951 when away team was Sheffield United?
<s>[INST]Who is the home team on 31 January 1951 when away team was Sheffield United? Context: CREATE TABLE table_name_75 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_75 WHERE date = "31 january 1951" AND away_team = "sheffield united"</s>
CREATE TABLE table_name_69 (sergey_filimonov___kaz__ VARCHAR)
SELECT sergey_filimonov___kaz__ FROM table_name_69 WHERE "snatch" = "snatch"
What shows for Sergey Filimonov (KAZ) when the Snatch shows snatch?
<s>[INST]What shows for Sergey Filimonov (KAZ) when the Snatch shows snatch? Context: CREATE TABLE table_name_69 (sergey_filimonov___kaz__ VARCHAR)[/INST]SELECT sergey_filimonov___kaz__ FROM table_name_69 WHERE "snatch" = "snatch"</s>
CREATE TABLE table_name_47 (height_in_ft VARCHAR, years_for_rockets VARCHAR)
SELECT height_in_ft FROM table_name_47 WHERE years_for_rockets = "1999-2004"
Tell me the height in ft for 1999-2004
<s>[INST]Tell me the height in ft for 1999-2004 Context: CREATE TABLE table_name_47 (height_in_ft VARCHAR, years_for_rockets VARCHAR)[/INST]SELECT height_in_ft FROM table_name_47 WHERE years_for_rockets = "1999-2004"</s>
CREATE TABLE table_name_23 (hessen VARCHAR, saar VARCHAR)
SELECT hessen FROM table_name_23 WHERE saar = "fk pirmasens"
Who was the Hessen the year that Saar was FK Pirmasens?
<s>[INST]Who was the Hessen the year that Saar was FK Pirmasens? Context: CREATE TABLE table_name_23 (hessen VARCHAR, saar VARCHAR)[/INST]SELECT hessen FROM table_name_23 WHERE saar = "fk pirmasens"</s>
CREATE TABLE book_club (publisher VARCHAR)
SELECT publisher FROM book_club GROUP BY publisher ORDER BY COUNT(*) DESC LIMIT 1
What is the publisher with most number of books?
<s>[INST]What is the publisher with most number of books? Context: CREATE TABLE book_club (publisher VARCHAR)[/INST]SELECT publisher FROM book_club GROUP BY publisher ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR)
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Stephanie" AND t1.lname = "Weirich"
Which papers have "Stephanie Weirich" as an author?
<s>[INST]Which papers have "Stephanie Weirich" as an author? Context: CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR)[/INST]SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1....
CREATE TABLE table_name_92 (score VARCHAR, january INTEGER)
SELECT score FROM table_name_92 WHERE january < 4
What was the score in January that was less than 4?
<s>[INST]What was the score in January that was less than 4? Context: CREATE TABLE table_name_92 (score VARCHAR, january INTEGER)[/INST]SELECT score FROM table_name_92 WHERE january < 4</s>
CREATE TABLE table_name_59 (english_country_name VARCHAR, english_capital_name VARCHAR)
SELECT english_country_name FROM table_name_59 WHERE english_capital_name = "ramallah"
What is the English name of the country that has Ramallah as its capital?
<s>[INST]What is the English name of the country that has Ramallah as its capital? Context: CREATE TABLE table_name_59 (english_country_name VARCHAR, english_capital_name VARCHAR)[/INST]SELECT english_country_name FROM table_name_59 WHERE english_capital_name = "ramallah"</s>
CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR)
SELECT attendance FROM table_name_8 WHERE score = "16–7"
What was the attendance at the game that had a score of 16–7?
<s>[INST]What was the attendance at the game that had a score of 16–7? Context: CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR)[/INST]SELECT attendance FROM table_name_8 WHERE score = "16–7"</s>
CREATE TABLE table_19487922_1 (seasons VARCHAR, country VARCHAR)
SELECT seasons FROM table_19487922_1 WHERE country = "Monaco"
How many seasons for Monaco?
<s>[INST]How many seasons for Monaco? Context: CREATE TABLE table_19487922_1 (seasons VARCHAR, country VARCHAR)[/INST]SELECT seasons FROM table_19487922_1 WHERE country = "Monaco"</s>
CREATE TABLE table_2847477_2 (simplified VARCHAR, english_name VARCHAR)
SELECT COUNT(simplified) FROM table_2847477_2 WHERE english_name = "Xin County"
How many simplified names are there for xin county?
<s>[INST]How many simplified names are there for xin county? Context: CREATE TABLE table_2847477_2 (simplified VARCHAR, english_name VARCHAR)[/INST]SELECT COUNT(simplified) FROM table_2847477_2 WHERE english_name = "Xin County"</s>
CREATE TABLE table_name_86 (round VARCHAR, series VARCHAR, season VARCHAR)
SELECT round FROM table_name_86 WHERE series = "5th place" AND season = "2006–07"
What is the Round when the series shows 5th place, and a Season of 2006–07?
<s>[INST]What is the Round when the series shows 5th place, and a Season of 2006–07? Context: CREATE TABLE table_name_86 (round VARCHAR, series VARCHAR, season VARCHAR)[/INST]SELECT round FROM table_name_86 WHERE series = "5th place" AND season = "2006–07"</s>
CREATE TABLE table_name_43 (week VARCHAR, result VARCHAR)
SELECT week FROM table_name_43 WHERE result = "l 10-23"
Result of l 10-23 occurred in what week?
<s>[INST]Result of l 10-23 occurred in what week? Context: CREATE TABLE table_name_43 (week VARCHAR, result VARCHAR)[/INST]SELECT week FROM table_name_43 WHERE result = "l 10-23"</s>
CREATE TABLE table_19834691_4 (timeslot VARCHAR, _number VARCHAR)
SELECT COUNT(timeslot) FROM table_19834691_4 WHERE _number = 1
name the total number of timeslot for number 1
<s>[INST]name the total number of timeslot for number 1 Context: CREATE TABLE table_19834691_4 (timeslot VARCHAR, _number VARCHAR)[/INST]SELECT COUNT(timeslot) FROM table_19834691_4 WHERE _number = 1</s>
CREATE TABLE table_name_84 (constructor VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_84 WHERE laps > 17 AND grid < 7 AND time_retired = "+ 1:35.6"
When grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who is the constructor?
<s>[INST]When grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who is the constructor? Context: CREATE TABLE table_name_84 (constructor VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT constructor FROM table_name_84 WHERE laps > 17 AND grid < 7 AND time_retired = "+ 1:...
CREATE TABLE table_name_61 (a_score INTEGER, b_score VARCHAR, total VARCHAR)
SELECT MIN(a_score) FROM table_name_61 WHERE b_score = 9.15 AND total = 16.05
What is the lowest A Score when the B Score is 9.15, and total is 16.05?
<s>[INST]What is the lowest A Score when the B Score is 9.15, and total is 16.05? Context: CREATE TABLE table_name_61 (a_score INTEGER, b_score VARCHAR, total VARCHAR)[/INST]SELECT MIN(a_score) FROM table_name_61 WHERE b_score = 9.15 AND total = 16.05</s>
CREATE TABLE table_name_96 (round INTEGER, college_team VARCHAR, pick VARCHAR)
SELECT MIN(round) FROM table_name_96 WHERE college_team = "kansas" AND pick < 56
What is the lowest Round, when College/Team is "Kansas", and when Pick is less than 56?
<s>[INST]What is the lowest Round, when College/Team is "Kansas", and when Pick is less than 56? Context: CREATE TABLE table_name_96 (round INTEGER, college_team VARCHAR, pick VARCHAR)[/INST]SELECT MIN(round) FROM table_name_96 WHERE college_team = "kansas" AND pick < 56</s>
CREATE TABLE table_11690135_1 (country VARCHAR, swimsuit VARCHAR)
SELECT COUNT(country) FROM table_11690135_1 WHERE swimsuit = "9.87"
Who had a swimsuit score of 9.87?
<s>[INST]Who had a swimsuit score of 9.87? Context: CREATE TABLE table_11690135_1 (country VARCHAR, swimsuit VARCHAR)[/INST]SELECT COUNT(country) FROM table_11690135_1 WHERE swimsuit = "9.87"</s>
CREATE TABLE table_11677691_10 (position VARCHAR, school VARCHAR)
SELECT position FROM table_11677691_10 WHERE school = "Butler High school"
What was the position of the player from Butler High School?
<s>[INST]What was the position of the player from Butler High School? Context: CREATE TABLE table_11677691_10 (position VARCHAR, school VARCHAR)[/INST]SELECT position FROM table_11677691_10 WHERE school = "Butler High school"</s>
CREATE TABLE table_16331025_2 (dates__mdy_ VARCHAR, gross_sales VARCHAR)
SELECT dates__mdy_ FROM table_16331025_2 WHERE gross_sales = "$1,271,451"
What day was the gross sales $1,271,451?
<s>[INST]What day was the gross sales $1,271,451? Context: CREATE TABLE table_16331025_2 (dates__mdy_ VARCHAR, gross_sales VARCHAR)[/INST]SELECT dates__mdy_ FROM table_16331025_2 WHERE gross_sales = "$1,271,451"</s>
CREATE TABLE table_name_63 (winner VARCHAR, college VARCHAR, hometown VARCHAR)
SELECT winner FROM table_name_63 WHERE college = "connecticut" AND hometown = "north syracuse, ny"
Who is the winner who attended college at Connecticut and is from North Syracuse, NY?
<s>[INST]Who is the winner who attended college at Connecticut and is from North Syracuse, NY? Context: CREATE TABLE table_name_63 (winner VARCHAR, college VARCHAR, hometown VARCHAR)[/INST]SELECT winner FROM table_name_63 WHERE college = "connecticut" AND hometown = "north syracuse, ny"</s>
CREATE TABLE table_name_1 (song_choice VARCHAR, theme VARCHAR)
SELECT song_choice FROM table_name_1 WHERE theme = "1960s"
What is the Song choice with a Theme that is 1960s?
<s>[INST]What is the Song choice with a Theme that is 1960s? Context: CREATE TABLE table_name_1 (song_choice VARCHAR, theme VARCHAR)[/INST]SELECT song_choice FROM table_name_1 WHERE theme = "1960s"</s>
CREATE TABLE table_2847477_2 (density INTEGER, area VARCHAR)
SELECT MAX(density) FROM table_2847477_2 WHERE area = 1512
What is the density of the place with an area of 1512?
<s>[INST]What is the density of the place with an area of 1512? Context: CREATE TABLE table_2847477_2 (density INTEGER, area VARCHAR)[/INST]SELECT MAX(density) FROM table_2847477_2 WHERE area = 1512</s>
CREATE TABLE table_name_68 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_68 WHERE score = 71 - 69 - 71 = 211
What player scored 71-69-71=211?
<s>[INST]What player scored 71-69-71=211? Context: CREATE TABLE table_name_68 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_68 WHERE score = 71 - 69 - 71 = 211</s>
CREATE TABLE table_1217448_1 (cover_date VARCHAR, character_s_ VARCHAR)
SELECT cover_date FROM table_1217448_1 WHERE character_s_ = "X-Men ; Magneto"
what's the cover date where character(s) is x-men ; magneto
<s>[INST] what's the cover date where character(s) is x-men ; magneto Context: CREATE TABLE table_1217448_1 (cover_date VARCHAR, character_s_ VARCHAR)[/INST]SELECT cover_date FROM table_1217448_1 WHERE character_s_ = "X-Men ; Magneto"</s>
CREATE TABLE table_name_11 (country VARCHAR, season VARCHAR)
SELECT country FROM table_name_11 WHERE season = "2006-07"
What is the Country for the 2006-07 season?
<s>[INST]What is the Country for the 2006-07 season? Context: CREATE TABLE table_name_11 (country VARCHAR, season VARCHAR)[/INST]SELECT country FROM table_name_11 WHERE season = "2006-07"</s>
CREATE TABLE table_name_87 (Id VARCHAR)
SELECT 2007 FROM table_name_87 WHERE 2011 = "nms"
What is the 2007 value with NMS in 2011?
<s>[INST]What is the 2007 value with NMS in 2011? Context: CREATE TABLE table_name_87 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_87 WHERE 2011 = "nms"</s>
CREATE TABLE table_name_92 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MIN(silver) FROM table_name_92 WHERE rank = "1" AND bronze < 2
What's the silver for rank 1 with less than 2 bronze?
<s>[INST]What's the silver for rank 1 with less than 2 bronze? Context: CREATE TABLE table_name_92 (silver INTEGER, rank VARCHAR, bronze VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_92 WHERE rank = "1" AND bronze < 2</s>
CREATE TABLE table_name_39 (laps INTEGER, grid INTEGER)
SELECT AVG(laps) FROM table_name_39 WHERE grid > 22
Tell me the average Laps for grid larger than 22
<s>[INST]Tell me the average Laps for grid larger than 22 Context: CREATE TABLE table_name_39 (laps INTEGER, grid INTEGER)[/INST]SELECT AVG(laps) FROM table_name_39 WHERE grid > 22</s>
CREATE TABLE musical (RESULT VARCHAR)
SELECT RESULT FROM musical GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1
List the most common result of the musicals.
<s>[INST]List the most common result of the musicals. Context: CREATE TABLE musical (RESULT VARCHAR)[/INST]SELECT RESULT FROM musical GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_17 (place VARCHAR, date VARCHAR, race VARCHAR, season VARCHAR)
SELECT place FROM table_name_17 WHERE race = "downhill" AND season < 1996 AND date = "11-mar-1995"
What is the place result of the downhill race before the 1996 season on 11-Mar-1995?
<s>[INST]What is the place result of the downhill race before the 1996 season on 11-Mar-1995? Context: CREATE TABLE table_name_17 (place VARCHAR, date VARCHAR, race VARCHAR, season VARCHAR)[/INST]SELECT place FROM table_name_17 WHERE race = "downhill" AND season < 1996 AND date = "11-mar-1995"</s>
CREATE TABLE table_name_32 (pl_gp INTEGER, reg_gp VARCHAR, pick__number VARCHAR)
SELECT AVG(pl_gp) FROM table_name_32 WHERE reg_gp = 97 AND pick__number < 70
What is the average PI GP when the pick is smaller tha 70 and the reg GP is 97?
<s>[INST]What is the average PI GP when the pick is smaller tha 70 and the reg GP is 97? Context: CREATE TABLE table_name_32 (pl_gp INTEGER, reg_gp VARCHAR, pick__number VARCHAR)[/INST]SELECT AVG(pl_gp) FROM table_name_32 WHERE reg_gp = 97 AND pick__number < 70</s>
CREATE TABLE table_name_73 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_73 WHERE record = "2–7–0–1"
WHich Date has a Record of 2–7–0–1?
<s>[INST]WHich Date has a Record of 2–7–0–1? Context: CREATE TABLE table_name_73 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_73 WHERE record = "2–7–0–1"</s>
CREATE TABLE table_name_67 (constructor VARCHAR, circuit VARCHAR, winning_driver VARCHAR)
SELECT constructor FROM table_name_67 WHERE circuit = "oulton park" AND winning_driver = "john surtees"
Who is the constructor of John Surtees's Oulton Park circuit car?
<s>[INST]Who is the constructor of John Surtees's Oulton Park circuit car? Context: CREATE TABLE table_name_67 (constructor VARCHAR, circuit VARCHAR, winning_driver VARCHAR)[/INST]SELECT constructor FROM table_name_67 WHERE circuit = "oulton park" AND winning_driver = "john surtees"</s>
CREATE TABLE table_name_47 (years_member VARCHAR, school VARCHAR)
SELECT years_member FROM table_name_47 WHERE school = "cairo high school"
What Years Member has a School of cairo high school?
<s>[INST]What Years Member has a School of cairo high school? Context: CREATE TABLE table_name_47 (years_member VARCHAR, school VARCHAR)[/INST]SELECT years_member FROM table_name_47 WHERE school = "cairo high school"</s>
CREATE TABLE table_name_72 (name VARCHAR, location VARCHAR)
SELECT name FROM table_name_72 WHERE location = "nigeria"
Which is located in Nigeria?
<s>[INST]Which is located in Nigeria? Context: CREATE TABLE table_name_72 (name VARCHAR, location VARCHAR)[/INST]SELECT name FROM table_name_72 WHERE location = "nigeria"</s>
CREATE TABLE table_name_66 (december INTEGER, score VARCHAR)
SELECT MIN(december) FROM table_name_66 WHERE score = "4 - 4"
What is the lowest December, when Score is "4 - 4"?
<s>[INST]What is the lowest December, when Score is "4 - 4"? Context: CREATE TABLE table_name_66 (december INTEGER, score VARCHAR)[/INST]SELECT MIN(december) FROM table_name_66 WHERE score = "4 - 4"</s>
CREATE TABLE table_name_32 (score VARCHAR, game VARCHAR, october VARCHAR)
SELECT score FROM table_name_32 WHERE game > 6 AND october = 28
What was the score of the game after game 6 on October 28?
<s>[INST]What was the score of the game after game 6 on October 28? Context: CREATE TABLE table_name_32 (score VARCHAR, game VARCHAR, october VARCHAR)[/INST]SELECT score FROM table_name_32 WHERE game > 6 AND october = 28</s>
CREATE TABLE table_27756014_1 (score VARCHAR, game VARCHAR)
SELECT score FROM table_27756014_1 WHERE game = 4
What is the score of game 4?
<s>[INST]What is the score of game 4? Context: CREATE TABLE table_27756014_1 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_27756014_1 WHERE game = 4</s>
CREATE TABLE table_name_82 (finish VARCHAR, start VARCHAR, team VARCHAR, year VARCHAR)
SELECT finish FROM table_name_82 WHERE team = "chip ganassi racing" AND year > 2010 AND start = "17"
What is the finish for the chip ganassi racing team that was later than 2010 and a Start of 17?
<s>[INST]What is the finish for the chip ganassi racing team that was later than 2010 and a Start of 17? Context: CREATE TABLE table_name_82 (finish VARCHAR, start VARCHAR, team VARCHAR, year VARCHAR)[/INST]SELECT finish FROM table_name_82 WHERE team = "chip ganassi racing" AND year > 2010 AND start = "17"</s>
CREATE TABLE table_name_52 (rank VARCHAR, name VARCHAR)
SELECT rank FROM table_name_52 WHERE name = "point hyllie"
What is the rank of Point Hyllie?
<s>[INST]What is the rank of Point Hyllie? Context: CREATE TABLE table_name_52 (rank VARCHAR, name VARCHAR)[/INST]SELECT rank FROM table_name_52 WHERE name = "point hyllie"</s>
CREATE TABLE table_name_88 (date VARCHAR, location VARCHAR)
SELECT date FROM table_name_88 WHERE location = "gold coast"
On what Date was the Tournament in Gold Coast?
<s>[INST]On what Date was the Tournament in Gold Coast? Context: CREATE TABLE table_name_88 (date VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_88 WHERE location = "gold coast"</s>
CREATE TABLE table_name_60 (season VARCHAR, west VARCHAR)
SELECT season FROM table_name_60 WHERE west = "ev bad wörishofen"
Which season had EV Bad Wörishofen in the West?
<s>[INST]Which season had EV Bad Wörishofen in the West? Context: CREATE TABLE table_name_60 (season VARCHAR, west VARCHAR)[/INST]SELECT season FROM table_name_60 WHERE west = "ev bad wörishofen"</s>
CREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_supporters_shield_runner_up VARCHAR)
SELECT mls_cup_winner FROM table_11148572_1 WHERE mls_supporters_shield_runner_up = "Chivas USA"
What is the name of the shield winner in which the mls cup winner and mls supporters shield runner up is Chivas usa?
<s>[INST]What is the name of the shield winner in which the mls cup winner and mls supporters shield runner up is Chivas usa? Context: CREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_supporters_shield_runner_up VARCHAR)[/INST]SELECT mls_cup_winner FROM table_11148572_1 WHERE mls_supporters_shield_runner_up =...
CREATE TABLE table_name_97 (tournament VARCHAR)
SELECT 1998 FROM table_name_97 WHERE tournament = "canada"
What Tournament of canada happened in 1998?
<s>[INST]What Tournament of canada happened in 1998? Context: CREATE TABLE table_name_97 (tournament VARCHAR)[/INST]SELECT 1998 FROM table_name_97 WHERE tournament = "canada"</s>
CREATE TABLE table_name_72 (first_performance VARCHAR, name VARCHAR, style VARCHAR, status VARCHAR)
SELECT first_performance FROM table_name_72 WHERE style = "ballet" AND status = "final cast" AND name = "peter mazurowski"
when was the first performance for the ballet with peter mazurowski in the final cast?
<s>[INST]when was the first performance for the ballet with peter mazurowski in the final cast? Context: CREATE TABLE table_name_72 (first_performance VARCHAR, name VARCHAR, style VARCHAR, status VARCHAR)[/INST]SELECT first_performance FROM table_name_72 WHERE style = "ballet" AND status = "final cast" AND name = "pete...
CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR)
SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "Dutch")
How many countries speak both English and Dutch?
<s>[INST]How many countries speak both English and Dutch? Context: CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR)[/INST]SELECT COUNT(*) FROM (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Languag...
CREATE TABLE table_16384648_2 (joined_tschl VARCHAR, institution VARCHAR)
SELECT joined_tschl FROM table_16384648_2 WHERE institution = "University of Pittsburgh"
What year did the university of Pittsburgh school join the hockey league?
<s>[INST]What year did the university of Pittsburgh school join the hockey league? Context: CREATE TABLE table_16384648_2 (joined_tschl VARCHAR, institution VARCHAR)[/INST]SELECT joined_tschl FROM table_16384648_2 WHERE institution = "University of Pittsburgh"</s>
CREATE TABLE table_27622417_1 (written_by VARCHAR, prod_code VARCHAR)
SELECT written_by FROM table_27622417_1 WHERE prod_code = "411"
who were the writers in the episode whose production code was 411?
<s>[INST]who were the writers in the episode whose production code was 411? Context: CREATE TABLE table_27622417_1 (written_by VARCHAR, prod_code VARCHAR)[/INST]SELECT written_by FROM table_27622417_1 WHERE prod_code = "411"</s>
CREATE TABLE table_name_34 (name VARCHAR, born_died VARCHAR)
SELECT name FROM table_name_34 WHERE born_died = "1873–1933"
What is the Name of the Prime Minister with a Born-Died of 1873–1933?
<s>[INST]What is the Name of the Prime Minister with a Born-Died of 1873–1933? Context: CREATE TABLE table_name_34 (name VARCHAR, born_died VARCHAR)[/INST]SELECT name FROM table_name_34 WHERE born_died = "1873–1933"</s>
CREATE TABLE table_22753245_1 (constituency VARCHAR, runner_up_a VARCHAR)
SELECT constituency FROM table_22753245_1 WHERE runner_up_a = "D. Venugopal"
Who is the constituency when the runner-up was d. Venugopal?
<s>[INST]Who is the constituency when the runner-up was d. Venugopal? Context: CREATE TABLE table_22753245_1 (constituency VARCHAR, runner_up_a VARCHAR)[/INST]SELECT constituency FROM table_22753245_1 WHERE runner_up_a = "D. Venugopal"</s>
CREATE TABLE table_name_31 (film VARCHAR)
SELECT film FROM table_name_31 WHERE "year" = "year"
When the year is year what was the film?
<s>[INST]When the year is year what was the film? Context: CREATE TABLE table_name_31 (film VARCHAR)[/INST]SELECT film FROM table_name_31 WHERE "year" = "year"</s>
CREATE TABLE table_2293510_1 (_percentage_of_eu_average_gdp__ppp_ VARCHAR, €_per_capita__2005_ VARCHAR)
SELECT _percentage_of_eu_average_gdp__ppp_ FROM table_2293510_1 WHERE €_per_capita__2005_ = 2519
What's the percentage of EU average GDP (PPP) in the region where € per capita is 2519
<s>[INST]What's the percentage of EU average GDP (PPP) in the region where € per capita is 2519 Context: CREATE TABLE table_2293510_1 (_percentage_of_eu_average_gdp__ppp_ VARCHAR, €_per_capita__2005_ VARCHAR)[/INST]SELECT _percentage_of_eu_average_gdp__ppp_ FROM table_2293510_1 WHERE €_per_capita__2005_ = 2519</s>
CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER)
SELECT Product_Name, AVG(Product_Price) FROM PRODUCTS GROUP BY Product_Name
What are the different product names? What is the average product price for each of them?
<s>[INST]What are the different product names? What is the average product price for each of them? Context: CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER)[/INST]SELECT Product_Name, AVG(Product_Price) FROM PRODUCTS GROUP BY Product_Name</s>
CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR, enzyme_id VARCHAR); CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR, id VARCHAR); CREATE TABLE enzyme (id VARCHAR, product VARCHAR)
SELECT name, trade_name FROM medicine EXCEPT SELECT T1.name, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id JOIN enzyme AS T3 ON T3.id = T2.enzyme_id WHERE T3.product = 'Protoporphyrinogen IX'
Show the medicine names and trade names that cannot interact with the enzyme with product 'Heme'.
<s>[INST]Show the medicine names and trade names that cannot interact with the enzyme with product 'Heme'. Context: CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR, enzyme_id VARCHAR); CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR, id VAR...
CREATE TABLE table_name_75 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_75 WHERE team_2 = "belasica"
What is the score for the 2nd leg when Belasica is team 2?
<s>[INST]What is the score for the 2nd leg when Belasica is team 2? Context: CREATE TABLE table_name_75 (team_2 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_75 WHERE team_2 = "belasica"</s>
CREATE TABLE table_name_52 (hyndburn INTEGER, fylde INTEGER)
SELECT SUM(hyndburn) FROM table_name_52 WHERE fylde > 3
How much Hyndburn has a Fylde larger than 3?
<s>[INST]How much Hyndburn has a Fylde larger than 3? Context: CREATE TABLE table_name_52 (hyndburn INTEGER, fylde INTEGER)[/INST]SELECT SUM(hyndburn) FROM table_name_52 WHERE fylde > 3</s>
CREATE TABLE table_23987362_2 (world_record VARCHAR)
SELECT COUNT(3) AS :2600 FROM table_23987362_2 WHERE world_record = "Championship record"
How many of 3:26.00 have a championship record?
<s>[INST]How many of 3:26.00 have a championship record? Context: CREATE TABLE table_23987362_2 (world_record VARCHAR)[/INST]SELECT COUNT(3) AS :2600 FROM table_23987362_2 WHERE world_record = "Championship record"</s>
CREATE TABLE table_name_47 (network VARCHAR, lap_by_lap VARCHAR, pit_reporters VARCHAR)
SELECT network FROM table_name_47 WHERE lap_by_lap = "bill flemming" AND pit_reporters = "chris economaki"
What network has lap-by-laps by Bill Flemming, and Pit reporter Chris Economaki?
<s>[INST]What network has lap-by-laps by Bill Flemming, and Pit reporter Chris Economaki? Context: CREATE TABLE table_name_47 (network VARCHAR, lap_by_lap VARCHAR, pit_reporters VARCHAR)[/INST]SELECT network FROM table_name_47 WHERE lap_by_lap = "bill flemming" AND pit_reporters = "chris economaki"</s>
CREATE TABLE table_name_99 (standalone VARCHAR, arcade VARCHAR)
SELECT standalone FROM table_name_99 WHERE arcade = "tron"
What is the Standalone when Tron is the Arcade?
<s>[INST]What is the Standalone when Tron is the Arcade? Context: CREATE TABLE table_name_99 (standalone VARCHAR, arcade VARCHAR)[/INST]SELECT standalone FROM table_name_99 WHERE arcade = "tron"</s>
CREATE TABLE table_name_52 (pick VARCHAR, player VARCHAR)
SELECT COUNT(pick) FROM table_name_52 WHERE player = "kenny evans"
How many picks included Kenny Evans?
<s>[INST]How many picks included Kenny Evans? Context: CREATE TABLE table_name_52 (pick VARCHAR, player VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_52 WHERE player = "kenny evans"</s>
CREATE TABLE table_name_73 (losses VARCHAR, year VARCHAR)
SELECT losses FROM table_name_73 WHERE year = "2012"
What is the losses for the year 2012?
<s>[INST]What is the losses for the year 2012? Context: CREATE TABLE table_name_73 (losses VARCHAR, year VARCHAR)[/INST]SELECT losses FROM table_name_73 WHERE year = "2012"</s>
CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR, previous_team VARCHAR, career_with_the_franchise_ VARCHAR, b_ VARCHAR)
SELECT player FROM table_name_89 WHERE team = "buffalo braves" AND previous_team = "los angeles lakers" AND career_with_the_franchise_[b_] = "1970"
Who is the player from the Buffalo Braves with the previous team Los Angeles Lakers and a career with the franchase in 1970?
<s>[INST]Who is the player from the Buffalo Braves with the previous team Los Angeles Lakers and a career with the franchase in 1970? Context: CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR, previous_team VARCHAR, career_with_the_franchise_ VARCHAR, b_ VARCHAR)[/INST]SELECT player FROM table_name_89 WHERE tea...
CREATE TABLE table_11964047_7 (record VARCHAR, score VARCHAR)
SELECT record FROM table_11964047_7 WHERE score = "W 98–91"
what are all the records with a score is w 98–91
<s>[INST]what are all the records with a score is w 98–91 Context: CREATE TABLE table_11964047_7 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_11964047_7 WHERE score = "W 98–91"</s>
CREATE TABLE table_name_51 (round INTEGER, position VARCHAR, school VARCHAR)
SELECT SUM(round) FROM table_name_51 WHERE position = "linebacker" AND school = "utah state"
When the school picking is utah state for the position of linebacker, what's the sum of those rounds?
<s>[INST]When the school picking is utah state for the position of linebacker, what's the sum of those rounds? Context: CREATE TABLE table_name_51 (round INTEGER, position VARCHAR, school VARCHAR)[/INST]SELECT SUM(round) FROM table_name_51 WHERE position = "linebacker" AND school = "utah state"</s>
CREATE TABLE table_name_52 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_52 WHERE record = "38-30"
What's the score if the record was 38-30?
<s>[INST]What's the score if the record was 38-30? Context: CREATE TABLE table_name_52 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_52 WHERE record = "38-30"</s>
CREATE TABLE table_name_89 (innings INTEGER, sr VARCHAR, balls_faced VARCHAR)
SELECT MIN(innings) FROM table_name_89 WHERE sr = 72.05 AND balls_faced < 297
What is the smallest number of innings with a strike rate of 72.05 and under 297 balls faced?
<s>[INST]What is the smallest number of innings with a strike rate of 72.05 and under 297 balls faced? Context: CREATE TABLE table_name_89 (innings INTEGER, sr VARCHAR, balls_faced VARCHAR)[/INST]SELECT MIN(innings) FROM table_name_89 WHERE sr = 72.05 AND balls_faced < 297</s>
CREATE TABLE table_19787093_1 (till_mathura VARCHAR, till_agra VARCHAR)
SELECT COUNT(till_mathura) FROM table_19787093_1 WHERE till_agra = 500
How many have the Till Agra of 500?
<s>[INST]How many have the Till Agra of 500? Context: CREATE TABLE table_19787093_1 (till_mathura VARCHAR, till_agra VARCHAR)[/INST]SELECT COUNT(till_mathura) FROM table_19787093_1 WHERE till_agra = 500</s>
CREATE TABLE table_name_40 (mascot VARCHAR, year_left VARCHAR, location VARCHAR)
SELECT mascot FROM table_name_40 WHERE year_left > 2000 AND location = "huntington"
What's the mascot in Huntington after the year 2000?
<s>[INST]What's the mascot in Huntington after the year 2000? Context: CREATE TABLE table_name_40 (mascot VARCHAR, year_left VARCHAR, location VARCHAR)[/INST]SELECT mascot FROM table_name_40 WHERE year_left > 2000 AND location = "huntington"</s>
CREATE TABLE table_name_72 (jerseys INTEGER, young_rider VARCHAR, giro_wins VARCHAR, points VARCHAR, different_holders VARCHAR)
SELECT MAX(jerseys) FROM table_name_72 WHERE points = 0 AND different_holders < 3 AND giro_wins < 1 AND young_rider > 1
what is the highest jersey when points is 0, different holders is less than 3, giro wins is less than 1 and young rider is more than 1?
<s>[INST]what is the highest jersey when points is 0, different holders is less than 3, giro wins is less than 1 and young rider is more than 1? Context: CREATE TABLE table_name_72 (jerseys INTEGER, young_rider VARCHAR, giro_wins VARCHAR, points VARCHAR, different_holders VARCHAR)[/INST]SELECT MAX(jerseys) FROM table_n...
CREATE TABLE table_name_90 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_90 WHERE home_team = "west bromwich albion"
What is the date of the match with west bromwich albion as the home team?
<s>[INST]What is the date of the match with west bromwich albion as the home team? Context: CREATE TABLE table_name_90 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_90 WHERE home_team = "west bromwich albion"</s>
CREATE TABLE table_name_84 (persian VARCHAR, domari VARCHAR)
SELECT persian FROM table_name_84 WHERE domari = "na"
What Persian word has the same meaning as the Domari word na?
<s>[INST]What Persian word has the same meaning as the Domari word na? Context: CREATE TABLE table_name_84 (persian VARCHAR, domari VARCHAR)[/INST]SELECT persian FROM table_name_84 WHERE domari = "na"</s>
CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, round VARCHAR)
SELECT fastest_lap FROM table_25322130_3 WHERE round = "3"
Name the fastest lap for round 3
<s>[INST]Name the fastest lap for round 3 Context: CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, round VARCHAR)[/INST]SELECT fastest_lap FROM table_25322130_3 WHERE round = "3"</s>
CREATE TABLE table_18461045_1 (kentucky VARCHAR, illinois VARCHAR)
SELECT kentucky FROM table_18461045_1 WHERE illinois = "Rock Falls LL Rock Falls"
What was the little league team from Kentucky when the little league team from Illinois was Rock Falls LL Rock Falls?
<s>[INST]What was the little league team from Kentucky when the little league team from Illinois was Rock Falls LL Rock Falls? Context: CREATE TABLE table_18461045_1 (kentucky VARCHAR, illinois VARCHAR)[/INST]SELECT kentucky FROM table_18461045_1 WHERE illinois = "Rock Falls LL Rock Falls"</s>
CREATE TABLE table_21796261_4 (final_score VARCHAR, date VARCHAR)
SELECT final_score FROM table_21796261_4 WHERE date = "July 10"
What was the final score of the game played on July 10?
<s>[INST]What was the final score of the game played on July 10? Context: CREATE TABLE table_21796261_4 (final_score VARCHAR, date VARCHAR)[/INST]SELECT final_score FROM table_21796261_4 WHERE date = "July 10"</s>
CREATE TABLE table_name_72 (date VARCHAR, visiting_team VARCHAR)
SELECT date FROM table_name_72 WHERE visiting_team = "denver broncos"
Name the date for visiting team of denver broncos
<s>[INST]Name the date for visiting team of denver broncos Context: CREATE TABLE table_name_72 (date VARCHAR, visiting_team VARCHAR)[/INST]SELECT date FROM table_name_72 WHERE visiting_team = "denver broncos"</s>
CREATE TABLE table_name_93 (years VARCHAR, games VARCHAR)
SELECT years FROM table_name_93 WHERE games = 550
What is the Years when games shows 550?
<s>[INST]What is the Years when games shows 550? Context: CREATE TABLE table_name_93 (years VARCHAR, games VARCHAR)[/INST]SELECT years FROM table_name_93 WHERE games = 550</s>
CREATE TABLE table_name_8 (points INTEGER, november VARCHAR)
SELECT AVG(points) FROM table_name_8 WHERE november = 6
What is the average points on November 6?
<s>[INST]What is the average points on November 6? Context: CREATE TABLE table_name_8 (points INTEGER, november VARCHAR)[/INST]SELECT AVG(points) FROM table_name_8 WHERE november = 6</s>
CREATE TABLE table_name_41 (pos VARCHAR, name VARCHAR)
SELECT pos FROM table_name_41 WHERE name = "elise norwood"
What is Elise Norwood's Pos.?
<s>[INST]What is Elise Norwood's Pos.? Context: CREATE TABLE table_name_41 (pos VARCHAR, name VARCHAR)[/INST]SELECT pos FROM table_name_41 WHERE name = "elise norwood"</s>
CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_27 WHERE home_team = "richmond"
What is the score of the away team that played richmond?
<s>[INST]What is the score of the away team that played richmond? Context: CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_27 WHERE home_team = "richmond"</s>
CREATE TABLE table_name_97 (winner VARCHAR, country VARCHAR, fis_nordic_world_ski_championships VARCHAR)
SELECT winner FROM table_name_97 WHERE country = "norway" AND fis_nordic_world_ski_championships = "1924"
Which Winner has a Country of norway, and a FIS Nordic World Ski Championships of 1924?
<s>[INST]Which Winner has a Country of norway, and a FIS Nordic World Ski Championships of 1924? Context: CREATE TABLE table_name_97 (winner VARCHAR, country VARCHAR, fis_nordic_world_ski_championships VARCHAR)[/INST]SELECT winner FROM table_name_97 WHERE country = "norway" AND fis_nordic_world_ski_championships = "192...
CREATE TABLE table_name_21 (goals_against INTEGER, position VARCHAR, points VARCHAR, club VARCHAR)
SELECT MAX(goals_against) FROM table_name_21 WHERE points > 25 AND club = "sd indautxu" AND position > 3
What is the highest Goals Against, when Points is greater than 25, when Club is "SD Indautxu", and when Position is greater than 3?
<s>[INST]What is the highest Goals Against, when Points is greater than 25, when Club is "SD Indautxu", and when Position is greater than 3? Context: CREATE TABLE table_name_21 (goals_against INTEGER, position VARCHAR, points VARCHAR, club VARCHAR)[/INST]SELECT MAX(goals_against) FROM table_name_21 WHERE points > 25 AN...
CREATE TABLE table_2241101_1 (driver VARCHAR, manufacturer VARCHAR)
SELECT COUNT(driver) FROM table_2241101_1 WHERE manufacturer = "Toyota"
How many different drivers were there for the team when the manufacturer was Toyota?
<s>[INST]How many different drivers were there for the team when the manufacturer was Toyota? Context: CREATE TABLE table_2241101_1 (driver VARCHAR, manufacturer VARCHAR)[/INST]SELECT COUNT(driver) FROM table_2241101_1 WHERE manufacturer = "Toyota"</s>
CREATE TABLE table_name_86 (drawn INTEGER, played VARCHAR, diff VARCHAR, points VARCHAR)
SELECT MAX(drawn) FROM table_name_86 WHERE diff < 186 AND points < 12 AND played < 6
What is the maximum number of draws when the diff is smaller than 186, points are fewer than 12 and games played fewer than 6?
<s>[INST]What is the maximum number of draws when the diff is smaller than 186, points are fewer than 12 and games played fewer than 6? Context: CREATE TABLE table_name_86 (drawn INTEGER, played VARCHAR, diff VARCHAR, points VARCHAR)[/INST]SELECT MAX(drawn) FROM table_name_86 WHERE diff < 186 AND points < 12 AND played...
CREATE TABLE table_25016555_5 (assists INTEGER)
SELECT MIN(assists) FROM table_25016555_5
What is the lowest overall amount of assists?
<s>[INST]What is the lowest overall amount of assists? Context: CREATE TABLE table_25016555_5 (assists INTEGER)[/INST]SELECT MIN(assists) FROM table_25016555_5</s>
CREATE TABLE table_name_21 (gold VARCHAR, place VARCHAR)
SELECT gold FROM table_name_21 WHERE place = "phoenix"
Who won gold when the world championships were held in Phoenix?
<s>[INST]Who won gold when the world championships were held in Phoenix? Context: CREATE TABLE table_name_21 (gold VARCHAR, place VARCHAR)[/INST]SELECT gold FROM table_name_21 WHERE place = "phoenix"</s>
CREATE TABLE airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)
SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = "London Heathrow" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport...
Show the names of aircrafts that are associated with both an airport named "London Heathrow" and an airport named "London Gatwick"
<s>[INST]Show the names of aircrafts that are associated with both an airport named "London Heathrow" and an airport named "London Gatwick" Context: CREATE TABLE airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID ...
CREATE TABLE table_1447085_1 (median_house__hold_income VARCHAR, place VARCHAR)
SELECT median_house__hold_income FROM table_1447085_1 WHERE place = "Woodside"
What is the median household income for Woodside?
<s>[INST]What is the median household income for Woodside? Context: CREATE TABLE table_1447085_1 (median_house__hold_income VARCHAR, place VARCHAR)[/INST]SELECT median_house__hold_income FROM table_1447085_1 WHERE place = "Woodside"</s>
CREATE TABLE table_name_42 (winning_driver VARCHAR, race_name VARCHAR)
SELECT winning_driver FROM table_name_42 WHERE race_name = "viii gran premio di siracusa"
Who is the Winning Driver in the race viii gran premio di siracusa?
<s>[INST]Who is the Winning Driver in the race viii gran premio di siracusa? Context: CREATE TABLE table_name_42 (winning_driver VARCHAR, race_name VARCHAR)[/INST]SELECT winning_driver FROM table_name_42 WHERE race_name = "viii gran premio di siracusa"</s>
CREATE TABLE table_name_95 (general_election VARCHAR, _number_of_seats_won VARCHAR, _number_of_candidates VARCHAR)
SELECT COUNT(general_election) FROM table_name_95 WHERE _number_of_seats_won < 23 AND _number_of_candidates > 108
How many general elections that have won smaller than 23 with candidates larger than 108?
<s>[INST]How many general elections that have won smaller than 23 with candidates larger than 108? Context: CREATE TABLE table_name_95 (general_election VARCHAR, _number_of_seats_won VARCHAR, _number_of_candidates VARCHAR)[/INST]SELECT COUNT(general_election) FROM table_name_95 WHERE _number_of_seats_won < 23 AND _numb...
CREATE TABLE table_26301697_2 (age INTEGER, represents VARCHAR)
SELECT MIN(age) FROM table_26301697_2 WHERE represents = "Distrito Nacional"
Name the least age for distrito nacional
<s>[INST]Name the least age for distrito nacional Context: CREATE TABLE table_26301697_2 (age INTEGER, represents VARCHAR)[/INST]SELECT MIN(age) FROM table_26301697_2 WHERE represents = "Distrito Nacional"</s>
CREATE TABLE table_26769_1 (capital VARCHAR, population_density_per_km² VARCHAR)
SELECT capital FROM table_26769_1 WHERE population_density_per_km² = "15.6/km² (/sqmi)"
What is the capital of the country with a population density per km² of 15.6/km² (/sqmi)?
<s>[INST]What is the capital of the country with a population density per km² of 15.6/km² (/sqmi)? Context: CREATE TABLE table_26769_1 (capital VARCHAR, population_density_per_km² VARCHAR)[/INST]SELECT capital FROM table_26769_1 WHERE population_density_per_km² = "15.6/km² (/sqmi)"</s>
CREATE TABLE table_name_2 (weight_at_birth VARCHAR, gender VARCHAR, nickname VARCHAR)
SELECT weight_at_birth FROM table_name_2 WHERE gender = "girl" AND nickname = "chidi"
How much did the girl, nicknamed Chidi, weigh at birth?
<s>[INST]How much did the girl, nicknamed Chidi, weigh at birth? Context: CREATE TABLE table_name_2 (weight_at_birth VARCHAR, gender VARCHAR, nickname VARCHAR)[/INST]SELECT weight_at_birth FROM table_name_2 WHERE gender = "girl" AND nickname = "chidi"</s>
CREATE TABLE table_name_15 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_15 WHERE home_team = "footscray"
What was Footscray's score as the home team?
<s>[INST]What was Footscray's score as the home team? Context: CREATE TABLE table_name_15 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_15 WHERE home_team = "footscray"</s>
CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR)
SELECT famous_for FROM table_14345690_5 WHERE finished = "2nd"
Who is the famous for that finished 2nd?
<s>[INST]Who is the famous for that finished 2nd? Context: CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR)[/INST]SELECT famous_for FROM table_14345690_5 WHERE finished = "2nd"</s>