context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_28059992_6 (college VARCHAR, cfl_team VARCHAR) | SELECT college FROM table_28059992_6 WHERE cfl_team = "Calgary" | What college did the player who was drafted by Calgary go to? | <s>[INST]What college did the player who was drafted by Calgary go to? Context: CREATE TABLE table_28059992_6 (college VARCHAR, cfl_team VARCHAR)[/INST]SELECT college FROM table_28059992_6 WHERE cfl_team = "Calgary"</s> |
CREATE TABLE table_27514362_7 (pos VARCHAR, car_make VARCHAR, driver VARCHAR) | SELECT pos FROM table_27514362_7 WHERE car_make = "Pontiac" AND driver = "Bobby Hamilton" | What is the finish position for cars by Pontiac driven by Bobby Hamilton? | <s>[INST]What is the finish position for cars by Pontiac driven by Bobby Hamilton? Context: CREATE TABLE table_27514362_7 (pos VARCHAR, car_make VARCHAR, driver VARCHAR)[/INST]SELECT pos FROM table_27514362_7 WHERE car_make = "Pontiac" AND driver = "Bobby Hamilton"</s> |
CREATE TABLE table_27987623_1 (us_viewers__in_million_ VARCHAR, written_by VARCHAR) | SELECT us_viewers__in_million_ FROM table_27987623_1 WHERE written_by = "Kevin Biegel & Bill Lawrence" | How many viewers saw the episode written by kevin biegel & bill lawrence? | <s>[INST]How many viewers saw the episode written by kevin biegel & bill lawrence? Context: CREATE TABLE table_27987623_1 (us_viewers__in_million_ VARCHAR, written_by VARCHAR)[/INST]SELECT us_viewers__in_million_ FROM table_27987623_1 WHERE written_by = "Kevin Biegel & Bill Lawrence"</s> |
CREATE TABLE table_name_2 (_m__best_ VARCHAR, _fairest VARCHAR, president VARCHAR, _m__coach VARCHAR) | SELECT _m__best_ & _fairest FROM table_name_2 WHERE president = "ray kaduck" AND _m__coach = "richard keane" | Who was the (M) Best & Fairest when ray kaduck was president and richard keane was coach? | <s>[INST]Who was the (M) Best & Fairest when ray kaduck was president and richard keane was coach? Context: CREATE TABLE table_name_2 (_m__best_ VARCHAR, _fairest VARCHAR, president VARCHAR, _m__coach VARCHAR)[/INST]SELECT _m__best_ & _fairest FROM table_name_2 WHERE president = "ray kaduck" AND _m__coach = "richard ke... |
CREATE TABLE table_name_35 (deleted VARCHAR, listed VARCHAR, name VARCHAR) | SELECT deleted FROM table_name_35 WHERE listed = "09/21/1984" AND name = "stauffer chemical company (lemoyne plant)" | On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted? | <s>[INST]On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted? Context: CREATE TABLE table_name_35 (deleted VARCHAR, listed VARCHAR, name VARCHAR)[/INST]SELECT deleted FROM table_name_35 WHERE listed = "09/21/1984" AND name = "stauffer chemical company (lemoyne plant)"</s> |
CREATE TABLE table_name_11 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_11 WHERE score = "95-114" | Who did they play when the score was 95-114? | <s>[INST]Who did they play when the score was 95-114? Context: CREATE TABLE table_name_11 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_11 WHERE score = "95-114"</s> |
CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR) | SELECT year_left FROM table_name_68 WHERE team_name = "hornets" | What year did the Hornets leave the conference? | <s>[INST]What year did the Hornets leave the conference? Context: CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR)[/INST]SELECT year_left FROM table_name_68 WHERE team_name = "hornets"</s> |
CREATE TABLE table_name_15 (name VARCHAR, moving_from VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR) | SELECT name FROM table_name_15 WHERE transfer_window = "summer" AND transfer_fee = "undisclosed" AND moving_from = "brussels" | What is the name of the player with a transfer window in summer, an undisclosed transfer fee, and is moving from brussels? | <s>[INST]What is the name of the player with a transfer window in summer, an undisclosed transfer fee, and is moving from brussels? Context: CREATE TABLE table_name_15 (name VARCHAR, moving_from VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR)[/INST]SELECT name FROM table_name_15 WHERE transfer_window = "summer"... |
CREATE TABLE table_name_4 (decision VARCHAR, visitor VARCHAR, score VARCHAR) | SELECT decision FROM table_name_4 WHERE visitor = "vancouver" AND score = "5 – 4" | Which Decision has a Visitor of vancouver, and a Score of 5 – 4? | <s>[INST]Which Decision has a Visitor of vancouver, and a Score of 5 – 4? Context: CREATE TABLE table_name_4 (decision VARCHAR, visitor VARCHAR, score VARCHAR)[/INST]SELECT decision FROM table_name_4 WHERE visitor = "vancouver" AND score = "5 – 4"</s> |
CREATE TABLE table_name_54 (capacity INTEGER, locality VARCHAR) | SELECT MAX(capacity) FROM table_name_54 WHERE locality = "heaton chapel" | What is heaton chapel's capacity? | <s>[INST]What is heaton chapel's capacity? Context: CREATE TABLE table_name_54 (capacity INTEGER, locality VARCHAR)[/INST]SELECT MAX(capacity) FROM table_name_54 WHERE locality = "heaton chapel"</s> |
CREATE TABLE table_name_72 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_72 WHERE date = "february 3" | What is the home team of the game on February 3? | <s>[INST]What is the home team of the game on February 3? Context: CREATE TABLE table_name_72 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_72 WHERE date = "february 3"</s> |
CREATE TABLE table_name_87 (area_km_2 VARCHAR, official_name VARCHAR) | SELECT COUNT(area_km_2) FROM table_name_87 WHERE official_name = "studholm" | What is the area in square kilometers of Studholm? | <s>[INST]What is the area in square kilometers of Studholm? Context: CREATE TABLE table_name_87 (area_km_2 VARCHAR, official_name VARCHAR)[/INST]SELECT COUNT(area_km_2) FROM table_name_87 WHERE official_name = "studholm"</s> |
CREATE TABLE table_name_34 (opposing_team VARCHAR, against VARCHAR, date VARCHAR) | SELECT opposing_team FROM table_name_34 WHERE against < 19 AND date = "20/05/1979" | Which Opposing Team has an Against smaller than 19, and a Date of 20/05/1979? | <s>[INST]Which Opposing Team has an Against smaller than 19, and a Date of 20/05/1979? Context: CREATE TABLE table_name_34 (opposing_team VARCHAR, against VARCHAR, date VARCHAR)[/INST]SELECT opposing_team FROM table_name_34 WHERE against < 19 AND date = "20/05/1979"</s> |
CREATE TABLE table_10707176_2 (pole_position VARCHAR, rnd VARCHAR) | SELECT pole_position FROM table_10707176_2 WHERE rnd = "12" | Who was the pole position for the rnd equalling 12? | <s>[INST]Who was the pole position for the rnd equalling 12? Context: CREATE TABLE table_10707176_2 (pole_position VARCHAR, rnd VARCHAR)[/INST]SELECT pole_position FROM table_10707176_2 WHERE rnd = "12"</s> |
CREATE TABLE table_name_27 (series_4 VARCHAR, seat VARCHAR) | SELECT series_4 FROM table_name_27 WHERE seat = 1 | What shows for series 4 when the seat shows 1? | <s>[INST]What shows for series 4 when the seat shows 1? Context: CREATE TABLE table_name_27 (series_4 VARCHAR, seat VARCHAR)[/INST]SELECT series_4 FROM table_name_27 WHERE seat = 1</s> |
CREATE TABLE table_name_1 (pos VARCHAR, club VARCHAR, name VARCHAR) | SELECT pos FROM table_name_1 WHERE club = "spandau 04" AND name = "jens pohlmann" | What is Spandau 04 Player Jens Pohlmann's Pos.? | <s>[INST]What is Spandau 04 Player Jens Pohlmann's Pos.? Context: CREATE TABLE table_name_1 (pos VARCHAR, club VARCHAR, name VARCHAR)[/INST]SELECT pos FROM table_name_1 WHERE club = "spandau 04" AND name = "jens pohlmann"</s> |
CREATE TABLE table_name_38 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_38 WHERE team = "seattle" | Which score is the Seattle team? | <s>[INST]Which score is the Seattle team? Context: CREATE TABLE table_name_38 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE team = "seattle"</s> |
CREATE TABLE table_28059992_1 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_28059992_1 WHERE cfl_team = "Edmonton" | What is every position for the CFL Edmonton? | <s>[INST]What is every position for the CFL Edmonton? Context: CREATE TABLE table_28059992_1 (position VARCHAR, cfl_team VARCHAR)[/INST]SELECT position FROM table_28059992_1 WHERE cfl_team = "Edmonton"</s> |
CREATE TABLE table_name_5 (school_name VARCHAR, year_open VARCHAR) | SELECT MAX(2012 AS _enrolment) FROM table_name_5 WHERE school_name = "école mathieu-martin" AND year_open > 1972 | WHAT IS THE HIGHEST 2012 ENROLLMENT FOR école mathieu-martin, AFTER 1972? | <s>[INST]WHAT IS THE HIGHEST 2012 ENROLLMENT FOR école mathieu-martin, AFTER 1972? Context: CREATE TABLE table_name_5 (school_name VARCHAR, year_open VARCHAR)[/INST]SELECT MAX(2012 AS _enrolment) FROM table_name_5 WHERE school_name = "école mathieu-martin" AND year_open > 1972</s> |
CREATE TABLE table_27712702_11 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_27712702_11 WHERE team = "Detroit" | Who had the high assists against detroit? | <s>[INST]Who had the high assists against detroit? Context: CREATE TABLE table_27712702_11 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_27712702_11 WHERE team = "Detroit"</s> |
CREATE TABLE table_name_92 (location_attendance VARCHAR, game VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_name_92 WHERE game > 67 AND team = "@ charlotte" | Which Location Attendance has a Game larger than 67, and a Team of @ charlotte? | <s>[INST]Which Location Attendance has a Game larger than 67, and a Team of @ charlotte? Context: CREATE TABLE table_name_92 (location_attendance VARCHAR, game VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_name_92 WHERE game > 67 AND team = "@ charlotte"</s> |
CREATE TABLE table_name_26 (pole INTEGER, podium VARCHAR, race VARCHAR, flap VARCHAR) | SELECT AVG(pole) FROM table_name_26 WHERE race < 16 AND flap > 8 AND podium > 11 | What was the pole for a race lower than 16 with a Flap higher than 8 and a podium higher than 11? | <s>[INST]What was the pole for a race lower than 16 with a Flap higher than 8 and a podium higher than 11? Context: CREATE TABLE table_name_26 (pole INTEGER, podium VARCHAR, race VARCHAR, flap VARCHAR)[/INST]SELECT AVG(pole) FROM table_name_26 WHERE race < 16 AND flap > 8 AND podium > 11</s> |
CREATE TABLE table_name_8 (player VARCHAR, year VARCHAR, hits VARCHAR) | SELECT player FROM table_name_8 WHERE year > 1885 AND hits = 238 | Name the player with 238 hits and years after 1885 | <s>[INST]Name the player with 238 hits and years after 1885 Context: CREATE TABLE table_name_8 (player VARCHAR, year VARCHAR, hits VARCHAR)[/INST]SELECT player FROM table_name_8 WHERE year > 1885 AND hits = 238</s> |
CREATE TABLE table_name_69 (doctor VARCHAR, title VARCHAR) | SELECT doctor FROM table_name_69 WHERE title = "city of death" | Which Doctor is featured in City of Death? | <s>[INST]Which Doctor is featured in City of Death? Context: CREATE TABLE table_name_69 (doctor VARCHAR, title VARCHAR)[/INST]SELECT doctor FROM table_name_69 WHERE title = "city of death"</s> |
CREATE TABLE table_name_8 (tournament VARCHAR, year INTEGER) | SELECT tournament FROM table_name_8 WHERE year > 2009 | What tournament was after 2009? | <s>[INST]What tournament was after 2009? Context: CREATE TABLE table_name_8 (tournament VARCHAR, year INTEGER)[/INST]SELECT tournament FROM table_name_8 WHERE year > 2009</s> |
CREATE TABLE table_1014319_1 (goodman VARCHAR, result VARCHAR, dance_song VARCHAR) | SELECT COUNT(goodman) FROM table_1014319_1 WHERE result = "Second place" AND dance_song = "Samba / Young Hearts Run Free" | How many scores did Goodman give to "samba / young hearts run free", which was in second place? | <s>[INST]How many scores did Goodman give to "samba / young hearts run free", which was in second place? Context: CREATE TABLE table_1014319_1 (goodman VARCHAR, result VARCHAR, dance_song VARCHAR)[/INST]SELECT COUNT(goodman) FROM table_1014319_1 WHERE result = "Second place" AND dance_song = "Samba / Young Hearts Run F... |
CREATE TABLE table_name_53 (nba_draft VARCHAR, player VARCHAR) | SELECT nba_draft FROM table_name_53 WHERE player = "al-farouq aminu" | What was the nba draft for al-farouq aminu? | <s>[INST]What was the nba draft for al-farouq aminu? Context: CREATE TABLE table_name_53 (nba_draft VARCHAR, player VARCHAR)[/INST]SELECT nba_draft FROM table_name_53 WHERE player = "al-farouq aminu"</s> |
CREATE TABLE table_30120556_1 (civil_parish VARCHAR, townland VARCHAR, area__acres__ VARCHAR) | SELECT civil_parish FROM table_30120556_1 WHERE townland = "Ballynamona" AND area__acres__ = 126 | What civil paris appears when Ballynamona is the townland with 126 acres? | <s>[INST]What civil paris appears when Ballynamona is the townland with 126 acres? Context: CREATE TABLE table_30120556_1 (civil_parish VARCHAR, townland VARCHAR, area__acres__ VARCHAR)[/INST]SELECT civil_parish FROM table_30120556_1 WHERE townland = "Ballynamona" AND area__acres__ = 126</s> |
CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE student (Fname VARCHAR, stuid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR) | SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat' INTERSECT SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'dog' | What are the students' first names who have both cats and dogs as pets? | <s>[INST]What are the students' first names who have both cats and dogs as pets? Context: CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE student (Fname VARCHAR, stuid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR)[/INST]SELECT T1.Fname FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid =... |
CREATE TABLE table_29414946_3 (team VARCHAR, replaced_by VARCHAR) | SELECT team FROM table_29414946_3 WHERE replaced_by = "Renato Gaúcho" | What team hired Renato Gaúcho? | <s>[INST]What team hired Renato Gaúcho? Context: CREATE TABLE table_29414946_3 (team VARCHAR, replaced_by VARCHAR)[/INST]SELECT team FROM table_29414946_3 WHERE replaced_by = "Renato Gaúcho"</s> |
CREATE TABLE table_name_35 (category VARCHAR) | SELECT 2000 FROM table_name_35 WHERE 1999 = "toyota 1sz-fe 1.0l yaris" AND category = "sub 1 litre" | What car was awarded sub 1 litre in 2000 (won by toyota 1sz-fe 1.0l yaris in 1999)? | <s>[INST]What car was awarded sub 1 litre in 2000 (won by toyota 1sz-fe 1.0l yaris in 1999)? Context: CREATE TABLE table_name_35 (category VARCHAR)[/INST]SELECT 2000 FROM table_name_35 WHERE 1999 = "toyota 1sz-fe 1.0l yaris" AND category = "sub 1 litre"</s> |
CREATE TABLE table_16278602_1 (_2008_ VARCHAR, population__january_1 INTEGER, largest_city VARCHAR) | SELECT MIN(population__january_1), _2008_ FROM table_16278602_1 WHERE largest_city = "Roskilde" | What is the minimum population of the region in which Roskilde is the largest city? | <s>[INST]What is the minimum population of the region in which Roskilde is the largest city? Context: CREATE TABLE table_16278602_1 (_2008_ VARCHAR, population__january_1 INTEGER, largest_city VARCHAR)[/INST]SELECT MIN(population__january_1), _2008_ FROM table_16278602_1 WHERE largest_city = "Roskilde"</s> |
CREATE TABLE table_1952057_5 (super_bowl_championships INTEGER, team VARCHAR) | SELECT MIN(super_bowl_championships) FROM table_1952057_5 WHERE team = "New England Patriots" | If the team in the New England Patriots, what is the super bowl championship minimum number? | <s>[INST]If the team in the New England Patriots, what is the super bowl championship minimum number? Context: CREATE TABLE table_1952057_5 (super_bowl_championships INTEGER, team VARCHAR)[/INST]SELECT MIN(super_bowl_championships) FROM table_1952057_5 WHERE team = "New England Patriots"</s> |
CREATE TABLE table_name_15 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_15 WHERE venue = "princes park" | What did the home team score at Princes Park? | <s>[INST]What did the home team score at Princes Park? Context: CREATE TABLE table_name_15 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_15 WHERE venue = "princes park"</s> |
CREATE TABLE table_name_89 (year INTEGER) | SELECT 250 AS _cc FROM table_name_89 WHERE year > 1984 | What is the 250 cc with a year bigger than 1984? | <s>[INST]What is the 250 cc with a year bigger than 1984? Context: CREATE TABLE table_name_89 (year INTEGER)[/INST]SELECT 250 AS _cc FROM table_name_89 WHERE year > 1984</s> |
CREATE TABLE table_name_70 (wins VARCHAR, losses VARCHAR, draws VARCHAR) | SELECT COUNT(wins) FROM table_name_70 WHERE losses = 6 AND draws > 0 | What is the total number of Wins, when Losses is "6", and when Draws is greater than "0"? | <s>[INST]What is the total number of Wins, when Losses is "6", and when Draws is greater than "0"? Context: CREATE TABLE table_name_70 (wins VARCHAR, losses VARCHAR, draws VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_70 WHERE losses = 6 AND draws > 0</s> |
CREATE TABLE table_21436373_4 (stadium VARCHAR, type_of_record VARCHAR) | SELECT stadium FROM table_21436373_4 WHERE type_of_record = "Regular season game" | What was the stadium that had the regular season game? | <s>[INST]What was the stadium that had the regular season game? Context: CREATE TABLE table_21436373_4 (stadium VARCHAR, type_of_record VARCHAR)[/INST]SELECT stadium FROM table_21436373_4 WHERE type_of_record = "Regular season game"</s> |
CREATE TABLE table_name_70 (byes VARCHAR, against VARCHAR, draws VARCHAR) | SELECT COUNT(byes) FROM table_name_70 WHERE against = 2139 AND draws > 0 | What is the total number of byes for teams with against of 2139 and more than 0 draws? | <s>[INST]What is the total number of byes for teams with against of 2139 and more than 0 draws? Context: CREATE TABLE table_name_70 (byes VARCHAR, against VARCHAR, draws VARCHAR)[/INST]SELECT COUNT(byes) FROM table_name_70 WHERE against = 2139 AND draws > 0</s> |
CREATE TABLE table_name_51 (year INTEGER, nominated_work VARCHAR, category VARCHAR) | SELECT SUM(year) FROM table_name_51 WHERE nominated_work = "eiza gonzález" AND category = "solista favorito" | What is the total number of years in which Eiza González had a nominated work in the category of solista favorito? | <s>[INST]What is the total number of years in which Eiza González had a nominated work in the category of solista favorito? Context: CREATE TABLE table_name_51 (year INTEGER, nominated_work VARCHAR, category VARCHAR)[/INST]SELECT SUM(year) FROM table_name_51 WHERE nominated_work = "eiza gonzález" AND category = "solist... |
CREATE TABLE table_name_29 (director VARCHAR, serial_title VARCHAR) | SELECT director FROM table_name_29 WHERE serial_title = "heroes of the wild" | I want the director for heroes of the wild | <s>[INST]I want the director for heroes of the wild Context: CREATE TABLE table_name_29 (director VARCHAR, serial_title VARCHAR)[/INST]SELECT director FROM table_name_29 WHERE serial_title = "heroes of the wild"</s> |
CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_87 WHERE player = "rich manning" | What position did Rich Manning play? | <s>[INST]What position did Rich Manning play? Context: CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_87 WHERE player = "rich manning"</s> |
CREATE TABLE table_name_80 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_80 WHERE country = "united states" AND place = "t4" AND player = "frank boynton" | What is To Par, when Country is "United States", when Place is "T4", and when Player is "Frank Boynton"? | <s>[INST]What is To Par, when Country is "United States", when Place is "T4", and when Player is "Frank Boynton"? Context: CREATE TABLE table_name_80 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT to_par FROM table_name_80 WHERE country = "united states" AND place = "t4" AND player = "fra... |
CREATE TABLE table_2651755_2 (alliance VARCHAR, democratic_coalition VARCHAR) | SELECT alliance FROM table_2651755_2 WHERE democratic_coalition = "Eduardo Frei ( PDC )" | where democratic coalition is eduardo frei ( pdc ) what are all the alliance | <s>[INST]where democratic coalition is eduardo frei ( pdc ) what are all the alliance Context: CREATE TABLE table_2651755_2 (alliance VARCHAR, democratic_coalition VARCHAR)[/INST]SELECT alliance FROM table_2651755_2 WHERE democratic_coalition = "Eduardo Frei ( PDC )"</s> |
CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course_arrange (Teacher_ID VARCHAR) | SELECT T2.Name, COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name | Show names of teachers and the number of courses they teach. | <s>[INST]Show names of teachers and the number of courses they teach. Context: CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course_arrange (Teacher_ID VARCHAR)[/INST]SELECT T2.Name, COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name</s> |
CREATE TABLE table_name_40 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR) | SELECT MAX(top_10) FROM table_name_40 WHERE cuts_made = 8 AND events < 11 | What is the most top-10 of the team with 8 cuts made and less than 11 events? | <s>[INST]What is the most top-10 of the team with 8 cuts made and less than 11 events? Context: CREATE TABLE table_name_40 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR)[/INST]SELECT MAX(top_10) FROM table_name_40 WHERE cuts_made = 8 AND events < 11</s> |
CREATE TABLE table_name_36 (lyricist_s_ VARCHAR, composer_s_ VARCHAR) | SELECT lyricist_s_ FROM table_name_36 WHERE composer_s_ = "haewon park" | Who was the lyricist for composer Haewon Park? | <s>[INST]Who was the lyricist for composer Haewon Park? Context: CREATE TABLE table_name_36 (lyricist_s_ VARCHAR, composer_s_ VARCHAR)[/INST]SELECT lyricist_s_ FROM table_name_36 WHERE composer_s_ = "haewon park"</s> |
CREATE TABLE table_1745820_5 (semifinals VARCHAR, round_of_32 VARCHAR) | SELECT semifinals FROM table_1745820_5 WHERE round_of_32 = "Bye" | When there was a bye in the round of 32, what was the result in the round of 16? | <s>[INST]When there was a bye in the round of 32, what was the result in the round of 16? Context: CREATE TABLE table_1745820_5 (semifinals VARCHAR, round_of_32 VARCHAR)[/INST]SELECT semifinals FROM table_1745820_5 WHERE round_of_32 = "Bye"</s> |
CREATE TABLE table_name_25 (snatch INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR) | SELECT MIN(snatch) FROM table_name_25 WHERE clean_ & _jerk = 180 AND bodyweight < 69.83 | Which Snatch has a Clean & Jerk of 180, and a Bodyweight smaller than 69.83? | <s>[INST]Which Snatch has a Clean & Jerk of 180, and a Bodyweight smaller than 69.83? Context: CREATE TABLE table_name_25 (snatch INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)[/INST]SELECT MIN(snatch) FROM table_name_25 WHERE clean_ & _jerk = 180 AND bodyweight < 69.83</s> |
CREATE TABLE table_name_42 (studio_host VARCHAR, year VARCHAR) | SELECT studio_host FROM table_name_42 WHERE year = "2003-04" | WHich Studio host has a Year of 2003-04? | <s>[INST]WHich Studio host has a Year of 2003-04? Context: CREATE TABLE table_name_42 (studio_host VARCHAR, year VARCHAR)[/INST]SELECT studio_host FROM table_name_42 WHERE year = "2003-04"</s> |
CREATE TABLE table_name_55 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_55 WHERE opponent = "flavia pennetta" | What is the Score with an Opponent that is flavia pennetta? | <s>[INST]What is the Score with an Opponent that is flavia pennetta? Context: CREATE TABLE table_name_55 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_55 WHERE opponent = "flavia pennetta"</s> |
CREATE TABLE table_name_80 (from_club VARCHAR, player VARCHAR) | SELECT from_club FROM table_name_80 WHERE player = "robinho" | What is From Club, when Player is "Robinho"? | <s>[INST]What is From Club, when Player is "Robinho"? Context: CREATE TABLE table_name_80 (from_club VARCHAR, player VARCHAR)[/INST]SELECT from_club FROM table_name_80 WHERE player = "robinho"</s> |
CREATE TABLE table_2523809_1 (branding VARCHAR, channel VARCHAR) | SELECT branding FROM table_2523809_1 WHERE channel = "TV-62" | List the branding name for channel tv-62. | <s>[INST]List the branding name for channel tv-62. Context: CREATE TABLE table_2523809_1 (branding VARCHAR, channel VARCHAR)[/INST]SELECT branding FROM table_2523809_1 WHERE channel = "TV-62"</s> |
CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_6 WHERE date = "1/13/1974" | What opponent played on 1/13/1974? | <s>[INST]What opponent played on 1/13/1974? Context: CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_6 WHERE date = "1/13/1974"</s> |
CREATE TABLE table_name_59 (driver VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_59 WHERE grid = 3 | Which driver has a grid of 3? | <s>[INST]Which driver has a grid of 3? Context: CREATE TABLE table_name_59 (driver VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_59 WHERE grid = 3</s> |
CREATE TABLE table_name_91 (actor_in_moscow VARCHAR, _2007 VARCHAR, voyage VARCHAR) | SELECT actor_in_moscow, _2007 FROM table_name_91 WHERE voyage = "varenka bakunin" | Who was the 2007 actor from Moscow for the voyage of Varenka Bakunin? | <s>[INST]Who was the 2007 actor from Moscow for the voyage of Varenka Bakunin? Context: CREATE TABLE table_name_91 (actor_in_moscow VARCHAR, _2007 VARCHAR, voyage VARCHAR)[/INST]SELECT actor_in_moscow, _2007 FROM table_name_91 WHERE voyage = "varenka bakunin"</s> |
CREATE TABLE table_24224991_2 (l INTEGER) | SELECT MIN(l) FROM table_24224991_2 | What is the lowest amount of L in any season? | <s>[INST]What is the lowest amount of L in any season? Context: CREATE TABLE table_24224991_2 (l INTEGER)[/INST]SELECT MIN(l) FROM table_24224991_2</s> |
CREATE TABLE table_name_24 (year INTEGER, attendance VARCHAR) | SELECT AVG(year) FROM table_name_24 WHERE attendance = "80,388" | What year was the average attendance 80,388? | <s>[INST]What year was the average attendance 80,388? Context: CREATE TABLE table_name_24 (year INTEGER, attendance VARCHAR)[/INST]SELECT AVG(year) FROM table_name_24 WHERE attendance = "80,388"</s> |
CREATE TABLE table_name_37 (heat VARCHAR, name VARCHAR, lane VARCHAR) | SELECT COUNT(heat) FROM table_name_37 WHERE name = "sun yang" AND lane < 2 | What is the total heat number of sun yang, who has a lane less than 2? | <s>[INST]What is the total heat number of sun yang, who has a lane less than 2? Context: CREATE TABLE table_name_37 (heat VARCHAR, name VARCHAR, lane VARCHAR)[/INST]SELECT COUNT(heat) FROM table_name_37 WHERE name = "sun yang" AND lane < 2</s> |
CREATE TABLE table_24778847_2 (new_democratic VARCHAR, date_of_polling VARCHAR) | SELECT COUNT(new_democratic) FROM table_24778847_2 WHERE date_of_polling = "May 11–31, 2010" | How many figures are given for the New Democratic for the polling range May 11–31, 2010? | <s>[INST]How many figures are given for the New Democratic for the polling range May 11–31, 2010? Context: CREATE TABLE table_24778847_2 (new_democratic VARCHAR, date_of_polling VARCHAR)[/INST]SELECT COUNT(new_democratic) FROM table_24778847_2 WHERE date_of_polling = "May 11–31, 2010"</s> |
CREATE TABLE table_19266557_1 (us_viewers__millions_ VARCHAR, _number VARCHAR) | SELECT us_viewers__millions_ FROM table_19266557_1 WHERE _number = 6 | How many millions of viewers were there for number 6? | <s>[INST]How many millions of viewers were there for number 6? Context: CREATE TABLE table_19266557_1 (us_viewers__millions_ VARCHAR, _number VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_19266557_1 WHERE _number = 6</s> |
CREATE TABLE table_name_53 (episode VARCHAR, segment_d VARCHAR) | SELECT COUNT(episode) FROM table_name_53 WHERE segment_d = "goalie masks (part 2)" | How many episodes have a segment d that is goalie masks (part 2)? | <s>[INST]How many episodes have a segment d that is goalie masks (part 2)? Context: CREATE TABLE table_name_53 (episode VARCHAR, segment_d VARCHAR)[/INST]SELECT COUNT(episode) FROM table_name_53 WHERE segment_d = "goalie masks (part 2)"</s> |
CREATE TABLE table_name_46 (issue_price VARCHAR, mintage VARCHAR, artist VARCHAR, year VARCHAR) | SELECT issue_price FROM table_name_46 WHERE artist = "john mardon" AND year = 2000 AND mintage = "included in steam buggy" | What is the issue price of a Year 2000 coin by artist John Mardon of the Included in Steam Buggy mintage. | <s>[INST]What is the issue price of a Year 2000 coin by artist John Mardon of the Included in Steam Buggy mintage. Context: CREATE TABLE table_name_46 (issue_price VARCHAR, mintage VARCHAR, artist VARCHAR, year VARCHAR)[/INST]SELECT issue_price FROM table_name_46 WHERE artist = "john mardon" AND year = 2000 AND mintage... |
CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR) | SELECT COUNT(second_runner_up) FROM table_1825751_4 WHERE binibining_pilipinas_world = "Janina San Miguel" | Who is the second runner up when Janina San Miguel won binibining pilipinas-world? | <s>[INST]Who is the second runner up when Janina San Miguel won binibining pilipinas-world? Context: CREATE TABLE table_1825751_4 (second_runner_up VARCHAR, binibining_pilipinas_world VARCHAR)[/INST]SELECT COUNT(second_runner_up) FROM table_1825751_4 WHERE binibining_pilipinas_world = "Janina San Miguel"</s> |
CREATE TABLE table_name_43 (avg INTEGER, player VARCHAR, long VARCHAR) | SELECT MIN(avg) FROM table_name_43 WHERE player = "kevin swayne" AND long > 7 | How many yards did kevin swayne average, with a long carry over 7? | <s>[INST]How many yards did kevin swayne average, with a long carry over 7? Context: CREATE TABLE table_name_43 (avg INTEGER, player VARCHAR, long VARCHAR)[/INST]SELECT MIN(avg) FROM table_name_43 WHERE player = "kevin swayne" AND long > 7</s> |
CREATE TABLE table_name_37 (round VARCHAR, college_high_school_club VARCHAR, position VARCHAR, year VARCHAR) | SELECT round FROM table_name_37 WHERE position = "pf" AND year = 1996 AND college_high_school_club = "mississippi state" | What is the round of the pf position player from 1996 and the college/high school/club mississippi state? | <s>[INST]What is the round of the pf position player from 1996 and the college/high school/club mississippi state? Context: CREATE TABLE table_name_37 (round VARCHAR, college_high_school_club VARCHAR, position VARCHAR, year VARCHAR)[/INST]SELECT round FROM table_name_37 WHERE position = "pf" AND year = 1996 AND college... |
CREATE TABLE table_13169136_1 (year INTEGER) | SELECT MAX(year) FROM table_13169136_1 | What is the most recent year? | <s>[INST]What is the most recent year? Context: CREATE TABLE table_13169136_1 (year INTEGER)[/INST]SELECT MAX(year) FROM table_13169136_1</s> |
CREATE TABLE table_2638104_1 (callsign VARCHAR, channel VARCHAR) | SELECT callsign FROM table_2638104_1 WHERE channel = 6 | What is the call sign for channel 6? | <s>[INST]What is the call sign for channel 6? Context: CREATE TABLE table_2638104_1 (callsign VARCHAR, channel VARCHAR)[/INST]SELECT callsign FROM table_2638104_1 WHERE channel = 6</s> |
CREATE TABLE table_name_96 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_96 WHERE country = "scotland" | What is the to par for Scotland? | <s>[INST]What is the to par for Scotland? Context: CREATE TABLE table_name_96 (to_par VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_96 WHERE country = "scotland"</s> |
CREATE TABLE table_22496344_1 (_number INTEGER, home_town VARCHAR) | SELECT MIN(_number) FROM table_22496344_1 WHERE home_town = "Conroe, TX" | What is the # when conroe, tx is the hometown? | <s>[INST]What is the # when conroe, tx is the hometown? Context: CREATE TABLE table_22496344_1 (_number INTEGER, home_town VARCHAR)[/INST]SELECT MIN(_number) FROM table_22496344_1 WHERE home_town = "Conroe, TX"</s> |
CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_42 WHERE venue = "arden street oval" | Who was the home team in the game played at arden street oval? | <s>[INST]Who was the home team in the game played at arden street oval? Context: CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_42 WHERE venue = "arden street oval"</s> |
CREATE TABLE table_name_15 (Id VARCHAR) | SELECT 1987 FROM table_name_15 WHERE 1986 = "1r" | What is 1987, when 1986 is "1R"? | <s>[INST]What is 1987, when 1986 is "1R"? Context: CREATE TABLE table_name_15 (Id VARCHAR)[/INST]SELECT 1987 FROM table_name_15 WHERE 1986 = "1r"</s> |
CREATE TABLE table_name_55 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_55 WHERE opponent = "watford" | What round was the game against Watford? | <s>[INST]What round was the game against Watford? Context: CREATE TABLE table_name_55 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_55 WHERE opponent = "watford"</s> |
CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_33 WHERE venue = "punt road oval" | What date was the game played at Punt Road Oval? | <s>[INST]What date was the game played at Punt Road Oval? Context: CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE venue = "punt road oval"</s> |
CREATE TABLE table_name_93 (silver INTEGER, bronze VARCHAR) | SELECT SUM(silver) FROM table_name_93 WHERE bronze = 10 | What is the silver total for nations with 10 bronze medals? | <s>[INST]What is the silver total for nations with 10 bronze medals? Context: CREATE TABLE table_name_93 (silver INTEGER, bronze VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_93 WHERE bronze = 10</s> |
CREATE TABLE table_name_6 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_6 WHERE score = 73 - 73 - 65 = 211 | What country did the player who scored 73-73-65=211 come from? | <s>[INST]What country did the player who scored 73-73-65=211 come from? Context: CREATE TABLE table_name_6 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_6 WHERE score = 73 - 73 - 65 = 211</s> |
CREATE TABLE table_290017_1 (subdivision_name___ru____bgn_pcgn_ VARCHAR, code VARCHAR) | SELECT subdivision_name___ru____bgn_pcgn_ FROM table_290017_1 WHERE code = "BY-HR" | What subdivision names (RU) have a code of by-hr? | <s>[INST]What subdivision names (RU) have a code of by-hr? Context: CREATE TABLE table_290017_1 (subdivision_name___ru____bgn_pcgn_ VARCHAR, code VARCHAR)[/INST]SELECT subdivision_name___ru____bgn_pcgn_ FROM table_290017_1 WHERE code = "BY-HR"</s> |
CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, lane VARCHAR) | SELECT COUNT(time) FROM table_name_44 WHERE name = "matt targett" AND lane > 7 | how many times is the name matt targett and the lane higher than 7? | <s>[INST]how many times is the name matt targett and the lane higher than 7? Context: CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, lane VARCHAR)[/INST]SELECT COUNT(time) FROM table_name_44 WHERE name = "matt targett" AND lane > 7</s> |
CREATE TABLE table_name_45 (league_goals INTEGER, player VARCHAR) | SELECT SUM(league_goals) FROM table_name_45 WHERE player = "john o'flynn" | How many total League goals does Player John O'Flynn have? | <s>[INST]How many total League goals does Player John O'Flynn have? Context: CREATE TABLE table_name_45 (league_goals INTEGER, player VARCHAR)[/INST]SELECT SUM(league_goals) FROM table_name_45 WHERE player = "john o'flynn"</s> |
CREATE TABLE table_name_65 (price VARCHAR, sampling_rate VARCHAR) | SELECT price FROM table_name_65 WHERE sampling_rate = "12-bit 40khz" | How much is a product with a Sampling Rate of 12-bit 40khz? | <s>[INST]How much is a product with a Sampling Rate of 12-bit 40khz? Context: CREATE TABLE table_name_65 (price VARCHAR, sampling_rate VARCHAR)[/INST]SELECT price FROM table_name_65 WHERE sampling_rate = "12-bit 40khz"</s> |
CREATE TABLE country (Official_native_language VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, Position VARCHAR) | SELECT COUNT(DISTINCT T1.Official_native_language) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Defender" | How many distinct official languages are there among countries of players whose positions are defenders. | <s>[INST]How many distinct official languages are there among countries of players whose positions are defenders. Context: CREATE TABLE country (Official_native_language VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, Position VARCHAR)[/INST]SELECT COUNT(DISTINCT T1.Official_native_language) F... |
CREATE TABLE table_1123802_1 (compression_ratio VARCHAR, engine VARCHAR) | SELECT compression_ratio FROM table_1123802_1 WHERE engine = "Wasp Jr. T1B2" | What was the compression ration when the engine was Wasp Jr. T1B2? | <s>[INST]What was the compression ration when the engine was Wasp Jr. T1B2? Context: CREATE TABLE table_1123802_1 (compression_ratio VARCHAR, engine VARCHAR)[/INST]SELECT compression_ratio FROM table_1123802_1 WHERE engine = "Wasp Jr. T1B2"</s> |
CREATE TABLE table_261941_1 (founded VARCHAR, type VARCHAR) | SELECT founded FROM table_261941_1 WHERE type = "Private/Baptist" | When was the private/baptist school founded? | <s>[INST]When was the private/baptist school founded? Context: CREATE TABLE table_261941_1 (founded VARCHAR, type VARCHAR)[/INST]SELECT founded FROM table_261941_1 WHERE type = "Private/Baptist"</s> |
CREATE TABLE table_name_96 (second VARCHAR, third VARCHAR) | SELECT second FROM table_name_96 WHERE third = "caroline reed" | What is the name of the second who has Caroline Reed as third? | <s>[INST]What is the name of the second who has Caroline Reed as third? Context: CREATE TABLE table_name_96 (second VARCHAR, third VARCHAR)[/INST]SELECT second FROM table_name_96 WHERE third = "caroline reed"</s> |
CREATE TABLE table_11677691_9 (hometown VARCHAR, college VARCHAR) | SELECT hometown FROM table_11677691_9 WHERE college = "Louisiana State" | Which hometown has the college Louisiana State? | <s>[INST]Which hometown has the college Louisiana State? Context: CREATE TABLE table_11677691_9 (hometown VARCHAR, college VARCHAR)[/INST]SELECT hometown FROM table_11677691_9 WHERE college = "Louisiana State"</s> |
CREATE TABLE table_name_68 (round INTEGER, college VARCHAR, overall VARCHAR) | SELECT SUM(round) FROM table_name_68 WHERE college = "north carolina" AND overall > 124 | what is the round when the college is north carolina and the overall is more than 124? | <s>[INST]what is the round when the college is north carolina and the overall is more than 124? Context: CREATE TABLE table_name_68 (round INTEGER, college VARCHAR, overall VARCHAR)[/INST]SELECT SUM(round) FROM table_name_68 WHERE college = "north carolina" AND overall > 124</s> |
CREATE TABLE table_name_65 (money___ INTEGER, score VARCHAR) | SELECT MAX(money___) AS $__ FROM table_name_65 WHERE score = 69 - 71 - 70 - 74 = 284 | What is the highest Money ( $ ), when Score is "69-71-70-74=284"? | <s>[INST]What is the highest Money ( $ ), when Score is "69-71-70-74=284"? Context: CREATE TABLE table_name_65 (money___ INTEGER, score VARCHAR)[/INST]SELECT MAX(money___) AS $__ FROM table_name_65 WHERE score = 69 - 71 - 70 - 74 = 284</s> |
CREATE TABLE table_name_20 (lost VARCHAR, tied VARCHAR, drawn VARCHAR) | SELECT lost FROM table_name_20 WHERE tied = "0" AND drawn = "47" | Tell me the lost with tie of 0 and drawn of 47 | <s>[INST]Tell me the lost with tie of 0 and drawn of 47 Context: CREATE TABLE table_name_20 (lost VARCHAR, tied VARCHAR, drawn VARCHAR)[/INST]SELECT lost FROM table_name_20 WHERE tied = "0" AND drawn = "47"</s> |
CREATE TABLE table_name_94 (area_2006_km² INTEGER, area_1996_km² VARCHAR, pop_2006 VARCHAR) | SELECT MIN(area_2006_km²) FROM table_name_94 WHERE area_1996_km² = 26.39 AND pop_2006 < 18 OFFSET 610 | Which area 2006 km² has an area 1996 km² of 26.39, and a pop 2006 smaller than 18,610? | <s>[INST]Which area 2006 km² has an area 1996 km² of 26.39, and a pop 2006 smaller than 18,610? Context: CREATE TABLE table_name_94 (area_2006_km² INTEGER, area_1996_km² VARCHAR, pop_2006 VARCHAR)[/INST]SELECT MIN(area_2006_km²) FROM table_name_94 WHERE area_1996_km² = 26.39 AND pop_2006 < 18 OFFSET 610</s> |
CREATE TABLE table_name_14 (round INTEGER, position VARCHAR) | SELECT MAX(round) FROM table_name_14 WHERE position = "running back" | Which Round is the highest one that has a Position of running back? | <s>[INST]Which Round is the highest one that has a Position of running back? Context: CREATE TABLE table_name_14 (round INTEGER, position VARCHAR)[/INST]SELECT MAX(round) FROM table_name_14 WHERE position = "running back"</s> |
CREATE TABLE table_name_31 (wins VARCHAR, rank VARCHAR) | SELECT COUNT(wins) FROM table_name_31 WHERE rank = "6th" | How many wins occurred for 6th rank? | <s>[INST]How many wins occurred for 6th rank? Context: CREATE TABLE table_name_31 (wins VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_31 WHERE rank = "6th"</s> |
CREATE TABLE table_name_45 (attendance INTEGER, loss VARCHAR) | SELECT MAX(attendance) FROM table_name_45 WHERE loss = "francis (4–9)" | Loss of francis (4–9) has what highest attendance figure? | <s>[INST]Loss of francis (4–9) has what highest attendance figure? Context: CREATE TABLE table_name_45 (attendance INTEGER, loss VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_45 WHERE loss = "francis (4–9)"</s> |
CREATE TABLE table_14433719_1 (time___et__ VARCHAR, opponent VARCHAR) | SELECT time___et__ FROM table_14433719_1 WHERE opponent = "at Denver Broncos" | What time in eastern standard time was game held at denver broncos? | <s>[INST]What time in eastern standard time was game held at denver broncos? Context: CREATE TABLE table_14433719_1 (time___et__ VARCHAR, opponent VARCHAR)[/INST]SELECT time___et__ FROM table_14433719_1 WHERE opponent = "at Denver Broncos"</s> |
CREATE TABLE table_24446718_7 (name_of_award VARCHAR, awardee_s_ VARCHAR) | SELECT name_of_award FROM table_24446718_7 WHERE awardee_s_ = "Zubeen Garg" | Name the name of award for zubeen garg | <s>[INST]Name the name of award for zubeen garg Context: CREATE TABLE table_24446718_7 (name_of_award VARCHAR, awardee_s_ VARCHAR)[/INST]SELECT name_of_award FROM table_24446718_7 WHERE awardee_s_ = "Zubeen Garg"</s> |
CREATE TABLE table_name_15 (place VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT place FROM table_name_15 WHERE country = "united states" AND to_par = "+1" AND player = "tim herron" | What is the place of plyaer Tim Herron from the United States with a to par of +1? | <s>[INST]What is the place of plyaer Tim Herron from the United States with a to par of +1? Context: CREATE TABLE table_name_15 (place VARCHAR, player VARCHAR, country VARCHAR, to_par VARCHAR)[/INST]SELECT place FROM table_name_15 WHERE country = "united states" AND to_par = "+1" AND player = "tim herron"</s> |
CREATE TABLE table_name_50 (competition VARCHAR, date VARCHAR, result VARCHAR, score VARCHAR) | SELECT competition FROM table_name_50 WHERE result = "w" AND score = "2-0" AND date = "may 9, 1954" | Which Competition has a Result of w, and a Score of 2-0, and a Date of may 9, 1954? | <s>[INST]Which Competition has a Result of w, and a Score of 2-0, and a Date of may 9, 1954? Context: CREATE TABLE table_name_50 (competition VARCHAR, date VARCHAR, result VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_50 WHERE result = "w" AND score = "2-0" AND date = "may 9, 1954"</s> |
CREATE TABLE table_26267607_2 (pole_position VARCHAR, winning_driver VARCHAR, circuit VARCHAR) | SELECT pole_position FROM table_26267607_2 WHERE winning_driver = "Bruno Spengler" AND circuit = "Showevent Olympiastadion München" | In the circuit Showevent Olympiastadion München, where the winning driver is Bruno Spengler, what is the pole position? | <s>[INST]In the circuit Showevent Olympiastadion München, where the winning driver is Bruno Spengler, what is the pole position? Context: CREATE TABLE table_26267607_2 (pole_position VARCHAR, winning_driver VARCHAR, circuit VARCHAR)[/INST]SELECT pole_position FROM table_26267607_2 WHERE winning_driver = "Bruno Spengler... |
CREATE TABLE table_name_10 (voice_actor__harmony_gold_ova_dub_ VARCHAR, voice_actor__adv_tv_sentai_ova_dub_ VARCHAR) | SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_10 WHERE voice_actor__adv_tv_sentai_ova_dub_ = "kim prause" | Who is the voice actor (harmony gold ova dub) of the character with a voice actor (adv TV/sentai ova dub) Kim Prause? | <s>[INST]Who is the voice actor (harmony gold ova dub) of the character with a voice actor (adv TV/sentai ova dub) Kim Prause? Context: CREATE TABLE table_name_10 (voice_actor__harmony_gold_ova_dub_ VARCHAR, voice_actor__adv_tv_sentai_ova_dub_ VARCHAR)[/INST]SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_10 ... |
CREATE TABLE table_name_40 (tries INTEGER, points VARCHAR, goals VARCHAR, position VARCHAR) | SELECT MIN(tries) FROM table_name_40 WHERE goals > 0 AND position = "centre" AND points < 54 | Tell me the lowest tries for goals more than 0 with centre position and points less than 54 | <s>[INST]Tell me the lowest tries for goals more than 0 with centre position and points less than 54 Context: CREATE TABLE table_name_40 (tries INTEGER, points VARCHAR, goals VARCHAR, position VARCHAR)[/INST]SELECT MIN(tries) FROM table_name_40 WHERE goals > 0 AND position = "centre" AND points < 54</s> |
CREATE TABLE table_1566852_6 (date VARCHAR, centerfold_model VARCHAR) | SELECT COUNT(date) FROM table_1566852_6 WHERE centerfold_model = "Jillian Grace" | How many times was Jillian Grace the centerfold model? | <s>[INST]How many times was Jillian Grace the centerfold model? Context: CREATE TABLE table_1566852_6 (date VARCHAR, centerfold_model VARCHAR)[/INST]SELECT COUNT(date) FROM table_1566852_6 WHERE centerfold_model = "Jillian Grace"</s> |
CREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_99 WHERE away_team = "richmond" | In the game where richmond was the away team, what venue was it played at? | <s>[INST]In the game where richmond was the away team, what venue was it played at? Context: CREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_99 WHERE away_team = "richmond"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.