context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_40 (ties INTEGER, goals_for VARCHAR, wins VARCHAR) | SELECT SUM(ties) FROM table_name_40 WHERE goals_for = 25 AND wins > 5 | How many ties do teams with 25 Goals For and more than 5 wins have? | <s>[INST]How many ties do teams with 25 Goals For and more than 5 wins have? Context: CREATE TABLE table_name_40 (ties INTEGER, goals_for VARCHAR, wins VARCHAR)[/INST]SELECT SUM(ties) FROM table_name_40 WHERE goals_for = 25 AND wins > 5</s> |
CREATE TABLE table_name_96 (runner_up VARCHAR, semi_finalist__number1 VARCHAR) | SELECT runner_up FROM table_name_96 WHERE semi_finalist__number1 = "south florida" | Who was the runner-up at the South Florida Semi-Finalist #1? | <s>[INST]Who was the runner-up at the South Florida Semi-Finalist #1? Context: CREATE TABLE table_name_96 (runner_up VARCHAR, semi_finalist__number1 VARCHAR)[/INST]SELECT runner_up FROM table_name_96 WHERE semi_finalist__number1 = "south florida"</s> |
CREATE TABLE election (Committee VARCHAR, Party VARCHAR); CREATE TABLE party (Party_ID VARCHAR, Party VARCHAR) | SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = "Democratic" INTERSECT SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = "Liberal" | Which committees have delegates from both democratic party and liberal party? | <s>[INST]Which committees have delegates from both democratic party and liberal party? Context: CREATE TABLE election (Committee VARCHAR, Party VARCHAR); CREATE TABLE party (Party_ID VARCHAR, Party VARCHAR)[/INST]SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = "Democr... |
CREATE TABLE table_name_61 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_61 WHERE score = 67 - 70 = 137 | WHAT IS THE PLACE WITH A SCORE OF 67-70=137? | <s>[INST]WHAT IS THE PLACE WITH A SCORE OF 67-70=137? Context: CREATE TABLE table_name_61 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_61 WHERE score = 67 - 70 = 137</s> |
CREATE TABLE table_name_89 (role VARCHAR, teams VARCHAR) | SELECT role FROM table_name_89 WHERE teams = "troyes ac grenoble foot" | What role has the team of Troyes AC Grenoble Foot? | <s>[INST]What role has the team of Troyes AC Grenoble Foot? Context: CREATE TABLE table_name_89 (role VARCHAR, teams VARCHAR)[/INST]SELECT role FROM table_name_89 WHERE teams = "troyes ac grenoble foot"</s> |
CREATE TABLE table_11603006_1 (location VARCHAR, score VARCHAR) | SELECT COUNT(location) FROM table_11603006_1 WHERE score = "207 (-10)" | How many different locations have the score 207 (-10)? | <s>[INST]How many different locations have the score 207 (-10)? Context: CREATE TABLE table_11603006_1 (location VARCHAR, score VARCHAR)[/INST]SELECT COUNT(location) FROM table_11603006_1 WHERE score = "207 (-10)"</s> |
CREATE TABLE table_name_60 (call_sign VARCHAR, branding VARCHAR) | SELECT call_sign FROM table_name_60 WHERE branding = "jack fm" | What's the call sign for Jack FM? | <s>[INST]What's the call sign for Jack FM? Context: CREATE TABLE table_name_60 (call_sign VARCHAR, branding VARCHAR)[/INST]SELECT call_sign FROM table_name_60 WHERE branding = "jack fm"</s> |
CREATE TABLE table_name_80 (platform_s_ VARCHAR, genre VARCHAR) | SELECT platform_s_ FROM table_name_80 WHERE genre = "rpg" | What's the platform of the genre RPG? | <s>[INST]What's the platform of the genre RPG? Context: CREATE TABLE table_name_80 (platform_s_ VARCHAR, genre VARCHAR)[/INST]SELECT platform_s_ FROM table_name_80 WHERE genre = "rpg"</s> |
CREATE TABLE table_name_51 (played INTEGER, goals_against VARCHAR, wins VARCHAR) | SELECT SUM(played) FROM table_name_51 WHERE goals_against < 34 AND wins < 13 | How much Played has Goals against smaller than 34, and Wins smaller than 13? | <s>[INST]How much Played has Goals against smaller than 34, and Wins smaller than 13? Context: CREATE TABLE table_name_51 (played INTEGER, goals_against VARCHAR, wins VARCHAR)[/INST]SELECT SUM(played) FROM table_name_51 WHERE goals_against < 34 AND wins < 13</s> |
CREATE TABLE Engineer_Visits (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR); CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR) | SELECT first_name, last_name FROM Maintenance_Engineers WHERE NOT engineer_id IN (SELECT engineer_id FROM Engineer_Visits) | Which engineers have never visited to maintain the assets? List the engineer first name and last name. | <s>[INST]Which engineers have never visited to maintain the assets? List the engineer first name and last name. Context: CREATE TABLE Engineer_Visits (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR); CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR)[/INST]SELECT... |
CREATE TABLE table_name_23 (draws INTEGER, wins INTEGER) | SELECT SUM(draws) FROM table_name_23 WHERE wins > 14 | Which Draws have Wins larger than 14? | <s>[INST]Which Draws have Wins larger than 14? Context: CREATE TABLE table_name_23 (draws INTEGER, wins INTEGER)[/INST]SELECT SUM(draws) FROM table_name_23 WHERE wins > 14</s> |
CREATE TABLE table_name_9 (city VARCHAR, charter_date VARCHAR) | SELECT city FROM table_name_9 WHERE charter_date = "november 24, 1999" | What city has a charter date of november 24, 1999? | <s>[INST]What city has a charter date of november 24, 1999? Context: CREATE TABLE table_name_9 (city VARCHAR, charter_date VARCHAR)[/INST]SELECT city FROM table_name_9 WHERE charter_date = "november 24, 1999"</s> |
CREATE TABLE table_2167226_3 (date VARCHAR, winning_score VARCHAR) | SELECT date FROM table_2167226_3 WHERE winning_score = 74 - 67 - 71 - 73 = 285 | What is the date of the winning score 74-67-71-73=285? | <s>[INST]What is the date of the winning score 74-67-71-73=285? Context: CREATE TABLE table_2167226_3 (date VARCHAR, winning_score VARCHAR)[/INST]SELECT date FROM table_2167226_3 WHERE winning_score = 74 - 67 - 71 - 73 = 285</s> |
CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR) | SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305 | What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305? | <s>[INST]What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305? Context: CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR)[/INST]SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305</s> |
CREATE TABLE table_name_72 (fa_cup INTEGER, name VARCHAR, total VARCHAR) | SELECT AVG(fa_cup) FROM table_name_72 WHERE name = "whelan" AND total > 7 | What is the average number of goals scored in the FA Cup by Whelan where he had more than 7 total goals? | <s>[INST]What is the average number of goals scored in the FA Cup by Whelan where he had more than 7 total goals? Context: CREATE TABLE table_name_72 (fa_cup INTEGER, name VARCHAR, total VARCHAR)[/INST]SELECT AVG(fa_cup) FROM table_name_72 WHERE name = "whelan" AND total > 7</s> |
CREATE TABLE table_197638_6 (player VARCHAR, french_open VARCHAR) | SELECT player FROM table_197638_6 WHERE french_open = 1999 | Who won the French Open in 1999? | <s>[INST]Who won the French Open in 1999? Context: CREATE TABLE table_197638_6 (player VARCHAR, french_open VARCHAR)[/INST]SELECT player FROM table_197638_6 WHERE french_open = 1999</s> |
CREATE TABLE table_name_10 (week INTEGER, opponent VARCHAR) | SELECT MAX(week) FROM table_name_10 WHERE opponent = "minnesota vikings" | What is the Week of the game against Minnesota Vikings? | <s>[INST]What is the Week of the game against Minnesota Vikings? Context: CREATE TABLE table_name_10 (week INTEGER, opponent VARCHAR)[/INST]SELECT MAX(week) FROM table_name_10 WHERE opponent = "minnesota vikings"</s> |
CREATE TABLE table_name_26 (free_or_pay VARCHAR, years VARCHAR, provider VARCHAR) | SELECT free_or_pay FROM table_name_26 WHERE years = "2006–" AND provider = "bt tv (formerly bt vision)" | What kind of Free or pay has Years of 2006– and a Provider of bt tv (formerly bt vision)? | <s>[INST]What kind of Free or pay has Years of 2006– and a Provider of bt tv (formerly bt vision)? Context: CREATE TABLE table_name_26 (free_or_pay VARCHAR, years VARCHAR, provider VARCHAR)[/INST]SELECT free_or_pay FROM table_name_26 WHERE years = "2006–" AND provider = "bt tv (formerly bt vision)"</s> |
CREATE TABLE table_name_36 (pick INTEGER, pba_team VARCHAR, college VARCHAR) | SELECT SUM(pick) FROM table_name_36 WHERE pba_team = "san miguel beermen" AND college = "san sebastian" | What is the sum of the pick numbers for the player that went to San Miguel Beermen who played at San Sebastian? | <s>[INST]What is the sum of the pick numbers for the player that went to San Miguel Beermen who played at San Sebastian? Context: CREATE TABLE table_name_36 (pick INTEGER, pba_team VARCHAR, college VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_36 WHERE pba_team = "san miguel beermen" AND college = "san sebastian"</s> |
CREATE TABLE table_name_86 (precincts VARCHAR, county VARCHAR) | SELECT precincts FROM table_name_86 WHERE county = "passaic" | Which Precincts has a County of passaic? | <s>[INST]Which Precincts has a County of passaic? Context: CREATE TABLE table_name_86 (precincts VARCHAR, county VARCHAR)[/INST]SELECT precincts FROM table_name_86 WHERE county = "passaic"</s> |
CREATE TABLE table_name_87 (tries_against VARCHAR, club VARCHAR) | SELECT tries_against FROM table_name_87 WHERE club = "burry port rfc" | What tries against value does burry port rfc have? | <s>[INST]What tries against value does burry port rfc have? Context: CREATE TABLE table_name_87 (tries_against VARCHAR, club VARCHAR)[/INST]SELECT tries_against FROM table_name_87 WHERE club = "burry port rfc"</s> |
CREATE TABLE table_22050544_4 (prize VARCHAR, event__number VARCHAR) | SELECT prize AS Pool FROM table_22050544_4 WHERE event__number = "27H" | What was the prize pool for the event number 27H? | <s>[INST]What was the prize pool for the event number 27H? Context: CREATE TABLE table_22050544_4 (prize VARCHAR, event__number VARCHAR)[/INST]SELECT prize AS Pool FROM table_22050544_4 WHERE event__number = "27H"</s> |
CREATE TABLE table_29770377_1 (route_via VARCHAR, train_name VARCHAR) | SELECT COUNT(route_via) FROM table_29770377_1 WHERE train_name = "Ernad Express" | How many route/via's are there for the ernad express? | <s>[INST]How many route/via's are there for the ernad express? Context: CREATE TABLE table_29770377_1 (route_via VARCHAR, train_name VARCHAR)[/INST]SELECT COUNT(route_via) FROM table_29770377_1 WHERE train_name = "Ernad Express"</s> |
CREATE TABLE table_16384596_4 (written_by VARCHAR, broadcast_order VARCHAR) | SELECT written_by FROM table_16384596_4 WHERE broadcast_order = "S02 E07" | Who wrote the episode for s02 e07? | <s>[INST]Who wrote the episode for s02 e07? Context: CREATE TABLE table_16384596_4 (written_by VARCHAR, broadcast_order VARCHAR)[/INST]SELECT written_by FROM table_16384596_4 WHERE broadcast_order = "S02 E07"</s> |
CREATE TABLE table_name_83 (episode VARCHAR, viii_season VARCHAR) | SELECT episode FROM table_name_83 WHERE viii_season = "5 082 535 (19 october 2008)" | What is Episode, when VIII Season is 5 082 535 (19 October 2008)? | <s>[INST]What is Episode, when VIII Season is 5 082 535 (19 October 2008)? Context: CREATE TABLE table_name_83 (episode VARCHAR, viii_season VARCHAR)[/INST]SELECT episode FROM table_name_83 WHERE viii_season = "5 082 535 (19 october 2008)"</s> |
CREATE TABLE table_name_35 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR) | SELECT AVG(election) FROM table_name_35 WHERE municipality = "laives" AND inhabitants < 17 OFFSET 197 | Which Election has a Municipality of laives, and Inhabitants smaller than 17,197? | <s>[INST]Which Election has a Municipality of laives, and Inhabitants smaller than 17,197? Context: CREATE TABLE table_name_35 (election INTEGER, municipality VARCHAR, inhabitants VARCHAR)[/INST]SELECT AVG(election) FROM table_name_35 WHERE municipality = "laives" AND inhabitants < 17 OFFSET 197</s> |
CREATE TABLE table_2701851_2 (title VARCHAR, no_in_series VARCHAR) | SELECT title FROM table_2701851_2 WHERE no_in_series = "10a" | What is the name of episode # 10a? | <s>[INST]What is the name of episode # 10a? Context: CREATE TABLE table_2701851_2 (title VARCHAR, no_in_series VARCHAR)[/INST]SELECT title FROM table_2701851_2 WHERE no_in_series = "10a"</s> |
CREATE TABLE table_name_61 (partner VARCHAR, outcome VARCHAR, tournament VARCHAR) | SELECT partner FROM table_name_61 WHERE outcome = "runner-up" AND tournament = "mons, belgium" | Which partners were runner-up in the tournament in Mons, Belgium? | <s>[INST]Which partners were runner-up in the tournament in Mons, Belgium? Context: CREATE TABLE table_name_61 (partner VARCHAR, outcome VARCHAR, tournament VARCHAR)[/INST]SELECT partner FROM table_name_61 WHERE outcome = "runner-up" AND tournament = "mons, belgium"</s> |
CREATE TABLE table_name_7 (opponent VARCHAR, competition VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_7 WHERE competition = "vfl reserves" AND score = "18.6 (114) - 21.14 (140)" | At the VFL Reserves, who was the opponent when the score was 18.6 (114) - 21.14 (140)? | <s>[INST]At the VFL Reserves, who was the opponent when the score was 18.6 (114) - 21.14 (140)? Context: CREATE TABLE table_name_7 (opponent VARCHAR, competition VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_7 WHERE competition = "vfl reserves" AND score = "18.6 (114) - 21.14 (140)"</s> |
CREATE TABLE table_18217753_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT written_by FROM table_18217753_1 WHERE us_viewers__millions_ = "27.11" | Who were the writers when there were 27.11 million viewers? | <s>[INST]Who were the writers when there were 27.11 million viewers? Context: CREATE TABLE table_18217753_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT written_by FROM table_18217753_1 WHERE us_viewers__millions_ = "27.11"</s> |
CREATE TABLE table_name_36 (chassis VARCHAR, constructor VARCHAR) | SELECT chassis FROM table_name_36 WHERE constructor = "shadow" | What chassis does the shadow built car use? | <s>[INST]What chassis does the shadow built car use? Context: CREATE TABLE table_name_36 (chassis VARCHAR, constructor VARCHAR)[/INST]SELECT chassis FROM table_name_36 WHERE constructor = "shadow"</s> |
CREATE TABLE table_name_30 (lane VARCHAR, time VARCHAR) | SELECT lane FROM table_name_30 WHERE time = "8:34.25" | What is the Lane of the swimmer with a Time of 8:34.25? | <s>[INST]What is the Lane of the swimmer with a Time of 8:34.25? Context: CREATE TABLE table_name_30 (lane VARCHAR, time VARCHAR)[/INST]SELECT lane FROM table_name_30 WHERE time = "8:34.25"</s> |
CREATE TABLE table_name_27 (nationality VARCHAR, lane VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_27 WHERE lane < 3 AND time = 49.04 | for the time of 49.04 and lane less than 3, what is the nationality? | <s>[INST]for the time of 49.04 and lane less than 3, what is the nationality? Context: CREATE TABLE table_name_27 (nationality VARCHAR, lane VARCHAR, time VARCHAR)[/INST]SELECT nationality FROM table_name_27 WHERE lane < 3 AND time = 49.04</s> |
CREATE TABLE table_name_97 (winner VARCHAR, race_leader VARCHAR) | SELECT winner FROM table_name_97 WHERE race_leader = "rest day" | Name the winner for rest day race leader | <s>[INST]Name the winner for rest day race leader Context: CREATE TABLE table_name_97 (winner VARCHAR, race_leader VARCHAR)[/INST]SELECT winner FROM table_name_97 WHERE race_leader = "rest day"</s> |
CREATE TABLE table_name_34 (total VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT COUNT(total) FROM table_name_34 WHERE bronze = 2 AND gold > 3 | how many times is bronze 2 and gold more than 3? | <s>[INST]how many times is bronze 2 and gold more than 3? Context: CREATE TABLE table_name_34 (total VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_34 WHERE bronze = 2 AND gold > 3</s> |
CREATE TABLE table_name_81 (goals_for INTEGER, goal_difference VARCHAR, points VARCHAR, goals_against VARCHAR) | SELECT AVG(goals_for) FROM table_name_81 WHERE points > 9 AND goals_against < 14 AND goal_difference < 17 | What is the average number of goals with more than 9 points, less than 14 goals against, and a goal difference less than 17? | <s>[INST]What is the average number of goals with more than 9 points, less than 14 goals against, and a goal difference less than 17? Context: CREATE TABLE table_name_81 (goals_for INTEGER, goal_difference VARCHAR, points VARCHAR, goals_against VARCHAR)[/INST]SELECT AVG(goals_for) FROM table_name_81 WHERE points > 9 AN... |
CREATE TABLE table_18522916_5 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_vacancy FROM table_18522916_5 WHERE outgoing_manager = "Daniel Uberti" | Name the date of vacancy for daniel uberti | <s>[INST]Name the date of vacancy for daniel uberti Context: CREATE TABLE table_18522916_5 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_vacancy FROM table_18522916_5 WHERE outgoing_manager = "Daniel Uberti"</s> |
CREATE TABLE table_name_31 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_31 WHERE home = "marathon" | What is Score, when Home is "marathon"? | <s>[INST]What is Score, when Home is "marathon"? Context: CREATE TABLE table_name_31 (score VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_31 WHERE home = "marathon"</s> |
CREATE TABLE table_name_11 (year VARCHAR, rank VARCHAR, out_of VARCHAR) | SELECT year FROM table_name_11 WHERE rank > 35 AND out_of = 167 | Tell me the year for rank more than 35 and out of 167 | <s>[INST]Tell me the year for rank more than 35 and out of 167 Context: CREATE TABLE table_name_11 (year VARCHAR, rank VARCHAR, out_of VARCHAR)[/INST]SELECT year FROM table_name_11 WHERE rank > 35 AND out_of = 167</s> |
CREATE TABLE table_name_85 (pick__number VARCHAR, college VARCHAR) | SELECT COUNT(pick__number) FROM table_name_85 WHERE college = "texas" | What numbered pick was the player from texas? | <s>[INST]What numbered pick was the player from texas? Context: CREATE TABLE table_name_85 (pick__number VARCHAR, college VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_85 WHERE college = "texas"</s> |
CREATE TABLE table_name_4 (number INTEGER, location VARCHAR, time VARCHAR) | SELECT SUM(number) FROM table_name_4 WHERE location = "bois de warville" AND time < 810 | What number is in Bois de Warville with a time less than 810? | <s>[INST]What number is in Bois de Warville with a time less than 810? Context: CREATE TABLE table_name_4 (number INTEGER, location VARCHAR, time VARCHAR)[/INST]SELECT SUM(number) FROM table_name_4 WHERE location = "bois de warville" AND time < 810</s> |
CREATE TABLE table_17039232_3 (replaced_by VARCHAR, outgoing_manager VARCHAR) | SELECT replaced_by FROM table_17039232_3 WHERE outgoing_manager = "Kent Nielsen" | Name the replaced by when outgoing manager is kent nielsen | <s>[INST]Name the replaced by when outgoing manager is kent nielsen Context: CREATE TABLE table_17039232_3 (replaced_by VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT replaced_by FROM table_17039232_3 WHERE outgoing_manager = "Kent Nielsen"</s> |
CREATE TABLE table_12584173_1 (population__glengallan_ VARCHAR, population__region_total_ VARCHAR) | SELECT COUNT(population__glengallan_) FROM table_12584173_1 WHERE population__region_total_ = 30554 | How many population figures are given for Glengallen for the year when the region's total is 30554? | <s>[INST]How many population figures are given for Glengallen for the year when the region's total is 30554? Context: CREATE TABLE table_12584173_1 (population__glengallan_ VARCHAR, population__region_total_ VARCHAR)[/INST]SELECT COUNT(population__glengallan_) FROM table_12584173_1 WHERE population__region_total_ = 305... |
CREATE TABLE table_name_72 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_72 WHERE team_2 = "milano" | What is the 2nd leg for the team 2 Milano? | <s>[INST]What is the 2nd leg for the team 2 Milano? Context: CREATE TABLE table_name_72 (team_2 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_72 WHERE team_2 = "milano"</s> |
CREATE TABLE table_226619_12 (pos INTEGER, club VARCHAR) | SELECT MAX(pos) FROM table_226619_12 WHERE club = "West Bromwich Albion" | Name the most pos for west bromwich albion club | <s>[INST]Name the most pos for west bromwich albion club Context: CREATE TABLE table_226619_12 (pos INTEGER, club VARCHAR)[/INST]SELECT MAX(pos) FROM table_226619_12 WHERE club = "West Bromwich Albion"</s> |
CREATE TABLE table_name_53 (release_price___usd__ VARCHAR, model_number VARCHAR) | SELECT release_price___usd__ FROM table_name_53 WHERE model_number = "atom z510pt" | What was the release price of the Atom Z510PT processor? | <s>[INST]What was the release price of the Atom Z510PT processor? Context: CREATE TABLE table_name_53 (release_price___usd__ VARCHAR, model_number VARCHAR)[/INST]SELECT release_price___usd__ FROM table_name_53 WHERE model_number = "atom z510pt"</s> |
CREATE TABLE table_name_38 (participants INTEGER, silver INTEGER) | SELECT SUM(participants) FROM table_name_38 WHERE silver < 0 | What is the total number of Participants that has Silver that's smaller than 0? | <s>[INST]What is the total number of Participants that has Silver that's smaller than 0? Context: CREATE TABLE table_name_38 (participants INTEGER, silver INTEGER)[/INST]SELECT SUM(participants) FROM table_name_38 WHERE silver < 0</s> |
CREATE TABLE table_name_5 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_5 WHERE score = "379" | What's the date the score was 379? | <s>[INST]What's the date the score was 379? Context: CREATE TABLE table_name_5 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_5 WHERE score = "379"</s> |
CREATE TABLE table_name_74 (home VARCHAR, leading_scorer VARCHAR) | SELECT home FROM table_name_74 WHERE leading_scorer = "manu ginóbili (34)" | Who was the home team of the game with manu ginóbili (34) as the leading scorer? | <s>[INST]Who was the home team of the game with manu ginóbili (34) as the leading scorer? Context: CREATE TABLE table_name_74 (home VARCHAR, leading_scorer VARCHAR)[/INST]SELECT home FROM table_name_74 WHERE leading_scorer = "manu ginóbili (34)"</s> |
CREATE TABLE table_name_15 (junior_high_school__12_15_yrs_ VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR) | SELECT junior_high_school__12_15_yrs_ FROM table_name_15 WHERE university_students_and_adults__18yrs + _ = "26mm" | Which junior high school has university students and adults of 26mm? | <s>[INST]Which junior high school has university students and adults of 26mm? Context: CREATE TABLE table_name_15 (junior_high_school__12_15_yrs_ VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR)[/INST]SELECT junior_high_school__12_15_yrs_ FROM table_name_15 WHERE university_students_and_adults__18yrs ... |
CREATE TABLE singer (Name VARCHAR, Net_Worth_Millions VARCHAR) | SELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1 | What is the name of the singer with the largest net worth? | <s>[INST]What is the name of the singer with the largest net worth? Context: CREATE TABLE singer (Name VARCHAR, Net_Worth_Millions VARCHAR)[/INST]SELECT Name FROM singer ORDER BY Net_Worth_Millions DESC LIMIT 1</s> |
CREATE TABLE table_name_62 (city VARCHAR, name VARCHAR) | SELECT city FROM table_name_62 WHERE name = "alianza" | Which city is Alianza? | <s>[INST]Which city is Alianza? Context: CREATE TABLE table_name_62 (city VARCHAR, name VARCHAR)[/INST]SELECT city FROM table_name_62 WHERE name = "alianza"</s> |
CREATE TABLE table_name_8 (sites INTEGER, screens VARCHAR, rank VARCHAR) | SELECT AVG(sites) FROM table_name_8 WHERE screens = 687 AND rank > 7 | what is the number of sites when the number of screens is 687 and rank is more than 7? | <s>[INST]what is the number of sites when the number of screens is 687 and rank is more than 7? Context: CREATE TABLE table_name_8 (sites INTEGER, screens VARCHAR, rank VARCHAR)[/INST]SELECT AVG(sites) FROM table_name_8 WHERE screens = 687 AND rank > 7</s> |
CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, scorers VARCHAR) | SELECT SUM(attendance) FROM table_name_99 WHERE venue = "a" AND scorers = "di matteo, m. hughes" | What is the number of people in attendance when venue shows A, and Di Matteo, M. Hughes were the scorers? | <s>[INST]What is the number of people in attendance when venue shows A, and Di Matteo, M. Hughes were the scorers? Context: CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, scorers VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_99 WHERE venue = "a" AND scorers = "di matteo, m. hughes"</s> |
CREATE TABLE table_name_7 (entrant VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_7 WHERE chassis = "march 742" AND year > 1974 | Can you tell me the Entrant that has the Chassis of march 742, and the Year larger than 1974? | <s>[INST]Can you tell me the Entrant that has the Chassis of march 742, and the Year larger than 1974? Context: CREATE TABLE table_name_7 (entrant VARCHAR, chassis VARCHAR, year VARCHAR)[/INST]SELECT entrant FROM table_name_7 WHERE chassis = "march 742" AND year > 1974</s> |
CREATE TABLE table_name_3 (home_team VARCHAR, date VARCHAR) | SELECT home_team FROM table_name_3 WHERE date = "june 12" | Which Home Team is on june 12? | <s>[INST]Which Home Team is on june 12? Context: CREATE TABLE table_name_3 (home_team VARCHAR, date VARCHAR)[/INST]SELECT home_team FROM table_name_3 WHERE date = "june 12"</s> |
CREATE TABLE table_25318033_1 (team VARCHAR, points VARCHAR) | SELECT team FROM table_25318033_1 WHERE points = "137" | What team has 137 points? | <s>[INST]What team has 137 points? Context: CREATE TABLE table_25318033_1 (team VARCHAR, points VARCHAR)[/INST]SELECT team FROM table_25318033_1 WHERE points = "137"</s> |
CREATE TABLE table_name_43 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_43 WHERE player = "robert deciantis" | Which round was Robert Deciantis taken in? | <s>[INST]Which round was Robert Deciantis taken in? Context: CREATE TABLE table_name_43 (round VARCHAR, player VARCHAR)[/INST]SELECT round FROM table_name_43 WHERE player = "robert deciantis"</s> |
CREATE TABLE table_1590967_7 (musical_guest__song_performed_ VARCHAR, guest_host VARCHAR) | SELECT musical_guest__song_performed_ FROM table_1590967_7 WHERE guest_host = "Barbara Windsor" | What song was performed when Barbara Windsor was the guest host? | <s>[INST]What song was performed when Barbara Windsor was the guest host? Context: CREATE TABLE table_1590967_7 (musical_guest__song_performed_ VARCHAR, guest_host VARCHAR)[/INST]SELECT musical_guest__song_performed_ FROM table_1590967_7 WHERE guest_host = "Barbara Windsor"</s> |
CREATE TABLE table_18305523_2 (writer_s VARCHAR, cover_date VARCHAR) | SELECT writer_s FROM table_18305523_2 WHERE cover_date = "19 October 1985" | Who wrote the story that is cover date 19 October 1985? | <s>[INST]Who wrote the story that is cover date 19 October 1985? Context: CREATE TABLE table_18305523_2 (writer_s VARCHAR, cover_date VARCHAR)[/INST]SELECT writer_s FROM table_18305523_2 WHERE cover_date = "19 October 1985"</s> |
CREATE TABLE table_name_3 (week INTEGER, date VARCHAR) | SELECT SUM(week) FROM table_name_3 WHERE date = "october 18, 1992" | What was the Week on October 18, 1992? | <s>[INST]What was the Week on October 18, 1992? Context: CREATE TABLE table_name_3 (week INTEGER, date VARCHAR)[/INST]SELECT SUM(week) FROM table_name_3 WHERE date = "october 18, 1992"</s> |
CREATE TABLE table_13619053_8 (high_points VARCHAR, game VARCHAR) | SELECT COUNT(high_points) FROM table_13619053_8 WHERE game = 66 | How many players led Game #66 in scoring? | <s>[INST]How many players led Game #66 in scoring? Context: CREATE TABLE table_13619053_8 (high_points VARCHAR, game VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_13619053_8 WHERE game = 66</s> |
CREATE TABLE table_name_30 (country VARCHAR, director VARCHAR) | SELECT country FROM table_name_30 WHERE director = "roland verhavert" | Which country is the director Roland Verhavert from? | <s>[INST]Which country is the director Roland Verhavert from? Context: CREATE TABLE table_name_30 (country VARCHAR, director VARCHAR)[/INST]SELECT country FROM table_name_30 WHERE director = "roland verhavert"</s> |
CREATE TABLE table_name_81 (year_s_ INTEGER, season VARCHAR) | SELECT MIN(year_s_) FROM table_name_81 WHERE season = 4 | When was the earliest with 4 seasons? | <s>[INST]When was the earliest with 4 seasons? Context: CREATE TABLE table_name_81 (year_s_ INTEGER, season VARCHAR)[/INST]SELECT MIN(year_s_) FROM table_name_81 WHERE season = 4</s> |
CREATE TABLE table_1601027_2 (succeeded_by VARCHAR, earpads VARCHAR) | SELECT succeeded_by FROM table_1601027_2 WHERE earpads = "Foam" | Name what succeeded by for foam | <s>[INST]Name what succeeded by for foam Context: CREATE TABLE table_1601027_2 (succeeded_by VARCHAR, earpads VARCHAR)[/INST]SELECT succeeded_by FROM table_1601027_2 WHERE earpads = "Foam"</s> |
CREATE TABLE table_name_16 (birth VARCHAR, marriage VARCHAR) | SELECT birth FROM table_name_16 WHERE marriage = "1 may 1844" | What is the birth date of the duchess who married on 1 May 1844? | <s>[INST]What is the birth date of the duchess who married on 1 May 1844? Context: CREATE TABLE table_name_16 (birth VARCHAR, marriage VARCHAR)[/INST]SELECT birth FROM table_name_16 WHERE marriage = "1 may 1844"</s> |
CREATE TABLE table_name_81 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_81 WHERE attendance = "26,236" | For the game with 26,236 attendance, what was the record? | <s>[INST]For the game with 26,236 attendance, what was the record? Context: CREATE TABLE table_name_81 (record VARCHAR, attendance VARCHAR)[/INST]SELECT record FROM table_name_81 WHERE attendance = "26,236"</s> |
CREATE TABLE table_name_86 (result VARCHAR, game VARCHAR) | SELECT result FROM table_name_86 WHERE game = "game 1" | Which Result has a Game of game 1? | <s>[INST]Which Result has a Game of game 1? Context: CREATE TABLE table_name_86 (result VARCHAR, game VARCHAR)[/INST]SELECT result FROM table_name_86 WHERE game = "game 1"</s> |
CREATE TABLE table_name_75 (area_km_2 INTEGER, official_name VARCHAR) | SELECT SUM(area_km_2) FROM table_name_75 WHERE official_name = "glenelg" | Can you tell me the sum of Area km 2 that has the Official Name of glenelg? | <s>[INST]Can you tell me the sum of Area km 2 that has the Official Name of glenelg? Context: CREATE TABLE table_name_75 (area_km_2 INTEGER, official_name VARCHAR)[/INST]SELECT SUM(area_km_2) FROM table_name_75 WHERE official_name = "glenelg"</s> |
CREATE TABLE table_11235334_2 (episode VARCHAR, air_date VARCHAR) | SELECT COUNT(episode) FROM table_11235334_2 WHERE air_date = "October 27, 2008" | How many episodes aired on october 27, 2008 | <s>[INST]How many episodes aired on october 27, 2008 Context: CREATE TABLE table_11235334_2 (episode VARCHAR, air_date VARCHAR)[/INST]SELECT COUNT(episode) FROM table_11235334_2 WHERE air_date = "October 27, 2008"</s> |
CREATE TABLE table_name_51 (general_classification VARCHAR, winner VARCHAR, stage VARCHAR) | SELECT general_classification FROM table_name_51 WHERE winner = "guido bontempi" AND stage = "6" | What is guido bontempi's general classification when he has a stage of 6? | <s>[INST]What is guido bontempi's general classification when he has a stage of 6? Context: CREATE TABLE table_name_51 (general_classification VARCHAR, winner VARCHAR, stage VARCHAR)[/INST]SELECT general_classification FROM table_name_51 WHERE winner = "guido bontempi" AND stage = "6"</s> |
CREATE TABLE table_name_39 (position INTEGER, draws INTEGER) | SELECT SUM(position) FROM table_name_39 WHERE draws < 0 | What is the sum of the position with less than 0 draws? | <s>[INST]What is the sum of the position with less than 0 draws? Context: CREATE TABLE table_name_39 (position INTEGER, draws INTEGER)[/INST]SELECT SUM(position) FROM table_name_39 WHERE draws < 0</s> |
CREATE TABLE table_24887326_7 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_24887326_7 WHERE away_team = "Fulham" | Who was the home team when the away team was fulham? | <s>[INST]Who was the home team when the away team was fulham? Context: CREATE TABLE table_24887326_7 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_24887326_7 WHERE away_team = "Fulham"</s> |
CREATE TABLE table_16993379_1 (rating VARCHAR, rank__overall_ VARCHAR) | SELECT rating FROM table_16993379_1 WHERE rank__overall_ = "190" | What was the rating of the episode with an overall ranking of 190? | <s>[INST]What was the rating of the episode with an overall ranking of 190? Context: CREATE TABLE table_16993379_1 (rating VARCHAR, rank__overall_ VARCHAR)[/INST]SELECT rating FROM table_16993379_1 WHERE rank__overall_ = "190"</s> |
CREATE TABLE table_name_60 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_60 WHERE home_team = "newport county" | If the Home Team is Newport County what is the Score? | <s>[INST]If the Home Team is Newport County what is the Score? Context: CREATE TABLE table_name_60 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_60 WHERE home_team = "newport county"</s> |
CREATE TABLE table_name_51 (wins INTEGER, club VARCHAR, goals_against VARCHAR) | SELECT MAX(wins) FROM table_name_51 WHERE club = "elche cf" AND goals_against > 43 | Name the most wins which have clubbed of elche cf and goals against more than 43 | <s>[INST]Name the most wins which have clubbed of elche cf and goals against more than 43 Context: CREATE TABLE table_name_51 (wins INTEGER, club VARCHAR, goals_against VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_51 WHERE club = "elche cf" AND goals_against > 43</s> |
CREATE TABLE table_name_99 (state VARCHAR, council_votes INTEGER) | SELECT state FROM table_name_99 WHERE council_votes < 4 | Which country has less than 4 votes? | <s>[INST]Which country has less than 4 votes? Context: CREATE TABLE table_name_99 (state VARCHAR, council_votes INTEGER)[/INST]SELECT state FROM table_name_99 WHERE council_votes < 4</s> |
CREATE TABLE railway (Wheels VARCHAR, LOCATION VARCHAR) | SELECT Wheels, LOCATION FROM railway | List the wheels and locations of the railways. | <s>[INST]List the wheels and locations of the railways. Context: CREATE TABLE railway (Wheels VARCHAR, LOCATION VARCHAR)[/INST]SELECT Wheels, LOCATION FROM railway</s> |
CREATE TABLE table_name_7 (call_sign VARCHAR, owner VARCHAR) | SELECT call_sign FROM table_name_7 WHERE owner = "astral media" | What is the call sign for the radio owned by astral media? | <s>[INST]What is the call sign for the radio owned by astral media? Context: CREATE TABLE table_name_7 (call_sign VARCHAR, owner VARCHAR)[/INST]SELECT call_sign FROM table_name_7 WHERE owner = "astral media"</s> |
CREATE TABLE table_name_60 (total VARCHAR, set_2 VARCHAR) | SELECT total FROM table_name_60 WHERE set_2 = "19–25" | Which Total has a Set 2 of 19–25? | <s>[INST]Which Total has a Set 2 of 19–25? Context: CREATE TABLE table_name_60 (total VARCHAR, set_2 VARCHAR)[/INST]SELECT total FROM table_name_60 WHERE set_2 = "19–25"</s> |
CREATE TABLE table_name_98 (date VARCHAR, home_team VARCHAR, game VARCHAR) | SELECT date FROM table_name_98 WHERE home_team = "portland" AND game = "game 5" | On what date did Portland play game 5 at home? | <s>[INST]On what date did Portland play game 5 at home? Context: CREATE TABLE table_name_98 (date VARCHAR, home_team VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_98 WHERE home_team = "portland" AND game = "game 5"</s> |
CREATE TABLE table_name_23 (notes VARCHAR, venue VARCHAR) | SELECT notes FROM table_name_23 WHERE venue = "venice, italy" | What is the Notes with a Venue that is venice, italy? | <s>[INST]What is the Notes with a Venue that is venice, italy? Context: CREATE TABLE table_name_23 (notes VARCHAR, venue VARCHAR)[/INST]SELECT notes FROM table_name_23 WHERE venue = "venice, italy"</s> |
CREATE TABLE table_name_96 (record VARCHAR, home VARCHAR, date VARCHAR) | SELECT record FROM table_name_96 WHERE home = "columbus" AND date = "march 7" | What is the record of the match with Columbus as the home team on March 7? | <s>[INST]What is the record of the match with Columbus as the home team on March 7? Context: CREATE TABLE table_name_96 (record VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_96 WHERE home = "columbus" AND date = "march 7"</s> |
CREATE TABLE table_name_30 (game INTEGER, record VARCHAR) | SELECT AVG(game) FROM table_name_30 WHERE record = "16-63" | what was the average game when record was 16-63? | <s>[INST]what was the average game when record was 16-63? Context: CREATE TABLE table_name_30 (game INTEGER, record VARCHAR)[/INST]SELECT AVG(game) FROM table_name_30 WHERE record = "16-63"</s> |
CREATE TABLE table_2522473_1 (team VARCHAR, seasons VARCHAR) | SELECT COUNT(team) FROM table_2522473_1 WHERE seasons = 8 | How many teams have been in Topperserien for 8 seasons? | <s>[INST]How many teams have been in Topperserien for 8 seasons? Context: CREATE TABLE table_2522473_1 (team VARCHAR, seasons VARCHAR)[/INST]SELECT COUNT(team) FROM table_2522473_1 WHERE seasons = 8</s> |
CREATE TABLE table_name_45 (total INTEGER, player VARCHAR, tally VARCHAR) | SELECT SUM(total) FROM table_name_45 WHERE player = "david o'callaghan" AND tally = "1-9" | What was the total for David O'Callaghan, and a Tally of 1-9? | <s>[INST]What was the total for David O'Callaghan, and a Tally of 1-9? Context: CREATE TABLE table_name_45 (total INTEGER, player VARCHAR, tally VARCHAR)[/INST]SELECT SUM(total) FROM table_name_45 WHERE player = "david o'callaghan" AND tally = "1-9"</s> |
CREATE TABLE table_name_47 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_47 WHERE laps = 47 AND driver = "rené arnoux" | Tell me the time/retired with Laps of 47 and driver of rené arnoux | <s>[INST]Tell me the time/retired with Laps of 47 and driver of rené arnoux Context: CREATE TABLE table_name_47 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_47 WHERE laps = 47 AND driver = "rené arnoux"</s> |
CREATE TABLE table_1140103_6 (date VARCHAR, circuit VARCHAR) | SELECT COUNT(date) FROM table_1140103_6 WHERE circuit = "Silverstone" | How many dates have silverstone circuit | <s>[INST]How many dates have silverstone circuit Context: CREATE TABLE table_1140103_6 (date VARCHAR, circuit VARCHAR)[/INST]SELECT COUNT(date) FROM table_1140103_6 WHERE circuit = "Silverstone"</s> |
CREATE TABLE table_name_54 (city_of_license VARCHAR, call_sign VARCHAR) | SELECT city_of_license FROM table_name_54 WHERE call_sign = "k248am" | What city does call sign K248am have its license in? | <s>[INST]What city does call sign K248am have its license in? Context: CREATE TABLE table_name_54 (city_of_license VARCHAR, call_sign VARCHAR)[/INST]SELECT city_of_license FROM table_name_54 WHERE call_sign = "k248am"</s> |
CREATE TABLE table_name_85 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_85 WHERE opponent = "minnesota vikings" | Which Result has an Opponent of minnesota vikings? | <s>[INST]Which Result has an Opponent of minnesota vikings? Context: CREATE TABLE table_name_85 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_85 WHERE opponent = "minnesota vikings"</s> |
CREATE TABLE table_name_32 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_32 WHERE college = "rutgers" | Rutgers college holds what position? | <s>[INST]Rutgers college holds what position? Context: CREATE TABLE table_name_32 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_name_32 WHERE college = "rutgers"</s> |
CREATE TABLE table_name_42 (Last VARCHAR, last_win VARCHAR, runners_up VARCHAR) | SELECT COUNT(Last) AS runners_up FROM table_name_42 WHERE last_win = "1999" AND runners_up > 1 | What number last Runners-up where there when the Last win was 1999 and the Runners-up was bigger than 1? | <s>[INST]What number last Runners-up where there when the Last win was 1999 and the Runners-up was bigger than 1? Context: CREATE TABLE table_name_42 (Last VARCHAR, last_win VARCHAR, runners_up VARCHAR)[/INST]SELECT COUNT(Last) AS runners_up FROM table_name_42 WHERE last_win = "1999" AND runners_up > 1</s> |
CREATE TABLE table_name_60 (points INTEGER, played VARCHAR, drawn VARCHAR, lost VARCHAR) | SELECT AVG(points) FROM table_name_60 WHERE drawn = 0 AND lost = 5 AND played > 10 | what is the average points when drawn is 0, lost is 5 and played is more than 10? | <s>[INST]what is the average points when drawn is 0, lost is 5 and played is more than 10? Context: CREATE TABLE table_name_60 (points INTEGER, played VARCHAR, drawn VARCHAR, lost VARCHAR)[/INST]SELECT AVG(points) FROM table_name_60 WHERE drawn = 0 AND lost = 5 AND played > 10</s> |
CREATE TABLE table_184334_2 (population__2010_census_ VARCHAR, s_barangay VARCHAR) | SELECT COUNT(population__2010_census_) FROM table_184334_2 WHERE s_barangay = 51 | What is the population (2010 census) if s barangay is 51? | <s>[INST]What is the population (2010 census) if s barangay is 51? Context: CREATE TABLE table_184334_2 (population__2010_census_ VARCHAR, s_barangay VARCHAR)[/INST]SELECT COUNT(population__2010_census_) FROM table_184334_2 WHERE s_barangay = 51</s> |
CREATE TABLE table_name_88 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_88 WHERE runner_s__up = "robin walton" | What is the winning scor of the tournament with Robin Walton as the runner-up? | <s>[INST]What is the winning scor of the tournament with Robin Walton as the runner-up? Context: CREATE TABLE table_name_88 (winning_score VARCHAR, runner_s__up VARCHAR)[/INST]SELECT winning_score FROM table_name_88 WHERE runner_s__up = "robin walton"</s> |
CREATE TABLE table_name_95 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_95 WHERE home = "anaheim" | What was the record while at home in Anaheim? | <s>[INST]What was the record while at home in Anaheim? Context: CREATE TABLE table_name_95 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_95 WHERE home = "anaheim"</s> |
CREATE TABLE table_name_58 (game INTEGER, record VARCHAR, october VARCHAR) | SELECT SUM(game) FROM table_name_58 WHERE record = "2-1-1" AND october < 21 | What is the sum of Game, when Record is "2-1-1", and when October is less than 21? | <s>[INST]What is the sum of Game, when Record is "2-1-1", and when October is less than 21? Context: CREATE TABLE table_name_58 (game INTEGER, record VARCHAR, october VARCHAR)[/INST]SELECT SUM(game) FROM table_name_58 WHERE record = "2-1-1" AND october < 21</s> |
CREATE TABLE table_name_83 (three VARCHAR, date VARCHAR) | SELECT three FROM table_name_83 WHERE date = "16 december 1676" | Name the three for 16 december 1676 | <s>[INST]Name the three for 16 december 1676 Context: CREATE TABLE table_name_83 (three VARCHAR, date VARCHAR)[/INST]SELECT three FROM table_name_83 WHERE date = "16 december 1676"</s> |
CREATE TABLE table_19698421_1 (total_votes INTEGER, year VARCHAR) | SELECT MIN(total_votes) FROM table_19698421_1 WHERE year = "2005" | What was the total number of votes in the 2005 elections? | <s>[INST]What was the total number of votes in the 2005 elections? Context: CREATE TABLE table_19698421_1 (total_votes INTEGER, year VARCHAR)[/INST]SELECT MIN(total_votes) FROM table_19698421_1 WHERE year = "2005"</s> |
CREATE TABLE table_name_96 (pick__number VARCHAR, name VARCHAR, round VARCHAR) | SELECT COUNT(pick__number) FROM table_name_96 WHERE name = "tory epps" AND round > 8 | How many Pick #s have a Name of tory epps, and a Round larger than 8? | <s>[INST]How many Pick #s have a Name of tory epps, and a Round larger than 8? Context: CREATE TABLE table_name_96 (pick__number VARCHAR, name VARCHAR, round VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_96 WHERE name = "tory epps" AND round > 8</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.