context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_93 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR) | SELECT height_in_ft FROM table_name_93 WHERE position = "center" AND school_club_team_country = "kansas" | Name the height for the center position from kansas | <s>[INST]Name the height for the center position from kansas Context: CREATE TABLE table_name_93 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT height_in_ft FROM table_name_93 WHERE position = "center" AND school_club_team_country = "kansas"</s> |
CREATE TABLE table_name_65 (surface VARCHAR, round VARCHAR, edition VARCHAR) | SELECT surface FROM table_name_65 WHERE round = "gii play-offs" AND edition = "2009 fed cup europe/africa group ii" | what is the surface when the round is gii play-offs and the edition is 2009 fed cup europe/africa group ii? | <s>[INST]what is the surface when the round is gii play-offs and the edition is 2009 fed cup europe/africa group ii? Context: CREATE TABLE table_name_65 (surface VARCHAR, round VARCHAR, edition VARCHAR)[/INST]SELECT surface FROM table_name_65 WHERE round = "gii play-offs" AND edition = "2009 fed cup europe/africa group... |
CREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, total VARCHAR) | SELECT AVG(gold) FROM table_name_21 WHERE bronze = 1 AND total < 3 | Which Gold has a Bronze of 1, and a Total smaller than 3? | <s>[INST]Which Gold has a Bronze of 1, and a Total smaller than 3? Context: CREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_21 WHERE bronze = 1 AND total < 3</s> |
CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_25 WHERE record = "1-1" | What is Date, when Record is "1-1"? | <s>[INST]What is Date, when Record is "1-1"? Context: CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE record = "1-1"</s> |
CREATE TABLE table_name_46 (circuit VARCHAR, date VARCHAR) | SELECT circuit FROM table_name_46 WHERE date = "september 20" | What was the circuit had a race on September 20. | <s>[INST]What was the circuit had a race on September 20. Context: CREATE TABLE table_name_46 (circuit VARCHAR, date VARCHAR)[/INST]SELECT circuit FROM table_name_46 WHERE date = "september 20"</s> |
CREATE TABLE table_name_10 (seats_up_for_election INTEGER, election_result VARCHAR, new_council VARCHAR) | SELECT SUM(seats_up_for_election) FROM table_name_10 WHERE election_result = 9 AND new_council > 27 | How many seats were up for election during the vote where the election result was 9 and the new council 27? | <s>[INST]How many seats were up for election during the vote where the election result was 9 and the new council 27? Context: CREATE TABLE table_name_10 (seats_up_for_election INTEGER, election_result VARCHAR, new_council VARCHAR)[/INST]SELECT SUM(seats_up_for_election) FROM table_name_10 WHERE election_result = 9 AND ... |
CREATE TABLE table_name_43 (player VARCHAR, money___$__ INTEGER) | SELECT player FROM table_name_43 WHERE money___$__ < 335 | Which player won less than $335? | <s>[INST]Which player won less than $335? Context: CREATE TABLE table_name_43 (player VARCHAR, money___$__ INTEGER)[/INST]SELECT player FROM table_name_43 WHERE money___$__ < 335</s> |
CREATE TABLE table_27294107_11 (semifinals VARCHAR, athlete VARCHAR) | SELECT COUNT(semifinals) FROM table_27294107_11 WHERE athlete = "Ferhat Pehlivan" | How many semifinals did ferhat pehlivan attend? | <s>[INST]How many semifinals did ferhat pehlivan attend? Context: CREATE TABLE table_27294107_11 (semifinals VARCHAR, athlete VARCHAR)[/INST]SELECT COUNT(semifinals) FROM table_27294107_11 WHERE athlete = "Ferhat Pehlivan"</s> |
CREATE TABLE table_name_57 (percentage_democrats VARCHAR, democratic__republican VARCHAR) | SELECT percentage_democrats FROM table_name_57 WHERE democratic__republican = "2/4" | What is the percentage democrats with 2/4 democrat/republican? | <s>[INST]What is the percentage democrats with 2/4 democrat/republican? Context: CREATE TABLE table_name_57 (percentage_democrats VARCHAR, democratic__republican VARCHAR)[/INST]SELECT percentage_democrats FROM table_name_57 WHERE democratic__republican = "2/4"</s> |
CREATE TABLE table_name_42 (year INTEGER, budget VARCHAR) | SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million" | How many years had budgets of $39 million? | <s>[INST]How many years had budgets of $39 million? Context: CREATE TABLE table_name_42 (year INTEGER, budget VARCHAR)[/INST]SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million"</s> |
CREATE TABLE table_name_85 (perpetrator VARCHAR, location VARCHAR) | SELECT perpetrator FROM table_name_85 WHERE location = "baghdad" | Who went on a rampage in Baghdad? | <s>[INST]Who went on a rampage in Baghdad? Context: CREATE TABLE table_name_85 (perpetrator VARCHAR, location VARCHAR)[/INST]SELECT perpetrator FROM table_name_85 WHERE location = "baghdad"</s> |
CREATE TABLE table_name_52 (lost VARCHAR, club VARCHAR, played VARCHAR, losing_bp VARCHAR) | SELECT lost FROM table_name_52 WHERE played = "22" AND losing_bp = "2" AND club = "merthyr rfc" | What is the total number of games lost when 22 have been played, the losing BP number is 2, and the club is Merthyr RFC? | <s>[INST]What is the total number of games lost when 22 have been played, the losing BP number is 2, and the club is Merthyr RFC? Context: CREATE TABLE table_name_52 (lost VARCHAR, club VARCHAR, played VARCHAR, losing_bp VARCHAR)[/INST]SELECT lost FROM table_name_52 WHERE played = "22" AND losing_bp = "2" AND club = "m... |
CREATE TABLE table_name_11 (visitor VARCHAR, home VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_11 WHERE home = "philadelphia" AND date = "november 18" | What is Visitor, when Home is Philadelphia, and when Date is November 18? | <s>[INST]What is Visitor, when Home is Philadelphia, and when Date is November 18? Context: CREATE TABLE table_name_11 (visitor VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_11 WHERE home = "philadelphia" AND date = "november 18"</s> |
CREATE TABLE table_name_42 (episode__number INTEGER, airdate VARCHAR) | SELECT MIN(episode__number) FROM table_name_42 WHERE airdate = "october 31, 2001" | What is the lowest episode # with an air date of October 31, 2001? | <s>[INST]What is the lowest episode # with an air date of October 31, 2001? Context: CREATE TABLE table_name_42 (episode__number INTEGER, airdate VARCHAR)[/INST]SELECT MIN(episode__number) FROM table_name_42 WHERE airdate = "october 31, 2001"</s> |
CREATE TABLE table_name_99 (record VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_99 WHERE method = "ko" AND opponent = "rich guerin" | What is Record, when Method is KO, and when Opponent is Rich Guerin? | <s>[INST]What is Record, when Method is KO, and when Opponent is Rich Guerin? Context: CREATE TABLE table_name_99 (record VARCHAR, method VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_99 WHERE method = "ko" AND opponent = "rich guerin"</s> |
CREATE TABLE table_name_39 (points VARCHAR, poles INTEGER) | SELECT COUNT(points) FROM table_name_39 WHERE poles < 0 | How many points are associated with 0 poles? | <s>[INST]How many points are associated with 0 poles? Context: CREATE TABLE table_name_39 (points VARCHAR, poles INTEGER)[/INST]SELECT COUNT(points) FROM table_name_39 WHERE poles < 0</s> |
CREATE TABLE table_name_92 (score VARCHAR, opponents_in_the_final VARCHAR) | SELECT score FROM table_name_92 WHERE opponents_in_the_final = "john bromwich frank sedgman" | Which Score has Opponents in the final of john bromwich frank sedgman? | <s>[INST]Which Score has Opponents in the final of john bromwich frank sedgman? Context: CREATE TABLE table_name_92 (score VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT score FROM table_name_92 WHERE opponents_in_the_final = "john bromwich frank sedgman"</s> |
CREATE TABLE table_name_33 (main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT main_contestant FROM table_name_33 WHERE co_contestant__yaar_vs_pyaar_ = "shalini chandran" | Who is the main contestant when the co-contestant (yaar vs. pyaar) is Shalini Chandran? | <s>[INST]Who is the main contestant when the co-contestant (yaar vs. pyaar) is Shalini Chandran? Context: CREATE TABLE table_name_33 (main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)[/INST]SELECT main_contestant FROM table_name_33 WHERE co_contestant__yaar_vs_pyaar_ = "shalini chandran"</s> |
CREATE TABLE table_name_30 (Id VARCHAR) | SELECT 1821 FROM table_name_30 WHERE 1861 = "3733" | Name the 1821 with 1861 of 3733 | <s>[INST]Name the 1821 with 1861 of 3733 Context: CREATE TABLE table_name_30 (Id VARCHAR)[/INST]SELECT 1821 FROM table_name_30 WHERE 1861 = "3733"</s> |
CREATE TABLE table_23835213_2 (undisclosed VARCHAR, wycombe_wanderers VARCHAR) | SELECT undisclosed FROM table_23835213_2 WHERE wycombe_wanderers = "Unattached" | What is the undisclosed when Wycombe Wanderers is unattached? | <s>[INST]What is the undisclosed when Wycombe Wanderers is unattached? Context: CREATE TABLE table_23835213_2 (undisclosed VARCHAR, wycombe_wanderers VARCHAR)[/INST]SELECT undisclosed FROM table_23835213_2 WHERE wycombe_wanderers = "Unattached"</s> |
CREATE TABLE table_16799784_8 (year_named INTEGER, latitude VARCHAR) | SELECT MAX(year_named) FROM table_16799784_8 WHERE latitude = "33.3S" | In what year was the feature at a 33.3S latitude named? | <s>[INST]In what year was the feature at a 33.3S latitude named? Context: CREATE TABLE table_16799784_8 (year_named INTEGER, latitude VARCHAR)[/INST]SELECT MAX(year_named) FROM table_16799784_8 WHERE latitude = "33.3S"</s> |
CREATE TABLE table_name_23 (country VARCHAR, _percentage_change_on_year VARCHAR, rank VARCHAR) | SELECT country FROM table_name_23 WHERE _percentage_change_on_year > 5 AND rank = 10 | Which country has more than 5% change in a year with a rank of 10? | <s>[INST]Which country has more than 5% change in a year with a rank of 10? Context: CREATE TABLE table_name_23 (country VARCHAR, _percentage_change_on_year VARCHAR, rank VARCHAR)[/INST]SELECT country FROM table_name_23 WHERE _percentage_change_on_year > 5 AND rank = 10</s> |
CREATE TABLE table_name_1 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_1 WHERE runner_s__up = "steve stricker" | What was the winning score when Steve Stricker was runner-up? | <s>[INST]What was the winning score when Steve Stricker was runner-up? Context: CREATE TABLE table_name_1 (winning_score VARCHAR, runner_s__up VARCHAR)[/INST]SELECT winning_score FROM table_name_1 WHERE runner_s__up = "steve stricker"</s> |
CREATE TABLE table_23274514_5 (high_points VARCHAR, score VARCHAR) | SELECT high_points FROM table_23274514_5 WHERE score = "L 109–112 (OT)" | Name the high points for l 109–112 (ot) | <s>[INST]Name the high points for l 109–112 (ot) Context: CREATE TABLE table_23274514_5 (high_points VARCHAR, score VARCHAR)[/INST]SELECT high_points FROM table_23274514_5 WHERE score = "L 109–112 (OT)"</s> |
CREATE TABLE table_name_20 (batting_1st VARCHAR, game VARCHAR) | SELECT batting_1st FROM table_name_20 WHERE game = 8 | who is batting 1st in game 8? | <s>[INST]who is batting 1st in game 8? Context: CREATE TABLE table_name_20 (batting_1st VARCHAR, game VARCHAR)[/INST]SELECT batting_1st FROM table_name_20 WHERE game = 8</s> |
CREATE TABLE table_10236830_4 (nomination VARCHAR, film_name VARCHAR) | SELECT nomination FROM table_10236830_4 WHERE film_name = "Totalitarian Romance" | Which nominations are connected to the film Totalitarian Romance? | <s>[INST]Which nominations are connected to the film Totalitarian Romance? Context: CREATE TABLE table_10236830_4 (nomination VARCHAR, film_name VARCHAR)[/INST]SELECT nomination FROM table_10236830_4 WHERE film_name = "Totalitarian Romance"</s> |
CREATE TABLE Delivery_Routes (route_name VARCHAR, route_id VARCHAR); CREATE TABLE Delivery_Route_Locations (route_id VARCHAR) | SELECT t1.route_name FROM Delivery_Routes AS t1 JOIN Delivery_Route_Locations AS t2 ON t1.route_id = t2.route_id GROUP BY t1.route_id ORDER BY COUNT(*) DESC LIMIT 1 | Find the name of route that has the highest number of deliveries. | <s>[INST]Find the name of route that has the highest number of deliveries. Context: CREATE TABLE Delivery_Routes (route_name VARCHAR, route_id VARCHAR); CREATE TABLE Delivery_Route_Locations (route_id VARCHAR)[/INST]SELECT t1.route_name FROM Delivery_Routes AS t1 JOIN Delivery_Route_Locations AS t2 ON t1.route_id = t2.... |
CREATE TABLE table_25042332_26 (solar_panel VARCHAR, region VARCHAR) | SELECT solar_panel FROM table_25042332_26 WHERE region = "Atacama" | What is atacama's percentage of solar panels? | <s>[INST]What is atacama's percentage of solar panels? Context: CREATE TABLE table_25042332_26 (solar_panel VARCHAR, region VARCHAR)[/INST]SELECT solar_panel FROM table_25042332_26 WHERE region = "Atacama"</s> |
CREATE TABLE table_11336756_6 (termini VARCHAR, route_name VARCHAR, direction VARCHAR, junctions VARCHAR) | SELECT COUNT(termini) FROM table_11336756_6 WHERE direction = "East West" AND junctions = "none" AND route_name = "SH 202" | How many termini are there that have "east west" listed in their direction section, "none" listed in their junction section, and have a route name of "sh 202"? | <s>[INST]How many termini are there that have "east west" listed in their direction section, "none" listed in their junction section, and have a route name of "sh 202"? Context: CREATE TABLE table_11336756_6 (termini VARCHAR, route_name VARCHAR, direction VARCHAR, junctions VARCHAR)[/INST]SELECT COUNT(termini) FROM tab... |
CREATE TABLE table_name_67 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_67 WHERE score = 70 - 68 - 70 = 208 | What Country scored 70-68-70=208? | <s>[INST]What Country scored 70-68-70=208? Context: CREATE TABLE table_name_67 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_67 WHERE score = 70 - 68 - 70 = 208</s> |
CREATE TABLE table_23285805_8 (date VARCHAR, location_attendance VARCHAR) | SELECT date FROM table_23285805_8 WHERE location_attendance = "Arco Arena 17361" | On which datebis arco arena 17361 the location attendance? | <s>[INST]On which datebis arco arena 17361 the location attendance? Context: CREATE TABLE table_23285805_8 (date VARCHAR, location_attendance VARCHAR)[/INST]SELECT date FROM table_23285805_8 WHERE location_attendance = "Arco Arena 17361"</s> |
CREATE TABLE table_name_61 (eighth VARCHAR, seventh VARCHAR) | SELECT eighth FROM table_name_61 WHERE seventh = "audio bullys" | WHAT IS THE 8TH THAT HAS A 7TH OF AUDIO BULLYS? | <s>[INST]WHAT IS THE 8TH THAT HAS A 7TH OF AUDIO BULLYS? Context: CREATE TABLE table_name_61 (eighth VARCHAR, seventh VARCHAR)[/INST]SELECT eighth FROM table_name_61 WHERE seventh = "audio bullys"</s> |
CREATE TABLE table_11753080_2 (weekly_rank VARCHAR, _number VARCHAR) | SELECT weekly_rank FROM table_11753080_2 WHERE _number = 4 | What is the weekly rank where the number is 4? | <s>[INST]What is the weekly rank where the number is 4? Context: CREATE TABLE table_11753080_2 (weekly_rank VARCHAR, _number VARCHAR)[/INST]SELECT weekly_rank FROM table_11753080_2 WHERE _number = 4</s> |
CREATE TABLE table_name_6 (assists INTEGER, name VARCHAR, venue VARCHAR, competition VARCHAR) | SELECT SUM(assists) FROM table_name_6 WHERE venue = "ulsan" AND competition = "k-league" AND name = "kang jae-soon" | What is the sum of the assists kang jae-soon had in the k-league competition in ulsan? | <s>[INST]What is the sum of the assists kang jae-soon had in the k-league competition in ulsan? Context: CREATE TABLE table_name_6 (assists INTEGER, name VARCHAR, venue VARCHAR, competition VARCHAR)[/INST]SELECT SUM(assists) FROM table_name_6 WHERE venue = "ulsan" AND competition = "k-league" AND name = "kang jae-soon"... |
CREATE TABLE table_name_60 (date VARCHAR, winning_score VARCHAR) | SELECT date FROM table_name_60 WHERE winning_score = 71 - 69 - 68 - 70 = 278 | On what Date is the Winning Score 71-69-68-70=278? | <s>[INST]On what Date is the Winning Score 71-69-68-70=278? Context: CREATE TABLE table_name_60 (date VARCHAR, winning_score VARCHAR)[/INST]SELECT date FROM table_name_60 WHERE winning_score = 71 - 69 - 68 - 70 = 278</s> |
CREATE TABLE table_name_66 (jury VARCHAR, artist VARCHAR, draw VARCHAR) | SELECT COUNT(jury) FROM table_name_66 WHERE artist = "chalice & maagiline kuues" AND draw < 5 | How much Jury has an Artist of chalice & maagiline kuues, and a Draw smaller than 5? | <s>[INST]How much Jury has an Artist of chalice & maagiline kuues, and a Draw smaller than 5? Context: CREATE TABLE table_name_66 (jury VARCHAR, artist VARCHAR, draw VARCHAR)[/INST]SELECT COUNT(jury) FROM table_name_66 WHERE artist = "chalice & maagiline kuues" AND draw < 5</s> |
CREATE TABLE table_25716399_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) | SELECT original_air_date FROM table_25716399_1 WHERE us_viewers__millions_ = "5.60" | What was the original air date where there were u.s. viewers (millions) is 5.60? | <s>[INST]What was the original air date where there were u.s. viewers (millions) is 5.60? Context: CREATE TABLE table_25716399_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT original_air_date FROM table_25716399_1 WHERE us_viewers__millions_ = "5.60"</s> |
CREATE TABLE table_name_30 (time VARCHAR, rider VARCHAR) | SELECT time FROM table_name_30 WHERE rider = "loris capirossi" | What is Loris Capirossi's time? | <s>[INST]What is Loris Capirossi's time? Context: CREATE TABLE table_name_30 (time VARCHAR, rider VARCHAR)[/INST]SELECT time FROM table_name_30 WHERE rider = "loris capirossi"</s> |
CREATE TABLE manufacturer (num_of_shops INTEGER, Num_of_Factories INTEGER, open_year INTEGER) | SELECT MAX(num_of_shops), AVG(Num_of_Factories) FROM manufacturer WHERE open_year < 1990 | what is the average number of factories and maximum number of shops for manufacturers that opened before 1990. | <s>[INST]what is the average number of factories and maximum number of shops for manufacturers that opened before 1990. Context: CREATE TABLE manufacturer (num_of_shops INTEGER, Num_of_Factories INTEGER, open_year INTEGER)[/INST]SELECT MAX(num_of_shops), AVG(Num_of_Factories) FROM manufacturer WHERE open_year < 1990</s... |
CREATE TABLE table_name_85 (rank VARCHAR, province VARCHAR, bronze VARCHAR) | SELECT COUNT(rank) FROM table_name_85 WHERE province = "si sa ket" AND bronze < 14 | What is the rank of Si Sa Ket province with less than 14 bronze medals? | <s>[INST]What is the rank of Si Sa Ket province with less than 14 bronze medals? Context: CREATE TABLE table_name_85 (rank VARCHAR, province VARCHAR, bronze VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_85 WHERE province = "si sa ket" AND bronze < 14</s> |
CREATE TABLE table_name_64 (notes VARCHAR, rank VARCHAR, country VARCHAR) | SELECT notes FROM table_name_64 WHERE rank > 2 AND country = "mexico" | What notes have a rank greater than 2, with mexico as the country? | <s>[INST]What notes have a rank greater than 2, with mexico as the country? Context: CREATE TABLE table_name_64 (notes VARCHAR, rank VARCHAR, country VARCHAR)[/INST]SELECT notes FROM table_name_64 WHERE rank > 2 AND country = "mexico"</s> |
CREATE TABLE table_name_47 (rank VARCHAR, surname VARCHAR) | SELECT COUNT(rank) FROM table_name_47 WHERE surname = "lindberg" | What did the Surname Lindberg rank? | <s>[INST]What did the Surname Lindberg rank? Context: CREATE TABLE table_name_47 (rank VARCHAR, surname VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_47 WHERE surname = "lindberg"</s> |
CREATE TABLE table_13619135_7 (high_assists VARCHAR, team VARCHAR) | SELECT COUNT(high_assists) FROM table_13619135_7 WHERE team = "@ Minnesota" | How many people had the high assists @ minnesota? | <s>[INST]How many people had the high assists @ minnesota? Context: CREATE TABLE table_13619135_7 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT COUNT(high_assists) FROM table_13619135_7 WHERE team = "@ Minnesota"</s> |
CREATE TABLE table_1140074_2 (race VARCHAR, location VARCHAR) | SELECT race AS Winner FROM table_1140074_2 WHERE location = "Jacarepaguá" | what's the race winner with location being jacarepaguá | <s>[INST]what's the race winner with location being jacarepaguá Context: CREATE TABLE table_1140074_2 (race VARCHAR, location VARCHAR)[/INST]SELECT race AS Winner FROM table_1140074_2 WHERE location = "Jacarepaguá"</s> |
CREATE TABLE table_name_83 (game VARCHAR, team VARCHAR) | SELECT game FROM table_name_83 WHERE team = "phoenix" | What is the game number when the game was against phoenix? | <s>[INST]What is the game number when the game was against phoenix? Context: CREATE TABLE table_name_83 (game VARCHAR, team VARCHAR)[/INST]SELECT game FROM table_name_83 WHERE team = "phoenix"</s> |
CREATE TABLE table_name_71 (other_mozilla VARCHAR, safari VARCHAR) | SELECT other_mozilla FROM table_name_71 WHERE safari = "9.41%" | What is the other mozilla that has 9.41% for the safari? | <s>[INST]What is the other mozilla that has 9.41% for the safari? Context: CREATE TABLE table_name_71 (other_mozilla VARCHAR, safari VARCHAR)[/INST]SELECT other_mozilla FROM table_name_71 WHERE safari = "9.41%"</s> |
CREATE TABLE table_name_91 (week INTEGER, date VARCHAR) | SELECT MAX(week) FROM table_name_91 WHERE date = "november 18, 1951" | What was the latest week that had a game on November 18, 1951? | <s>[INST]What was the latest week that had a game on November 18, 1951? Context: CREATE TABLE table_name_91 (week INTEGER, date VARCHAR)[/INST]SELECT MAX(week) FROM table_name_91 WHERE date = "november 18, 1951"</s> |
CREATE TABLE table_name_90 (nett_gross VARCHAR, year VARCHAR) | SELECT COUNT(nett_gross) FROM table_name_90 WHERE year = 1957 | What is the total count of net gross in 1957? | <s>[INST]What is the total count of net gross in 1957? Context: CREATE TABLE table_name_90 (nett_gross VARCHAR, year VARCHAR)[/INST]SELECT COUNT(nett_gross) FROM table_name_90 WHERE year = 1957</s> |
CREATE TABLE table_name_93 (organization VARCHAR, finish VARCHAR) | SELECT organization FROM table_name_93 WHERE finish = "4th" | Which organization has a Finish of 4th? | <s>[INST]Which organization has a Finish of 4th? Context: CREATE TABLE table_name_93 (organization VARCHAR, finish VARCHAR)[/INST]SELECT organization FROM table_name_93 WHERE finish = "4th"</s> |
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_55 WHERE date = "2/17/1974" | What is the record of the game played on 2/17/1974? | <s>[INST]What is the record of the game played on 2/17/1974? Context: CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_55 WHERE date = "2/17/1974"</s> |
CREATE TABLE Movie (title VARCHAR, director VARCHAR) | SELECT title FROM Movie WHERE director = 'Steven Spielberg' | Find the titles of all movies directed by steven spielberg. | <s>[INST]Find the titles of all movies directed by steven spielberg. Context: CREATE TABLE Movie (title VARCHAR, director VARCHAR)[/INST]SELECT title FROM Movie WHERE director = 'Steven Spielberg'</s> |
CREATE TABLE ship (TYPE VARCHAR, Tonnage INTEGER) | SELECT TYPE, AVG(Tonnage) FROM ship GROUP BY TYPE | Show different types of ships and the average tonnage of ships of each type. | <s>[INST]Show different types of ships and the average tonnage of ships of each type. Context: CREATE TABLE ship (TYPE VARCHAR, Tonnage INTEGER)[/INST]SELECT TYPE, AVG(Tonnage) FROM ship GROUP BY TYPE</s> |
CREATE TABLE table_name_63 (feb VARCHAR, city VARCHAR) | SELECT feb FROM table_name_63 WHERE city = "east stroudsburg" | What were the Feb temperatures in East Stroudsburg? | <s>[INST]What were the Feb temperatures in East Stroudsburg? Context: CREATE TABLE table_name_63 (feb VARCHAR, city VARCHAR)[/INST]SELECT feb FROM table_name_63 WHERE city = "east stroudsburg"</s> |
CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER, artist VARCHAR) | SELECT MAX(weeks_in_top_10) FROM table_27813010_2 WHERE artist = "Peter Kay" | How many weeks in the top 10 was spent by a song performed by Peter Kay? | <s>[INST]How many weeks in the top 10 was spent by a song performed by Peter Kay? Context: CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER, artist VARCHAR)[/INST]SELECT MAX(weeks_in_top_10) FROM table_27813010_2 WHERE artist = "Peter Kay"</s> |
CREATE TABLE table_24910742_1 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_24910742_1 WHERE us_viewers__millions_ = "9.64" | What was the title of the episode having exactly 9.64 million US viewers? | <s>[INST]What was the title of the episode having exactly 9.64 million US viewers? Context: CREATE TABLE table_24910742_1 (title VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_24910742_1 WHERE us_viewers__millions_ = "9.64"</s> |
CREATE TABLE table_name_7 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_7 WHERE position = "forward" | Which player was the forward? | <s>[INST]Which player was the forward? Context: CREATE TABLE table_name_7 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_7 WHERE position = "forward"</s> |
CREATE TABLE station (city VARCHAR, id VARCHAR); CREATE TABLE trip (end_station_id VARCHAR, id VARCHAR); CREATE TABLE station (id VARCHAR, city VARCHAR); CREATE TABLE trip (start_station_id VARCHAR, id VARCHAR) | SELECT COUNT(*) FROM station AS T1 JOIN trip AS T2 JOIN station AS T3 JOIN trip AS T4 ON T1.id = T2.start_station_id AND T2.id = T4.id AND T3.id = T4.end_station_id WHERE T1.city = "Mountain View" AND T3.city = "Palo Alto" | How many trips started from Mountain View city and ended at Palo Alto city? | <s>[INST]How many trips started from Mountain View city and ended at Palo Alto city? Context: CREATE TABLE station (city VARCHAR, id VARCHAR); CREATE TABLE trip (end_station_id VARCHAR, id VARCHAR); CREATE TABLE station (id VARCHAR, city VARCHAR); CREATE TABLE trip (start_station_id VARCHAR, id VARCHAR)[/INST]SELECT CO... |
CREATE TABLE table_name_83 (stolen_ends VARCHAR, ends_lost VARCHAR, blank_ends VARCHAR) | SELECT COUNT(stolen_ends) FROM table_name_83 WHERE ends_lost < 44 AND blank_ends < 7 | How many Stolen Ends have Ends Lost smaller than 44, and Blank Ends smaller than 7? | <s>[INST]How many Stolen Ends have Ends Lost smaller than 44, and Blank Ends smaller than 7? Context: CREATE TABLE table_name_83 (stolen_ends VARCHAR, ends_lost VARCHAR, blank_ends VARCHAR)[/INST]SELECT COUNT(stolen_ends) FROM table_name_83 WHERE ends_lost < 44 AND blank_ends < 7</s> |
CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, area__km²_ VARCHAR) | SELECT percentage_of_total_area FROM table_15555661_2 WHERE area__km²_ = 1782252 | What is the percentage of total area in the ecozone that the area is 1782252 km2? | <s>[INST]What is the percentage of total area in the ecozone that the area is 1782252 km2? Context: CREATE TABLE table_15555661_2 (percentage_of_total_area VARCHAR, area__km²_ VARCHAR)[/INST]SELECT percentage_of_total_area FROM table_15555661_2 WHERE area__km²_ = 1782252</s> |
CREATE TABLE TOURIST_ATTRACTIONS (Name VARCHAR, How_to_Get_There VARCHAR) | SELECT Name FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There = "bus" | What are the names of the tourist attractions that can be accessed by bus? | <s>[INST]What are the names of the tourist attractions that can be accessed by bus? Context: CREATE TABLE TOURIST_ATTRACTIONS (Name VARCHAR, How_to_Get_There VARCHAR)[/INST]SELECT Name FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There = "bus"</s> |
CREATE TABLE table_21649285_2 (no VARCHAR, tournament VARCHAR) | SELECT COUNT(no) FROM table_21649285_2 WHERE tournament = "Sime Darby LPGA Malaysia" | How many tournaments were at sime darby lpga malaysia? | <s>[INST]How many tournaments were at sime darby lpga malaysia? Context: CREATE TABLE table_21649285_2 (no VARCHAR, tournament VARCHAR)[/INST]SELECT COUNT(no) FROM table_21649285_2 WHERE tournament = "Sime Darby LPGA Malaysia"</s> |
CREATE TABLE table_2092557_12 (us_open INTEGER, player VARCHAR) | SELECT MIN(us_open) FROM table_2092557_12 WHERE player = "Shirley Fry Irvin" | When did Shirley Fry Irvin win the US Open? | <s>[INST]When did Shirley Fry Irvin win the US Open? Context: CREATE TABLE table_2092557_12 (us_open INTEGER, player VARCHAR)[/INST]SELECT MIN(us_open) FROM table_2092557_12 WHERE player = "Shirley Fry Irvin"</s> |
CREATE TABLE table_name_92 (tries_for VARCHAR, points_against VARCHAR) | SELECT tries_for FROM table_name_92 WHERE points_against = "583" | Name the tries for points against of 583 | <s>[INST]Name the tries for points against of 583 Context: CREATE TABLE table_name_92 (tries_for VARCHAR, points_against VARCHAR)[/INST]SELECT tries_for FROM table_name_92 WHERE points_against = "583"</s> |
CREATE TABLE table_name_17 (opponent VARCHAR, opponents VARCHAR, rockets_score VARCHAR, streak VARCHAR) | SELECT opponent FROM table_name_17 WHERE rockets_score > 86 AND streak = "won 1" AND opponents < 101 | Which Opponent has a Rockets score larger than 86, a Streak of won 1, and Opponents smaller than 101? | <s>[INST]Which Opponent has a Rockets score larger than 86, a Streak of won 1, and Opponents smaller than 101? Context: CREATE TABLE table_name_17 (opponent VARCHAR, opponents VARCHAR, rockets_score VARCHAR, streak VARCHAR)[/INST]SELECT opponent FROM table_name_17 WHERE rockets_score > 86 AND streak = "won 1" AND oppon... |
CREATE TABLE table_name_28 (circuit VARCHAR, winning_driver VARCHAR) | SELECT circuit FROM table_name_28 WHERE winning_driver = "jochen rindt" | What was the circuit when Jochen Rindt won? | <s>[INST]What was the circuit when Jochen Rindt won? Context: CREATE TABLE table_name_28 (circuit VARCHAR, winning_driver VARCHAR)[/INST]SELECT circuit FROM table_name_28 WHERE winning_driver = "jochen rindt"</s> |
CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR) | SELECT а_а_[a] FROM table_202365_2 WHERE ҕь_ҕь_[ʁʲ_ɣʲ] = "Ш ш [ʂʃ]" | what is а а [a] when ҕь ҕь [ʁʲ/ɣʲ] is ш ш [ʂʃ]? | <s>[INST]what is а а [a] when ҕь ҕь [ʁʲ/ɣʲ] is ш ш [ʂʃ]? Context: CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, ҕь_ҕь_ VARCHAR, ʁʲ_ɣʲ VARCHAR)[/INST]SELECT а_а_[a] FROM table_202365_2 WHERE ҕь_ҕь_[ʁʲ_ɣʲ] = "Ш ш [ʂʃ]"</s> |
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_76 WHERE date = "june 12" | What was the score on June 12? | <s>[INST]What was the score on June 12? Context: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_76 WHERE date = "june 12"</s> |
CREATE TABLE table_name_14 (races INTEGER, tc VARCHAR, dc VARCHAR) | SELECT MIN(races) FROM table_name_14 WHERE tc = "3rd" AND dc = "7th" | Which Races has a T.C. of 3rd, and a D.C. of 7th? | <s>[INST]Which Races has a T.C. of 3rd, and a D.C. of 7th? Context: CREATE TABLE table_name_14 (races INTEGER, tc VARCHAR, dc VARCHAR)[/INST]SELECT MIN(races) FROM table_name_14 WHERE tc = "3rd" AND dc = "7th"</s> |
CREATE TABLE table_1740431_3 (gregorian_months VARCHAR, season_in_tamil VARCHAR) | SELECT gregorian_months FROM table_1740431_3 WHERE season_in_tamil = "இளவேனில்" | What is every Gregorian month when the season in Tamil is இளவேனில்? | <s>[INST]What is every Gregorian month when the season in Tamil is இளவேனில்? Context: CREATE TABLE table_1740431_3 (gregorian_months VARCHAR, season_in_tamil VARCHAR)[/INST]SELECT gregorian_months FROM table_1740431_3 WHERE season_in_tamil = "இளவேனில்"</s> |
CREATE TABLE table_name_66 (venue VARCHAR, country VARCHAR, champion VARCHAR) | SELECT venue FROM table_name_66 WHERE country = "england" AND champion = "alison nicholas" | Which Venue has a Country of england, and a Champion of alison nicholas? | <s>[INST]Which Venue has a Country of england, and a Champion of alison nicholas? Context: CREATE TABLE table_name_66 (venue VARCHAR, country VARCHAR, champion VARCHAR)[/INST]SELECT venue FROM table_name_66 WHERE country = "england" AND champion = "alison nicholas"</s> |
CREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR) | SELECT assists FROM table_name_90 WHERE competition = "k-league" AND total_gs > 20 AND team = "pohang steelers" AND opponent = "chunnam dragons" | How many assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chunnam dragons as the opponent? | <s>[INST]How many assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chunnam dragons as the opponent? Context: CREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR)[/INST]SELECT assists FROM table_name_90... |
CREATE TABLE table_name_75 (team VARCHAR, date VARCHAR) | SELECT team FROM table_name_75 WHERE date = "march 27" | What is Team, when Date is "March 27"? | <s>[INST]What is Team, when Date is "March 27"? Context: CREATE TABLE table_name_75 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_name_75 WHERE date = "march 27"</s> |
CREATE TABLE table_name_93 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_93 WHERE date = "13 october 1993" | What was the result of the match played on 13 October 1993? | <s>[INST]What was the result of the match played on 13 October 1993? Context: CREATE TABLE table_name_93 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_93 WHERE date = "13 october 1993"</s> |
CREATE TABLE table_28715942_5 (original_artist VARCHAR, vocal_percussionist VARCHAR) | SELECT original_artist FROM table_28715942_5 WHERE vocal_percussionist = "Alexei Kalveks" | What is the original artist when the vocal percussionist is Alexei Kalveks? | <s>[INST]What is the original artist when the vocal percussionist is Alexei Kalveks? Context: CREATE TABLE table_28715942_5 (original_artist VARCHAR, vocal_percussionist VARCHAR)[/INST]SELECT original_artist FROM table_28715942_5 WHERE vocal_percussionist = "Alexei Kalveks"</s> |
CREATE TABLE table_19860361_3 (pixie_and_dixie VARCHAR, ep VARCHAR) | SELECT pixie_and_dixie FROM table_19860361_3 WHERE ep = 7 | What is the Pixie and Dixie skit in episode 7? | <s>[INST]What is the Pixie and Dixie skit in episode 7? Context: CREATE TABLE table_19860361_3 (pixie_and_dixie VARCHAR, ep VARCHAR)[/INST]SELECT pixie_and_dixie FROM table_19860361_3 WHERE ep = 7</s> |
CREATE TABLE table_23265433_2 (offensive VARCHAR, overall VARCHAR) | SELECT COUNT(offensive) FROM table_23265433_2 WHERE overall = "Colin Doyle" | Name the total number of offensive for colin doyle | <s>[INST]Name the total number of offensive for colin doyle Context: CREATE TABLE table_23265433_2 (offensive VARCHAR, overall VARCHAR)[/INST]SELECT COUNT(offensive) FROM table_23265433_2 WHERE overall = "Colin Doyle"</s> |
CREATE TABLE table_name_76 (prohibition_ticket VARCHAR, greenback_ticket VARCHAR) | SELECT prohibition_ticket FROM table_name_76 WHERE greenback_ticket = "thomas armstrong" | Who was on the prohibition ticket when the Greenback ticket had Thomas Armstrong? | <s>[INST]Who was on the prohibition ticket when the Greenback ticket had Thomas Armstrong? Context: CREATE TABLE table_name_76 (prohibition_ticket VARCHAR, greenback_ticket VARCHAR)[/INST]SELECT prohibition_ticket FROM table_name_76 WHERE greenback_ticket = "thomas armstrong"</s> |
CREATE TABLE table_name_61 (points INTEGER, year INTEGER) | SELECT MAX(points) FROM table_name_61 WHERE year < 1974 | What were the highest points before the year 1974? | <s>[INST]What were the highest points before the year 1974? Context: CREATE TABLE table_name_61 (points INTEGER, year INTEGER)[/INST]SELECT MAX(points) FROM table_name_61 WHERE year < 1974</s> |
CREATE TABLE table_name_42 (result VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_42 WHERE week < 9 AND attendance = "25,188" | what is the result when the week is earlier than 9 and attendance is 25,188? | <s>[INST]what is the result when the week is earlier than 9 and attendance is 25,188? Context: CREATE TABLE table_name_42 (result VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_42 WHERE week < 9 AND attendance = "25,188"</s> |
CREATE TABLE table_name_47 (d_42_√ VARCHAR, d_45_o VARCHAR) | SELECT d_42_√ FROM table_name_47 WHERE d_45_o = "d 32 √" | What is the value of D 42 √, when the value of D 45 O is d 32 √? | <s>[INST]What is the value of D 42 √, when the value of D 45 O is d 32 √? Context: CREATE TABLE table_name_47 (d_42_√ VARCHAR, d_45_o VARCHAR)[/INST]SELECT d_42_√ FROM table_name_47 WHERE d_45_o = "d 32 √"</s> |
CREATE TABLE table_28846752_12 (innings VARCHAR, average VARCHAR) | SELECT innings FROM table_28846752_12 WHERE average = "22.61" | How many innings for the player with an average of 22.61? | <s>[INST]How many innings for the player with an average of 22.61? Context: CREATE TABLE table_28846752_12 (innings VARCHAR, average VARCHAR)[/INST]SELECT innings FROM table_28846752_12 WHERE average = "22.61"</s> |
CREATE TABLE table_24565004_13 (period VARCHAR, name VARCHAR) | SELECT COUNT(period) FROM table_24565004_13 WHERE name = "Yvon Le Roux" | Name the total number of period for yvon le roux | <s>[INST]Name the total number of period for yvon le roux Context: CREATE TABLE table_24565004_13 (period VARCHAR, name VARCHAR)[/INST]SELECT COUNT(period) FROM table_24565004_13 WHERE name = "Yvon Le Roux"</s> |
CREATE TABLE table_name_78 (d_47 VARCHAR, d_41 VARCHAR) | SELECT d_47 FROM table_name_78 WHERE d_41 = "r 21" | I want the D 47 for D 41 being r 21 | <s>[INST]I want the D 47 for D 41 being r 21 Context: CREATE TABLE table_name_78 (d_47 VARCHAR, d_41 VARCHAR)[/INST]SELECT d_47 FROM table_name_78 WHERE d_41 = "r 21"</s> |
CREATE TABLE table_2331549_1 (champion VARCHAR, third_place VARCHAR) | SELECT champion FROM table_2331549_1 WHERE third_place = "Michigan Technological University" | Who were the champions in years where michigan technological university was in third place? | <s>[INST]Who were the champions in years where michigan technological university was in third place? Context: CREATE TABLE table_2331549_1 (champion VARCHAR, third_place VARCHAR)[/INST]SELECT champion FROM table_2331549_1 WHERE third_place = "Michigan Technological University"</s> |
CREATE TABLE table_name_23 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_23 WHERE score = "70-76-68-214" | Who has the par score of 70-76-68-214? | <s>[INST]Who has the par score of 70-76-68-214? Context: CREATE TABLE table_name_23 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_23 WHERE score = "70-76-68-214"</s> |
CREATE TABLE table_12206918_2 (name VARCHAR, titles VARCHAR) | SELECT name FROM table_12206918_2 WHERE titles = "The Ring Light heavyweight (175)" | What is the name of the title winner in the ring light heavyweight (175) division? | <s>[INST]What is the name of the title winner in the ring light heavyweight (175) division? Context: CREATE TABLE table_12206918_2 (name VARCHAR, titles VARCHAR)[/INST]SELECT name FROM table_12206918_2 WHERE titles = "The Ring Light heavyweight (175)"</s> |
CREATE TABLE table_name_60 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_60 WHERE catalog = "b0011141-01" | What is the Label of the B0011141-01 Catalog? | <s>[INST]What is the Label of the B0011141-01 Catalog? Context: CREATE TABLE table_name_60 (label VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_60 WHERE catalog = "b0011141-01"</s> |
CREATE TABLE table_256286_45 (type VARCHAR, yes_votes VARCHAR) | SELECT COUNT(type) FROM table_256286_45 WHERE yes_votes = 312680 | How many types are there for the measure where there were 312680 yes votes? | <s>[INST]How many types are there for the measure where there were 312680 yes votes? Context: CREATE TABLE table_256286_45 (type VARCHAR, yes_votes VARCHAR)[/INST]SELECT COUNT(type) FROM table_256286_45 WHERE yes_votes = 312680</s> |
CREATE TABLE table_name_38 (school_club_team VARCHAR, pick VARCHAR) | SELECT school_club_team FROM table_name_38 WHERE pick = "9 (via hamilton)" | What is School/Club Team, when Pick is 9 (via Hamilton)? | <s>[INST]What is School/Club Team, when Pick is 9 (via Hamilton)? Context: CREATE TABLE table_name_38 (school_club_team VARCHAR, pick VARCHAR)[/INST]SELECT school_club_team FROM table_name_38 WHERE pick = "9 (via hamilton)"</s> |
CREATE TABLE table_name_90 (college VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR) | SELECT college FROM table_name_90 WHERE round > 4 AND overall < 237 AND name = "ted cottrell" | Which college's round is more than 4, when the overall is less than 237 and Ted Cottrell was the name? | <s>[INST]Which college's round is more than 4, when the overall is less than 237 and Ted Cottrell was the name? Context: CREATE TABLE table_name_90 (college VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)[/INST]SELECT college FROM table_name_90 WHERE round > 4 AND overall < 237 AND name = "ted cottrell"</s> |
CREATE TABLE table_name_65 (laps VARCHAR, points VARCHAR) | SELECT laps FROM table_name_65 WHERE points = "50" | How many laps have 50 points? | <s>[INST]How many laps have 50 points? Context: CREATE TABLE table_name_65 (laps VARCHAR, points VARCHAR)[/INST]SELECT laps FROM table_name_65 WHERE points = "50"</s> |
CREATE TABLE table_name_81 (season VARCHAR, position VARCHAR) | SELECT season FROM table_name_81 WHERE position = "2nd" | What season was there a 2nd place finish? | <s>[INST]What season was there a 2nd place finish? Context: CREATE TABLE table_name_81 (season VARCHAR, position VARCHAR)[/INST]SELECT season FROM table_name_81 WHERE position = "2nd"</s> |
CREATE TABLE table_name_7 (genre VARCHAR, artist VARCHAR) | SELECT genre FROM table_name_7 WHERE artist = "prince" | What is the Genre when the Artist is Prince? | <s>[INST]What is the Genre when the Artist is Prince? Context: CREATE TABLE table_name_7 (genre VARCHAR, artist VARCHAR)[/INST]SELECT genre FROM table_name_7 WHERE artist = "prince"</s> |
CREATE TABLE table_1341522_24 (opponent VARCHAR, district VARCHAR) | SELECT opponent FROM table_1341522_24 WHERE district = "Massachusetts5" | Who are the opponents in Massachusetts5 district? | <s>[INST]Who are the opponents in Massachusetts5 district? Context: CREATE TABLE table_1341522_24 (opponent VARCHAR, district VARCHAR)[/INST]SELECT opponent FROM table_1341522_24 WHERE district = "Massachusetts5"</s> |
CREATE TABLE table_name_40 (player VARCHAR, nationality VARCHAR, league_from VARCHAR) | SELECT player FROM table_name_40 WHERE nationality = "united states" AND league_from = "western collegiate hockey association" | What player from the United States played in the western collegiate hockey association? | <s>[INST]What player from the United States played in the western collegiate hockey association? Context: CREATE TABLE table_name_40 (player VARCHAR, nationality VARCHAR, league_from VARCHAR)[/INST]SELECT player FROM table_name_40 WHERE nationality = "united states" AND league_from = "western collegiate hockey associat... |
CREATE TABLE table_2840500_1 (pick INTEGER, player VARCHAR) | SELECT MIN(pick) FROM table_2840500_1 WHERE player = "Ric Jackman" | What draft pick number was Ric Jackman? | <s>[INST]What draft pick number was Ric Jackman? Context: CREATE TABLE table_2840500_1 (pick INTEGER, player VARCHAR)[/INST]SELECT MIN(pick) FROM table_2840500_1 WHERE player = "Ric Jackman"</s> |
CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_84 WHERE date = "11/02/1946" | What was the Result on 11/02/1946? | <s>[INST]What was the Result on 11/02/1946? Context: CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_84 WHERE date = "11/02/1946"</s> |
CREATE TABLE table_10236830_1 (film_name VARCHAR, director VARCHAR, nomination VARCHAR) | SELECT film_name FROM table_10236830_1 WHERE director = "Michaylo Ilyenko" AND nomination = "Best Actor in a Supporting Role" | What film did michaylo ilyenko make with best actor in a supporting role? | <s>[INST]What film did michaylo ilyenko make with best actor in a supporting role? Context: CREATE TABLE table_10236830_1 (film_name VARCHAR, director VARCHAR, nomination VARCHAR)[/INST]SELECT film_name FROM table_10236830_1 WHERE director = "Michaylo Ilyenko" AND nomination = "Best Actor in a Supporting Role"</s> |
CREATE TABLE table_2331549_1 (year VARCHAR, third_place VARCHAR) | SELECT year FROM table_2331549_1 WHERE third_place = "Michigan State University" | Which years did Michigan state university come in third place? | <s>[INST]Which years did Michigan state university come in third place? Context: CREATE TABLE table_2331549_1 (year VARCHAR, third_place VARCHAR)[/INST]SELECT year FROM table_2331549_1 WHERE third_place = "Michigan State University"</s> |
CREATE TABLE table_name_76 (opened INTEGER, themed_area VARCHAR, manufacturer VARCHAR) | SELECT MAX(opened) FROM table_name_76 WHERE themed_area = "aerial park" AND manufacturer = "zamperla" | Which Opened is the highest one that has a Themed Area of aerial park, and a Manufacturer of zamperla? | <s>[INST]Which Opened is the highest one that has a Themed Area of aerial park, and a Manufacturer of zamperla? Context: CREATE TABLE table_name_76 (opened INTEGER, themed_area VARCHAR, manufacturer VARCHAR)[/INST]SELECT MAX(opened) FROM table_name_76 WHERE themed_area = "aerial park" AND manufacturer = "zamperla"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.