context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_18 (runner_up VARCHAR, year VARCHAR) | SELECT runner_up FROM table_name_18 WHERE year = 1963 | Name the Runner-up of a Year in 1963? | <s>[INST]Name the Runner-up of a Year in 1963? Context: CREATE TABLE table_name_18 (runner_up VARCHAR, year VARCHAR)[/INST]SELECT runner_up FROM table_name_18 WHERE year = 1963</s> |
CREATE TABLE table_26176081_29 (gp INTEGER) | SELECT MIN(gp) FROM table_26176081_29 | What is the lowest gp? | <s>[INST]What is the lowest gp? Context: CREATE TABLE table_26176081_29 (gp INTEGER)[/INST]SELECT MIN(gp) FROM table_26176081_29</s> |
CREATE TABLE table_name_96 (fcc_info VARCHAR, erp_w VARCHAR) | SELECT fcc_info FROM table_name_96 WHERE erp_w = 2 | What FCC info is listed for the ERP W of 2? | <s>[INST]What FCC info is listed for the ERP W of 2? Context: CREATE TABLE table_name_96 (fcc_info VARCHAR, erp_w VARCHAR)[/INST]SELECT fcc_info FROM table_name_96 WHERE erp_w = 2</s> |
CREATE TABLE table_name_11 (integrated VARCHAR, allied_related VARCHAR) | SELECT integrated FROM table_name_11 WHERE allied_related = "centralized" | What integrated has an allied-related of centralized? | <s>[INST]What integrated has an allied-related of centralized? Context: CREATE TABLE table_name_11 (integrated VARCHAR, allied_related VARCHAR)[/INST]SELECT integrated FROM table_name_11 WHERE allied_related = "centralized"</s> |
CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) | SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 5 | Find the titles of items that received both a rating higher than 8 and a rating below 5. | <s>[INST]Find the titles of items that received both a rating higher than 8 and a rating below 5. Context: CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)[/INST]SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT... |
CREATE TABLE table_name_7 (bronze VARCHAR, year VARCHAR) | SELECT bronze FROM table_name_7 WHERE year = 2006 | Who won bronze is 2006? | <s>[INST]Who won bronze is 2006? Context: CREATE TABLE table_name_7 (bronze VARCHAR, year VARCHAR)[/INST]SELECT bronze FROM table_name_7 WHERE year = 2006</s> |
CREATE TABLE table_12962773_12 (height VARCHAR, no VARCHAR) | SELECT COUNT(height) FROM table_12962773_12 WHERE no = 5 | What is the height for player number 5? | <s>[INST]What is the height for player number 5? Context: CREATE TABLE table_12962773_12 (height VARCHAR, no VARCHAR)[/INST]SELECT COUNT(height) FROM table_12962773_12 WHERE no = 5</s> |
CREATE TABLE table_22815568_12 (population VARCHAR, county VARCHAR) | SELECT COUNT(population) FROM table_22815568_12 WHERE county = "Craig" | Name the total number of population for craig | <s>[INST]Name the total number of population for craig Context: CREATE TABLE table_22815568_12 (population VARCHAR, county VARCHAR)[/INST]SELECT COUNT(population) FROM table_22815568_12 WHERE county = "Craig"</s> |
CREATE TABLE table_1966992_1 (census_2006_population INTEGER, lga_name VARCHAR) | SELECT MAX(census_2006_population) FROM table_1966992_1 WHERE lga_name = "Opobo/Nkoro" | What is the maximum 2006 census population of LGA name Opobo/Nkoro? | <s>[INST]What is the maximum 2006 census population of LGA name Opobo/Nkoro? Context: CREATE TABLE table_1966992_1 (census_2006_population INTEGER, lga_name VARCHAR)[/INST]SELECT MAX(census_2006_population) FROM table_1966992_1 WHERE lga_name = "Opobo/Nkoro"</s> |
CREATE TABLE table_name_78 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_78 WHERE place = "t8" | What is the T8 Place Player? | <s>[INST]What is the T8 Place Player? Context: CREATE TABLE table_name_78 (player VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_78 WHERE place = "t8"</s> |
CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_84 WHERE date = "november 2, 2003" | What was the attendance on november 2, 2003? | <s>[INST]What was the attendance on november 2, 2003? Context: CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_84 WHERE date = "november 2, 2003"</s> |
CREATE TABLE table_name_13 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_13 WHERE home_team = "carlton" | If the Home team is carlton, what's the lowest Crowd found? | <s>[INST]If the Home team is carlton, what's the lowest Crowd found? Context: CREATE TABLE table_name_13 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_13 WHERE home_team = "carlton"</s> |
CREATE TABLE table_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) | SELECT COUNT(date_of_vacancy) FROM table_28164986_4 WHERE outgoing_manager = "Tunde Abdulrahman" | how many times did tunde abdulrahman leave the team? | <s>[INST]how many times did tunde abdulrahman leave the team? Context: CREATE TABLE table_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT COUNT(date_of_vacancy) FROM table_28164986_4 WHERE outgoing_manager = "Tunde Abdulrahman"</s> |
CREATE TABLE table_name_81 (title VARCHAR, duration VARCHAR) | SELECT title FROM table_name_81 WHERE duration = "4:57" | Which of the titles have a duration time of 4:57? | <s>[INST]Which of the titles have a duration time of 4:57? Context: CREATE TABLE table_name_81 (title VARCHAR, duration VARCHAR)[/INST]SELECT title FROM table_name_81 WHERE duration = "4:57"</s> |
CREATE TABLE table_26041144_11 (matches INTEGER) | SELECT MIN(matches) FROM table_26041144_11 | What is the lowest number of matches for a record holder? | <s>[INST]What is the lowest number of matches for a record holder? Context: CREATE TABLE table_26041144_11 (matches INTEGER)[/INST]SELECT MIN(matches) FROM table_26041144_11</s> |
CREATE TABLE table_13564637_3 (club VARCHAR, drawn VARCHAR, lost VARCHAR) | SELECT club FROM table_13564637_3 WHERE drawn = "1" AND lost = "10" | what is the name of the club where drawn is 1 and lost is 10? | <s>[INST]what is the name of the club where drawn is 1 and lost is 10? Context: CREATE TABLE table_13564637_3 (club VARCHAR, drawn VARCHAR, lost VARCHAR)[/INST]SELECT club FROM table_13564637_3 WHERE drawn = "1" AND lost = "10"</s> |
CREATE TABLE table_23927423_4 (teams INTEGER, relegated_to_league VARCHAR) | SELECT MAX(teams) FROM table_23927423_4 WHERE relegated_to_league = "Cornish All Blacks Pertemps Bees" | How many teams participated (maximum) when Cornish All Blacks Pertemps Bees were relegated to the league? | <s>[INST]How many teams participated (maximum) when Cornish All Blacks Pertemps Bees were relegated to the league? Context: CREATE TABLE table_23927423_4 (teams INTEGER, relegated_to_league VARCHAR)[/INST]SELECT MAX(teams) FROM table_23927423_4 WHERE relegated_to_league = "Cornish All Blacks Pertemps Bees"</s> |
CREATE TABLE table_name_25 (constructor VARCHAR, driver VARCHAR, rounds VARCHAR) | SELECT constructor FROM table_name_25 WHERE driver = "jan lammers" AND rounds = "7-14" | Who was the constructor of the car that Jan Lammers made 7-14 rounds in? | <s>[INST]Who was the constructor of the car that Jan Lammers made 7-14 rounds in? Context: CREATE TABLE table_name_25 (constructor VARCHAR, driver VARCHAR, rounds VARCHAR)[/INST]SELECT constructor FROM table_name_25 WHERE driver = "jan lammers" AND rounds = "7-14"</s> |
CREATE TABLE table_name_29 (original_teams VARCHAR, the_biggest_loser VARCHAR) | SELECT original_teams FROM table_name_29 WHERE the_biggest_loser = "danni allen" | What were the original teams for the season that was won by Danni Allen? | <s>[INST]What were the original teams for the season that was won by Danni Allen? Context: CREATE TABLE table_name_29 (original_teams VARCHAR, the_biggest_loser VARCHAR)[/INST]SELECT original_teams FROM table_name_29 WHERE the_biggest_loser = "danni allen"</s> |
CREATE TABLE table_name_20 (country VARCHAR, player VARCHAR, score VARCHAR) | SELECT country FROM table_name_20 WHERE score = 69 - 69 = 138 AND player = "ian poulter" | What is Country, when Score is "69-69=138", and when Player is "Ian Poulter"? | <s>[INST]What is Country, when Score is "69-69=138", and when Player is "Ian Poulter"? Context: CREATE TABLE table_name_20 (country VARCHAR, player VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_20 WHERE score = 69 - 69 = 138 AND player = "ian poulter"</s> |
CREATE TABLE table_name_79 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_79 WHERE title = "the star packer" | Who directed the movie The Star Packer? | <s>[INST]Who directed the movie The Star Packer? Context: CREATE TABLE table_name_79 (director VARCHAR, title VARCHAR)[/INST]SELECT director FROM table_name_79 WHERE title = "the star packer"</s> |
CREATE TABLE table_24370270_10 (starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR) | SELECT starting_weight__kg_ FROM table_24370270_10 WHERE weight_lost__kg_ = "54.6" | What is the starting weight if weight lost is 54.6? | <s>[INST]What is the starting weight if weight lost is 54.6? Context: CREATE TABLE table_24370270_10 (starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR)[/INST]SELECT starting_weight__kg_ FROM table_24370270_10 WHERE weight_lost__kg_ = "54.6"</s> |
CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR) | SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Shlomo" | Which mix artists have shlomo as artist 1? | <s>[INST]Which mix artists have shlomo as artist 1? Context: CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR)[/INST]SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Shlomo"</s> |
CREATE TABLE table_name_66 (team__number2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_66 WHERE team__number2 = "emelec" | What is the 2nd leg of emelec team 2? | <s>[INST]What is the 2nd leg of emelec team 2? Context: CREATE TABLE table_name_66 (team__number2 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_66 WHERE team__number2 = "emelec"</s> |
CREATE TABLE table_23286158_9 (score VARCHAR, record VARCHAR) | SELECT score FROM table_23286158_9 WHERE record = "37-27" | What was the score for the game when the record was 37-27? | <s>[INST]What was the score for the game when the record was 37-27? Context: CREATE TABLE table_23286158_9 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_23286158_9 WHERE record = "37-27"</s> |
CREATE TABLE table_name_89 (player VARCHAR, position VARCHAR, loaned_to VARCHAR) | SELECT player FROM table_name_89 WHERE position = "df" AND loaned_to = "stoke city" | What player that has a Position of df, and Loaned to is Stoke City? | <s>[INST]What player that has a Position of df, and Loaned to is Stoke City? Context: CREATE TABLE table_name_89 (player VARCHAR, position VARCHAR, loaned_to VARCHAR)[/INST]SELECT player FROM table_name_89 WHERE position = "df" AND loaned_to = "stoke city"</s> |
CREATE TABLE table_name_17 (skip VARCHAR, lead VARCHAR) | SELECT skip FROM table_name_17 WHERE lead = "gordon mcdougall" | Which skip's lead is Gordon McDougall? | <s>[INST]Which skip's lead is Gordon McDougall? Context: CREATE TABLE table_name_17 (skip VARCHAR, lead VARCHAR)[/INST]SELECT skip FROM table_name_17 WHERE lead = "gordon mcdougall"</s> |
CREATE TABLE table_name_64 (most_recent_cap VARCHAR, goals VARCHAR, name VARCHAR) | SELECT most_recent_cap FROM table_name_64 WHERE goals > 17 AND name = "brian turner" | What is the newest Cap with a Goals stat larger than 17 and which was done by Brian Turner? | <s>[INST]What is the newest Cap with a Goals stat larger than 17 and which was done by Brian Turner? Context: CREATE TABLE table_name_64 (most_recent_cap VARCHAR, goals VARCHAR, name VARCHAR)[/INST]SELECT most_recent_cap FROM table_name_64 WHERE goals > 17 AND name = "brian turner"</s> |
CREATE TABLE table_name_29 (lineup VARCHAR, result VARCHAR) | SELECT lineup FROM table_name_29 WHERE result = "1-0 aet w" | What was the lineup that resulted in 1-0 AET W? | <s>[INST]What was the lineup that resulted in 1-0 AET W? Context: CREATE TABLE table_name_29 (lineup VARCHAR, result VARCHAR)[/INST]SELECT lineup FROM table_name_29 WHERE result = "1-0 aet w"</s> |
CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR) | SELECT COUNT(directed_by) FROM table_29063233_1 WHERE uk_viewers__million_ = "6.16" | How many directed by entries have UK viewership over 6.16 million? | <s>[INST]How many directed by entries have UK viewership over 6.16 million? Context: CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_29063233_1 WHERE uk_viewers__million_ = "6.16"</s> |
CREATE TABLE table_name_17 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_17 WHERE score = "97-38" | On what day was the game that ended in a score of 97-38? | <s>[INST]On what day was the game that ended in a score of 97-38? Context: CREATE TABLE table_name_17 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_17 WHERE score = "97-38"</s> |
CREATE TABLE table_name_73 (shot_volume__cm_3__ INTEGER, shot_diameter__cm_ INTEGER) | SELECT AVG(shot_volume__cm_3__) FROM table_name_73 WHERE shot_diameter__cm_ < 6.04 | what is the average shot volume (cm 3) when the shot diameter (cm) is less than 6.04? | <s>[INST]what is the average shot volume (cm 3) when the shot diameter (cm) is less than 6.04? Context: CREATE TABLE table_name_73 (shot_volume__cm_3__ INTEGER, shot_diameter__cm_ INTEGER)[/INST]SELECT AVG(shot_volume__cm_3__) FROM table_name_73 WHERE shot_diameter__cm_ < 6.04</s> |
CREATE TABLE table_name_91 (grid INTEGER, rider VARCHAR) | SELECT SUM(grid) FROM table_name_91 WHERE rider = "ryuichi kiyonari" | How many Grid has a Rider of ryuichi kiyonari? | <s>[INST]How many Grid has a Rider of ryuichi kiyonari? Context: CREATE TABLE table_name_91 (grid INTEGER, rider VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_91 WHERE rider = "ryuichi kiyonari"</s> |
CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_96 WHERE home_team = "carlton" | Which Away team has Carlton for it's Home team? | <s>[INST]Which Away team has Carlton for it's Home team? Context: CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_96 WHERE home_team = "carlton"</s> |
CREATE TABLE table_name_48 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_48 WHERE date = "september 26, 1976" | What is the average attendance for the game on September 26, 1976? | <s>[INST]What is the average attendance for the game on September 26, 1976? Context: CREATE TABLE table_name_48 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_48 WHERE date = "september 26, 1976"</s> |
CREATE TABLE table_name_10 (rider VARCHAR, time_retired VARCHAR) | SELECT rider FROM table_name_10 WHERE time_retired = "+31.426" | Which rider has the time of +31.426? | <s>[INST]Which rider has the time of +31.426? Context: CREATE TABLE table_name_10 (rider VARCHAR, time_retired VARCHAR)[/INST]SELECT rider FROM table_name_10 WHERE time_retired = "+31.426"</s> |
CREATE TABLE table_name_85 (player VARCHAR, country VARCHAR, total VARCHAR) | SELECT player FROM table_name_85 WHERE country = "united states" AND total = 144 | Which player played in the united states and scored a total of 144 points? | <s>[INST]Which player played in the united states and scored a total of 144 points? Context: CREATE TABLE table_name_85 (player VARCHAR, country VARCHAR, total VARCHAR)[/INST]SELECT player FROM table_name_85 WHERE country = "united states" AND total = 144</s> |
CREATE TABLE table_name_70 (player VARCHAR, round VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_70 WHERE round < 8 AND school_club_team = "louisville" | What player did louisville pick when the round was below 8? | <s>[INST]What player did louisville pick when the round was below 8? Context: CREATE TABLE table_name_70 (player VARCHAR, round VARCHAR, school_club_team VARCHAR)[/INST]SELECT player FROM table_name_70 WHERE round < 8 AND school_club_team = "louisville"</s> |
CREATE TABLE table_298550_1 (area__km²_ INTEGER, capital VARCHAR) | SELECT MAX(area__km²_) FROM table_298550_1 WHERE capital = "San Juan" | What is the highest value of area when capital is San Juan? | <s>[INST]What is the highest value of area when capital is San Juan? Context: CREATE TABLE table_298550_1 (area__km²_ INTEGER, capital VARCHAR)[/INST]SELECT MAX(area__km²_) FROM table_298550_1 WHERE capital = "San Juan"</s> |
CREATE TABLE table_17538810_10 (lead_margin VARCHAR, dates_administered VARCHAR) | SELECT COUNT(lead_margin) FROM table_17538810_10 WHERE dates_administered = "September 11, 2008" | How many different lead margins were stated in the poll administered on September 11, 2008? | <s>[INST]How many different lead margins were stated in the poll administered on September 11, 2008? Context: CREATE TABLE table_17538810_10 (lead_margin VARCHAR, dates_administered VARCHAR)[/INST]SELECT COUNT(lead_margin) FROM table_17538810_10 WHERE dates_administered = "September 11, 2008"</s> |
CREATE TABLE table_name_50 (model VARCHAR, make VARCHAR) | SELECT model FROM table_name_50 WHERE make = "de vaux continental" | What model has de vaux continental as the make? | <s>[INST]What model has de vaux continental as the make? Context: CREATE TABLE table_name_50 (model VARCHAR, make VARCHAR)[/INST]SELECT model FROM table_name_50 WHERE make = "de vaux continental"</s> |
CREATE TABLE table_name_64 (club VARCHAR, tries_for VARCHAR) | SELECT club FROM table_name_64 WHERE tries_for = "tries for" | What club has tries for in the category tries for? | <s>[INST]What club has tries for in the category tries for? Context: CREATE TABLE table_name_64 (club VARCHAR, tries_for VARCHAR)[/INST]SELECT club FROM table_name_64 WHERE tries_for = "tries for"</s> |
CREATE TABLE table_name_2 (ranking INTEGER, nationality VARCHAR, goals VARCHAR) | SELECT SUM(ranking) FROM table_name_2 WHERE nationality = "england" AND goals > 53 | What is the number of ranking when the nationalits is England with more than 53 goals? | <s>[INST]What is the number of ranking when the nationalits is England with more than 53 goals? Context: CREATE TABLE table_name_2 (ranking INTEGER, nationality VARCHAR, goals VARCHAR)[/INST]SELECT SUM(ranking) FROM table_name_2 WHERE nationality = "england" AND goals > 53</s> |
CREATE TABLE table_name_97 (rank INTEGER, team VARCHAR, bb_so VARCHAR) | SELECT AVG(rank) FROM table_name_97 WHERE team = "cle" AND bb_so = 10.89 | What is the average rank for team cle when the BB/SO is 10.89? | <s>[INST]What is the average rank for team cle when the BB/SO is 10.89? Context: CREATE TABLE table_name_97 (rank INTEGER, team VARCHAR, bb_so VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_97 WHERE team = "cle" AND bb_so = 10.89</s> |
CREATE TABLE table_name_92 (snatch VARCHAR, total VARCHAR) | SELECT snatch FROM table_name_92 WHERE total = "409kg" | What was the Snatch weight for the year that had a total of 409kg? | <s>[INST]What was the Snatch weight for the year that had a total of 409kg? Context: CREATE TABLE table_name_92 (snatch VARCHAR, total VARCHAR)[/INST]SELECT snatch FROM table_name_92 WHERE total = "409kg"</s> |
CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_8 WHERE away_team = "walsall" | Who was the home team when walsall was the away team? | <s>[INST]Who was the home team when walsall was the away team? Context: CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_8 WHERE away_team = "walsall"</s> |
CREATE TABLE table_name_90 (nation VARCHAR, points VARCHAR) | SELECT nation FROM table_name_90 WHERE points = 300.38 | Which Nation has Points of 300.38? | <s>[INST]Which Nation has Points of 300.38? Context: CREATE TABLE table_name_90 (nation VARCHAR, points VARCHAR)[/INST]SELECT nation FROM table_name_90 WHERE points = 300.38</s> |
CREATE TABLE table_name_80 (wins INTEGER, points VARCHAR, rank VARCHAR) | SELECT MIN(wins) FROM table_name_80 WHERE points > 113 AND rank = "4th" | What is the lowest number of wins with more than 113 points in 4th rank? | <s>[INST]What is the lowest number of wins with more than 113 points in 4th rank? Context: CREATE TABLE table_name_80 (wins INTEGER, points VARCHAR, rank VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_80 WHERE points > 113 AND rank = "4th"</s> |
CREATE TABLE table_name_47 (frequency VARCHAR, voltage VARCHAR) | SELECT frequency FROM table_name_47 WHERE voltage = "3.3 v" | What is the Frequency, when the Voltage is 3.3 V? | <s>[INST]What is the Frequency, when the Voltage is 3.3 V? Context: CREATE TABLE table_name_47 (frequency VARCHAR, voltage VARCHAR)[/INST]SELECT frequency FROM table_name_47 WHERE voltage = "3.3 v"</s> |
CREATE TABLE table_name_90 (date VARCHAR, save VARCHAR) | SELECT date FROM table_name_90 WHERE save = "||20,599||32-37" | When have a Save of ||20,599||32-37? | <s>[INST]When have a Save of ||20,599||32-37? Context: CREATE TABLE table_name_90 (date VARCHAR, save VARCHAR)[/INST]SELECT date FROM table_name_90 WHERE save = "||20,599||32-37"</s> |
CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR) | SELECT incumbent FROM table_13833770_3 WHERE opponent = "Peter King (R) 56.0% David Mejias (D) 44.0%" | who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0% | <s>[INST]who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0% Context: CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR)[/INST]SELECT incumbent FROM table_13833770_3 WHERE opponent = "Peter King (R) 56.0% David Mejias (D) 44.0%"</s> |
CREATE TABLE table_name_18 (runner_up VARCHAR, rank VARCHAR, champion VARCHAR, fourth_place VARCHAR) | SELECT runner_up FROM table_name_18 WHERE champion = "0" AND fourth_place = "0" AND rank = 6 | What was the runner-up when champion is 0, 4th place is 0 and rank is 6? | <s>[INST]What was the runner-up when champion is 0, 4th place is 0 and rank is 6? Context: CREATE TABLE table_name_18 (runner_up VARCHAR, rank VARCHAR, champion VARCHAR, fourth_place VARCHAR)[/INST]SELECT runner_up FROM table_name_18 WHERE champion = "0" AND fourth_place = "0" AND rank = 6</s> |
CREATE TABLE tv_channel (id VARCHAR, country VARCHAR) | SELECT id FROM tv_channel GROUP BY country HAVING COUNT(*) > 2 | find id of the tv channels that from the countries where have more than two tv channels. | <s>[INST]find id of the tv channels that from the countries where have more than two tv channels. Context: CREATE TABLE tv_channel (id VARCHAR, country VARCHAR)[/INST]SELECT id FROM tv_channel GROUP BY country HAVING COUNT(*) > 2</s> |
CREATE TABLE table_20726262_2 (title VARCHAR, directedby VARCHAR) | SELECT title FROM table_20726262_2 WHERE directedby = "Paris Barclay" | What title episode did Paris Barclay direct? | <s>[INST]What title episode did Paris Barclay direct? Context: CREATE TABLE table_20726262_2 (title VARCHAR, directedby VARCHAR)[/INST]SELECT title FROM table_20726262_2 WHERE directedby = "Paris Barclay"</s> |
CREATE TABLE course (title VARCHAR) | SELECT title FROM course GROUP BY title HAVING COUNT(*) > 1 | Find the title of the course that is offered by more than one department. | <s>[INST]Find the title of the course that is offered by more than one department. Context: CREATE TABLE course (title VARCHAR)[/INST]SELECT title FROM course GROUP BY title HAVING COUNT(*) > 1</s> |
CREATE TABLE table_name_33 (season VARCHAR, postseason VARCHAR) | SELECT season FROM table_name_33 WHERE postseason = "promoted runner-up" | Which Season has a Postseason of promoted runner-up? | <s>[INST]Which Season has a Postseason of promoted runner-up? Context: CREATE TABLE table_name_33 (season VARCHAR, postseason VARCHAR)[/INST]SELECT season FROM table_name_33 WHERE postseason = "promoted runner-up"</s> |
CREATE TABLE table_name_22 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_22 WHERE score = 71 - 69 - 71 = 211 | What was the place when the score was 71-69-71=211? | <s>[INST]What was the place when the score was 71-69-71=211? Context: CREATE TABLE table_name_22 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_22 WHERE score = 71 - 69 - 71 = 211</s> |
CREATE TABLE table_name_16 (labour_party INTEGER, fianna_fáil INTEGER) | SELECT MIN(labour_party) FROM table_name_16 WHERE fianna_fáil > 5 | What is the lowest number in the Labour Party for the Fianna Fail higher than 5? | <s>[INST]What is the lowest number in the Labour Party for the Fianna Fail higher than 5? Context: CREATE TABLE table_name_16 (labour_party INTEGER, fianna_fáil INTEGER)[/INST]SELECT MIN(labour_party) FROM table_name_16 WHERE fianna_fáil > 5</s> |
CREATE TABLE table_name_56 (surface VARCHAR, outcome VARCHAR, championship VARCHAR) | SELECT surface FROM table_name_56 WHERE outcome = "runner-up" AND championship = "toronto" | What is the listed surface for the Championship of Toronto that had a runner-up outcome? | <s>[INST]What is the listed surface for the Championship of Toronto that had a runner-up outcome? Context: CREATE TABLE table_name_56 (surface VARCHAR, outcome VARCHAR, championship VARCHAR)[/INST]SELECT surface FROM table_name_56 WHERE outcome = "runner-up" AND championship = "toronto"</s> |
CREATE TABLE table_26218783_6 (rk VARCHAR, new_points VARCHAR) | SELECT rk FROM table_26218783_6 WHERE new_points = 5760 | If the new points were 5760, what is the RK? | <s>[INST]If the new points were 5760, what is the RK? Context: CREATE TABLE table_26218783_6 (rk VARCHAR, new_points VARCHAR)[/INST]SELECT rk FROM table_26218783_6 WHERE new_points = 5760</s> |
CREATE TABLE table_name_76 (second VARCHAR, third VARCHAR, lead VARCHAR) | SELECT second FROM table_name_76 WHERE third = "david nedohin" AND lead = "ben hebert" | Which Second has a Third of david nedohin, and a Lead of ben hebert? | <s>[INST]Which Second has a Third of david nedohin, and a Lead of ben hebert? Context: CREATE TABLE table_name_76 (second VARCHAR, third VARCHAR, lead VARCHAR)[/INST]SELECT second FROM table_name_76 WHERE third = "david nedohin" AND lead = "ben hebert"</s> |
CREATE TABLE table_name_84 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_84 WHERE home_team = "essendon" | What is the average amount of spectators when Essendon played as the home team? | <s>[INST]What is the average amount of spectators when Essendon played as the home team? Context: CREATE TABLE table_name_84 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_84 WHERE home_team = "essendon"</s> |
CREATE TABLE table_name_26 (average INTEGER, state VARCHAR, interview VARCHAR) | SELECT SUM(average) FROM table_name_26 WHERE state = "hawaii" AND interview > 9.636 | What is the sum of the average of Hawaii, with an interviewer larger than 9.636? | <s>[INST]What is the sum of the average of Hawaii, with an interviewer larger than 9.636? Context: CREATE TABLE table_name_26 (average INTEGER, state VARCHAR, interview VARCHAR)[/INST]SELECT SUM(average) FROM table_name_26 WHERE state = "hawaii" AND interview > 9.636</s> |
CREATE TABLE table_name_4 (name VARCHAR, position VARCHAR, round VARCHAR) | SELECT name FROM table_name_4 WHERE position = "tight end" AND round > 3 | Which player is a tight end with a round higher than 3? | <s>[INST]Which player is a tight end with a round higher than 3? Context: CREATE TABLE table_name_4 (name VARCHAR, position VARCHAR, round VARCHAR)[/INST]SELECT name FROM table_name_4 WHERE position = "tight end" AND round > 3</s> |
CREATE TABLE table_2226817_8 (written_by VARCHAR, no_in_season VARCHAR) | SELECT COUNT(written_by) FROM table_2226817_8 WHERE no_in_season = 13 | Who is the writer of episode 13? | <s>[INST]Who is the writer of episode 13? Context: CREATE TABLE table_2226817_8 (written_by VARCHAR, no_in_season VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_2226817_8 WHERE no_in_season = 13</s> |
CREATE TABLE table_name_74 (gross VARCHAR, studio VARCHAR, director_s_ VARCHAR) | SELECT gross FROM table_name_74 WHERE studio = "20th century fox" AND director_s_ = "joel schumacher" | The 20th Century Fox film directed by Joel Schumacher grossed how much? | <s>[INST]The 20th Century Fox film directed by Joel Schumacher grossed how much? Context: CREATE TABLE table_name_74 (gross VARCHAR, studio VARCHAR, director_s_ VARCHAR)[/INST]SELECT gross FROM table_name_74 WHERE studio = "20th century fox" AND director_s_ = "joel schumacher"</s> |
CREATE TABLE table_name_81 (played VARCHAR, points VARCHAR, drawn VARCHAR, team VARCHAR) | SELECT COUNT(played) FROM table_name_81 WHERE drawn < 5 AND team = "army" AND points > 51 | How many games played for the army team with over 51 points and under 5 games drawn? | <s>[INST]How many games played for the army team with over 51 points and under 5 games drawn? Context: CREATE TABLE table_name_81 (played VARCHAR, points VARCHAR, drawn VARCHAR, team VARCHAR)[/INST]SELECT COUNT(played) FROM table_name_81 WHERE drawn < 5 AND team = "army" AND points > 51</s> |
CREATE TABLE table_name_95 (number_of_cars INTEGER, car__number VARCHAR, year_started VARCHAR, current_car VARCHAR) | SELECT MAX(number_of_cars) FROM table_name_95 WHERE year_started < 2012 AND current_car = "tba" AND car__number > 1 | WHAT IS THE HIGHEST # OF CARS WITH A START YEAR LESS THAN 2012, TBA CURRENT CAR, AND MORE THAN 1 CAR? | <s>[INST]WHAT IS THE HIGHEST # OF CARS WITH A START YEAR LESS THAN 2012, TBA CURRENT CAR, AND MORE THAN 1 CAR? Context: CREATE TABLE table_name_95 (number_of_cars INTEGER, car__number VARCHAR, year_started VARCHAR, current_car VARCHAR)[/INST]SELECT MAX(number_of_cars) FROM table_name_95 WHERE year_started < 2012 AND cu... |
CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_76 WHERE away_team = "geelong" | Who was the home team when Geelong was the away team? | <s>[INST]Who was the home team when Geelong was the away team? Context: CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_76 WHERE away_team = "geelong"</s> |
CREATE TABLE table_name_74 (driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_74 WHERE grid < 24 AND laps < 61 AND constructor = "ferrari" | Who has a grid smaller than 24, less than 61 laps, and a ferrari constructor? | <s>[INST]Who has a grid smaller than 24, less than 61 laps, and a ferrari constructor? Context: CREATE TABLE table_name_74 (driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_74 WHERE grid < 24 AND laps < 61 AND constructor = "ferrari"</s> |
CREATE TABLE table_name_82 (pick INTEGER, player VARCHAR, round VARCHAR) | SELECT AVG(pick) FROM table_name_82 WHERE player = "willie white" AND round < 2 | What is the average Pick, when Player is "Willie White",and when Round is less than 2? | <s>[INST]What is the average Pick, when Player is "Willie White",and when Round is less than 2? Context: CREATE TABLE table_name_82 (pick INTEGER, player VARCHAR, round VARCHAR)[/INST]SELECT AVG(pick) FROM table_name_82 WHERE player = "willie white" AND round < 2</s> |
CREATE TABLE table_name_18 (moving_to VARCHAR, name VARCHAR) | SELECT moving_to FROM table_name_18 WHERE name = "leon andreasen" | What is Moving To, when Name is "Leon Andreasen"? | <s>[INST]What is Moving To, when Name is "Leon Andreasen"? Context: CREATE TABLE table_name_18 (moving_to VARCHAR, name VARCHAR)[/INST]SELECT moving_to FROM table_name_18 WHERE name = "leon andreasen"</s> |
CREATE TABLE table_12148018_2 (writer VARCHAR, viewers VARCHAR) | SELECT writer FROM table_12148018_2 WHERE viewers = "5.16m" | who is the writer where viewers is 5.16m | <s>[INST] who is the writer where viewers is 5.16m Context: CREATE TABLE table_12148018_2 (writer VARCHAR, viewers VARCHAR)[/INST]SELECT writer FROM table_12148018_2 WHERE viewers = "5.16m"</s> |
CREATE TABLE table_name_56 (gold VARCHAR, year VARCHAR) | SELECT gold FROM table_name_56 WHERE year = 2006 | What Gold has the Year of 2006? | <s>[INST]What Gold has the Year of 2006? Context: CREATE TABLE table_name_56 (gold VARCHAR, year VARCHAR)[/INST]SELECT gold FROM table_name_56 WHERE year = 2006</s> |
CREATE TABLE table_name_62 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_62 WHERE laps < 66 AND grid = 15 | What was the time when the laps were smaller than 66 and the grid was 15? | <s>[INST]What was the time when the laps were smaller than 66 and the grid was 15? Context: CREATE TABLE table_name_62 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_62 WHERE laps < 66 AND grid = 15</s> |
CREATE TABLE table_21804557_18 (stage__winner_ VARCHAR, metas_volantes_classification VARCHAR) | SELECT stage__winner_ FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini" | WHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION? | <s>[INST]WHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION? Context: CREATE TABLE table_21804557_18 (stage__winner_ VARCHAR, metas_volantes_classification VARCHAR)[/INST]SELECT stage__winner_ FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini"... |
CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_8 WHERE score = "0-6" | What was the attendance for the game where the score was 0-6? | <s>[INST]What was the attendance for the game where the score was 0-6? Context: CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR)[/INST]SELECT attendance FROM table_name_8 WHERE score = "0-6"</s> |
CREATE TABLE table_name_76 (result VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_76 WHERE round < 7 AND opponent = "melbourne storm" | what is the result when the round is less than 7 and the opponent is melbourne storm? | <s>[INST]what is the result when the round is less than 7 and the opponent is melbourne storm? Context: CREATE TABLE table_name_76 (result VARCHAR, round VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_76 WHERE round < 7 AND opponent = "melbourne storm"</s> |
CREATE TABLE table_name_74 (accession_number VARCHAR, divergence_from_human_lineage__mya_ VARCHAR) | SELECT accession_number FROM table_name_74 WHERE divergence_from_human_lineage__mya_ = 937.5 | What is the accession number of the protein with a divergence from human lineage of 937.5? | <s>[INST]What is the accession number of the protein with a divergence from human lineage of 937.5? Context: CREATE TABLE table_name_74 (accession_number VARCHAR, divergence_from_human_lineage__mya_ VARCHAR)[/INST]SELECT accession_number FROM table_name_74 WHERE divergence_from_human_lineage__mya_ = 937.5</s> |
CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_38 WHERE place = "t9" AND player = "gary player" | What country is Gary Player from in T9 place? | <s>[INST]What country is Gary Player from in T9 place? Context: CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_38 WHERE place = "t9" AND player = "gary player"</s> |
CREATE TABLE table_name_18 (rider VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_18 WHERE grid = "14" | Who is the driver of the car that started in grid 14? | <s>[INST]Who is the driver of the car that started in grid 14? Context: CREATE TABLE table_name_18 (rider VARCHAR, grid VARCHAR)[/INST]SELECT rider FROM table_name_18 WHERE grid = "14"</s> |
CREATE TABLE table_name_38 (chassis VARCHAR, entrant VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_38 WHERE entrant = "lavazza march" AND year = 1975 | What was the chassis when the entrant was Lavazza March, and the year was 1975? | <s>[INST]What was the chassis when the entrant was Lavazza March, and the year was 1975? Context: CREATE TABLE table_name_38 (chassis VARCHAR, entrant VARCHAR, year VARCHAR)[/INST]SELECT chassis FROM table_name_38 WHERE entrant = "lavazza march" AND year = 1975</s> |
CREATE TABLE table_name_13 (surface VARCHAR, partner VARCHAR) | SELECT surface FROM table_name_13 WHERE partner = "ruxandra dragomir" | What surface did Ruxandra Dragomir play on? | <s>[INST]What surface did Ruxandra Dragomir play on? Context: CREATE TABLE table_name_13 (surface VARCHAR, partner VARCHAR)[/INST]SELECT surface FROM table_name_13 WHERE partner = "ruxandra dragomir"</s> |
CREATE TABLE table_22580855_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT COUNT(written_by) FROM table_22580855_1 WHERE directed_by = "Jonathan Herron" | How many writers write the episode whose director is Jonathan Herron? | <s>[INST]How many writers write the episode whose director is Jonathan Herron? Context: CREATE TABLE table_22580855_1 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_22580855_1 WHERE directed_by = "Jonathan Herron"</s> |
CREATE TABLE table_name_83 (fall_07 INTEGER, fall_05 VARCHAR, fall_09 VARCHAR) | SELECT AVG(fall_07) FROM table_name_83 WHERE fall_05 = 271 AND fall_09 < 347 | What is the average value for Fall 07 when Fall 05 is 271 and Fall 09 is less than 347? | <s>[INST]What is the average value for Fall 07 when Fall 05 is 271 and Fall 09 is less than 347? Context: CREATE TABLE table_name_83 (fall_07 INTEGER, fall_05 VARCHAR, fall_09 VARCHAR)[/INST]SELECT AVG(fall_07) FROM table_name_83 WHERE fall_05 = 271 AND fall_09 < 347</s> |
CREATE TABLE table_name_32 (album VARCHAR, year VARCHAR, country VARCHAR) | SELECT album FROM table_name_32 WHERE year > 2005 AND country = "australia" | Which Album had a bigger year than 2005 and whose country was Australia? | <s>[INST]Which Album had a bigger year than 2005 and whose country was Australia? Context: CREATE TABLE table_name_32 (album VARCHAR, year VARCHAR, country VARCHAR)[/INST]SELECT album FROM table_name_32 WHERE year > 2005 AND country = "australia"</s> |
CREATE TABLE table_name_13 (tonnage INTEGER, nationality VARCHAR, ship VARCHAR) | SELECT MAX(tonnage) FROM table_name_13 WHERE nationality = "great britain" AND ship = "newton ash" | What is the highest tonnage for a ship from Great Britain named Newton Ash? | <s>[INST]What is the highest tonnage for a ship from Great Britain named Newton Ash? Context: CREATE TABLE table_name_13 (tonnage INTEGER, nationality VARCHAR, ship VARCHAR)[/INST]SELECT MAX(tonnage) FROM table_name_13 WHERE nationality = "great britain" AND ship = "newton ash"</s> |
CREATE TABLE table_287159_1 (meaning VARCHAR, genitive VARCHAR) | SELECT meaning FROM table_287159_1 WHERE genitive = "Puppis /ˈpʌpɨs/" | What is the meaning of the constellation that has puppis /ˈpʌpɨs/ as genitive? | <s>[INST]What is the meaning of the constellation that has puppis /ˈpʌpɨs/ as genitive? Context: CREATE TABLE table_287159_1 (meaning VARCHAR, genitive VARCHAR)[/INST]SELECT meaning FROM table_287159_1 WHERE genitive = "Puppis /ˈpʌpɨs/"</s> |
CREATE TABLE table_27654988_1 (opponent VARCHAR, competition VARCHAR, scorers VARCHAR) | SELECT opponent FROM table_27654988_1 WHERE competition = "Women's Cup 0 0" AND scorers = "Brancão Couto 0" | Who was the opponent in the Women's Cup 0 0 where Brancão Couto 0 is the scorer? | <s>[INST]Who was the opponent in the Women's Cup 0 0 where Brancão Couto 0 is the scorer? Context: CREATE TABLE table_27654988_1 (opponent VARCHAR, competition VARCHAR, scorers VARCHAR)[/INST]SELECT opponent FROM table_27654988_1 WHERE competition = "Women's Cup 0 0" AND scorers = "Brancão Couto 0"</s> |
CREATE TABLE table_name_59 (round INTEGER, player VARCHAR) | SELECT AVG(round) FROM table_name_59 WHERE player = "pete laframboise" | What's the average Round of Pete Laframboise? | <s>[INST]What's the average Round of Pete Laframboise? Context: CREATE TABLE table_name_59 (round INTEGER, player VARCHAR)[/INST]SELECT AVG(round) FROM table_name_59 WHERE player = "pete laframboise"</s> |
CREATE TABLE table_name_41 (finish VARCHAR, win_percentage VARCHAR, wins VARCHAR) | SELECT finish FROM table_name_41 WHERE win_percentage > 0.598 AND wins < 53 | Which finish had a win percentage that was more than 0.598 and also had less than 53 wins? | <s>[INST]Which finish had a win percentage that was more than 0.598 and also had less than 53 wins? Context: CREATE TABLE table_name_41 (finish VARCHAR, win_percentage VARCHAR, wins VARCHAR)[/INST]SELECT finish FROM table_name_41 WHERE win_percentage > 0.598 AND wins < 53</s> |
CREATE TABLE table_1987995_5 (closed INTEGER, demod VARCHAR) | SELECT MIN(closed) FROM table_1987995_5 WHERE demod = 1994 | When was the park demolished in 1994 closed? | <s>[INST]When was the park demolished in 1994 closed? Context: CREATE TABLE table_1987995_5 (closed INTEGER, demod VARCHAR)[/INST]SELECT MIN(closed) FROM table_1987995_5 WHERE demod = 1994</s> |
CREATE TABLE table_1139835_3 (grand_finalist VARCHAR, scores VARCHAR) | SELECT grand_finalist FROM table_1139835_3 WHERE scores = "8.9 (57) – 7.12 (54)" | who is the grand finalist where scores is 8.9 (57) – 7.12 (54) | <s>[INST] who is the grand finalist where scores is 8.9 (57) – 7.12 (54) Context: CREATE TABLE table_1139835_3 (grand_finalist VARCHAR, scores VARCHAR)[/INST]SELECT grand_finalist FROM table_1139835_3 WHERE scores = "8.9 (57) – 7.12 (54)"</s> |
CREATE TABLE driver (home_city VARCHAR, age VARCHAR) | SELECT COUNT(*) FROM driver WHERE home_city = 'Hartford' OR age < 40 | How many drivers are from Hartford city or younger than 40? | <s>[INST]How many drivers are from Hartford city or younger than 40? Context: CREATE TABLE driver (home_city VARCHAR, age VARCHAR)[/INST]SELECT COUNT(*) FROM driver WHERE home_city = 'Hartford' OR age < 40</s> |
CREATE TABLE table_2668199_2 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_2668199_2 WHERE candidates = "John Banks (AM) 52.2% Samuel Power (J) 47.8%" | Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%? | <s>[INST]Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%? Context: CREATE TABLE table_2668199_2 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT incumbent FROM table_2668199_2 WHERE candidates = "John Banks (AM) 52.2% Samuel Power (J) 47.8%"</s> |
CREATE TABLE table_name_68 (attendance_average VARCHAR, reg_season VARCHAR) | SELECT attendance_average FROM table_name_68 WHERE reg_season = "2nd aisa, 24-16" | What is the average attendance of the team that had a regular season result of 2nd aisa, 24-16? | <s>[INST]What is the average attendance of the team that had a regular season result of 2nd aisa, 24-16? Context: CREATE TABLE table_name_68 (attendance_average VARCHAR, reg_season VARCHAR)[/INST]SELECT attendance_average FROM table_name_68 WHERE reg_season = "2nd aisa, 24-16"</s> |
CREATE TABLE table_17323092_8 (high_points VARCHAR, game VARCHAR) | SELECT high_points FROM table_17323092_8 WHERE game = 69 | Who earned high points in game 69? | <s>[INST]Who earned high points in game 69? Context: CREATE TABLE table_17323092_8 (high_points VARCHAR, game VARCHAR)[/INST]SELECT high_points FROM table_17323092_8 WHERE game = 69</s> |
CREATE TABLE table_29504351_2 (money_list_rank INTEGER, player VARCHAR) | SELECT MAX(money_list_rank) FROM table_29504351_2 WHERE player = "Doug Barron" | What is the money list rank for player Doug Barron? | <s>[INST]What is the money list rank for player Doug Barron? Context: CREATE TABLE table_29504351_2 (money_list_rank INTEGER, player VARCHAR)[/INST]SELECT MAX(money_list_rank) FROM table_29504351_2 WHERE player = "Doug Barron"</s> |
CREATE TABLE table_name_52 (team VARCHAR, shirt_sponsor VARCHAR) | SELECT team FROM table_name_52 WHERE shirt_sponsor = "carlsberg" | What team does Carlsberg sponsor? | <s>[INST]What team does Carlsberg sponsor? Context: CREATE TABLE table_name_52 (team VARCHAR, shirt_sponsor VARCHAR)[/INST]SELECT team FROM table_name_52 WHERE shirt_sponsor = "carlsberg"</s> |
CREATE TABLE table_name_37 (best_5_year_period VARCHAR, best_15_year_period VARCHAR) | SELECT best_5_year_period FROM table_name_37 WHERE best_15_year_period = "alekhine; lasker" | Which best 5-year period has a best 15-year period of alekhine; lasker? | <s>[INST]Which best 5-year period has a best 15-year period of alekhine; lasker? Context: CREATE TABLE table_name_37 (best_5_year_period VARCHAR, best_15_year_period VARCHAR)[/INST]SELECT best_5_year_period FROM table_name_37 WHERE best_15_year_period = "alekhine; lasker"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.