context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_49 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_49 WHERE date = "september 11, 1983" | What was the Attendance on September 11, 1983? | <s>[INST]What was the Attendance on September 11, 1983? Context: CREATE TABLE table_name_49 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_49 WHERE date = "september 11, 1983"</s> |
CREATE TABLE table_28939145_2 (Literate VARCHAR, _percentage_of_district_population VARCHAR) | SELECT Literate AS male FROM table_28939145_2 WHERE _percentage_of_district_population = "6.65" | how many literate males are there that has a district population of 6.65? | <s>[INST]how many literate males are there that has a district population of 6.65? Context: CREATE TABLE table_28939145_2 (Literate VARCHAR, _percentage_of_district_population VARCHAR)[/INST]SELECT Literate AS male FROM table_28939145_2 WHERE _percentage_of_district_population = "6.65"</s> |
CREATE TABLE table_name_17 (team VARCHAR, qual_1 VARCHAR) | SELECT team FROM table_name_17 WHERE qual_1 = "1:22.655" | What is the team name for the racer who had a first qualification time of 1:22.655? | <s>[INST]What is the team name for the racer who had a first qualification time of 1:22.655? Context: CREATE TABLE table_name_17 (team VARCHAR, qual_1 VARCHAR)[/INST]SELECT team FROM table_name_17 WHERE qual_1 = "1:22.655"</s> |
CREATE TABLE table_21326205_2 (winner VARCHAR, time__gmt_ VARCHAR) | SELECT winner FROM table_21326205_2 WHERE time__gmt_ = "18:54" | Which ralliers won the stages that were at 18:54 GMT? | <s>[INST]Which ralliers won the stages that were at 18:54 GMT? Context: CREATE TABLE table_21326205_2 (winner VARCHAR, time__gmt_ VARCHAR)[/INST]SELECT winner FROM table_21326205_2 WHERE time__gmt_ = "18:54"</s> |
CREATE TABLE table_name_58 (year INTEGER, award VARCHAR, work VARCHAR) | SELECT AVG(year) FROM table_name_58 WHERE award = "best actress" AND work = "first kiss" | Where Award is best actress and Work is first kiss, what is the average Year? | <s>[INST]Where Award is best actress and Work is first kiss, what is the average Year? Context: CREATE TABLE table_name_58 (year INTEGER, award VARCHAR, work VARCHAR)[/INST]SELECT AVG(year) FROM table_name_58 WHERE award = "best actress" AND work = "first kiss"</s> |
CREATE TABLE table_name_70 (blagojevich__d_ VARCHAR, source VARCHAR, date VARCHAR) | SELECT blagojevich__d_ FROM table_name_70 WHERE source = "zogby/wsj" AND date = "october 16, 2006" | Which Blagojevich (D) has a Source of zogby/wsj, and a Date of october 16, 2006? | <s>[INST]Which Blagojevich (D) has a Source of zogby/wsj, and a Date of october 16, 2006? Context: CREATE TABLE table_name_70 (blagojevich__d_ VARCHAR, source VARCHAR, date VARCHAR)[/INST]SELECT blagojevich__d_ FROM table_name_70 WHERE source = "zogby/wsj" AND date = "october 16, 2006"</s> |
CREATE TABLE table_name_83 (race VARCHAR, time VARCHAR) | SELECT race FROM table_name_83 WHERE time = "17:11.572" | Who holds the time of 17:11.572? | <s>[INST]Who holds the time of 17:11.572? Context: CREATE TABLE table_name_83 (race VARCHAR, time VARCHAR)[/INST]SELECT race FROM table_name_83 WHERE time = "17:11.572"</s> |
CREATE TABLE table_1057262_1 (commodity VARCHAR) | SELECT MIN(2001 AS _02) FROM table_1057262_1 WHERE commodity = "Wool" | What is the minimum amount for wool for 2001-02? | <s>[INST]What is the minimum amount for wool for 2001-02? Context: CREATE TABLE table_1057262_1 (commodity VARCHAR)[/INST]SELECT MIN(2001 AS _02) FROM table_1057262_1 WHERE commodity = "Wool"</s> |
CREATE TABLE table_name_52 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_52 WHERE date = "october 19" | Name the visitor for october 19 | <s>[INST]Name the visitor for october 19 Context: CREATE TABLE table_name_52 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_52 WHERE date = "october 19"</s> |
CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR) | SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = "12,40%" | What is every value for % 40-59 if % 60-74 is 12,40%? | <s>[INST]What is every value for % 40-59 if % 60-74 is 12,40%? Context: CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)[/INST]SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = "12,40%"</s> |
CREATE TABLE table_20424140_3 (number_of_dances VARCHAR, place VARCHAR) | SELECT COUNT(number_of_dances) FROM table_20424140_3 WHERE place = 6 | How many different numbers of total dances are there for the couple ranked at number 6? | <s>[INST]How many different numbers of total dances are there for the couple ranked at number 6? Context: CREATE TABLE table_20424140_3 (number_of_dances VARCHAR, place VARCHAR)[/INST]SELECT COUNT(number_of_dances) FROM table_20424140_3 WHERE place = 6</s> |
CREATE TABLE table_name_48 (team VARCHAR, high_points VARCHAR) | SELECT team FROM table_name_48 WHERE high_points = "charlie villanueva (24)" | what is the team when the high points is by charlie villanueva (24)? | <s>[INST]what is the team when the high points is by charlie villanueva (24)? Context: CREATE TABLE table_name_48 (team VARCHAR, high_points VARCHAR)[/INST]SELECT team FROM table_name_48 WHERE high_points = "charlie villanueva (24)"</s> |
CREATE TABLE table_name_94 (team VARCHAR, pick VARCHAR) | SELECT team FROM table_name_94 WHERE pick = 80 | What team picked 80? | <s>[INST]What team picked 80? Context: CREATE TABLE table_name_94 (team VARCHAR, pick VARCHAR)[/INST]SELECT team FROM table_name_94 WHERE pick = 80</s> |
CREATE TABLE table_29538735_1 (_percentage_electricity_reduction VARCHAR, £_saved VARCHAR) | SELECT _percentage_electricity_reduction FROM table_29538735_1 WHERE £_saved = "£337,000" | When £337,000 is £ saved what is the percentage of electricity reduction? | <s>[INST]When £337,000 is £ saved what is the percentage of electricity reduction? Context: CREATE TABLE table_29538735_1 (_percentage_electricity_reduction VARCHAR, £_saved VARCHAR)[/INST]SELECT _percentage_electricity_reduction FROM table_29538735_1 WHERE £_saved = "£337,000"</s> |
CREATE TABLE table_name_10 (area__km²_ INTEGER, density___km²_ VARCHAR) | SELECT AVG(area__km²_) FROM table_name_10 WHERE density___km²_ = 263 | What's the Area with a Density of 263? | <s>[INST]What's the Area with a Density of 263? Context: CREATE TABLE table_name_10 (area__km²_ INTEGER, density___km²_ VARCHAR)[/INST]SELECT AVG(area__km²_) FROM table_name_10 WHERE density___km²_ = 263</s> |
CREATE TABLE table_21584646_10 (quarterfinalists VARCHAR, runner_up VARCHAR) | SELECT quarterfinalists FROM table_21584646_10 WHERE runner_up = "Jimmy Connors" | Who are the quarterfinalists for runner-up jimmy connors? | <s>[INST]Who are the quarterfinalists for runner-up jimmy connors? Context: CREATE TABLE table_21584646_10 (quarterfinalists VARCHAR, runner_up VARCHAR)[/INST]SELECT quarterfinalists FROM table_21584646_10 WHERE runner_up = "Jimmy Connors"</s> |
CREATE TABLE table_name_50 (year_s__won VARCHAR, player VARCHAR) | SELECT year_s__won FROM table_name_50 WHERE player = "al geiberger" | Which year al geiberger is in? | <s>[INST]Which year al geiberger is in? Context: CREATE TABLE table_name_50 (year_s__won VARCHAR, player VARCHAR)[/INST]SELECT year_s__won FROM table_name_50 WHERE player = "al geiberger"</s> |
CREATE TABLE table_1965650_7 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_1965650_7 WHERE player = "Dan Follet" | Who did Dan Follet play for before the draft? | <s>[INST]Who did Dan Follet play for before the draft? Context: CREATE TABLE table_1965650_7 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team FROM table_1965650_7 WHERE player = "Dan Follet"</s> |
CREATE TABLE table_name_69 (president VARCHAR, elected VARCHAR) | SELECT president FROM table_name_69 WHERE elected = 2010 | What president was elected in 2010? | <s>[INST]What president was elected in 2010? Context: CREATE TABLE table_name_69 (president VARCHAR, elected VARCHAR)[/INST]SELECT president FROM table_name_69 WHERE elected = 2010</s> |
CREATE TABLE table_name_39 (crowd INTEGER, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_39 WHERE away_team = "south melbourne" | What is the size of the crowd for the game where the away team South Melbourne played? | <s>[INST]What is the size of the crowd for the game where the away team South Melbourne played? Context: CREATE TABLE table_name_39 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_39 WHERE away_team = "south melbourne"</s> |
CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR) | SELECT director FROM table_name_54 WHERE role = "john travers" | Who directed the movie when John Wayne played the role of John Travers? | <s>[INST]Who directed the movie when John Wayne played the role of John Travers? Context: CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR)[/INST]SELECT director FROM table_name_54 WHERE role = "john travers"</s> |
CREATE TABLE table_name_68 (top_10 INTEGER, wins INTEGER) | SELECT SUM(top_10) FROM table_name_68 WHERE wins > 0 | What is the sum of top-10s for events with more than 0 wins? | <s>[INST]What is the sum of top-10s for events with more than 0 wins? Context: CREATE TABLE table_name_68 (top_10 INTEGER, wins INTEGER)[/INST]SELECT SUM(top_10) FROM table_name_68 WHERE wins > 0</s> |
CREATE TABLE table_name_94 (money___ VARCHAR, country VARCHAR, player VARCHAR) | SELECT COUNT(money___) AS $__ FROM table_name_94 WHERE country = "united states" AND player = "byron nelson" | How much does it cost for United States and Byron nelson? | <s>[INST]How much does it cost for United States and Byron nelson? Context: CREATE TABLE table_name_94 (money___ VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT COUNT(money___) AS $__ FROM table_name_94 WHERE country = "united states" AND player = "byron nelson"</s> |
CREATE TABLE table_name_93 (score VARCHAR, runner_up VARCHAR) | SELECT score FROM table_name_93 WHERE runner_up = "anders järryd" | What is the score of the match with anders järryd as the runner-up? | <s>[INST]What is the score of the match with anders järryd as the runner-up? Context: CREATE TABLE table_name_93 (score VARCHAR, runner_up VARCHAR)[/INST]SELECT score FROM table_name_93 WHERE runner_up = "anders järryd"</s> |
CREATE TABLE table_27255755_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR) | SELECT MAX(no_in_series) FROM table_27255755_1 WHERE us_viewers__millions_ = "9.17" | What is the highest series number with 9.17 million US viewers? | <s>[INST]What is the highest series number with 9.17 million US viewers? Context: CREATE TABLE table_27255755_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_27255755_1 WHERE us_viewers__millions_ = "9.17"</s> |
CREATE TABLE table_name_6 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_6 WHERE team_1 = "turnovo" | What is the team 2 with turnovo as team 1? | <s>[INST]What is the team 2 with turnovo as team 1? Context: CREATE TABLE table_name_6 (team_2 VARCHAR, team_1 VARCHAR)[/INST]SELECT team_2 FROM table_name_6 WHERE team_1 = "turnovo"</s> |
CREATE TABLE table_name_22 (home_captain VARCHAR, result VARCHAR) | SELECT home_captain FROM table_name_22 WHERE result = "aus by 218 runs" | Who was the Home captain when the Result was Aus by 218 runs? | <s>[INST]Who was the Home captain when the Result was Aus by 218 runs? Context: CREATE TABLE table_name_22 (home_captain VARCHAR, result VARCHAR)[/INST]SELECT home_captain FROM table_name_22 WHERE result = "aus by 218 runs"</s> |
CREATE TABLE table_2618102_1 (no_in_season INTEGER, written_by VARCHAR) | SELECT MIN(no_in_season) FROM table_2618102_1 WHERE written_by = "Brad Markowitz, William N. Fordes & René Balcer" | Name the least number in season for brad markowitz, william n. fordes & rené balcer | <s>[INST]Name the least number in season for brad markowitz, william n. fordes & rené balcer Context: CREATE TABLE table_2618102_1 (no_in_season INTEGER, written_by VARCHAR)[/INST]SELECT MIN(no_in_season) FROM table_2618102_1 WHERE written_by = "Brad Markowitz, William N. Fordes & René Balcer"</s> |
CREATE TABLE table_name_46 (seats_2010 INTEGER, in_de_creased_by VARCHAR, seats_2005 VARCHAR, governorate VARCHAR) | SELECT MIN(seats_2010) FROM table_name_46 WHERE seats_2005 < 9 AND governorate = "al muthanna governorate" AND in_de_creased_by > 2 | Name the lowest Seats 2010 which has Seats 2005 smaller than 9, and a Governorate of al muthanna governorate, and an In/de-creased by larger than 2? | <s>[INST]Name the lowest Seats 2010 which has Seats 2005 smaller than 9, and a Governorate of al muthanna governorate, and an In/de-creased by larger than 2? Context: CREATE TABLE table_name_46 (seats_2010 INTEGER, in_de_creased_by VARCHAR, seats_2005 VARCHAR, governorate VARCHAR)[/INST]SELECT MIN(seats_2010) FROM table_name_46 WHERE seats_2005 < 9 AND governorate = "al muthanna governorate" AND in_de_creased_by > 2</s> |
CREATE TABLE table_name_2 (name VARCHAR, time VARCHAR) | SELECT name FROM table_name_2 WHERE time = 25.74 | Tell me the name for time of 25.74 | <s>[INST]Tell me the name for time of 25.74 Context: CREATE TABLE table_name_2 (name VARCHAR, time VARCHAR)[/INST]SELECT name FROM table_name_2 WHERE time = 25.74</s> |
CREATE TABLE table_name_5 (date VARCHAR, opponents VARCHAR, competition VARCHAR, score VARCHAR) | SELECT date FROM table_name_5 WHERE competition = "pl" AND score = "1-1" AND opponents = "kelantan" | Competition of pl, and a Score of 1-1, and a Opponents of kelantan had what date? | <s>[INST]Competition of pl, and a Score of 1-1, and a Opponents of kelantan had what date? Context: CREATE TABLE table_name_5 (date VARCHAR, opponents VARCHAR, competition VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_5 WHERE competition = "pl" AND score = "1-1" AND opponents = "kelantan"</s> |
CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR, presenter_s_ VARCHAR) | SELECT COUNT(network) FROM table_28190363_1 WHERE judges = "TBA" AND presenter_s_ = "Arbana Osmani" | How many networks are there whose version of the shows includes judges tba and the presenter is Arbana Osmani? | <s>[INST]How many networks are there whose version of the shows includes judges tba and the presenter is Arbana Osmani? Context: CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR, presenter_s_ VARCHAR)[/INST]SELECT COUNT(network) FROM table_28190363_1 WHERE judges = "TBA" AND presenter_s_ = "Arbana Osmani"</s> |
CREATE TABLE table_18946749_4 (col__m_ INTEGER, prominence__m_ VARCHAR) | SELECT MAX(col__m_) FROM table_18946749_4 WHERE prominence__m_ = 3755 | What is the highest value for col(m) when prominence(m) is 3755? | <s>[INST]What is the highest value for col(m) when prominence(m) is 3755? Context: CREATE TABLE table_18946749_4 (col__m_ INTEGER, prominence__m_ VARCHAR)[/INST]SELECT MAX(col__m_) FROM table_18946749_4 WHERE prominence__m_ = 3755</s> |
CREATE TABLE table_name_59 (finish VARCHAR, player VARCHAR) | SELECT finish FROM table_name_59 WHERE player = "billy casper" | What was the finish for Billy Casper? | <s>[INST]What was the finish for Billy Casper? Context: CREATE TABLE table_name_59 (finish VARCHAR, player VARCHAR)[/INST]SELECT finish FROM table_name_59 WHERE player = "billy casper"</s> |
CREATE TABLE table_name_12 (wins VARCHAR, races VARCHAR, points VARCHAR, passenger VARCHAR) | SELECT wins FROM table_name_12 WHERE points > 145 AND passenger = "sven verbrugge" AND races < 17 | What were the wins with more than 145 points, less than 17 races, and Sven Verbrugge as a passenger? | <s>[INST]What were the wins with more than 145 points, less than 17 races, and Sven Verbrugge as a passenger? Context: CREATE TABLE table_name_12 (wins VARCHAR, races VARCHAR, points VARCHAR, passenger VARCHAR)[/INST]SELECT wins FROM table_name_12 WHERE points > 145 AND passenger = "sven verbrugge" AND races < 17</s> |
CREATE TABLE table_name_94 (week INTEGER, date VARCHAR) | SELECT MIN(week) FROM table_name_94 WHERE date = "november 28, 1974" | What is the week of the game played on November 28, 1974? | <s>[INST]What is the week of the game played on November 28, 1974? Context: CREATE TABLE table_name_94 (week INTEGER, date VARCHAR)[/INST]SELECT MIN(week) FROM table_name_94 WHERE date = "november 28, 1974"</s> |
CREATE TABLE table_name_26 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_26 WHERE date = "may 27" | Who had the highest points of the game on May 27? | <s>[INST]Who had the highest points of the game on May 27? Context: CREATE TABLE table_name_26 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_name_26 WHERE date = "may 27"</s> |
CREATE TABLE table_name_40 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | SELECT reserved_for___sc___st__none_ FROM table_name_40 WHERE name = "uklana" | What is the reserved for (ST/ST/None) when it was Uklana? | <s>[INST]What is the reserved for (ST/ST/None) when it was Uklana? Context: CREATE TABLE table_name_40 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)[/INST]SELECT reserved_for___sc___st__none_ FROM table_name_40 WHERE name = "uklana"</s> |
CREATE TABLE table_name_28 (hits INTEGER, year VARCHAR, player VARCHAR) | SELECT MIN(hits) FROM table_name_28 WHERE year < 1920 AND player = "ed delahanty" | Name the least hits for year less than 1920 and player of ed delahanty | <s>[INST]Name the least hits for year less than 1920 and player of ed delahanty Context: CREATE TABLE table_name_28 (hits INTEGER, year VARCHAR, player VARCHAR)[/INST]SELECT MIN(hits) FROM table_name_28 WHERE year < 1920 AND player = "ed delahanty"</s> |
CREATE TABLE table_name_41 (years_for_rockets VARCHAR, school_club_team_country VARCHAR, height_in_ft VARCHAR, position VARCHAR) | SELECT years_for_rockets FROM table_name_41 WHERE height_in_ft = "6-6" AND position = "guard" AND school_club_team_country = "oklahoma" | During what years did the Guard from Oklahoma with a height of 6-6 play for the Rockets? | <s>[INST]During what years did the Guard from Oklahoma with a height of 6-6 play for the Rockets? Context: CREATE TABLE table_name_41 (years_for_rockets VARCHAR, school_club_team_country VARCHAR, height_in_ft VARCHAR, position VARCHAR)[/INST]SELECT years_for_rockets FROM table_name_41 WHERE height_in_ft = "6-6" AND position = "guard" AND school_club_team_country = "oklahoma"</s> |
CREATE TABLE table_name_56 (holding VARCHAR, component VARCHAR) | SELECT holding FROM table_name_56 WHERE component = "customers" | What is the holding of the customers? | <s>[INST]What is the holding of the customers? Context: CREATE TABLE table_name_56 (holding VARCHAR, component VARCHAR)[/INST]SELECT holding FROM table_name_56 WHERE component = "customers"</s> |
CREATE TABLE table_name_42 (year INTEGER, rank VARCHAR) | SELECT SUM(year) FROM table_name_42 WHERE rank = "14.0 14" | In what Year was the Rank 14.0 14? | <s>[INST]In what Year was the Rank 14.0 14? Context: CREATE TABLE table_name_42 (year INTEGER, rank VARCHAR)[/INST]SELECT SUM(year) FROM table_name_42 WHERE rank = "14.0 14"</s> |
CREATE TABLE table_1566852_10 (cover_model VARCHAR, centerfold_model VARCHAR) | SELECT COUNT(cover_model) FROM table_1566852_10 WHERE centerfold_model = "Jennifer Pershing" | How many cover models were on the edition that featured Jennifer Pershing as the centerfold? | <s>[INST]How many cover models were on the edition that featured Jennifer Pershing as the centerfold? Context: CREATE TABLE table_1566852_10 (cover_model VARCHAR, centerfold_model VARCHAR)[/INST]SELECT COUNT(cover_model) FROM table_1566852_10 WHERE centerfold_model = "Jennifer Pershing"</s> |
CREATE TABLE table_name_47 (school VARCHAR, hometown VARCHAR) | SELECT school FROM table_name_47 WHERE hometown = "dallas, tx" | What is the school of the player from Dallas, TX? | <s>[INST]What is the school of the player from Dallas, TX? Context: CREATE TABLE table_name_47 (school VARCHAR, hometown VARCHAR)[/INST]SELECT school FROM table_name_47 WHERE hometown = "dallas, tx"</s> |
CREATE TABLE table_name_92 (round VARCHAR, position VARCHAR, pick__number VARCHAR) | SELECT round FROM table_name_92 WHERE position = "defensive back" AND pick__number = "101" | What round pick was pick number 101 who plays defensive back? | <s>[INST]What round pick was pick number 101 who plays defensive back? Context: CREATE TABLE table_name_92 (round VARCHAR, position VARCHAR, pick__number VARCHAR)[/INST]SELECT round FROM table_name_92 WHERE position = "defensive back" AND pick__number = "101"</s> |
CREATE TABLE table_name_42 (pim VARCHAR, gf VARCHAR) | SELECT pim FROM table_name_42 WHERE gf = "55" | What's the P.I.M. for the G.F. of 55? | <s>[INST]What's the P.I.M. for the G.F. of 55? Context: CREATE TABLE table_name_42 (pim VARCHAR, gf VARCHAR)[/INST]SELECT pim FROM table_name_42 WHERE gf = "55"</s> |
CREATE TABLE table_27501971_2 (año INTEGER) | SELECT MIN(año) FROM table_27501971_2 | What is the smallest año? | <s>[INST]What is the smallest año? Context: CREATE TABLE table_27501971_2 (año INTEGER)[/INST]SELECT MIN(año) FROM table_27501971_2</s> |
CREATE TABLE table_name_49 (name VARCHAR, year_at_cu VARCHAR, alma_mater VARCHAR) | SELECT name FROM table_name_49 WHERE year_at_cu = "1st" AND alma_mater = "dayton ('07)" | Who has the alma mater of Dayton ('07), and was in their 1st year at CU? | <s>[INST]Who has the alma mater of Dayton ('07), and was in their 1st year at CU? Context: CREATE TABLE table_name_49 (name VARCHAR, year_at_cu VARCHAR, alma_mater VARCHAR)[/INST]SELECT name FROM table_name_49 WHERE year_at_cu = "1st" AND alma_mater = "dayton ('07)"</s> |
CREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR) | SELECT date_of_vacancy FROM table_name_24 WHERE team = "fc bayern munich" AND date_of_appointment = "27 april 2009" | What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009? | <s>[INST]What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009? Context: CREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT date_of_vacancy FROM table_name_24 WHERE team = "fc bayern munich" AND date_of_appointment = "27 april 2009"</s> |
CREATE TABLE table_name_18 (play VARCHAR, country VARCHAR) | SELECT play FROM table_name_18 WHERE country = "belgium" | What play is from the country Belgium? | <s>[INST]What play is from the country Belgium? Context: CREATE TABLE table_name_18 (play VARCHAR, country VARCHAR)[/INST]SELECT play FROM table_name_18 WHERE country = "belgium"</s> |
CREATE TABLE table_name_70 (species VARCHAR, gender VARCHAR) | SELECT species FROM table_name_70 WHERE gender = "male" | Which species is male? | <s>[INST]Which species is male? Context: CREATE TABLE table_name_70 (species VARCHAR, gender VARCHAR)[/INST]SELECT species FROM table_name_70 WHERE gender = "male"</s> |
CREATE TABLE table_name_50 (week_11_nov_16 VARCHAR, week_13_nov_30 VARCHAR) | SELECT week_11_nov_16 FROM table_name_50 WHERE week_13_nov_30 = "wisconsin (10-1)" | What is the week 11 nov 16 standing with wisconsin (10-1) on week 13 Nov 30? | <s>[INST]What is the week 11 nov 16 standing with wisconsin (10-1) on week 13 Nov 30? Context: CREATE TABLE table_name_50 (week_11_nov_16 VARCHAR, week_13_nov_30 VARCHAR)[/INST]SELECT week_11_nov_16 FROM table_name_50 WHERE week_13_nov_30 = "wisconsin (10-1)"</s> |
CREATE TABLE table_name_16 (gold VARCHAR, rank VARCHAR, silver VARCHAR) | SELECT COUNT(gold) FROM table_name_16 WHERE rank = "2" AND silver < 2 | What is the total number of gold medals of the ranked 2nd nation, which has less than 2 silvers? | <s>[INST]What is the total number of gold medals of the ranked 2nd nation, which has less than 2 silvers? Context: CREATE TABLE table_name_16 (gold VARCHAR, rank VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_16 WHERE rank = "2" AND silver < 2</s> |
CREATE TABLE table_name_74 (scrapped_sold VARCHAR, builder VARCHAR, name_as_rebuilt VARCHAR) | SELECT scrapped_sold FROM table_name_74 WHERE builder = "derby" AND name_as_rebuilt = "ben madigan" | Which Scrapped/Sold has a Builder of derby, and a Name as rebuilt of ben madigan? | <s>[INST]Which Scrapped/Sold has a Builder of derby, and a Name as rebuilt of ben madigan? Context: CREATE TABLE table_name_74 (scrapped_sold VARCHAR, builder VARCHAR, name_as_rebuilt VARCHAR)[/INST]SELECT scrapped_sold FROM table_name_74 WHERE builder = "derby" AND name_as_rebuilt = "ben madigan"</s> |
CREATE TABLE table_name_19 (roll VARCHAR, name VARCHAR, decile VARCHAR) | SELECT COUNT(roll) FROM table_name_19 WHERE name = "st joseph's school" AND decile < 5 | Name the total number of roll for st joseph's school when decile is less than 5 | <s>[INST]Name the total number of roll for st joseph's school when decile is less than 5 Context: CREATE TABLE table_name_19 (roll VARCHAR, name VARCHAR, decile VARCHAR)[/INST]SELECT COUNT(roll) FROM table_name_19 WHERE name = "st joseph's school" AND decile < 5</s> |
CREATE TABLE table_name_32 (date VARCHAR, début VARCHAR, opposition VARCHAR) | SELECT date FROM table_name_32 WHERE début > 1972 AND opposition = "limerick" | What is the date for the player who debuted later than 1972 against Limerick? | <s>[INST]What is the date for the player who debuted later than 1972 against Limerick? Context: CREATE TABLE table_name_32 (date VARCHAR, début VARCHAR, opposition VARCHAR)[/INST]SELECT date FROM table_name_32 WHERE début > 1972 AND opposition = "limerick"</s> |
CREATE TABLE table_name_20 (league VARCHAR, fa_cup VARCHAR) | SELECT league AS Cup FROM table_name_20 WHERE fa_cup = "0 13 0 (49)" | What is the value for the League Cup when the FA Cup value is 0 13 0 (49)? | <s>[INST]What is the value for the League Cup when the FA Cup value is 0 13 0 (49)? Context: CREATE TABLE table_name_20 (league VARCHAR, fa_cup VARCHAR)[/INST]SELECT league AS Cup FROM table_name_20 WHERE fa_cup = "0 13 0 (49)"</s> |
CREATE TABLE table_name_5 (report VARCHAR, circuit VARCHAR) | SELECT report FROM table_name_5 WHERE circuit = "hockenheimring" | What is the report status of Hockenheimring circuit? | <s>[INST]What is the report status of Hockenheimring circuit? Context: CREATE TABLE table_name_5 (report VARCHAR, circuit VARCHAR)[/INST]SELECT report FROM table_name_5 WHERE circuit = "hockenheimring"</s> |
CREATE TABLE table_name_59 (points INTEGER, entrant VARCHAR, year VARCHAR) | SELECT SUM(points) FROM table_name_59 WHERE entrant = "christy" AND year < 1954 | What is the total amount of points that Christy has in the years before 1954? | <s>[INST]What is the total amount of points that Christy has in the years before 1954? Context: CREATE TABLE table_name_59 (points INTEGER, entrant VARCHAR, year VARCHAR)[/INST]SELECT SUM(points) FROM table_name_59 WHERE entrant = "christy" AND year < 1954</s> |
CREATE TABLE table_2781227_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR) | SELECT college_junior_club_team FROM table_2781227_4 WHERE nhl_team = "San Jose Sharks" | For nhl team is san jose sharks mention all the college/junior/club team | <s>[INST]For nhl team is san jose sharks mention all the college/junior/club team Context: CREATE TABLE table_2781227_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR)[/INST]SELECT college_junior_club_team FROM table_2781227_4 WHERE nhl_team = "San Jose Sharks"</s> |
CREATE TABLE table_12148147_2 (third_year VARCHAR, first_year VARCHAR) | SELECT COUNT(third_year) FROM table_12148147_2 WHERE first_year = "Pag-unawa" | How many classes are taken in the third year when pag-unawa was taken in the first year? | <s>[INST]How many classes are taken in the third year when pag-unawa was taken in the first year? Context: CREATE TABLE table_12148147_2 (third_year VARCHAR, first_year VARCHAR)[/INST]SELECT COUNT(third_year) FROM table_12148147_2 WHERE first_year = "Pag-unawa"</s> |
CREATE TABLE table_20850527_1 (result VARCHAR, record VARCHAR) | SELECT COUNT(result) FROM table_20850527_1 WHERE record = "3-0" | How many wins or losses were there when the record was 3-0? | <s>[INST]How many wins or losses were there when the record was 3-0? Context: CREATE TABLE table_20850527_1 (result VARCHAR, record VARCHAR)[/INST]SELECT COUNT(result) FROM table_20850527_1 WHERE record = "3-0"</s> |
CREATE TABLE table_name_56 (player VARCHAR, tries VARCHAR, points VARCHAR, goals VARCHAR) | SELECT player FROM table_name_56 WHERE points > 36 AND goals > 0 AND tries = 12 | Tell me the player with points larger than 36 and goals more than 0 with tries of 12 | <s>[INST]Tell me the player with points larger than 36 and goals more than 0 with tries of 12 Context: CREATE TABLE table_name_56 (player VARCHAR, tries VARCHAR, points VARCHAR, goals VARCHAR)[/INST]SELECT player FROM table_name_56 WHERE points > 36 AND goals > 0 AND tries = 12</s> |
CREATE TABLE table_name_85 (team__number1 VARCHAR, position VARCHAR) | SELECT team__number1 FROM table_name_85 WHERE position = "11th place" | What is the team #1 with an 11th place position? | <s>[INST]What is the team #1 with an 11th place position? Context: CREATE TABLE table_name_85 (team__number1 VARCHAR, position VARCHAR)[/INST]SELECT team__number1 FROM table_name_85 WHERE position = "11th place"</s> |
CREATE TABLE table_name_40 (screening_started VARCHAR, screening_completed VARCHAR) | SELECT screening_started FROM table_name_40 WHERE screening_completed = "3 may 2006" | Name the screening started when it was completed 3 may 2006 | <s>[INST]Name the screening started when it was completed 3 may 2006 Context: CREATE TABLE table_name_40 (screening_started VARCHAR, screening_completed VARCHAR)[/INST]SELECT screening_started FROM table_name_40 WHERE screening_completed = "3 may 2006"</s> |
CREATE TABLE table_name_12 (japanese_title VARCHAR, episodes VARCHAR, romaji_title VARCHAR) | SELECT japanese_title FROM table_name_12 WHERE episodes > 9 AND romaji_title = "haikei, chichiue-sama" | Which Japanese Title has more than 9 Episodes, and a Romaji Title of haikei, chichiue-sama? | <s>[INST]Which Japanese Title has more than 9 Episodes, and a Romaji Title of haikei, chichiue-sama? Context: CREATE TABLE table_name_12 (japanese_title VARCHAR, episodes VARCHAR, romaji_title VARCHAR)[/INST]SELECT japanese_title FROM table_name_12 WHERE episodes > 9 AND romaji_title = "haikei, chichiue-sama"</s> |
CREATE TABLE table_name_24 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT manner_of_departure FROM table_name_24 WHERE outgoing_manager = "miguel brindisi" | What was the manner of departure for the outgoing manager, miguel brindisi? | <s>[INST]What was the manner of departure for the outgoing manager, miguel brindisi? Context: CREATE TABLE table_name_24 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT manner_of_departure FROM table_name_24 WHERE outgoing_manager = "miguel brindisi"</s> |
CREATE TABLE table_name_37 (Id VARCHAR) | SELECT 2005 FROM table_name_37 WHERE 1999 = "0–0" | Which 2005 has a 1999 of 0–0? | <s>[INST]Which 2005 has a 1999 of 0–0? Context: CREATE TABLE table_name_37 (Id VARCHAR)[/INST]SELECT 2005 FROM table_name_37 WHERE 1999 = "0–0"</s> |
CREATE TABLE table_name_31 (pick INTEGER, player VARCHAR) | SELECT MAX(pick) FROM table_name_31 WHERE player = "jason webb" | What pick was play Jason Webb? | <s>[INST]What pick was play Jason Webb? Context: CREATE TABLE table_name_31 (pick INTEGER, player VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_31 WHERE player = "jason webb"</s> |
CREATE TABLE table_name_81 (turnout VARCHAR, candidates VARCHAR, valid_poll VARCHAR) | SELECT turnout FROM table_name_81 WHERE candidates = 15 AND valid_poll > 377 OFFSET 591 | What is the turnout with 15 candidates and more than 377,591 valid poll? | <s>[INST]What is the turnout with 15 candidates and more than 377,591 valid poll? Context: CREATE TABLE table_name_81 (turnout VARCHAR, candidates VARCHAR, valid_poll VARCHAR)[/INST]SELECT turnout FROM table_name_81 WHERE candidates = 15 AND valid_poll > 377 OFFSET 591</s> |
CREATE TABLE table_19487922_2 (total_drivers VARCHAR, country VARCHAR) | SELECT COUNT(total_drivers) FROM table_19487922_2 WHERE country = "India" | How many drivers does India have/ | <s>[INST]How many drivers does India have/ Context: CREATE TABLE table_19487922_2 (total_drivers VARCHAR, country VARCHAR)[/INST]SELECT COUNT(total_drivers) FROM table_19487922_2 WHERE country = "India"</s> |
CREATE TABLE table_name_47 (crowd INTEGER, home_team VARCHAR) | SELECT MAX(crowd) FROM table_name_47 WHERE home_team = "geelong" | What is the highest crowd for Home team of geelong? | <s>[INST]What is the highest crowd for Home team of geelong? Context: CREATE TABLE table_name_47 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_47 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_46 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_46 WHERE opponent = "detroit pistons" | What was the score when the opponent was Detroit Pistons? | <s>[INST]What was the score when the opponent was Detroit Pistons? Context: CREATE TABLE table_name_46 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_46 WHERE opponent = "detroit pistons"</s> |
CREATE TABLE assignedto (scientist VARCHAR) | SELECT COUNT(DISTINCT scientist) FROM assignedto | How many different scientists are assigned to any project? | <s>[INST]How many different scientists are assigned to any project? Context: CREATE TABLE assignedto (scientist VARCHAR)[/INST]SELECT COUNT(DISTINCT scientist) FROM assignedto</s> |
CREATE TABLE CLASS (PROF_NUM VARCHAR); CREATE TABLE employee (EMP_NUM VARCHAR, EMP_LNAME VARCHAR) | SELECT COUNT(*) FROM employee AS T1 JOIN CLASS AS T2 ON T1.EMP_NUM = T2.PROF_NUM WHERE T1.EMP_LNAME = 'Graztevski' | How many classes are professor whose last name is Graztevski has? | <s>[INST]How many classes are professor whose last name is Graztevski has? Context: CREATE TABLE CLASS (PROF_NUM VARCHAR); CREATE TABLE employee (EMP_NUM VARCHAR, EMP_LNAME VARCHAR)[/INST]SELECT COUNT(*) FROM employee AS T1 JOIN CLASS AS T2 ON T1.EMP_NUM = T2.PROF_NUM WHERE T1.EMP_LNAME = 'Graztevski'</s> |
CREATE TABLE table_222448_1 (percentage_yield VARCHAR, percent_defective VARCHAR) | SELECT COUNT(percentage_yield) FROM table_222448_1 WHERE percent_defective = "6.7%" | How many percentage yield figures are there when 6.7% are defective? | <s>[INST]How many percentage yield figures are there when 6.7% are defective? Context: CREATE TABLE table_222448_1 (percentage_yield VARCHAR, percent_defective VARCHAR)[/INST]SELECT COUNT(percentage_yield) FROM table_222448_1 WHERE percent_defective = "6.7%"</s> |
CREATE TABLE table_name_73 (name VARCHAR, laid_down VARCHAR, commissioned VARCHAR) | SELECT name FROM table_name_73 WHERE laid_down = "22 september 1939" AND commissioned = "30 august 1941" | Tell me the name for commissioned of 30 august 1941 and laid down of 22 september 1939 | <s>[INST]Tell me the name for commissioned of 30 august 1941 and laid down of 22 september 1939 Context: CREATE TABLE table_name_73 (name VARCHAR, laid_down VARCHAR, commissioned VARCHAR)[/INST]SELECT name FROM table_name_73 WHERE laid_down = "22 september 1939" AND commissioned = "30 august 1941"</s> |
CREATE TABLE table_name_75 (season VARCHAR, club VARCHAR) | SELECT season FROM table_name_75 WHERE club = "south melbourne" | In what season was there a club of South Melbourne? | <s>[INST]In what season was there a club of South Melbourne? Context: CREATE TABLE table_name_75 (season VARCHAR, club VARCHAR)[/INST]SELECT season FROM table_name_75 WHERE club = "south melbourne"</s> |
CREATE TABLE table_name_35 (number_of_clubs INTEGER, winners VARCHAR, fourth_placed VARCHAR) | SELECT AVG(number_of_clubs) FROM table_name_35 WHERE winners = "dalian shide" AND fourth_placed = "sichuan quanxing" | What is the number of clubs when Dalian Shide won and Sichuan Quanxing won 4th? | <s>[INST]What is the number of clubs when Dalian Shide won and Sichuan Quanxing won 4th? Context: CREATE TABLE table_name_35 (number_of_clubs INTEGER, winners VARCHAR, fourth_placed VARCHAR)[/INST]SELECT AVG(number_of_clubs) FROM table_name_35 WHERE winners = "dalian shide" AND fourth_placed = "sichuan quanxing"</s> |
CREATE TABLE table_name_84 (format VARCHAR, region VARCHAR, date VARCHAR) | SELECT format FROM table_name_84 WHERE region = "united states" AND date = "july 23, 2002" | What is the format for the United States dated July 23, 2002? | <s>[INST]What is the format for the United States dated July 23, 2002? Context: CREATE TABLE table_name_84 (format VARCHAR, region VARCHAR, date VARCHAR)[/INST]SELECT format FROM table_name_84 WHERE region = "united states" AND date = "july 23, 2002"</s> |
CREATE TABLE table_name_40 (game VARCHAR, score VARCHAR) | SELECT game FROM table_name_40 WHERE score = "w 90–82 (ot)" | Which Game has a Score of w 90–82 (ot)? | <s>[INST]Which Game has a Score of w 90–82 (ot)? Context: CREATE TABLE table_name_40 (game VARCHAR, score VARCHAR)[/INST]SELECT game FROM table_name_40 WHERE score = "w 90–82 (ot)"</s> |
CREATE TABLE table_name_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR) | SELECT MIN(silver) FROM table_name_56 WHERE bronze < 1 AND gold > 0 | Which Silver is the lowest one that has a Bronze smaller than 1, and a Gold larger than 0? | <s>[INST]Which Silver is the lowest one that has a Bronze smaller than 1, and a Gold larger than 0? Context: CREATE TABLE table_name_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_56 WHERE bronze < 1 AND gold > 0</s> |
CREATE TABLE table_2781227_2 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT COUNT(college_junior_club_team) FROM table_2781227_2 WHERE player = "Lee Sorochan" | How many teams does Lee Sorochan play for? | <s>[INST]How many teams does Lee Sorochan play for? Context: CREATE TABLE table_2781227_2 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT COUNT(college_junior_club_team) FROM table_2781227_2 WHERE player = "Lee Sorochan"</s> |
CREATE TABLE table_name_85 (class VARCHAR, type VARCHAR) | SELECT class FROM table_name_85 WHERE type = "1′c n2t" | Which Class has a Type of 1′c n2t? | <s>[INST]Which Class has a Type of 1′c n2t? Context: CREATE TABLE table_name_85 (class VARCHAR, type VARCHAR)[/INST]SELECT class FROM table_name_85 WHERE type = "1′c n2t"</s> |
CREATE TABLE table_name_69 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_69 WHERE team_2 = "brest hc meshkov" | What is the Team 1 with a Team 2 with brest hc meshkov? | <s>[INST]What is the Team 1 with a Team 2 with brest hc meshkov? Context: CREATE TABLE table_name_69 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_69 WHERE team_2 = "brest hc meshkov"</s> |
CREATE TABLE table_name_79 (attendance INTEGER, match VARCHAR, opponent VARCHAR, result VARCHAR) | SELECT SUM(attendance) FROM table_name_79 WHERE opponent = "west bromwich albion" AND result = "3 – 3" AND match > 20 | How many Attendance has a Opponent of west bromwich albion, and a Result of 3 – 3, and a Match larger than 20? | <s>[INST]How many Attendance has a Opponent of west bromwich albion, and a Result of 3 – 3, and a Match larger than 20? Context: CREATE TABLE table_name_79 (attendance INTEGER, match VARCHAR, opponent VARCHAR, result VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_79 WHERE opponent = "west bromwich albion" AND result = "3 – 3" AND match > 20</s> |
CREATE TABLE table_name_4 (top_10 INTEGER, events VARCHAR, wins VARCHAR, top_25 VARCHAR) | SELECT MIN(top_10) FROM table_name_4 WHERE wins = 0 AND top_25 = 12 AND events < 23 | What was the lowest Top-10, when the Wins were 0, when the Top-25 was 12, and when the Events were less than 23? | <s>[INST]What was the lowest Top-10, when the Wins were 0, when the Top-25 was 12, and when the Events were less than 23? Context: CREATE TABLE table_name_4 (top_10 INTEGER, events VARCHAR, wins VARCHAR, top_25 VARCHAR)[/INST]SELECT MIN(top_10) FROM table_name_4 WHERE wins = 0 AND top_25 = 12 AND events < 23</s> |
CREATE TABLE table_name_26 (Id VARCHAR) | SELECT 2006 FROM table_name_26 WHERE 2010 = "27" | Name the 2006 when the 2010 is 27 | <s>[INST]Name the 2006 when the 2010 is 27 Context: CREATE TABLE table_name_26 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_26 WHERE 2010 = "27"</s> |
CREATE TABLE table_name_37 (highway_commissioners VARCHAR) | SELECT highway_commissioners FROM table_name_37 WHERE "treasurer" = "treasurer" | When Treasurer was treasurer, who was the highway commissioner? | <s>[INST]When Treasurer was treasurer, who was the highway commissioner? Context: CREATE TABLE table_name_37 (highway_commissioners VARCHAR)[/INST]SELECT highway_commissioners FROM table_name_37 WHERE "treasurer" = "treasurer"</s> |
CREATE TABLE Highschooler (grade VARCHAR) | SELECT grade FROM Highschooler GROUP BY grade ORDER BY COUNT(*) DESC LIMIT 1 | Which grade has the most high schoolers? | <s>[INST]Which grade has the most high schoolers? Context: CREATE TABLE Highschooler (grade VARCHAR)[/INST]SELECT grade FROM Highschooler GROUP BY grade ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_2518850_4 (year_of_previous_participation VARCHAR, total_number_of_participation VARCHAR, high_school_name VARCHAR) | SELECT COUNT(year_of_previous_participation) FROM table_2518850_4 WHERE total_number_of_participation = 1 AND high_school_name = "Maebashi Ikuei" | How many previous years did Maebashi Ikuei high school have a total number of 1 participation? | <s>[INST]How many previous years did Maebashi Ikuei high school have a total number of 1 participation? Context: CREATE TABLE table_2518850_4 (year_of_previous_participation VARCHAR, total_number_of_participation VARCHAR, high_school_name VARCHAR)[/INST]SELECT COUNT(year_of_previous_participation) FROM table_2518850_4 WHERE total_number_of_participation = 1 AND high_school_name = "Maebashi Ikuei"</s> |
CREATE TABLE table_name_36 (points_for VARCHAR, played_in VARCHAR) | SELECT points_for FROM table_name_36 WHERE played_in = "total" | For the played in, what are the total points? | <s>[INST]For the played in, what are the total points? Context: CREATE TABLE table_name_36 (points_for VARCHAR, played_in VARCHAR)[/INST]SELECT points_for FROM table_name_36 WHERE played_in = "total"</s> |
CREATE TABLE table_28436909_4 (canadian_chapters VARCHAR, founding_date VARCHAR) | SELECT canadian_chapters FROM table_28436909_4 WHERE founding_date = "1872-10-10" | When 1872-10-10 is the founding date what are the canadian chapters? | <s>[INST]When 1872-10-10 is the founding date what are the canadian chapters? Context: CREATE TABLE table_28436909_4 (canadian_chapters VARCHAR, founding_date VARCHAR)[/INST]SELECT canadian_chapters FROM table_28436909_4 WHERE founding_date = "1872-10-10"</s> |
CREATE TABLE county (County_name VARCHAR, Population VARCHAR) | SELECT County_name FROM county ORDER BY Population | Return the names of all counties sorted by population in ascending order. | <s>[INST]Return the names of all counties sorted by population in ascending order. Context: CREATE TABLE county (County_name VARCHAR, Population VARCHAR)[/INST]SELECT County_name FROM county ORDER BY Population</s> |
CREATE TABLE table_name_9 (year INTEGER, runner_up VARCHAR) | SELECT MIN(year) FROM table_name_9 WHERE runner_up = "guillermo vilas" | When was the earliest year that Guillermo Vilas was the runner-up? | <s>[INST]When was the earliest year that Guillermo Vilas was the runner-up? Context: CREATE TABLE table_name_9 (year INTEGER, runner_up VARCHAR)[/INST]SELECT MIN(year) FROM table_name_9 WHERE runner_up = "guillermo vilas"</s> |
CREATE TABLE table_name_92 (game INTEGER, record VARCHAR) | SELECT MIN(game) FROM table_name_92 WHERE record = "0-1-0" | What is the last game of the season that has the record 0-1-0? | <s>[INST]What is the last game of the season that has the record 0-1-0? Context: CREATE TABLE table_name_92 (game INTEGER, record VARCHAR)[/INST]SELECT MIN(game) FROM table_name_92 WHERE record = "0-1-0"</s> |
CREATE TABLE table_26996293_2 (pick__number VARCHAR, college VARCHAR) | SELECT pick__number FROM table_26996293_2 WHERE college = "St. Francis Xavier" | where college is st. francis xavier what are all the pick # | <s>[INST] where college is st. francis xavier what are all the pick # Context: CREATE TABLE table_26996293_2 (pick__number VARCHAR, college VARCHAR)[/INST]SELECT pick__number FROM table_26996293_2 WHERE college = "St. Francis Xavier"</s> |
CREATE TABLE table_22517564_3 (jockey VARCHAR, trainer VARCHAR) | SELECT COUNT(jockey) FROM table_22517564_3 WHERE trainer = "Eoin Harty" | HOw many jockeys had eoin harty as a trainer | <s>[INST]HOw many jockeys had eoin harty as a trainer Context: CREATE TABLE table_22517564_3 (jockey VARCHAR, trainer VARCHAR)[/INST]SELECT COUNT(jockey) FROM table_22517564_3 WHERE trainer = "Eoin Harty"</s> |
CREATE TABLE table_22915134_2 (graphical VARCHAR, engine VARCHAR) | SELECT graphical FROM table_22915134_2 WHERE engine = "I4" | When i4 is the engine what is the graphical? | <s>[INST]When i4 is the engine what is the graphical? Context: CREATE TABLE table_22915134_2 (graphical VARCHAR, engine VARCHAR)[/INST]SELECT graphical FROM table_22915134_2 WHERE engine = "I4"</s> |
CREATE TABLE table_name_34 (primary_sponsor_s_ VARCHAR, car_s_ VARCHAR, crew_chief VARCHAR) | SELECT primary_sponsor_s_ FROM table_name_34 WHERE car_s_ = "ford fusion" AND crew_chief = "drew blickensderfer" | What primary sponsor(s) owns ford fusion car(s) and the crew chief is Drew Blickensderfer? | <s>[INST]What primary sponsor(s) owns ford fusion car(s) and the crew chief is Drew Blickensderfer? Context: CREATE TABLE table_name_34 (primary_sponsor_s_ VARCHAR, car_s_ VARCHAR, crew_chief VARCHAR)[/INST]SELECT primary_sponsor_s_ FROM table_name_34 WHERE car_s_ = "ford fusion" AND crew_chief = "drew blickensderfer"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.