context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_69 (november INTEGER, game VARCHAR, opponent VARCHAR) | SELECT MIN(november) FROM table_name_69 WHERE game > 22 AND opponent = "toronto maple leafs" | What is the earliest game in November with more than 22 Games and Toronto Maple Leafs as the Opponent? | <s>[INST]What is the earliest game in November with more than 22 Games and Toronto Maple Leafs as the Opponent? Context: CREATE TABLE table_name_69 (november INTEGER, game VARCHAR, opponent VARCHAR)[/INST]SELECT MIN(november) FROM table_name_69 WHERE game > 22 AND opponent = "toronto maple leafs"</s> |
CREATE TABLE table_name_59 (proxy VARCHAR, license VARCHAR, image_quality VARCHAR, encryption VARCHAR) | SELECT proxy FROM table_name_59 WHERE image_quality = "✓" AND encryption = "ssl" AND license = "proprietary" | what is the proxy when the image quality is ✓, the encryption is ssl and the license is proprietary? | <s>[INST]what is the proxy when the image quality is ✓, the encryption is ssl and the license is proprietary? Context: CREATE TABLE table_name_59 (proxy VARCHAR, license VARCHAR, image_quality VARCHAR, encryption VARCHAR)[/INST]SELECT proxy FROM table_name_59 WHERE image_quality = "✓" AND encryption = "ssl" AND license... |
CREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR) | SELECT winner FROM table_name_65 WHERE city = "loutraki" | Who is the Winner for the City of Loutraki? | <s>[INST]Who is the Winner for the City of Loutraki? Context: CREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR)[/INST]SELECT winner FROM table_name_65 WHERE city = "loutraki"</s> |
CREATE TABLE table_24446718_3 (name_of_award VARCHAR, language VARCHAR) | SELECT name_of_award FROM table_24446718_3 WHERE language = "Marathi" | Name the name of award for marathi | <s>[INST]Name the name of award for marathi Context: CREATE TABLE table_24446718_3 (name_of_award VARCHAR, language VARCHAR)[/INST]SELECT name_of_award FROM table_24446718_3 WHERE language = "Marathi"</s> |
CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, peoples_party VARCHAR) | SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE peoples_party = 7 | How many league of communists have the people's party at 7? | <s>[INST]How many league of communists have the people's party at 7? Context: CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, peoples_party VARCHAR)[/INST]SELECT COUNT(league_of_communists) FROM table_15306124_1 WHERE peoples_party = 7</s> |
CREATE TABLE table_name_58 (game VARCHAR, team VARCHAR) | SELECT COUNT(game) FROM table_name_58 WHERE team = "@ new york" | What is the total of the game that the team was @ new york? | <s>[INST]What is the total of the game that the team was @ new york? Context: CREATE TABLE table_name_58 (game VARCHAR, team VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_58 WHERE team = "@ new york"</s> |
CREATE TABLE table_name_18 (country VARCHAR, host VARCHAR) | SELECT country FROM table_name_18 WHERE host = "miguel esteban" | Which Country has a Host of miguel esteban? | <s>[INST]Which Country has a Host of miguel esteban? Context: CREATE TABLE table_name_18 (country VARCHAR, host VARCHAR)[/INST]SELECT country FROM table_name_18 WHERE host = "miguel esteban"</s> |
CREATE TABLE table_name_41 (initial_release_date VARCHAR, publisher VARCHAR, japanese_title VARCHAR) | SELECT initial_release_date FROM table_name_41 WHERE publisher = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouhen" | When was Ranma ½: netsuretsu kakutouhen first release by Banpresto? | <s>[INST]When was Ranma ½: netsuretsu kakutouhen first release by Banpresto? Context: CREATE TABLE table_name_41 (initial_release_date VARCHAR, publisher VARCHAR, japanese_title VARCHAR)[/INST]SELECT initial_release_date FROM table_name_41 WHERE publisher = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouh... |
CREATE TABLE table_name_55 (host_team VARCHAR, final_score VARCHAR) | SELECT host_team FROM table_name_55 WHERE final_score = "13-10" | Which host team won on a final scoreline of 13-10? | <s>[INST]Which host team won on a final scoreline of 13-10? Context: CREATE TABLE table_name_55 (host_team VARCHAR, final_score VARCHAR)[/INST]SELECT host_team FROM table_name_55 WHERE final_score = "13-10"</s> |
CREATE TABLE table_name_40 (total VARCHAR, player VARCHAR) | SELECT total FROM table_name_40 WHERE player = "mark o'meara" | What was Mark O'Meara's total? | <s>[INST]What was Mark O'Meara's total? Context: CREATE TABLE table_name_40 (total VARCHAR, player VARCHAR)[/INST]SELECT total FROM table_name_40 WHERE player = "mark o'meara"</s> |
CREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_37 WHERE away_team = "crystal palace" | What is the Tie no when Crystal Palace is the Away team? | <s>[INST]What is the Tie no when Crystal Palace is the Away team? Context: CREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_37 WHERE away_team = "crystal palace"</s> |
CREATE TABLE department (dept_name VARCHAR) | SELECT COUNT(DISTINCT dept_name) FROM department | How many departments does the college has? | <s>[INST]How many departments does the college has? Context: CREATE TABLE department (dept_name VARCHAR)[/INST]SELECT COUNT(DISTINCT dept_name) FROM department</s> |
CREATE TABLE table_name_44 (year VARCHAR, team VARCHAR) | SELECT COUNT(year) FROM table_name_44 WHERE team = "andretti autosport" | What are the years that Andretti Autosport is a team? | <s>[INST]What are the years that Andretti Autosport is a team? Context: CREATE TABLE table_name_44 (year VARCHAR, team VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_44 WHERE team = "andretti autosport"</s> |
CREATE TABLE table_name_44 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_44 WHERE home_team = "leeds united" | WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED? | <s>[INST]WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED? Context: CREATE TABLE table_name_44 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_44 WHERE home_team = "leeds united"</s> |
CREATE TABLE table_name_34 (rank INTEGER, total INTEGER) | SELECT AVG(rank) FROM table_name_34 WHERE total < 1 | What is the rank for the total less than 1? | <s>[INST]What is the rank for the total less than 1? Context: CREATE TABLE table_name_34 (rank INTEGER, total INTEGER)[/INST]SELECT AVG(rank) FROM table_name_34 WHERE total < 1</s> |
CREATE TABLE table_180802_2 (english_name VARCHAR, abbr VARCHAR) | SELECT english_name FROM table_180802_2 WHERE abbr = "มิ.ย." | What's the English name of the month abbreviated as มิ.ย.? | <s>[INST]What's the English name of the month abbreviated as มิ.ย.? Context: CREATE TABLE table_180802_2 (english_name VARCHAR, abbr VARCHAR)[/INST]SELECT english_name FROM table_180802_2 WHERE abbr = "มิ.ย."</s> |
CREATE TABLE table_name_94 (length VARCHAR, circuit VARCHAR, class VARCHAR) | SELECT length FROM table_name_94 WHERE circuit = "laguna seca raceway" AND class = "gtu" | What is the length of the Laguna Seca Raceway circuit with a class of gtu? | <s>[INST]What is the length of the Laguna Seca Raceway circuit with a class of gtu? Context: CREATE TABLE table_name_94 (length VARCHAR, circuit VARCHAR, class VARCHAR)[/INST]SELECT length FROM table_name_94 WHERE circuit = "laguna seca raceway" AND class = "gtu"</s> |
CREATE TABLE table_name_82 (year VARCHAR, notes VARCHAR) | SELECT year FROM table_name_82 WHERE notes = "1.83m" | In what year is the notes distance 1.83m? | <s>[INST]In what year is the notes distance 1.83m? Context: CREATE TABLE table_name_82 (year VARCHAR, notes VARCHAR)[/INST]SELECT year FROM table_name_82 WHERE notes = "1.83m"</s> |
CREATE TABLE table_225093_4 (date_successor_seated VARCHAR, district VARCHAR) | SELECT date_successor_seated FROM table_225093_4 WHERE district = "Massachusetts 2nd" | What is the date successor seated where Massachusetts 2nd is the district? | <s>[INST]What is the date successor seated where Massachusetts 2nd is the district? Context: CREATE TABLE table_225093_4 (date_successor_seated VARCHAR, district VARCHAR)[/INST]SELECT date_successor_seated FROM table_225093_4 WHERE district = "Massachusetts 2nd"</s> |
CREATE TABLE table_name_11 (notes VARCHAR, authors VARCHAR) | SELECT notes FROM table_name_11 WHERE authors = "zhou & zhang" | What are the notes where the authors are Zhou & Zhang? | <s>[INST]What are the notes where the authors are Zhou & Zhang? Context: CREATE TABLE table_name_11 (notes VARCHAR, authors VARCHAR)[/INST]SELECT notes FROM table_name_11 WHERE authors = "zhou & zhang"</s> |
CREATE TABLE table_12094609_1 (preliminaries VARCHAR, state VARCHAR) | SELECT preliminaries FROM table_12094609_1 WHERE state = "South Dakota" | what's the preliminaries where state is south dakota | <s>[INST] what's the preliminaries where state is south dakota Context: CREATE TABLE table_12094609_1 (preliminaries VARCHAR, state VARCHAR)[/INST]SELECT preliminaries FROM table_12094609_1 WHERE state = "South Dakota"</s> |
CREATE TABLE AIRLINES (Airline VARCHAR, Abbreviation VARCHAR) | SELECT Airline FROM AIRLINES WHERE Abbreviation = "UAL" | Which airline has abbreviation 'UAL'? | <s>[INST]Which airline has abbreviation 'UAL'? Context: CREATE TABLE AIRLINES (Airline VARCHAR, Abbreviation VARCHAR)[/INST]SELECT Airline FROM AIRLINES WHERE Abbreviation = "UAL"</s> |
CREATE TABLE table_name_85 (quantity INTEGER, drg_number_s_ VARCHAR) | SELECT AVG(quantity) FROM table_name_85 WHERE drg_number_s_ = "99 011" | What is average quantity, when DRG number is 99 011? | <s>[INST]What is average quantity, when DRG number is 99 011? Context: CREATE TABLE table_name_85 (quantity INTEGER, drg_number_s_ VARCHAR)[/INST]SELECT AVG(quantity) FROM table_name_85 WHERE drg_number_s_ = "99 011"</s> |
CREATE TABLE table_name_45 (established INTEGER, venue VARCHAR) | SELECT MAX(established) FROM table_name_45 WHERE venue = "nassau veterans memorial coliseum" | When was the venue named nassau veterans memorial coliseum established?? | <s>[INST]When was the venue named nassau veterans memorial coliseum established?? Context: CREATE TABLE table_name_45 (established INTEGER, venue VARCHAR)[/INST]SELECT MAX(established) FROM table_name_45 WHERE venue = "nassau veterans memorial coliseum"</s> |
CREATE TABLE cinema (name VARCHAR, LOCATION VARCHAR, capacity VARCHAR) | SELECT name, LOCATION FROM cinema ORDER BY capacity DESC LIMIT 1 | What are the name and location of the cinema with the largest capacity? | <s>[INST]What are the name and location of the cinema with the largest capacity? Context: CREATE TABLE cinema (name VARCHAR, LOCATION VARCHAR, capacity VARCHAR)[/INST]SELECT name, LOCATION FROM cinema ORDER BY capacity DESC LIMIT 1</s> |
CREATE TABLE table_name_87 (cultural_and_educational_panel INTEGER, administrative_panel VARCHAR, agricultural_panel VARCHAR) | SELECT SUM(cultural_and_educational_panel) FROM table_name_87 WHERE administrative_panel = 0 AND agricultural_panel < 0 | What is the sum of the cultural and educational panel value with an administrative panel of 0 and an agricultural panel value less than 0? | <s>[INST]What is the sum of the cultural and educational panel value with an administrative panel of 0 and an agricultural panel value less than 0? Context: CREATE TABLE table_name_87 (cultural_and_educational_panel INTEGER, administrative_panel VARCHAR, agricultural_panel VARCHAR)[/INST]SELECT SUM(cultural_and_educati... |
CREATE TABLE table_name_92 (position VARCHAR, year VARCHAR, venue VARCHAR) | SELECT position FROM table_name_92 WHERE year > 1983 AND venue = "seoul, south korea" | After 1983, what was the Position in Seoul, South Korea? | <s>[INST]After 1983, what was the Position in Seoul, South Korea? Context: CREATE TABLE table_name_92 (position VARCHAR, year VARCHAR, venue VARCHAR)[/INST]SELECT position FROM table_name_92 WHERE year > 1983 AND venue = "seoul, south korea"</s> |
CREATE TABLE table_24399615_3 (cable_rank VARCHAR, airdate VARCHAR) | SELECT cable_rank FROM table_24399615_3 WHERE airdate = "10 December 2009" | What is the cable rank for the airdate of 10 december 2009? | <s>[INST]What is the cable rank for the airdate of 10 december 2009? Context: CREATE TABLE table_24399615_3 (cable_rank VARCHAR, airdate VARCHAR)[/INST]SELECT cable_rank FROM table_24399615_3 WHERE airdate = "10 December 2009"</s> |
CREATE TABLE table_16489766_2 (province VARCHAR, chinese VARCHAR) | SELECT COUNT(province) FROM table_16489766_2 WHERE chinese = "重庆" | What province has the Chinese translation 重庆? | <s>[INST]What province has the Chinese translation 重庆? Context: CREATE TABLE table_16489766_2 (province VARCHAR, chinese VARCHAR)[/INST]SELECT COUNT(province) FROM table_16489766_2 WHERE chinese = "重庆"</s> |
CREATE TABLE table_name_64 (year INTEGER, date VARCHAR) | SELECT AVG(year) FROM table_name_64 WHERE date = "04.01 april 1" | What is the average Year, when Date is "04.01 April 1"? | <s>[INST]What is the average Year, when Date is "04.01 April 1"? Context: CREATE TABLE table_name_64 (year INTEGER, date VARCHAR)[/INST]SELECT AVG(year) FROM table_name_64 WHERE date = "04.01 april 1"</s> |
CREATE TABLE table_1408397_3 (malayalam_മലയാളം VARCHAR, kannada_ಕನ್ನಡ VARCHAR) | SELECT malayalam_മലയാളം FROM table_1408397_3 WHERE kannada_ಕನ್ನಡ = "Punarvasu ಪುನರ್ವಸು" | What is the Malayalam word for punarvasu ಪುನರ್ವಸು in Kannada? | <s>[INST]What is the Malayalam word for punarvasu ಪುನರ್ವಸು in Kannada? Context: CREATE TABLE table_1408397_3 (malayalam_മലയാളം VARCHAR, kannada_ಕನ್ನಡ VARCHAR)[/INST]SELECT malayalam_മലയാളം FROM table_1408397_3 WHERE kannada_ಕನ್ನಡ = "Punarvasu ಪುನರ್ವಸು"</s> |
CREATE TABLE table_name_96 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR) | SELECT composer_s_ FROM table_name_96 WHERE arranger_s_ = "banana boat" AND length = "4:25" | Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25? | <s>[INST]Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25? Context: CREATE TABLE table_name_96 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR)[/INST]SELECT composer_s_ FROM table_name_96 WHERE arranger_s_ = "banana boat" AND length = "4:25"</s> |
CREATE TABLE vocals (bandmate VARCHAR); CREATE TABLE band (id VARCHAR) | SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE firstname = "Marianne" GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 | Which vocal type has the band mate with first name "Marianne" played the most? | <s>[INST]Which vocal type has the band mate with first name "Marianne" played the most? Context: CREATE TABLE vocals (bandmate VARCHAR); CREATE TABLE band (id VARCHAR)[/INST]SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE firstname = "Marianne" GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_77 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_77 WHERE circuit = "brands hatch" | On what Date is there a race on the Circuit of brands hatch? | <s>[INST]On what Date is there a race on the Circuit of brands hatch? Context: CREATE TABLE table_name_77 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_name_77 WHERE circuit = "brands hatch"</s> |
CREATE TABLE table_17487395_1 (branding VARCHAR, location VARCHAR) | SELECT branding FROM table_17487395_1 WHERE location = "Cebu" | What is the branding for stations located in Cebu? | <s>[INST]What is the branding for stations located in Cebu? Context: CREATE TABLE table_17487395_1 (branding VARCHAR, location VARCHAR)[/INST]SELECT branding FROM table_17487395_1 WHERE location = "Cebu"</s> |
CREATE TABLE table_name_34 (fuel_propulsion VARCHAR, numbers__quantity_ordered_ VARCHAR) | SELECT fuel_propulsion FROM table_name_34 WHERE numbers__quantity_ordered_ = "7124-7156 (33 buses)" | Which Fuel Propulsion has Numbers (Quantity Ordered) of 7124-7156 (33 buses)? | <s>[INST]Which Fuel Propulsion has Numbers (Quantity Ordered) of 7124-7156 (33 buses)? Context: CREATE TABLE table_name_34 (fuel_propulsion VARCHAR, numbers__quantity_ordered_ VARCHAR)[/INST]SELECT fuel_propulsion FROM table_name_34 WHERE numbers__quantity_ordered_ = "7124-7156 (33 buses)"</s> |
CREATE TABLE table_name_1 (country VARCHAR, city VARCHAR) | SELECT country FROM table_name_1 WHERE city = "gafsa" | what is the country when the city is gafsa? | <s>[INST]what is the country when the city is gafsa? Context: CREATE TABLE table_name_1 (country VARCHAR, city VARCHAR)[/INST]SELECT country FROM table_name_1 WHERE city = "gafsa"</s> |
CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_31 WHERE date = "2007-08-22" | Which result has a Date of 2007-08-22? | <s>[INST]Which result has a Date of 2007-08-22? Context: CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_31 WHERE date = "2007-08-22"</s> |
CREATE TABLE table_name_9 (last_title VARCHAR, area_province VARCHAR, first_season VARCHAR) | SELECT last_title FROM table_name_9 WHERE area_province = "greater buenos aires" AND first_season = "1920" | Name the last title for greater buenos aires and first season of 1920 | <s>[INST]Name the last title for greater buenos aires and first season of 1920 Context: CREATE TABLE table_name_9 (last_title VARCHAR, area_province VARCHAR, first_season VARCHAR)[/INST]SELECT last_title FROM table_name_9 WHERE area_province = "greater buenos aires" AND first_season = "1920"</s> |
CREATE TABLE table_14312471_3 (home_team VARCHAR, ground VARCHAR) | SELECT home_team FROM table_14312471_3 WHERE ground = "Manuka Oval" | Name the home team for manuka oval | <s>[INST]Name the home team for manuka oval Context: CREATE TABLE table_14312471_3 (home_team VARCHAR, ground VARCHAR)[/INST]SELECT home_team FROM table_14312471_3 WHERE ground = "Manuka Oval"</s> |
CREATE TABLE table_name_46 (producer_s_ VARCHAR, length VARCHAR, track VARCHAR, songwriter_s_ VARCHAR) | SELECT producer_s_ FROM table_name_46 WHERE track < 8 AND songwriter_s_ = "hadise açıkgöz, yves jongen" AND length = "3:08" | Which Producer(s) has a Track smaller than 8, and a Songwriter(s) of hadise açıkgöz, yves jongen, and a Length of 3:08? | <s>[INST]Which Producer(s) has a Track smaller than 8, and a Songwriter(s) of hadise açıkgöz, yves jongen, and a Length of 3:08? Context: CREATE TABLE table_name_46 (producer_s_ VARCHAR, length VARCHAR, track VARCHAR, songwriter_s_ VARCHAR)[/INST]SELECT producer_s_ FROM table_name_46 WHERE track < 8 AND songwriter_s_ =... |
CREATE TABLE table_name_17 (round VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR) | SELECT round FROM table_name_17 WHERE venue = "a" AND result = "1-2" AND date = "7 december 2004" | What is the round of the match at venue A with a result of 1-2 on 7 December 2004? | <s>[INST]What is the round of the match at venue A with a result of 1-2 on 7 December 2004? Context: CREATE TABLE table_name_17 (round VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR)[/INST]SELECT round FROM table_name_17 WHERE venue = "a" AND result = "1-2" AND date = "7 december 2004"</s> |
CREATE TABLE table_name_12 (week__number VARCHAR, theme VARCHAR) | SELECT week__number FROM table_name_12 WHERE theme = "dolly parton" | What is the week number that has Dolly Parton as the theme? | <s>[INST]What is the week number that has Dolly Parton as the theme? Context: CREATE TABLE table_name_12 (week__number VARCHAR, theme VARCHAR)[/INST]SELECT week__number FROM table_name_12 WHERE theme = "dolly parton"</s> |
CREATE TABLE table_name_31 (unit VARCHAR, type VARCHAR) | SELECT unit FROM table_name_31 WHERE type = "wwer-440/213" | Which unite had the type wwer-440/213? | <s>[INST]Which unite had the type wwer-440/213? Context: CREATE TABLE table_name_31 (unit VARCHAR, type VARCHAR)[/INST]SELECT unit FROM table_name_31 WHERE type = "wwer-440/213"</s> |
CREATE TABLE table_2950964_5 (read_by VARCHAR, isbn VARCHAR) | SELECT read_by FROM table_2950964_5 WHERE isbn = "isbn 978-1-4084-6879-1" | THe audio book with ISBN 978-1-4084-6879-1 is read by whom? | <s>[INST]THe audio book with ISBN 978-1-4084-6879-1 is read by whom? Context: CREATE TABLE table_2950964_5 (read_by VARCHAR, isbn VARCHAR)[/INST]SELECT read_by FROM table_2950964_5 WHERE isbn = "isbn 978-1-4084-6879-1"</s> |
CREATE TABLE table_name_12 (rank INTEGER, total VARCHAR, nation VARCHAR) | SELECT SUM(rank) FROM table_name_12 WHERE total = 3 AND nation = "australia" | What is the sum of rank when total is 3 and the nation is Australia? | <s>[INST]What is the sum of rank when total is 3 and the nation is Australia? Context: CREATE TABLE table_name_12 (rank INTEGER, total VARCHAR, nation VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_12 WHERE total = 3 AND nation = "australia"</s> |
CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_34 WHERE date = "may 7" | Which record happened on the date of May 7? | <s>[INST]Which record happened on the date of May 7? Context: CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_34 WHERE date = "may 7"</s> |
CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR) | SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 5010 | Which urban area has a 2011 population of 5010? | <s>[INST]Which urban area has a 2011 population of 5010? Context: CREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR)[/INST]SELECT urban_area FROM table_1940144_1 WHERE population_2011 = 5010</s> |
CREATE TABLE table_name_22 (entrant VARCHAR, points VARCHAR, year VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_22 WHERE year > 1987 AND chassis = "benetton b188" AND points = 12 | which entrant after 1987 had 12 points and a benetton b188 chassis? | <s>[INST]which entrant after 1987 had 12 points and a benetton b188 chassis? Context: CREATE TABLE table_name_22 (entrant VARCHAR, points VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_22 WHERE year > 1987 AND chassis = "benetton b188" AND points = 12</s> |
CREATE TABLE table_name_13 (score INTEGER, place VARCHAR, player VARCHAR) | SELECT SUM(score) FROM table_name_13 WHERE place = "t2" AND player = "justin leonard" | What is Sum of Score, when Place is T2, and when Player is Justin Leonard? | <s>[INST]What is Sum of Score, when Place is T2, and when Player is Justin Leonard? Context: CREATE TABLE table_name_13 (score INTEGER, place VARCHAR, player VARCHAR)[/INST]SELECT SUM(score) FROM table_name_13 WHERE place = "t2" AND player = "justin leonard"</s> |
CREATE TABLE table_1507423_4 (team_s_ VARCHAR, position VARCHAR) | SELECT COUNT(team_s_) FROM table_1507423_4 WHERE position = "76th" | How many teams had a 76th position finish? | <s>[INST]How many teams had a 76th position finish? Context: CREATE TABLE table_1507423_4 (team_s_ VARCHAR, position VARCHAR)[/INST]SELECT COUNT(team_s_) FROM table_1507423_4 WHERE position = "76th"</s> |
CREATE TABLE table_name_59 (nhl_team VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR) | SELECT nhl_team FROM table_name_59 WHERE nationality = "canada" AND position = "right wing" AND pick__number = "43" | What team draft a player from Canada that was picked #43 and plays right wing? | <s>[INST]What team draft a player from Canada that was picked #43 and plays right wing? Context: CREATE TABLE table_name_59 (nhl_team VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR)[/INST]SELECT nhl_team FROM table_name_59 WHERE nationality = "canada" AND position = "right wing" AND pick__number =... |
CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR, aggregate VARCHAR) | SELECT home__1st_leg_ FROM table_14219514_2 WHERE aggregate = "0-1" | When 0-1 is the aggregate what are the home (1st leg)? | <s>[INST]When 0-1 is the aggregate what are the home (1st leg)? Context: CREATE TABLE table_14219514_2 (home__1st_leg_ VARCHAR, aggregate VARCHAR)[/INST]SELECT home__1st_leg_ FROM table_14219514_2 WHERE aggregate = "0-1"</s> |
CREATE TABLE table_16278349_1 (language VARCHAR, province VARCHAR) | SELECT language FROM table_16278349_1 WHERE province = "Kunar" | Name the language for kunar | <s>[INST]Name the language for kunar Context: CREATE TABLE table_16278349_1 (language VARCHAR, province VARCHAR)[/INST]SELECT language FROM table_16278349_1 WHERE province = "Kunar"</s> |
CREATE TABLE table_13625792_1 (total__number VARCHAR, bush__percentage VARCHAR) | SELECT total__number FROM table_13625792_1 WHERE bush__percentage = "77.76%" | In the county where Bush won 77.76%, how many total votes were cast? | <s>[INST]In the county where Bush won 77.76%, how many total votes were cast? Context: CREATE TABLE table_13625792_1 (total__number VARCHAR, bush__percentage VARCHAR)[/INST]SELECT total__number FROM table_13625792_1 WHERE bush__percentage = "77.76%"</s> |
CREATE TABLE table_name_82 (outcome VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) | SELECT outcome FROM table_name_82 WHERE surface = "hard" AND score_in_the_final = "6–2, 6–4" | Name the Outcome has a Surface of hard, and a Score in the final of 6–2, 6–4? | <s>[INST]Name the Outcome has a Surface of hard, and a Score in the final of 6–2, 6–4? Context: CREATE TABLE table_name_82 (outcome VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT outcome FROM table_name_82 WHERE surface = "hard" AND score_in_the_final = "6–2, 6–4"</s> |
CREATE TABLE table_name_52 (college VARCHAR, round VARCHAR, pick__number VARCHAR) | SELECT college FROM table_name_52 WHERE round = 14 AND pick__number > 339 | A Pick # larger than 339 and the College that has a Round of 14 is what? | <s>[INST]A Pick # larger than 339 and the College that has a Round of 14 is what? Context: CREATE TABLE table_name_52 (college VARCHAR, round VARCHAR, pick__number VARCHAR)[/INST]SELECT college FROM table_name_52 WHERE round = 14 AND pick__number > 339</s> |
CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR) | SELECT MAX(T2.fastestlapspeed), T1.name, T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year | What are the maximum fastest lap speed in races held after 2004 grouped by race name and ordered by year? | <s>[INST]What are the maximum fastest lap speed in races held after 2004 grouped by race name and ordered by year? Context: CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR)[/INST]SELECT MAX(T2.fastestlapspeed), T1.name, T1.year FROM races AS... |
CREATE TABLE table_17481974_1 (episode__number INTEGER, original_airdate VARCHAR) | SELECT MIN(episode__number) FROM table_17481974_1 WHERE original_airdate = "July 14, 2003" | Which is the number of the episode "rook gave" "rūku dīo" (デ デ ィ オ ー ル) which aired on July 14, 2003 | <s>[INST]Which is the number of the episode "rook gave" "rūku dīo" (デ デ ィ オ ー ル) which aired on July 14, 2003 Context: CREATE TABLE table_17481974_1 (episode__number INTEGER, original_airdate VARCHAR)[/INST]SELECT MIN(episode__number) FROM table_17481974_1 WHERE original_airdate = "July 14, 2003"</s> |
CREATE TABLE table_name_36 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_36 WHERE opponent = "jonatas novaes" | Which round did the bout against Jonatas Novaes end in? | <s>[INST]Which round did the bout against Jonatas Novaes end in? Context: CREATE TABLE table_name_36 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_36 WHERE opponent = "jonatas novaes"</s> |
CREATE TABLE table_23408094_14 (span_of_years_led INTEGER, tournament_at_which_lead_began VARCHAR) | SELECT MIN(span_of_years_led) FROM table_23408094_14 WHERE tournament_at_which_lead_began = "Australian Championships" | Of the players whose lead began at the australian championships, what was the shortest span of years led? | <s>[INST]Of the players whose lead began at the australian championships, what was the shortest span of years led? Context: CREATE TABLE table_23408094_14 (span_of_years_led INTEGER, tournament_at_which_lead_began VARCHAR)[/INST]SELECT MIN(span_of_years_led) FROM table_23408094_14 WHERE tournament_at_which_lead_began =... |
CREATE TABLE table_name_13 (surface VARCHAR, opponents VARCHAR) | SELECT surface FROM table_name_13 WHERE opponents = "louise field nathalie herreman" | what is the surface when the opponents are louise field nathalie herreman? | <s>[INST]what is the surface when the opponents are louise field nathalie herreman? Context: CREATE TABLE table_name_13 (surface VARCHAR, opponents VARCHAR)[/INST]SELECT surface FROM table_name_13 WHERE opponents = "louise field nathalie herreman"</s> |
CREATE TABLE table_name_95 (tenure VARCHAR, cause_of_death VARCHAR, badge_serial_number VARCHAR) | SELECT tenure FROM table_name_95 WHERE cause_of_death = "helicopter accident" AND badge_serial_number = "16805" | What is the Tenure of the Officer who died in a helicopter accident with Badge/Serial Number 16805? | <s>[INST]What is the Tenure of the Officer who died in a helicopter accident with Badge/Serial Number 16805? Context: CREATE TABLE table_name_95 (tenure VARCHAR, cause_of_death VARCHAR, badge_serial_number VARCHAR)[/INST]SELECT tenure FROM table_name_95 WHERE cause_of_death = "helicopter accident" AND badge_serial_numb... |
CREATE TABLE table_name_15 (player VARCHAR, goals VARCHAR) | SELECT player FROM table_name_15 WHERE goals = "143" | What player scored 143 goals? | <s>[INST]What player scored 143 goals? Context: CREATE TABLE table_name_15 (player VARCHAR, goals VARCHAR)[/INST]SELECT player FROM table_name_15 WHERE goals = "143"</s> |
CREATE TABLE table_25800134_19 (director VARCHAR, series__number VARCHAR) | SELECT director FROM table_25800134_19 WHERE series__number = 626 | Who directed episode number 626 in the series? | <s>[INST]Who directed episode number 626 in the series? Context: CREATE TABLE table_25800134_19 (director VARCHAR, series__number VARCHAR)[/INST]SELECT director FROM table_25800134_19 WHERE series__number = 626</s> |
CREATE TABLE table_name_36 (notes VARCHAR, year VARCHAR) | SELECT notes FROM table_name_36 WHERE year = 2005 | What are the notes for 2005? | <s>[INST]What are the notes for 2005? Context: CREATE TABLE table_name_36 (notes VARCHAR, year VARCHAR)[/INST]SELECT notes FROM table_name_36 WHERE year = 2005</s> |
CREATE TABLE customer_orders (order_details VARCHAR) | SELECT COUNT(*) FROM customer_orders WHERE order_details = "Second time" | How many orders have detail "Second time"? | <s>[INST]How many orders have detail "Second time"? Context: CREATE TABLE customer_orders (order_details VARCHAR)[/INST]SELECT COUNT(*) FROM customer_orders WHERE order_details = "Second time"</s> |
CREATE TABLE table_name_6 (school VARCHAR, player VARCHAR) | SELECT school FROM table_name_6 WHERE player = "donte greene" | Which school has a Player of donte greene? | <s>[INST]Which school has a Player of donte greene? Context: CREATE TABLE table_name_6 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_name_6 WHERE player = "donte greene"</s> |
CREATE TABLE table_17416221_1 (largest_city VARCHAR, province VARCHAR) | SELECT largest_city FROM table_17416221_1 WHERE province = "Eastern Cape" | what is the largest city where the province is eastern cape? | <s>[INST]what is the largest city where the province is eastern cape? Context: CREATE TABLE table_17416221_1 (largest_city VARCHAR, province VARCHAR)[/INST]SELECT largest_city FROM table_17416221_1 WHERE province = "Eastern Cape"</s> |
CREATE TABLE table_name_68 (player VARCHAR, overall VARCHAR) | SELECT player FROM table_name_68 WHERE overall = "126" | Which Player has an Overall of 126? | <s>[INST]Which Player has an Overall of 126? Context: CREATE TABLE table_name_68 (player VARCHAR, overall VARCHAR)[/INST]SELECT player FROM table_name_68 WHERE overall = "126"</s> |
CREATE TABLE table_name_34 (tribunal VARCHAR, total VARCHAR) | SELECT tribunal FROM table_name_34 WHERE total = "4167" | Which tribunal had a total of 4167? | <s>[INST]Which tribunal had a total of 4167? Context: CREATE TABLE table_name_34 (tribunal VARCHAR, total VARCHAR)[/INST]SELECT tribunal FROM table_name_34 WHERE total = "4167"</s> |
CREATE TABLE table_name_76 (score_ VARCHAR, c_ VARCHAR, winner VARCHAR, season VARCHAR) | SELECT score_[c_] FROM table_name_76 WHERE winner = "alianza lima" AND season = 1965 | What is the score of the event that Alianza Lima won in 1965? | <s>[INST]What is the score of the event that Alianza Lima won in 1965? Context: CREATE TABLE table_name_76 (score_ VARCHAR, c_ VARCHAR, winner VARCHAR, season VARCHAR)[/INST]SELECT score_[c_] FROM table_name_76 WHERE winner = "alianza lima" AND season = 1965</s> |
CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR) | SELECT COUNT(digital_terrestrial_channel) FROM table_182410_10 WHERE channel = "channel 4" | How many digital terrestrial channels are there for channel 4? | <s>[INST]How many digital terrestrial channels are there for channel 4? Context: CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)[/INST]SELECT COUNT(digital_terrestrial_channel) FROM table_182410_10 WHERE channel = "channel 4"</s> |
CREATE TABLE table_name_95 (game INTEGER, time VARCHAR) | SELECT MAX(game) FROM table_name_95 WHERE time = "2:38" | What is the number of the game that was played in the time of 2:38? | <s>[INST]What is the number of the game that was played in the time of 2:38? Context: CREATE TABLE table_name_95 (game INTEGER, time VARCHAR)[/INST]SELECT MAX(game) FROM table_name_95 WHERE time = "2:38"</s> |
CREATE TABLE table_name_89 (report VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT report FROM table_name_89 WHERE date = "29 november" AND away_team = "melbourne tigers" | What kind of report was for the game played on 29 November with Melbourne Tigers being the away team? | <s>[INST]What kind of report was for the game played on 29 November with Melbourne Tigers being the away team? Context: CREATE TABLE table_name_89 (report VARCHAR, date VARCHAR, away_team VARCHAR)[/INST]SELECT report FROM table_name_89 WHERE date = "29 november" AND away_team = "melbourne tigers"</s> |
CREATE TABLE table_name_86 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_86 WHERE date = "january 18" | What was the record after the January 18 game? | <s>[INST]What was the record after the January 18 game? Context: CREATE TABLE table_name_86 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_86 WHERE date = "january 18"</s> |
CREATE TABLE table_19517621_4 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_19517621_4 WHERE written_by = "Vanessa Bates" | What is the title of the episode written by Vanessa Bates? | <s>[INST]What is the title of the episode written by Vanessa Bates? Context: CREATE TABLE table_19517621_4 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_19517621_4 WHERE written_by = "Vanessa Bates"</s> |
CREATE TABLE table_name_59 (original_title VARCHAR, role VARCHAR, directed_by VARCHAR) | SELECT original_title FROM table_name_59 WHERE role = "episode actor" AND directed_by = "géza bereményi" | What is the Original title for an Episode Actor role which was Directed by Géza Bereményi? | <s>[INST]What is the Original title for an Episode Actor role which was Directed by Géza Bereményi? Context: CREATE TABLE table_name_59 (original_title VARCHAR, role VARCHAR, directed_by VARCHAR)[/INST]SELECT original_title FROM table_name_59 WHERE role = "episode actor" AND directed_by = "géza bereményi"</s> |
CREATE TABLE table_22893781_7 (date VARCHAR, team VARCHAR) | SELECT date FROM table_22893781_7 WHERE team = "@ Indiana" | when did the @ indiana game take place? | <s>[INST]when did the @ indiana game take place? Context: CREATE TABLE table_22893781_7 (date VARCHAR, team VARCHAR)[/INST]SELECT date FROM table_22893781_7 WHERE team = "@ Indiana"</s> |
CREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_27 WHERE date = "february 9" | WHAT IS THE VISITOR FOR FEBRUARY 9? | <s>[INST]WHAT IS THE VISITOR FOR FEBRUARY 9? Context: CREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_27 WHERE date = "february 9"</s> |
CREATE TABLE table_name_30 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR) | SELECT winning_driver FROM table_name_30 WHERE winning_team = "penske racing" AND pole_position = "rick mears" | Who is the winning driver of Penske Racing, and what was Rick Mears' pole position? | <s>[INST]Who is the winning driver of Penske Racing, and what was Rick Mears' pole position? Context: CREATE TABLE table_name_30 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR)[/INST]SELECT winning_driver FROM table_name_30 WHERE winning_team = "penske racing" AND pole_position = "rick mears"</s> |
CREATE TABLE table_name_99 (field_goals VARCHAR, extra_points VARCHAR, touchdowns VARCHAR, points VARCHAR) | SELECT COUNT(field_goals) FROM table_name_99 WHERE touchdowns < 3 AND points = 4 AND extra_points < 4 | What is the total number of field goals for a player that had less than 3 touchdowns, had 4 points, and had less than 4 extra points? | <s>[INST]What is the total number of field goals for a player that had less than 3 touchdowns, had 4 points, and had less than 4 extra points? Context: CREATE TABLE table_name_99 (field_goals VARCHAR, extra_points VARCHAR, touchdowns VARCHAR, points VARCHAR)[/INST]SELECT COUNT(field_goals) FROM table_name_99 WHERE touc... |
CREATE TABLE table_name_69 (pick INTEGER, player VARCHAR, round VARCHAR) | SELECT SUM(pick) FROM table_name_69 WHERE player = "jim pilot" AND round > 5 | What pick in round 5 did the 49ers pick Jim Pilot? | <s>[INST]What pick in round 5 did the 49ers pick Jim Pilot? Context: CREATE TABLE table_name_69 (pick INTEGER, player VARCHAR, round VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_69 WHERE player = "jim pilot" AND round > 5</s> |
CREATE TABLE table_name_45 (são_paulo_career VARCHAR, name VARCHAR, appearances VARCHAR, goals VARCHAR) | SELECT são_paulo_career FROM table_name_45 WHERE appearances < 201 AND goals < 2 AND name = "ricardo rocha" | WHAT SAN PAULO CAREER HAD SMALLER THAN 201 APPEARANCES, SMALLER THAN 2 GOALS, AND FOR RICARDO ROCHA? | <s>[INST]WHAT SAN PAULO CAREER HAD SMALLER THAN 201 APPEARANCES, SMALLER THAN 2 GOALS, AND FOR RICARDO ROCHA? Context: CREATE TABLE table_name_45 (são_paulo_career VARCHAR, name VARCHAR, appearances VARCHAR, goals VARCHAR)[/INST]SELECT são_paulo_career FROM table_name_45 WHERE appearances < 201 AND goals < 2 AND name =... |
CREATE TABLE table_name_94 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_94 WHERE opponent = "roger federer" | What was the surface for the opponent Roger Federer? | <s>[INST]What was the surface for the opponent Roger Federer? Context: CREATE TABLE table_name_94 (surface VARCHAR, opponent VARCHAR)[/INST]SELECT surface FROM table_name_94 WHERE opponent = "roger federer"</s> |
CREATE TABLE table_name_69 (total INTEGER, free VARCHAR, technical VARCHAR) | SELECT SUM(total) FROM table_name_69 WHERE free = 47.667 AND technical < 47.417 | What is the total for the person with free of 47.667, and technical less than 47.417? | <s>[INST]What is the total for the person with free of 47.667, and technical less than 47.417? Context: CREATE TABLE table_name_69 (total INTEGER, free VARCHAR, technical VARCHAR)[/INST]SELECT SUM(total) FROM table_name_69 WHERE free = 47.667 AND technical < 47.417</s> |
CREATE TABLE table_1342218_17 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1342218_17 WHERE district = "Kentucky 2" | What was the result in the voting district Kentucky 2? | <s>[INST]What was the result in the voting district Kentucky 2? Context: CREATE TABLE table_1342218_17 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1342218_17 WHERE district = "Kentucky 2"</s> |
CREATE TABLE table_18987377_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_title FROM table_18987377_1 WHERE film_title_used_in_nomination = "The Last Metro" | Name the original title for the last metro | <s>[INST]Name the original title for the last metro Context: CREATE TABLE table_18987377_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_title FROM table_18987377_1 WHERE film_title_used_in_nomination = "The Last Metro"</s> |
CREATE TABLE table_name_59 (winning_driver VARCHAR, circuit VARCHAR) | SELECT winning_driver FROM table_name_59 WHERE circuit = "monza" | Name the winning driver with circuit of monza | <s>[INST]Name the winning driver with circuit of monza Context: CREATE TABLE table_name_59 (winning_driver VARCHAR, circuit VARCHAR)[/INST]SELECT winning_driver FROM table_name_59 WHERE circuit = "monza"</s> |
CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, result VARCHAR) | SELECT date FROM table_name_58 WHERE week > 2 AND result = "l 16–10" | What is the date of the post-week 2 game with a result of l 16–10? | <s>[INST]What is the date of the post-week 2 game with a result of l 16–10? Context: CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_58 WHERE week > 2 AND result = "l 16–10"</s> |
CREATE TABLE table_16028499_2 (attendance INTEGER, opponent VARCHAR) | SELECT MIN(attendance) FROM table_16028499_2 WHERE opponent = "New Orleans Saints" | What was the minimum attendance against the New Orleans Saints? | <s>[INST]What was the minimum attendance against the New Orleans Saints? Context: CREATE TABLE table_16028499_2 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT MIN(attendance) FROM table_16028499_2 WHERE opponent = "New Orleans Saints"</s> |
CREATE TABLE table_name_86 (inning VARCHAR, team VARCHAR, date VARCHAR) | SELECT inning FROM table_name_86 WHERE team = "minnesota twins" AND date = "06-07-1961" | Which inning were the Minnesota Twins in on 06-07-1961? | <s>[INST]Which inning were the Minnesota Twins in on 06-07-1961? Context: CREATE TABLE table_name_86 (inning VARCHAR, team VARCHAR, date VARCHAR)[/INST]SELECT inning FROM table_name_86 WHERE team = "minnesota twins" AND date = "06-07-1961"</s> |
CREATE TABLE table_24807774_1 (afghan VARCHAR, bangladeshi VARCHAR) | SELECT afghan FROM table_24807774_1 WHERE bangladeshi = "Hungarian" | how many afghan in banglash is hungarian | <s>[INST]how many afghan in banglash is hungarian Context: CREATE TABLE table_24807774_1 (afghan VARCHAR, bangladeshi VARCHAR)[/INST]SELECT afghan FROM table_24807774_1 WHERE bangladeshi = "Hungarian"</s> |
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_90 WHERE away_team = "wrexham" | What is the Home team with an Away team that is wrexham? | <s>[INST]What is the Home team with an Away team that is wrexham? Context: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_90 WHERE away_team = "wrexham"</s> |
CREATE TABLE table_name_12 (athlete VARCHAR, nation VARCHAR) | SELECT athlete FROM table_name_12 WHERE nation = "nigeria" | What is Athlete, when Nation is "Nigeria"? | <s>[INST]What is Athlete, when Nation is "Nigeria"? Context: CREATE TABLE table_name_12 (athlete VARCHAR, nation VARCHAR)[/INST]SELECT athlete FROM table_name_12 WHERE nation = "nigeria"</s> |
CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR) | SELECT outcome FROM table_22834834_3 WHERE score_in_the_final = "6–3, 6–2" | Which outcomes have a final score of 6–3, 6–2? | <s>[INST]Which outcomes have a final score of 6–3, 6–2? Context: CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT outcome FROM table_22834834_3 WHERE score_in_the_final = "6–3, 6–2"</s> |
CREATE TABLE table_name_32 (game VARCHAR, location_attendance VARCHAR, score VARCHAR) | SELECT game FROM table_name_32 WHERE location_attendance = "omni coliseum" AND score = "w 105-95" | What game was played at Omni Coliseum with a w 105-95 score? | <s>[INST]What game was played at Omni Coliseum with a w 105-95 score? Context: CREATE TABLE table_name_32 (game VARCHAR, location_attendance VARCHAR, score VARCHAR)[/INST]SELECT game FROM table_name_32 WHERE location_attendance = "omni coliseum" AND score = "w 105-95"</s> |
CREATE TABLE table_name_28 (points INTEGER, assists VARCHAR) | SELECT SUM(points) FROM table_name_28 WHERE assists = 41 | How many points have 41 assists? | <s>[INST]How many points have 41 assists? Context: CREATE TABLE table_name_28 (points INTEGER, assists VARCHAR)[/INST]SELECT SUM(points) FROM table_name_28 WHERE assists = 41</s> |
CREATE TABLE table_name_9 (position VARCHAR, round VARCHAR) | SELECT position FROM table_name_9 WHERE round = 3 | what is the position in round 3? | <s>[INST]what is the position in round 3? Context: CREATE TABLE table_name_9 (position VARCHAR, round VARCHAR)[/INST]SELECT position FROM table_name_9 WHERE round = 3</s> |
CREATE TABLE table_name_56 (year INTEGER, artist VARCHAR, rank VARCHAR) | SELECT MIN(year) FROM table_name_56 WHERE artist = "every little thing" AND rank < 10 | What was the first year that the artist of every little thing ranked lower than 10? | <s>[INST]What was the first year that the artist of every little thing ranked lower than 10? Context: CREATE TABLE table_name_56 (year INTEGER, artist VARCHAR, rank VARCHAR)[/INST]SELECT MIN(year) FROM table_name_56 WHERE artist = "every little thing" AND rank < 10</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.