question
stringlengths
12
244
answer
stringlengths
18
557
context
stringlengths
27
489
text
stringlengths
108
1.05k
Tell me the average Laps for grid larger than 22
SELECT AVG(laps) FROM table_name_39 WHERE grid > 22
CREATE TABLE table_name_39 (laps INTEGER, grid INTEGER)
<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>
Tell me the constructor for grid of 17
SELECT constructor FROM table_name_9 WHERE grid = 17
CREATE TABLE table_name_9 (constructor VARCHAR, grid VARCHAR)
<s>[INST] Tell me the constructor for grid of 17 context: CREATE TABLE table_name_9 (constructor VARCHAR, grid VARCHAR) [/INST] SELECT constructor FROM table_name_9 WHERE grid = 17 </s>
What years had a manager who lost more than 1 and drawn more than 11?
SELECT ukraine_career FROM table_name_26 WHERE lost > 1 AND drawn > 11
CREATE TABLE table_name_26 (ukraine_career VARCHAR, lost VARCHAR, drawn VARCHAR)
<s>[INST] What years had a manager who lost more than 1 and drawn more than 11? context: CREATE TABLE table_name_26 (ukraine_career VARCHAR, lost VARCHAR, drawn VARCHAR) [/INST] SELECT ukraine_career FROM table_name_26 WHERE lost > 1 AND drawn > 11 </s>
what is the total win % of manager viktor prokopenko, when he lost fewer than 2?
SELECT COUNT(win__percentage) FROM table_name_43 WHERE manager = "viktor prokopenko" AND lost < 2
CREATE TABLE table_name_43 (win__percentage VARCHAR, manager VARCHAR, lost VARCHAR)
<s>[INST] what is the total win % of manager viktor prokopenko, when he lost fewer than 2? context: CREATE TABLE table_name_43 (win__percentage VARCHAR, manager VARCHAR, lost VARCHAR) [/INST] SELECT COUNT(win__percentage) FROM table_name_43 WHERE manager = "viktor prokopenko" AND lost < 2 </s>
When 4 clubs are involved, what is the average number of fixtures?
SELECT AVG(fixtures) FROM table_name_3 WHERE clubs_involved = 4
CREATE TABLE table_name_3 (fixtures INTEGER, clubs_involved VARCHAR)
<s>[INST] When 4 clubs are involved, what is the average number of fixtures? context: CREATE TABLE table_name_3 (fixtures INTEGER, clubs_involved VARCHAR) [/INST] SELECT AVG(fixtures) FROM table_name_3 WHERE clubs_involved = 4 </s>
In the sixth round, what is the sum of fixtures when there were more than 15 clubs involved?
SELECT SUM(fixtures) FROM table_name_67 WHERE round = "sixth round" AND clubs_involved > 15
CREATE TABLE table_name_67 (fixtures INTEGER, round VARCHAR, clubs_involved VARCHAR)
<s>[INST] In the sixth round, what is the sum of fixtures when there were more than 15 clubs involved? context: CREATE TABLE table_name_67 (fixtures INTEGER, round VARCHAR, clubs_involved VARCHAR) [/INST] SELECT SUM(fixtures) FROM table_name_67 WHERE round = "sixth round" AND clubs_involved > 15 </s>
Tell me the league for year of 1915/16
SELECT league FROM table_name_3 WHERE year = "1915/16"
CREATE TABLE table_name_3 (league VARCHAR, year VARCHAR)
<s>[INST] Tell me the league for year of 1915/16 context: CREATE TABLE table_name_3 (league VARCHAR, year VARCHAR) [/INST] SELECT league FROM table_name_3 WHERE year = "1915/16" </s>
What is the make of the car that drove 54 laps?
SELECT constructor FROM table_name_26 WHERE laps = 54
CREATE TABLE table_name_26 (constructor VARCHAR, laps VARCHAR)
<s>[INST] What is the make of the car that drove 54 laps? context: CREATE TABLE table_name_26 (constructor VARCHAR, laps VARCHAR) [/INST] SELECT constructor FROM table_name_26 WHERE laps = 54 </s>
Who has a 59 cap?
SELECT name FROM table_name_9 WHERE caps = 59
CREATE TABLE table_name_9 (name VARCHAR, caps VARCHAR)
<s>[INST] Who has a 59 cap? context: CREATE TABLE table_name_9 (name VARCHAR, caps VARCHAR) [/INST] SELECT name FROM table_name_9 WHERE caps = 59 </s>
Tell me the sum of frequency for ERP W less than 1
SELECT SUM(frequency_mhz) FROM table_name_43 WHERE erp_w < 1
CREATE TABLE table_name_43 (frequency_mhz INTEGER, erp_w INTEGER)
<s>[INST] Tell me the sum of frequency for ERP W less than 1 context: CREATE TABLE table_name_43 (frequency_mhz INTEGER, erp_w INTEGER) [/INST] SELECT SUM(frequency_mhz) FROM table_name_43 WHERE erp_w < 1 </s>
Tell me the lowest ties played with a debut of 1936
SELECT MIN(ties_played) FROM table_name_15 WHERE debut = 1936
CREATE TABLE table_name_15 (ties_played INTEGER, debut VARCHAR)
<s>[INST] Tell me the lowest ties played with a debut of 1936 context: CREATE TABLE table_name_15 (ties_played INTEGER, debut VARCHAR) [/INST] SELECT MIN(ties_played) FROM table_name_15 WHERE debut = 1936 </s>
Where did the Paris Marathon occur?
SELECT venue FROM table_name_47 WHERE competition = "paris marathon"
CREATE TABLE table_name_47 (venue VARCHAR, competition VARCHAR)
<s>[INST] Where did the Paris Marathon occur? context: CREATE TABLE table_name_47 (venue VARCHAR, competition VARCHAR) [/INST] SELECT venue FROM table_name_47 WHERE competition = "paris marathon" </s>
Tell me the capacity for city park stadium
SELECT capacity FROM table_name_15 WHERE stadium = "city park stadium"
CREATE TABLE table_name_15 (capacity VARCHAR, stadium VARCHAR)
<s>[INST] Tell me the capacity for city park stadium context: CREATE TABLE table_name_15 (capacity VARCHAR, stadium VARCHAR) [/INST] SELECT capacity FROM table_name_15 WHERE stadium = "city park stadium" </s>
Tell me the tournament for opponents of andrei pavel rogier wassen
SELECT tournament FROM table_name_53 WHERE opponents_in_the_final = "andrei pavel rogier wassen"
CREATE TABLE table_name_53 (tournament VARCHAR, opponents_in_the_final VARCHAR)
<s>[INST] Tell me the tournament for opponents of andrei pavel rogier wassen context: CREATE TABLE table_name_53 (tournament VARCHAR, opponents_in_the_final VARCHAR) [/INST] SELECT tournament FROM table_name_53 WHERE opponents_in_the_final = "andrei pavel rogier wassen" </s>
Tell me the tournament for score in the final of 1–6, 3–6
SELECT tournament FROM table_name_20 WHERE score_in_the_final = "1–6, 3–6"
CREATE TABLE table_name_20 (tournament VARCHAR, score_in_the_final VARCHAR)
<s>[INST] Tell me the tournament for score in the final of 1–6, 3–6 context: CREATE TABLE table_name_20 (tournament VARCHAR, score_in_the_final VARCHAR) [/INST] SELECT tournament FROM table_name_20 WHERE score_in_the_final = "1–6, 3–6" </s>
Tell me the opponents for score in the final of 1–6, 2–6
SELECT opponents_in_the_final FROM table_name_68 WHERE score_in_the_final = "1–6, 2–6"
CREATE TABLE table_name_68 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
<s>[INST] Tell me the opponents for score in the final of 1–6, 2–6 context: CREATE TABLE table_name_68 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR) [/INST] SELECT opponents_in_the_final FROM table_name_68 WHERE score_in_the_final = "1–6, 2–6" </s>
Tell me the surface for 16 april 2007
SELECT surface FROM table_name_72 WHERE date = "16 april 2007"
CREATE TABLE table_name_72 (surface VARCHAR, date VARCHAR)
<s>[INST] Tell me the surface for 16 april 2007 context: CREATE TABLE table_name_72 (surface VARCHAR, date VARCHAR) [/INST] SELECT surface FROM table_name_72 WHERE date = "16 april 2007" </s>
I want the average pages for ISBN of 978-0-9766580-5-4
SELECT AVG(pages) FROM table_name_77 WHERE isbn = "978-0-9766580-5-4"
CREATE TABLE table_name_77 (pages INTEGER, isbn VARCHAR)
<s>[INST] I want the average pages for ISBN of 978-0-9766580-5-4 context: CREATE TABLE table_name_77 (pages INTEGER, isbn VARCHAR) [/INST] SELECT AVG(pages) FROM table_name_77 WHERE isbn = "978-0-9766580-5-4" </s>
Tell me the sum of year for 244 pages
SELECT SUM(year) FROM table_name_84 WHERE pages = 244
CREATE TABLE table_name_84 (year INTEGER, pages VARCHAR)
<s>[INST] Tell me the sum of year for 244 pages context: CREATE TABLE table_name_84 (year INTEGER, pages VARCHAR) [/INST] SELECT SUM(year) FROM table_name_84 WHERE pages = 244 </s>
Tell me the title for pages of 96
SELECT title FROM table_name_99 WHERE pages = 96
CREATE TABLE table_name_99 (title VARCHAR, pages VARCHAR)
<s>[INST] Tell me the title for pages of 96 context: CREATE TABLE table_name_99 (title VARCHAR, pages VARCHAR) [/INST] SELECT title FROM table_name_99 WHERE pages = 96 </s>
What was the date of birth of a republican member of the United States House of Representatives who held the term of 1863-1865?
SELECT date_of_birth FROM table_name_80 WHERE party = "republican" AND house_term = "1863-1865"
CREATE TABLE table_name_80 (date_of_birth VARCHAR, party VARCHAR, house_term VARCHAR)
<s>[INST] What was the date of birth of a republican member of the United States House of Representatives who held the term of 1863-1865? context: CREATE TABLE table_name_80 (date_of_birth VARCHAR, party VARCHAR, house_term VARCHAR) [/INST] SELECT date_of_birth FROM table_name_80 WHERE party = "republican" AND house_t...
What was the age of the member of the United States House of Representatives that began their term on May 7, 1886?
SELECT age__years, _days_ FROM table_name_66 WHERE begin_date = "may 7, 1886"
CREATE TABLE table_name_66 (age__years VARCHAR, _days_ VARCHAR, begin_date VARCHAR)
<s>[INST] What was the age of the member of the United States House of Representatives that began their term on May 7, 1886? context: CREATE TABLE table_name_66 (age__years VARCHAR, _days_ VARCHAR, begin_date VARCHAR) [/INST] SELECT age__years, _days_ FROM table_name_66 WHERE begin_date = "may 7, 1886" </s>
What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902?
SELECT date_of_birth FROM table_name_66 WHERE begin_date = "april 24, 1902"
CREATE TABLE table_name_66 (date_of_birth VARCHAR, begin_date VARCHAR)
<s>[INST] What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902? context: CREATE TABLE table_name_66 (date_of_birth VARCHAR, begin_date VARCHAR) [/INST] SELECT date_of_birth FROM table_name_66 WHERE begin_date = "april 24, 1902" </s>
Which member of the United States House of Representatives began their term on January 4, 1997?
SELECT representative FROM table_name_72 WHERE begin_date = "january 4, 1997"
CREATE TABLE table_name_72 (representative VARCHAR, begin_date VARCHAR)
<s>[INST] Which member of the United States House of Representatives began their term on January 4, 1997? context: CREATE TABLE table_name_72 (representative VARCHAR, begin_date VARCHAR) [/INST] SELECT representative FROM table_name_72 WHERE begin_date = "january 4, 1997" </s>
Which state did Samuel Thatcher of the Federalist party represent?
SELECT state_served FROM table_name_27 WHERE party = "federalist" AND representative = "samuel thatcher"
CREATE TABLE table_name_27 (state_served VARCHAR, party VARCHAR, representative VARCHAR)
<s>[INST] Which state did Samuel Thatcher of the Federalist party represent? context: CREATE TABLE table_name_27 (state_served VARCHAR, party VARCHAR, representative VARCHAR) [/INST] SELECT state_served FROM table_name_27 WHERE party = "federalist" AND representative = "samuel thatcher" </s>
What position does Hedo Türkoğlu play?
SELECT position FROM table_name_93 WHERE player = "hedo türkoğlu"
CREATE TABLE table_name_93 (position VARCHAR, player VARCHAR)
<s>[INST] What position does Hedo Türkoğlu play? context: CREATE TABLE table_name_93 (position VARCHAR, player VARCHAR) [/INST] SELECT position FROM table_name_93 WHERE player = "hedo türkoğlu" </s>
How long has Sebastian Telfair played for Toronto?
SELECT years_in_toronto FROM table_name_83 WHERE player = "sebastian telfair"
CREATE TABLE table_name_83 (years_in_toronto VARCHAR, player VARCHAR)
<s>[INST] How long has Sebastian Telfair played for Toronto? context: CREATE TABLE table_name_83 (years_in_toronto VARCHAR, player VARCHAR) [/INST] SELECT years_in_toronto FROM table_name_83 WHERE player = "sebastian telfair" </s>
Tell me the title for japan august 23, 2012
SELECT title FROM table_name_30 WHERE japan = "august 23, 2012"
CREATE TABLE table_name_30 (title VARCHAR, japan VARCHAR)
<s>[INST] Tell me the title for japan august 23, 2012 context: CREATE TABLE table_name_30 (title VARCHAR, japan VARCHAR) [/INST] SELECT title FROM table_name_30 WHERE japan = "august 23, 2012" </s>
Tell me the title for japan august 23, 2012
SELECT title FROM table_name_57 WHERE japan = "august 23, 2012"
CREATE TABLE table_name_57 (title VARCHAR, japan VARCHAR)
<s>[INST] Tell me the title for japan august 23, 2012 context: CREATE TABLE table_name_57 (title VARCHAR, japan VARCHAR) [/INST] SELECT title FROM table_name_57 WHERE japan = "august 23, 2012" </s>
Tell me the Australia march 17, 2005
SELECT australia FROM table_name_84 WHERE japan = "march 17, 2005"
CREATE TABLE table_name_84 (australia VARCHAR, japan VARCHAR)
<s>[INST] Tell me the Australia march 17, 2005 context: CREATE TABLE table_name_84 (australia VARCHAR, japan VARCHAR) [/INST] SELECT australia FROM table_name_84 WHERE japan = "march 17, 2005" </s>
Tell me the Europe for z.h.p. unlosing ranger vs darkdeath evilman
SELECT europe FROM table_name_79 WHERE title = "z.h.p. unlosing ranger vs darkdeath evilman"
CREATE TABLE table_name_79 (europe VARCHAR, title VARCHAR)
<s>[INST] Tell me the Europe for z.h.p. unlosing ranger vs darkdeath evilman context: CREATE TABLE table_name_79 (europe VARCHAR, title VARCHAR) [/INST] SELECT europe FROM table_name_79 WHERE title = "z.h.p. unlosing ranger vs darkdeath evilman" </s>
Name the total losses for 4 place and ties less than 0
SELECT COUNT(losses) FROM table_name_35 WHERE place = 4 AND ties < 0
CREATE TABLE table_name_35 (losses VARCHAR, place VARCHAR, ties VARCHAR)
<s>[INST] Name the total losses for 4 place and ties less than 0 context: CREATE TABLE table_name_35 (losses VARCHAR, place VARCHAR, ties VARCHAR) [/INST] SELECT COUNT(losses) FROM table_name_35 WHERE place = 4 AND ties < 0 </s>
Name the average place for ties less than 1 and losess more than 3 with points of 6 qc
SELECT AVG(place) FROM table_name_70 WHERE ties < 1 AND points = "6 qc" AND losses > 3
CREATE TABLE table_name_70 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR)
<s>[INST] Name the average place for ties less than 1 and losess more than 3 with points of 6 qc context: CREATE TABLE table_name_70 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR) [/INST] SELECT AVG(place) FROM table_name_70 WHERE ties < 1 AND points = "6 qc" AND losses > 3 </s>
Name the most wins for losses more than 2 and points of two with place larger than 7
SELECT MAX(wins) FROM table_name_4 WHERE losses > "2" AND points = "2" AND place > 7
CREATE TABLE table_name_4 (wins INTEGER, place VARCHAR, losses VARCHAR, points VARCHAR)
<s>[INST] Name the most wins for losses more than 2 and points of two with place larger than 7 context: CREATE TABLE table_name_4 (wins INTEGER, place VARCHAR, losses VARCHAR, points VARCHAR) [/INST] SELECT MAX(wins) FROM table_name_4 WHERE losses > "2" AND points = "2" AND place > 7 </s>
Name the sum of place with ties larger than 0 and point sof 7 qc and losses more than 2
SELECT SUM(place) FROM table_name_58 WHERE ties > 0 AND points = "7 qc" AND losses > 2
CREATE TABLE table_name_58 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR)
<s>[INST] Name the sum of place with ties larger than 0 and point sof 7 qc and losses more than 2 context: CREATE TABLE table_name_58 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR) [/INST] SELECT SUM(place) FROM table_name_58 WHERE ties > 0 AND points = "7 qc" AND losses > 2 </s>
Tell me the number range for 4vip
SELECT no_range FROM table_name_36 WHERE type = "4vip"
CREATE TABLE table_name_36 (no_range VARCHAR, type VARCHAR)
<s>[INST] Tell me the number range for 4vip context: CREATE TABLE table_name_36 (no_range VARCHAR, type VARCHAR) [/INST] SELECT no_range FROM table_name_36 WHERE type = "4vip" </s>
Name the heat rank for senegal
SELECT heat_rank FROM table_name_22 WHERE country = "senegal"
CREATE TABLE table_name_22 (heat_rank VARCHAR, country VARCHAR)
<s>[INST] Name the heat rank for senegal context: CREATE TABLE table_name_22 (heat_rank VARCHAR, country VARCHAR) [/INST] SELECT heat_rank FROM table_name_22 WHERE country = "senegal" </s>
What is the value for 2010 when the 2012 value is Q2?
SELECT 2010 FROM table_name_95 WHERE 2012 = "q2"
CREATE TABLE table_name_95 (Id VARCHAR)
<s>[INST] What is the value for 2010 when the 2012 value is Q2? context: CREATE TABLE table_name_95 (Id VARCHAR) [/INST] SELECT 2010 FROM table_name_95 WHERE 2012 = "q2" </s>
What is the value for 2010 when the value for 2006 is A and the value for 2009 is 1R?
SELECT 2010 FROM table_name_59 WHERE 2006 = "a" AND 2009 = "1r"
CREATE TABLE table_name_59 (Id VARCHAR)
<s>[INST] What is the value for 2010 when the value for 2006 is A and the value for 2009 is 1R? context: CREATE TABLE table_name_59 (Id VARCHAR) [/INST] SELECT 2010 FROM table_name_59 WHERE 2006 = "a" AND 2009 = "1r" </s>
What is the value for 2012 when the value for 2009 is 1R and the vale for 2007 is 2R?
SELECT 2012 FROM table_name_51 WHERE 2009 = "1r" AND 2007 = "2r"
CREATE TABLE table_name_51 (Id VARCHAR)
<s>[INST] What is the value for 2012 when the value for 2009 is 1R and the vale for 2007 is 2R? context: CREATE TABLE table_name_51 (Id VARCHAR) [/INST] SELECT 2012 FROM table_name_51 WHERE 2009 = "1r" AND 2007 = "2r" </s>
What is the value for 2008 for the US Open Tournament?
SELECT 2008 FROM table_name_84 WHERE tournament = "us open"
CREATE TABLE table_name_84 (tournament VARCHAR)
<s>[INST] What is the value for 2008 for the US Open Tournament? context: CREATE TABLE table_name_84 (tournament VARCHAR) [/INST] SELECT 2008 FROM table_name_84 WHERE tournament = "us open" </s>
What is the value for 2009 when the value for 2011 is 138?
SELECT 2009 FROM table_name_87 WHERE 2011 = "138"
CREATE TABLE table_name_87 (Id VARCHAR)
<s>[INST] What is the value for 2009 when the value for 2011 is 138? context: CREATE TABLE table_name_87 (Id VARCHAR) [/INST] SELECT 2009 FROM table_name_87 WHERE 2011 = "138" </s>
Tell me the highest series # for september 22, 1976
SELECT MAX(series__number) FROM table_name_53 WHERE original_air_date = "september 22, 1976"
CREATE TABLE table_name_53 (series__number INTEGER, original_air_date VARCHAR)
<s>[INST] Tell me the highest series # for september 22, 1976 context: CREATE TABLE table_name_53 (series__number INTEGER, original_air_date VARCHAR) [/INST] SELECT MAX(series__number) FROM table_name_53 WHERE original_air_date = "september 22, 1976" </s>
What is the screen size and pixel value when the dimensions are 115.5×83.7×102.5?
SELECT screen_size, pixels FROM table_name_7 WHERE dimensions_w×h×d__mm_ = "115.5×83.7×102.5"
CREATE TABLE table_name_7 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR)
<s>[INST] What is the screen size and pixel value when the dimensions are 115.5×83.7×102.5? context: CREATE TABLE table_name_7 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR) [/INST] SELECT screen_size, pixels FROM table_name_7 WHERE dimensions_w×h×d__mm_ = "115.5×83.7×102.5" </s>
What is the screen size and pixel amount of model p5000 when the dimensions are 98×64.5×41?
SELECT screen_size, pixels FROM table_name_28 WHERE dimensions_w×h×d__mm_ = "98×64.5×41" AND model = "p5000"
CREATE TABLE table_name_28 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR, model VARCHAR)
<s>[INST] What is the screen size and pixel amount of model p5000 when the dimensions are 98×64.5×41? context: CREATE TABLE table_name_28 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR, model VARCHAR) [/INST] SELECT screen_size, pixels FROM table_name_28 WHERE dimensions_w×h×d__mm_ = "98×64.5×41" ...
Tell me the championship game for big eight
SELECT championship_game FROM table_name_29 WHERE conference = "big eight"
CREATE TABLE table_name_29 (championship_game VARCHAR, conference VARCHAR)
<s>[INST] Tell me the championship game for big eight context: CREATE TABLE table_name_29 (championship_game VARCHAR, conference VARCHAR) [/INST] SELECT championship_game FROM table_name_29 WHERE conference = "big eight" </s>
Name the lowest total for rank of 13 with bronze less than 1
SELECT MIN(total) FROM table_name_20 WHERE rank = 13 AND bronze < 1
CREATE TABLE table_name_20 (total INTEGER, rank VARCHAR, bronze VARCHAR)
<s>[INST] Name the lowest total for rank of 13 with bronze less than 1 context: CREATE TABLE table_name_20 (total INTEGER, rank VARCHAR, bronze VARCHAR) [/INST] SELECT MIN(total) FROM table_name_20 WHERE rank = 13 AND bronze < 1 </s>
Tell me the sum of original week for september 16, 1982
SELECT SUM(original_week) FROM table_name_51 WHERE date = "september 16, 1982"
CREATE TABLE table_name_51 (original_week INTEGER, date VARCHAR)
<s>[INST] Tell me the sum of original week for september 16, 1982 context: CREATE TABLE table_name_51 (original_week INTEGER, date VARCHAR) [/INST] SELECT SUM(original_week) FROM table_name_51 WHERE date = "september 16, 1982" </s>
Tell me the average original week for soldier field
SELECT AVG(original_week) FROM table_name_18 WHERE venue = "soldier field"
CREATE TABLE table_name_18 (original_week INTEGER, venue VARCHAR)
<s>[INST] Tell me the average original week for soldier field context: CREATE TABLE table_name_18 (original_week INTEGER, venue VARCHAR) [/INST] SELECT AVG(original_week) FROM table_name_18 WHERE venue = "soldier field" </s>
Tell me the date for original week less than 16 and result of l 23–22
SELECT date FROM table_name_81 WHERE original_week < 16 AND result = "l 23–22"
CREATE TABLE table_name_81 (date VARCHAR, original_week VARCHAR, result VARCHAR)
<s>[INST] Tell me the date for original week less than 16 and result of l 23–22 context: CREATE TABLE table_name_81 (date VARCHAR, original_week VARCHAR, result VARCHAR) [/INST] SELECT date FROM table_name_81 WHERE original_week < 16 AND result = "l 23–22" </s>
Tell me the call sign for frequency of 0 97.3 fm
SELECT call_sign FROM table_name_67 WHERE frequency = "0 97.3 fm"
CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR)
<s>[INST] Tell me the call sign for frequency of 0 97.3 fm context: CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR) [/INST] SELECT call_sign FROM table_name_67 WHERE frequency = "0 97.3 fm" </s>
Tell me the owner for classical
SELECT owner FROM table_name_81 WHERE format = "classical"
CREATE TABLE table_name_81 (owner VARCHAR, format VARCHAR)
<s>[INST] Tell me the owner for classical context: CREATE TABLE table_name_81 (owner VARCHAR, format VARCHAR) [/INST] SELECT owner FROM table_name_81 WHERE format = "classical" </s>
Tell me the city of license for 0 106.9 fm
SELECT city_of_license FROM table_name_1 WHERE frequency = "0 106.9 fm"
CREATE TABLE table_name_1 (city_of_license VARCHAR, frequency VARCHAR)
<s>[INST] Tell me the city of license for 0 106.9 fm context: CREATE TABLE table_name_1 (city_of_license VARCHAR, frequency VARCHAR) [/INST] SELECT city_of_license FROM table_name_1 WHERE frequency = "0 106.9 fm" </s>
What year(s) did Hakeem Olajuwon play Center for Toronto?
SELECT years_in_toronto FROM table_name_33 WHERE player = "hakeem olajuwon"
CREATE TABLE table_name_33 (years_in_toronto VARCHAR, player VARCHAR)
<s>[INST] What year(s) did Hakeem Olajuwon play Center for Toronto? context: CREATE TABLE table_name_33 (years_in_toronto VARCHAR, player VARCHAR) [/INST] SELECT years_in_toronto FROM table_name_33 WHERE player = "hakeem olajuwon" </s>
What position did Jimmy Oliver of the United States play?
SELECT position FROM table_name_75 WHERE nationality = "united states" AND player = "jimmy oliver"
CREATE TABLE table_name_75 (position VARCHAR, nationality VARCHAR, player VARCHAR)
<s>[INST] What position did Jimmy Oliver of the United States play? context: CREATE TABLE table_name_75 (position VARCHAR, nationality VARCHAR, player VARCHAR) [/INST] SELECT position FROM table_name_75 WHERE nationality = "united states" AND player = "jimmy oliver" </s>
Tell me the total number of crest length for year construction larger than 1957 for mattmark
SELECT COUNT(crest_length__meters_) FROM table_name_87 WHERE year_of_construction > 1957 AND name = "mattmark"
CREATE TABLE table_name_87 (crest_length__meters_ VARCHAR, year_of_construction VARCHAR, name VARCHAR)
<s>[INST] Tell me the total number of crest length for year construction larger than 1957 for mattmark context: CREATE TABLE table_name_87 (crest_length__meters_ VARCHAR, year_of_construction VARCHAR, name VARCHAR) [/INST] SELECT COUNT(crest_length__meters_) FROM table_name_87 WHERE year_of_construction > 1957 AND nam...
Tell me the % of wt 2nd for bp 3rd comp of 98.4
SELECT _percentage_wt_2nd FROM table_name_77 WHERE bp_3rd_comp__˚c_ = "98.4"
CREATE TABLE table_name_77 (_percentage_wt_2nd VARCHAR, bp_3rd_comp__˚c_ VARCHAR)
<s>[INST] Tell me the % of wt 2nd for bp 3rd comp of 98.4 context: CREATE TABLE table_name_77 (_percentage_wt_2nd VARCHAR, bp_3rd_comp__˚c_ VARCHAR) [/INST] SELECT _percentage_wt_2nd FROM table_name_77 WHERE bp_3rd_comp__˚c_ = "98.4" </s>
Tell me the 3rd component for bp azeo of 62.1
SELECT 3 AS rd_component FROM table_name_49 WHERE bp_azeo__˚c_ = "62.1"
CREATE TABLE table_name_49 (bp_azeo__˚c_ VARCHAR)
<s>[INST] Tell me the 3rd component for bp azeo of 62.1 context: CREATE TABLE table_name_49 (bp_azeo__˚c_ VARCHAR) [/INST] SELECT 3 AS rd_component FROM table_name_49 WHERE bp_azeo__˚c_ = "62.1" </s>
Tell me the name with sør-trøndelag
SELECT name FROM table_name_64 WHERE county = "sør-trøndelag"
CREATE TABLE table_name_64 (name VARCHAR, county VARCHAR)
<s>[INST] Tell me the name with sør-trøndelag context: CREATE TABLE table_name_64 (name VARCHAR, county VARCHAR) [/INST] SELECT name FROM table_name_64 WHERE county = "sør-trøndelag" </s>
Tell me the elevation for oslo
SELECT elevation FROM table_name_20 WHERE county = "oslo"
CREATE TABLE table_name_20 (elevation VARCHAR, county VARCHAR)
<s>[INST] Tell me the elevation for oslo context: CREATE TABLE table_name_20 (elevation VARCHAR, county VARCHAR) [/INST] SELECT elevation FROM table_name_20 WHERE county = "oslo" </s>
What was the result of the match against Pat Lawlor?
SELECT result FROM table_name_46 WHERE opponent = "pat lawlor"
CREATE TABLE table_name_46 (result VARCHAR, opponent VARCHAR)
<s>[INST] What was the result of the match against Pat Lawlor? context: CREATE TABLE table_name_46 (result VARCHAR, opponent VARCHAR) [/INST] SELECT result FROM table_name_46 WHERE opponent = "pat lawlor" </s>
Tell me the sum of cars per set for operator of london midland
SELECT SUM(cars_per_set) FROM table_name_3 WHERE operator = "london midland"
CREATE TABLE table_name_3 (cars_per_set INTEGER, operator VARCHAR)
<s>[INST] Tell me the sum of cars per set for operator of london midland context: CREATE TABLE table_name_3 (cars_per_set INTEGER, operator VARCHAR) [/INST] SELECT SUM(cars_per_set) FROM table_name_3 WHERE operator = "london midland" </s>
Tell me the title of japan january 31, 2008
SELECT title FROM table_name_74 WHERE japan = "january 31, 2008"
CREATE TABLE table_name_74 (title VARCHAR, japan VARCHAR)
<s>[INST] Tell me the title of japan january 31, 2008 context: CREATE TABLE table_name_74 (title VARCHAR, japan VARCHAR) [/INST] SELECT title FROM table_name_74 WHERE japan = "january 31, 2008" </s>
Tell me japan for jigsaw land: japan graffiti
SELECT japan FROM table_name_14 WHERE title = "jigsaw land: japan graffiti"
CREATE TABLE table_name_14 (japan VARCHAR, title VARCHAR)
<s>[INST] Tell me japan for jigsaw land: japan graffiti context: CREATE TABLE table_name_14 (japan VARCHAR, title VARCHAR) [/INST] SELECT japan FROM table_name_14 WHERE title = "jigsaw land: japan graffiti" </s>
Tell me north america for january 23, 2013
SELECT north_america FROM table_name_83 WHERE japan = "january 23, 2013"
CREATE TABLE table_name_83 (north_america VARCHAR, japan VARCHAR)
<s>[INST] Tell me north america for january 23, 2013 context: CREATE TABLE table_name_83 (north_america VARCHAR, japan VARCHAR) [/INST] SELECT north_america FROM table_name_83 WHERE japan = "january 23, 2013" </s>
Tell me the north america for september 18, 2009
SELECT north_america FROM table_name_64 WHERE europe = "september 18, 2009"
CREATE TABLE table_name_64 (north_america VARCHAR, europe VARCHAR)
<s>[INST] Tell me the north america for september 18, 2009 context: CREATE TABLE table_name_64 (north_america VARCHAR, europe VARCHAR) [/INST] SELECT north_america FROM table_name_64 WHERE europe = "september 18, 2009" </s>
Tell me europe for japan of january 28, 2010
SELECT europe FROM table_name_72 WHERE japan = "january 28, 2010"
CREATE TABLE table_name_72 (europe VARCHAR, japan VARCHAR)
<s>[INST] Tell me europe for japan of january 28, 2010 context: CREATE TABLE table_name_72 (europe VARCHAR, japan VARCHAR) [/INST] SELECT europe FROM table_name_72 WHERE japan = "january 28, 2010" </s>
Tell me the north america for phantom brave
SELECT north_america FROM table_name_74 WHERE title = "phantom brave"
CREATE TABLE table_name_74 (north_america VARCHAR, title VARCHAR)
<s>[INST] Tell me the north america for phantom brave context: CREATE TABLE table_name_74 (north_america VARCHAR, title VARCHAR) [/INST] SELECT north_america FROM table_name_74 WHERE title = "phantom brave" </s>
What is the average played value in Belgrade with attendance greater than 26,222?
SELECT AVG(played) FROM table_name_83 WHERE city = "belgrade" AND average_attendance > 26 OFFSET 222
CREATE TABLE table_name_83 (played INTEGER, city VARCHAR, average_attendance VARCHAR)
<s>[INST] What is the average played value in Belgrade with attendance greater than 26,222? context: CREATE TABLE table_name_83 (played INTEGER, city VARCHAR, average_attendance VARCHAR) [/INST] SELECT AVG(played) FROM table_name_83 WHERE city = "belgrade" AND average_attendance > 26 OFFSET 222 </s>
Tell me the role of festival theatre
SELECT role FROM table_name_35 WHERE theatre = "festival theatre"
CREATE TABLE table_name_35 (role VARCHAR, theatre VARCHAR)
<s>[INST] Tell me the role of festival theatre context: CREATE TABLE table_name_35 (role VARCHAR, theatre VARCHAR) [/INST] SELECT role FROM table_name_35 WHERE theatre = "festival theatre" </s>
Tell me the lowest year for shubert theatre
SELECT MIN(year) FROM table_name_72 WHERE theatre = "shubert theatre"
CREATE TABLE table_name_72 (year INTEGER, theatre VARCHAR)
<s>[INST] Tell me the lowest year for shubert theatre context: CREATE TABLE table_name_72 (year INTEGER, theatre VARCHAR) [/INST] SELECT MIN(year) FROM table_name_72 WHERE theatre = "shubert theatre" </s>
Tell me the total number of years for lady cecily waynflete and opera house, kennedy center
SELECT COUNT(year) FROM table_name_51 WHERE role = "lady cecily waynflete" AND theatre = "opera house, kennedy center"
CREATE TABLE table_name_51 (year VARCHAR, role VARCHAR, theatre VARCHAR)
<s>[INST] Tell me the total number of years for lady cecily waynflete and opera house, kennedy center context: CREATE TABLE table_name_51 (year VARCHAR, role VARCHAR, theatre VARCHAR) [/INST] SELECT COUNT(year) FROM table_name_51 WHERE role = "lady cecily waynflete" AND theatre = "opera house, kennedy center" </s>
Tell me the role for tea and sympathy
SELECT role FROM table_name_83 WHERE play = "tea and sympathy"
CREATE TABLE table_name_83 (role VARCHAR, play VARCHAR)
<s>[INST] Tell me the role for tea and sympathy context: CREATE TABLE table_name_83 (role VARCHAR, play VARCHAR) [/INST] SELECT role FROM table_name_83 WHERE play = "tea and sympathy" </s>
When was the first beatification in Korea that was canonised before 1984?
SELECT MIN(beatified) FROM table_name_12 WHERE place = "korea" AND canonised < 1984
CREATE TABLE table_name_12 (beatified INTEGER, place VARCHAR, canonised VARCHAR)
<s>[INST] When was the first beatification in Korea that was canonised before 1984? context: CREATE TABLE table_name_12 (beatified INTEGER, place VARCHAR, canonised VARCHAR) [/INST] SELECT MIN(beatified) FROM table_name_12 WHERE place = "korea" AND canonised < 1984 </s>
When was Laurent-Marie-Joseph Imbert / St. Imbert, who was beatified after 1909 and canonised after 1984, martyred?
SELECT MAX(martyred) FROM table_name_65 WHERE beatified > 1909 AND name = "laurent-marie-joseph imbert / st. imbert" AND canonised > 1984
CREATE TABLE table_name_65 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)
<s>[INST] When was Laurent-Marie-Joseph Imbert / St. Imbert, who was beatified after 1909 and canonised after 1984, martyred? context: CREATE TABLE table_name_65 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR) [/INST] SELECT MAX(martyred) FROM table_name_65 WHERE beatified > 1909 AND name = "lau...
When was the person(s) who were canonised before 1988 beatified?
SELECT beatified FROM table_name_17 WHERE canonised < 1988
CREATE TABLE table_name_17 (beatified VARCHAR, canonised INTEGER)
<s>[INST] When was the person(s) who were canonised before 1988 beatified? context: CREATE TABLE table_name_17 (beatified VARCHAR, canonised INTEGER) [/INST] SELECT beatified FROM table_name_17 WHERE canonised < 1988 </s>
When was John Hoan Trinh Doan / St. John Hoan, who was beatified in 1909 and canonised after 1988, martyred?
SELECT MAX(martyred) FROM table_name_64 WHERE beatified = 1909 AND name = "john hoan trinh doan / st. john hoan" AND canonised > 1988
CREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)
<s>[INST] When was John Hoan Trinh Doan / St. John Hoan, who was beatified in 1909 and canonised after 1988, martyred? context: CREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR) [/INST] SELECT MAX(martyred) FROM table_name_64 WHERE beatified = 1909 AND name = "john hoan ...
What is the sum of year with the local host Sai?
SELECT SUM(year) FROM table_name_37 WHERE local_host_s_ = "sai"
CREATE TABLE table_name_37 (year INTEGER, local_host_s_ VARCHAR)
<s>[INST] What is the sum of year with the local host Sai? context: CREATE TABLE table_name_37 (year INTEGER, local_host_s_ VARCHAR) [/INST] SELECT SUM(year) FROM table_name_37 WHERE local_host_s_ = "sai" </s>
Who are the local hosts for the United States in years earlier than 2007?
SELECT local_host_s_ FROM table_name_86 WHERE country = "united states" AND year < 2007
CREATE TABLE table_name_86 (local_host_s_ VARCHAR, country VARCHAR, year VARCHAR)
<s>[INST] Who are the local hosts for the United States in years earlier than 2007? context: CREATE TABLE table_name_86 (local_host_s_ VARCHAR, country VARCHAR, year VARCHAR) [/INST] SELECT local_host_s_ FROM table_name_86 WHERE country = "united states" AND year < 2007 </s>
Which city has a conference of LCC2 and a year earlier than 2009?
SELECT city FROM table_name_70 WHERE year < 2009 AND conference = "lcc2"
CREATE TABLE table_name_70 (city VARCHAR, year VARCHAR, conference VARCHAR)
<s>[INST] Which city has a conference of LCC2 and a year earlier than 2009? context: CREATE TABLE table_name_70 (city VARCHAR, year VARCHAR, conference VARCHAR) [/INST] SELECT city FROM table_name_70 WHERE year < 2009 AND conference = "lcc2" </s>
Tell me the class with rank of 89th
SELECT class FROM table_name_12 WHERE rank = "89th"
CREATE TABLE table_name_12 (class VARCHAR, rank VARCHAR)
<s>[INST] Tell me the class with rank of 89th context: CREATE TABLE table_name_12 (class VARCHAR, rank VARCHAR) [/INST] SELECT class FROM table_name_12 WHERE rank = "89th" </s>
Tell me the most year for 3 points
SELECT MAX(year) FROM table_name_30 WHERE points = 3
CREATE TABLE table_name_30 (year INTEGER, points VARCHAR)
<s>[INST] Tell me the most year for 3 points context: CREATE TABLE table_name_30 (year INTEGER, points VARCHAR) [/INST] SELECT MAX(year) FROM table_name_30 WHERE points = 3 </s>
Which lane is Goksu Bicer in?
SELECT lane FROM table_name_37 WHERE swimmer = "goksu bicer"
CREATE TABLE table_name_37 (lane VARCHAR, swimmer VARCHAR)
<s>[INST] Which lane is Goksu Bicer in? context: CREATE TABLE table_name_37 (lane VARCHAR, swimmer VARCHAR) [/INST] SELECT lane FROM table_name_37 WHERE swimmer = "goksu bicer" </s>
Which Driver that has a Grid less than 9 and a Time/Retired of 2:06:26.358?
SELECT driver FROM table_name_59 WHERE grid < 9 AND time_retired = "2:06:26.358"
CREATE TABLE table_name_59 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
<s>[INST] Which Driver that has a Grid less than 9 and a Time/Retired of 2:06:26.358? context: CREATE TABLE table_name_59 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR) [/INST] SELECT driver FROM table_name_59 WHERE grid < 9 AND time_retired = "2:06:26.358" </s>
Which driver drove a Ferrari in the 2007 European Grand Prix with a grid less than 3?
SELECT driver FROM table_name_78 WHERE constructor = "ferrari" AND grid < 3
CREATE TABLE table_name_78 (driver VARCHAR, constructor VARCHAR, grid VARCHAR)
<s>[INST] Which driver drove a Ferrari in the 2007 European Grand Prix with a grid less than 3? context: CREATE TABLE table_name_78 (driver VARCHAR, constructor VARCHAR, grid VARCHAR) [/INST] SELECT driver FROM table_name_78 WHERE constructor = "ferrari" AND grid < 3 </s>
Name the location of ufc 98
SELECT location FROM table_name_51 WHERE event = "ufc 98"
CREATE TABLE table_name_51 (location VARCHAR, event VARCHAR)
<s>[INST] Name the location of ufc 98 context: CREATE TABLE table_name_51 (location VARCHAR, event VARCHAR) [/INST] SELECT location FROM table_name_51 WHERE event = "ufc 98" </s>
What is the smallest number of wins for the Totals Tournament with a Top-25 value greater than 3?
SELECT MIN(wins) FROM table_name_25 WHERE tournament = "totals" AND top_25 > 3
CREATE TABLE table_name_25 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR)
<s>[INST] What is the smallest number of wins for the Totals Tournament with a Top-25 value greater than 3? context: CREATE TABLE table_name_25 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR) [/INST] SELECT MIN(wins) FROM table_name_25 WHERE tournament = "totals" AND top_25 > 3 </s>
What is the sum of Top-5 values with events values less than 2?
SELECT SUM(top_5) FROM table_name_35 WHERE events < 2
CREATE TABLE table_name_35 (top_5 INTEGER, events INTEGER)
<s>[INST] What is the sum of Top-5 values with events values less than 2? context: CREATE TABLE table_name_35 (top_5 INTEGER, events INTEGER) [/INST] SELECT SUM(top_5) FROM table_name_35 WHERE events < 2 </s>
What is the smallest value for Wins when the number of cuts is greater than 4 and the Top-5 value is less than 1?
SELECT MIN(wins) FROM table_name_51 WHERE cuts_made > 4 AND top_5 < 1
CREATE TABLE table_name_51 (wins INTEGER, cuts_made VARCHAR, top_5 VARCHAR)
<s>[INST] What is the smallest value for Wins when the number of cuts is greater than 4 and the Top-5 value is less than 1? context: CREATE TABLE table_name_51 (wins INTEGER, cuts_made VARCHAR, top_5 VARCHAR) [/INST] SELECT MIN(wins) FROM table_name_51 WHERE cuts_made > 4 AND top_5 < 1 </s>
Tell me the competition for 2nd position with year more than 2005
SELECT competition FROM table_name_23 WHERE position = "2nd" AND year > 2005
CREATE TABLE table_name_23 (competition VARCHAR, position VARCHAR, year VARCHAR)
<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>
Name the sum of year for 2nd position for junior race
SELECT SUM(year) FROM table_name_40 WHERE position = "2nd" AND event = "junior race"
CREATE TABLE table_name_40 (year INTEGER, position VARCHAR, event VARCHAR)
<s>[INST] Name the sum of year for 2nd position for junior race context: CREATE TABLE table_name_40 (year INTEGER, position VARCHAR, event VARCHAR) [/INST] SELECT SUM(year) FROM table_name_40 WHERE position = "2nd" AND event = "junior race" </s>
Name the venue for 2nd position of year before 2008
SELECT venue FROM table_name_83 WHERE year < 2008 AND position = "2nd"
CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, position VARCHAR)
<s>[INST] Name the venue for 2nd position of year before 2008 context: CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, position VARCHAR) [/INST] SELECT venue FROM table_name_83 WHERE year < 2008 AND position = "2nd" </s>
Which circuit did Raymond Mays win?
SELECT circuit FROM table_name_17 WHERE winning_driver = "raymond mays"
CREATE TABLE table_name_17 (circuit VARCHAR, winning_driver VARCHAR)
<s>[INST] Which circuit did Raymond Mays win? context: CREATE TABLE table_name_17 (circuit VARCHAR, winning_driver VARCHAR) [/INST] SELECT circuit FROM table_name_17 WHERE winning_driver = "raymond mays" </s>
Which Circuit did Johnny Wakefield win?
SELECT circuit FROM table_name_3 WHERE winning_driver = "johnny wakefield"
CREATE TABLE table_name_3 (circuit VARCHAR, winning_driver VARCHAR)
<s>[INST] Which Circuit did Johnny Wakefield win? context: CREATE TABLE table_name_3 (circuit VARCHAR, winning_driver VARCHAR) [/INST] SELECT circuit FROM table_name_3 WHERE winning_driver = "johnny wakefield" </s>
Tell me the lowest bronze for panama and total larger than 8
SELECT MIN(bronze) FROM table_name_84 WHERE nation = "panama" AND total > 8
CREATE TABLE table_name_84 (bronze INTEGER, nation VARCHAR, total VARCHAR)
<s>[INST] Tell me the lowest bronze for panama and total larger than 8 context: CREATE TABLE table_name_84 (bronze INTEGER, nation VARCHAR, total VARCHAR) [/INST] SELECT MIN(bronze) FROM table_name_84 WHERE nation = "panama" AND total > 8 </s>
Tell me the average total for guatemala and bronze less than 2
SELECT AVG(total) FROM table_name_32 WHERE nation = "guatemala" AND bronze < 2
CREATE TABLE table_name_32 (total INTEGER, nation VARCHAR, bronze VARCHAR)
<s>[INST] Tell me the average total for guatemala and bronze less than 2 context: CREATE TABLE table_name_32 (total INTEGER, nation VARCHAR, bronze VARCHAR) [/INST] SELECT AVG(total) FROM table_name_32 WHERE nation = "guatemala" AND bronze < 2 </s>
Tell me the number of bronze for silver of 0 and total less than 1
SELECT COUNT(bronze) FROM table_name_54 WHERE silver = 0 AND total < 1
CREATE TABLE table_name_54 (bronze VARCHAR, silver VARCHAR, total VARCHAR)
<s>[INST] Tell me the number of bronze for silver of 0 and total less than 1 context: CREATE TABLE table_name_54 (bronze VARCHAR, silver VARCHAR, total VARCHAR) [/INST] SELECT COUNT(bronze) FROM table_name_54 WHERE silver = 0 AND total < 1 </s>
Tell me the sum of total for rank of 1
SELECT SUM(total) FROM table_name_35 WHERE rank = 1
CREATE TABLE table_name_35 (total INTEGER, rank VARCHAR)
<s>[INST] Tell me the sum of total for rank of 1 context: CREATE TABLE table_name_35 (total INTEGER, rank VARCHAR) [/INST] SELECT SUM(total) FROM table_name_35 WHERE rank = 1 </s>
Tell me the total number for costa rica and rank more than 8
SELECT COUNT(total) FROM table_name_82 WHERE nation = "costa rica" AND rank > 8
CREATE TABLE table_name_82 (total VARCHAR, nation VARCHAR, rank VARCHAR)
<s>[INST] Tell me the total number for costa rica and rank more than 8 context: CREATE TABLE table_name_82 (total VARCHAR, nation VARCHAR, rank VARCHAR) [/INST] SELECT COUNT(total) FROM table_name_82 WHERE nation = "costa rica" AND rank > 8 </s>
What years did Tymerlan Huseynov, whose average is larger than 0.361, play?
SELECT career FROM table_name_94 WHERE average > 0.361 AND player = "tymerlan huseynov"
CREATE TABLE table_name_94 (career VARCHAR, average VARCHAR, player VARCHAR)
<s>[INST] What years did Tymerlan Huseynov, whose average is larger than 0.361, play? context: CREATE TABLE table_name_94 (career VARCHAR, average VARCHAR, player VARCHAR) [/INST] SELECT career FROM table_name_94 WHERE average > 0.361 AND player = "tymerlan huseynov" </s>