context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_26352332_4 (years_produced VARCHAR, engine_family VARCHAR) | SELECT years_produced FROM table_26352332_4 WHERE engine_family = "MaxxForce 11" | For the engine family MaxxForce 11, what is the years produced? | <s>[INST]For the engine family MaxxForce 11, what is the years produced? Context: CREATE TABLE table_26352332_4 (years_produced VARCHAR, engine_family VARCHAR)[/INST]SELECT years_produced FROM table_26352332_4 WHERE engine_family = "MaxxForce 11"</s> |
CREATE TABLE table_name_86 (interview INTEGER, state VARCHAR, average VARCHAR) | SELECT MIN(interview) FROM table_name_86 WHERE state = "texas" AND average > 9.531 | What is the lowest interview of Texas, with an average larger than 9.531? | <s>[INST]What is the lowest interview of Texas, with an average larger than 9.531? Context: CREATE TABLE table_name_86 (interview INTEGER, state VARCHAR, average VARCHAR)[/INST]SELECT MIN(interview) FROM table_name_86 WHERE state = "texas" AND average > 9.531</s> |
CREATE TABLE table_name_11 (year_s__won VARCHAR, total VARCHAR) | SELECT year_s__won FROM table_name_11 WHERE total = 286 | What years won have a total of 286? | <s>[INST]What years won have a total of 286? Context: CREATE TABLE table_name_11 (year_s__won VARCHAR, total VARCHAR)[/INST]SELECT year_s__won FROM table_name_11 WHERE total = 286</s> |
CREATE TABLE table_name_18 (points INTEGER, rider VARCHAR, manufacturer VARCHAR, wins VARCHAR, rank VARCHAR) | SELECT MAX(points) FROM table_name_18 WHERE wins = 0 AND rank > 6 AND manufacturer = "kawasaki" AND rider = "massimo broccoli" | Wins of 0, and a Rank larger than 6, and a Manufacturer of kawasaki, and a Rider of massimo broccoli involved what highest points? | <s>[INST]Wins of 0, and a Rank larger than 6, and a Manufacturer of kawasaki, and a Rider of massimo broccoli involved what highest points? Context: CREATE TABLE table_name_18 (points INTEGER, rider VARCHAR, manufacturer VARCHAR, wins VARCHAR, rank VARCHAR)[/INST]SELECT MAX(points) FROM table_name_18 WHERE wins = 0 AND... |
CREATE TABLE table_name_11 (gross_debt_in_ VARCHAR, debt_held_by_public__$billions_ VARCHAR, as__percentage_of_gdp_low_high VARCHAR) | SELECT COUNT(gross_debt_in_) AS $billions_undeflated_treas FROM table_name_11 WHERE debt_held_by_public__$billions_ > 236.8 AND as__percentage_of_gdp_low_high = "33.4" | For End of Fiscal Year(s) with a Debt Held By Public ($Billions) larger than 236.8, and as % of GDP Low-High of 33.4 what is the sum of the number of Gross Debt in $Billions undeflated Treas.? | <s>[INST]For End of Fiscal Year(s) with a Debt Held By Public ($Billions) larger than 236.8, and as % of GDP Low-High of 33.4 what is the sum of the number of Gross Debt in $Billions undeflated Treas.? Context: CREATE TABLE table_name_11 (gross_debt_in_ VARCHAR, debt_held_by_public__$billions_ VARCHAR, as__percentage_o... |
CREATE TABLE table_name_44 (pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR) | SELECT AVG(pick__number) FROM table_name_44 WHERE position = "tight end" AND college = "oklahoma state" AND round > 1 | A Round larger than 1, a College of Oklahoma state, and a average Pick # that has a Position of tight end is what? | <s>[INST]A Round larger than 1, a College of Oklahoma state, and a average Pick # that has a Position of tight end is what? Context: CREATE TABLE table_name_44 (pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR)[/INST]SELECT AVG(pick__number) FROM table_name_44 WHERE position = "tight end" AND coll... |
CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_40 WHERE score = "7–5, 6–7, 4–6" | What was the Surface in the match with a Score of 7–5, 6–7, 4–6? | <s>[INST]What was the Surface in the match with a Score of 7–5, 6–7, 4–6? Context: CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR)[/INST]SELECT surface FROM table_name_40 WHERE score = "7–5, 6–7, 4–6"</s> |
CREATE TABLE table_name_96 (award VARCHAR, category VARCHAR) | SELECT award FROM table_name_96 WHERE category = "excellence in tamil" | What was the award for the excellence in tamil category? | <s>[INST]What was the award for the excellence in tamil category? Context: CREATE TABLE table_name_96 (award VARCHAR, category VARCHAR)[/INST]SELECT award FROM table_name_96 WHERE category = "excellence in tamil"</s> |
CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR) | SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16 | Which cornerback has the lowest overall and a pick number smaller than 16? | <s>[INST]Which cornerback has the lowest overall and a pick number smaller than 16? Context: CREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_30 WHERE position = "cornerback" AND pick__number < 16</s> |
CREATE TABLE table_name_47 (total_casualties VARCHAR, total_deaths VARCHAR, military_deaths VARCHAR) | SELECT total_casualties FROM table_name_47 WHERE total_deaths = 12 AND military_deaths > 1 | What is the total number of casualties when there are 12 total deaths and more than 1 military death? | <s>[INST]What is the total number of casualties when there are 12 total deaths and more than 1 military death? Context: CREATE TABLE table_name_47 (total_casualties VARCHAR, total_deaths VARCHAR, military_deaths VARCHAR)[/INST]SELECT total_casualties FROM table_name_47 WHERE total_deaths = 12 AND military_deaths > 1</s... |
CREATE TABLE table_name_40 (nation VARCHAR, a_score VARCHAR, total VARCHAR) | SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833 | When the A Score was larger than 5.933 with a total of 19.833, what nation was this? | <s>[INST]When the A Score was larger than 5.933 with a total of 19.833, what nation was this? Context: CREATE TABLE table_name_40 (nation VARCHAR, a_score VARCHAR, total VARCHAR)[/INST]SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833</s> |
CREATE TABLE table_name_88 (driver VARCHAR, team VARCHAR) | SELECT driver FROM table_name_88 WHERE team = "romano racing" | What is Driver, when Team is "Romano Racing"? | <s>[INST]What is Driver, when Team is "Romano Racing"? Context: CREATE TABLE table_name_88 (driver VARCHAR, team VARCHAR)[/INST]SELECT driver FROM table_name_88 WHERE team = "romano racing"</s> |
CREATE TABLE Owners (first_name VARCHAR, last_name VARCHAR, email_address VARCHAR, state VARCHAR) | SELECT first_name, last_name, email_address FROM Owners WHERE state LIKE '%North%' | Which owners live in the state whose name contains the substring 'North'? List his first name, last name and email. | <s>[INST]Which owners live in the state whose name contains the substring 'North'? List his first name, last name and email. Context: CREATE TABLE Owners (first_name VARCHAR, last_name VARCHAR, email_address VARCHAR, state VARCHAR)[/INST]SELECT first_name, last_name, email_address FROM Owners WHERE state LIKE '%North%'... |
CREATE TABLE table_name_63 (game INTEGER, team VARCHAR) | SELECT SUM(game) FROM table_name_63 WHERE team = "charlotte" | What was the number of the game against Charlotte? | <s>[INST]What was the number of the game against Charlotte? Context: CREATE TABLE table_name_63 (game INTEGER, team VARCHAR)[/INST]SELECT SUM(game) FROM table_name_63 WHERE team = "charlotte"</s> |
CREATE TABLE table_name_83 (accreditation_status VARCHAR, product_name VARCHAR) | SELECT accreditation_status FROM table_name_83 WHERE product_name = "lg rcs-e client" | What is the Accreditation Status, when the Product Name is LG RCS-e Client? | <s>[INST]What is the Accreditation Status, when the Product Name is LG RCS-e Client? Context: CREATE TABLE table_name_83 (accreditation_status VARCHAR, product_name VARCHAR)[/INST]SELECT accreditation_status FROM table_name_83 WHERE product_name = "lg rcs-e client"</s> |
CREATE TABLE table_name_17 (wins INTEGER, ties VARCHAR, win__percentage VARCHAR, name VARCHAR) | SELECT SUM(wins) FROM table_name_17 WHERE win__percentage < 0.8270000000000001 AND name = "rick mirer" AND ties < 1 | Which Wins have a Win % smaller than 0.8270000000000001, and a Name of rick mirer, and Ties smaller than 1? | <s>[INST]Which Wins have a Win % smaller than 0.8270000000000001, and a Name of rick mirer, and Ties smaller than 1? Context: CREATE TABLE table_name_17 (wins INTEGER, ties VARCHAR, win__percentage VARCHAR, name VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_17 WHERE win__percentage < 0.8270000000000001 AND name = "ri... |
CREATE TABLE table_24399615_10 (bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR) | SELECT bbc_three_weekly_ranking FROM table_24399615_10 WHERE cable_rank = "6" | List the number of bbc rankings with cable rankings of 6. | <s>[INST]List the number of bbc rankings with cable rankings of 6. Context: CREATE TABLE table_24399615_10 (bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR)[/INST]SELECT bbc_three_weekly_ranking FROM table_24399615_10 WHERE cable_rank = "6"</s> |
CREATE TABLE table_name_88 (top_5 INTEGER, events VARCHAR, wins VARCHAR) | SELECT MAX(top_5) FROM table_name_88 WHERE events < 16 AND wins < 0 | Name the most top-5 for wins less than 0 and events less than 16 | <s>[INST]Name the most top-5 for wins less than 0 and events less than 16 Context: CREATE TABLE table_name_88 (top_5 INTEGER, events VARCHAR, wins VARCHAR)[/INST]SELECT MAX(top_5) FROM table_name_88 WHERE events < 16 AND wins < 0</s> |
CREATE TABLE table_name_77 (game INTEGER, record VARCHAR) | SELECT MAX(game) FROM table_name_77 WHERE record = "47-21-3" | What is the highest game with a 47-21-3 record? | <s>[INST]What is the highest game with a 47-21-3 record? Context: CREATE TABLE table_name_77 (game INTEGER, record VARCHAR)[/INST]SELECT MAX(game) FROM table_name_77 WHERE record = "47-21-3"</s> |
CREATE TABLE table_2140071_13 (season INTEGER) | SELECT MIN(season) FROM table_2140071_13 | What is the minimum number of seasons? | <s>[INST]What is the minimum number of seasons? Context: CREATE TABLE table_2140071_13 (season INTEGER)[/INST]SELECT MIN(season) FROM table_2140071_13</s> |
CREATE TABLE table_name_40 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_40 WHERE game = 48 | What is the record of game 48? | <s>[INST]What is the record of game 48? Context: CREATE TABLE table_name_40 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_40 WHERE game = 48</s> |
CREATE TABLE table_142573_1 (channels VARCHAR, designation VARCHAR) | SELECT channels FROM table_142573_1 WHERE designation = "PC700" | Name the channels when designation is pc700 | <s>[INST]Name the channels when designation is pc700 Context: CREATE TABLE table_142573_1 (channels VARCHAR, designation VARCHAR)[/INST]SELECT channels FROM table_142573_1 WHERE designation = "PC700"</s> |
CREATE TABLE table_name_58 (winner VARCHAR, finalist VARCHAR) | SELECT winner FROM table_name_58 WHERE finalist = "fc grün-weiß wolfen" | Who was the winner of fc grün-weiß wolfen? | <s>[INST]Who was the winner of fc grün-weiß wolfen? Context: CREATE TABLE table_name_58 (winner VARCHAR, finalist VARCHAR)[/INST]SELECT winner FROM table_name_58 WHERE finalist = "fc grün-weiß wolfen"</s> |
CREATE TABLE table_name_43 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_43 WHERE week = 7 | What was the attendance at the week 7 game? | <s>[INST]What was the attendance at the week 7 game? Context: CREATE TABLE table_name_43 (attendance VARCHAR, week VARCHAR)[/INST]SELECT attendance FROM table_name_43 WHERE week = 7</s> |
CREATE TABLE matches (loser_age INTEGER, winner_age INTEGER) | SELECT AVG(loser_age), AVG(winner_age) FROM matches | Find the average age of losers and winners of all matches. | <s>[INST]Find the average age of losers and winners of all matches. Context: CREATE TABLE matches (loser_age INTEGER, winner_age INTEGER)[/INST]SELECT AVG(loser_age), AVG(winner_age) FROM matches</s> |
CREATE TABLE table_name_29 (total_points VARCHAR, match_points VARCHAR, games VARCHAR, bonus_points VARCHAR) | SELECT total_points FROM table_name_29 WHERE games = "30" AND bonus_points = "9" AND match_points = "68" | What are the total points that had 68 match points, 9 bonus points and 30 games? | <s>[INST]What are the total points that had 68 match points, 9 bonus points and 30 games? Context: CREATE TABLE table_name_29 (total_points VARCHAR, match_points VARCHAR, games VARCHAR, bonus_points VARCHAR)[/INST]SELECT total_points FROM table_name_29 WHERE games = "30" AND bonus_points = "9" AND match_points = "68"</... |
CREATE TABLE table_1174162_1 (date_first_settled_as_a_suburb INTEGER, suburb VARCHAR) | SELECT MIN(date_first_settled_as_a_suburb) FROM table_1174162_1 WHERE suburb = "Chifley" | What is the lowest date settled for chifley? | <s>[INST]What is the lowest date settled for chifley? Context: CREATE TABLE table_1174162_1 (date_first_settled_as_a_suburb INTEGER, suburb VARCHAR)[/INST]SELECT MIN(date_first_settled_as_a_suburb) FROM table_1174162_1 WHERE suburb = "Chifley"</s> |
CREATE TABLE table_name_7 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_7 WHERE date = "may 31, 1987" | What tournament was on May 31, 1987? | <s>[INST]What tournament was on May 31, 1987? Context: CREATE TABLE table_name_7 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_7 WHERE date = "may 31, 1987"</s> |
CREATE TABLE party (Lieutenant_Governor VARCHAR, Comptroller VARCHAR, Party VARCHAR) | SELECT Lieutenant_Governor, Comptroller FROM party WHERE Party = "Democratic" | Show the lieutenant governor and comptroller from the democratic party. | <s>[INST]Show the lieutenant governor and comptroller from the democratic party. Context: CREATE TABLE party (Lieutenant_Governor VARCHAR, Comptroller VARCHAR, Party VARCHAR)[/INST]SELECT Lieutenant_Governor, Comptroller FROM party WHERE Party = "Democratic"</s> |
CREATE TABLE table_name_46 (not_usable INTEGER, retired VARCHAR, launch_failures VARCHAR) | SELECT AVG(not_usable) FROM table_name_46 WHERE retired = 0 AND launch_failures < 1 | What is the average number of not usable satellited when there are 0 retired, and the launch failures are less than 1? | <s>[INST]What is the average number of not usable satellited when there are 0 retired, and the launch failures are less than 1? Context: CREATE TABLE table_name_46 (not_usable INTEGER, retired VARCHAR, launch_failures VARCHAR)[/INST]SELECT AVG(not_usable) FROM table_name_46 WHERE retired = 0 AND launch_failures < 1</s> |
CREATE TABLE table_name_29 (total INTEGER, gold VARCHAR, nation VARCHAR) | SELECT MAX(total) FROM table_name_29 WHERE gold = 1 AND nation = "czechoslovakia" | Which Total is the highest one that has a Gold of 1, and a Nation of czechoslovakia? | <s>[INST]Which Total is the highest one that has a Gold of 1, and a Nation of czechoslovakia? Context: CREATE TABLE table_name_29 (total INTEGER, gold VARCHAR, nation VARCHAR)[/INST]SELECT MAX(total) FROM table_name_29 WHERE gold = 1 AND nation = "czechoslovakia"</s> |
CREATE TABLE table_name_33 (laps INTEGER, winnings VARCHAR, points VARCHAR) | SELECT SUM(laps) FROM table_name_33 WHERE winnings = "$67,675" AND points < 61 | Which driver has less than 61 points, but winnings of $67,675? | <s>[INST]Which driver has less than 61 points, but winnings of $67,675? Context: CREATE TABLE table_name_33 (laps INTEGER, winnings VARCHAR, points VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_33 WHERE winnings = "$67,675" AND points < 61</s> |
CREATE TABLE table_name_56 (long VARCHAR, avg_g VARCHAR) | SELECT long FROM table_name_56 WHERE avg_g = "5.9" | For the Avg/G of 5.9, what was the long? | <s>[INST]For the Avg/G of 5.9, what was the long? Context: CREATE TABLE table_name_56 (long VARCHAR, avg_g VARCHAR)[/INST]SELECT long FROM table_name_56 WHERE avg_g = "5.9"</s> |
CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR); CREATE TABLE Tasks (project_id VARCHAR) | SELECT COUNT(*), T1.project_details FROM Projects AS T1 JOIN Tasks AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id | How many tasks does each project have? List the task count and the project detail. | <s>[INST]How many tasks does each project have? List the task count and the project detail. Context: CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR); CREATE TABLE Tasks (project_id VARCHAR)[/INST]SELECT COUNT(*), T1.project_details FROM Projects AS T1 JOIN Tasks AS T2 ON T1.project_id = T2.project_i... |
CREATE TABLE table_name_70 (visa_3 VARCHAR, visa_4 VARCHAR) | SELECT visa_3 FROM table_name_70 WHERE visa_4 = "youssouf hersi" | Which Visa 3 has a Visa 4 of youssouf hersi? | <s>[INST]Which Visa 3 has a Visa 4 of youssouf hersi? Context: CREATE TABLE table_name_70 (visa_3 VARCHAR, visa_4 VARCHAR)[/INST]SELECT visa_3 FROM table_name_70 WHERE visa_4 = "youssouf hersi"</s> |
CREATE TABLE table_25563779_4 (third VARCHAR, second VARCHAR) | SELECT third FROM table_25563779_4 WHERE second = "Sergey Sirotkin" | If second is Sergey Sirotkin, what is the third name? | <s>[INST]If second is Sergey Sirotkin, what is the third name? Context: CREATE TABLE table_25563779_4 (third VARCHAR, second VARCHAR)[/INST]SELECT third FROM table_25563779_4 WHERE second = "Sergey Sirotkin"</s> |
CREATE TABLE table_name_57 (played INTEGER, blackpool INTEGER) | SELECT MIN(played) FROM table_name_57 WHERE blackpool < 0 | Which Played is the lowest one that has a Blackpool smaller than 0? | <s>[INST]Which Played is the lowest one that has a Blackpool smaller than 0? Context: CREATE TABLE table_name_57 (played INTEGER, blackpool INTEGER)[/INST]SELECT MIN(played) FROM table_name_57 WHERE blackpool < 0</s> |
CREATE TABLE table_name_62 (enrollment INTEGER, founded VARCHAR, location VARCHAR, affiliation VARCHAR) | SELECT SUM(enrollment) FROM table_name_62 WHERE location = "buffalo, new york" AND affiliation = "public" AND founded > 1846 | What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846? | <s>[INST]What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846? Context: CREATE TABLE table_name_62 (enrollment INTEGER, founded VARCHAR, location VARCHAR, affiliation VARCHAR)[/INST]SELECT SUM(enrollment) FROM table_name_62 WHERE location = "buffalo, new york" AND affi... |
CREATE TABLE table_name_72 (record VARCHAR, game_site VARCHAR) | SELECT record FROM table_name_72 WHERE game_site = "rich stadium" | What was the record after the game at Rich Stadium? | <s>[INST]What was the record after the game at Rich Stadium? Context: CREATE TABLE table_name_72 (record VARCHAR, game_site VARCHAR)[/INST]SELECT record FROM table_name_72 WHERE game_site = "rich stadium"</s> |
CREATE TABLE table_name_8 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_8 WHERE record = "32–31–6" | What is the Date of the game when the Record is 32–31–6? | <s>[INST]What is the Date of the game when the Record is 32–31–6? Context: CREATE TABLE table_name_8 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_8 WHERE record = "32–31–6"</s> |
CREATE TABLE table_name_22 (junior_marquee_player VARCHAR, captain VARCHAR) | SELECT junior_marquee_player FROM table_name_22 WHERE captain = "harry kewell" | What Junior Marquee team is Harry Kewell of? | <s>[INST]What Junior Marquee team is Harry Kewell of? Context: CREATE TABLE table_name_22 (junior_marquee_player VARCHAR, captain VARCHAR)[/INST]SELECT junior_marquee_player FROM table_name_22 WHERE captain = "harry kewell"</s> |
CREATE TABLE table_name_54 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_54 WHERE opponent = "golden state warriors" | What was the score for the game against the Golden State Warriors? | <s>[INST]What was the score for the game against the Golden State Warriors? Context: CREATE TABLE table_name_54 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_54 WHERE opponent = "golden state warriors"</s> |
CREATE TABLE table_name_25 (opponent VARCHAR, time VARCHAR) | SELECT opponent FROM table_name_25 WHERE time = "1:22" | Who was the opponent in the match that lasted 1:22? | <s>[INST]Who was the opponent in the match that lasted 1:22? Context: CREATE TABLE table_name_25 (opponent VARCHAR, time VARCHAR)[/INST]SELECT opponent FROM table_name_25 WHERE time = "1:22"</s> |
CREATE TABLE table_name_63 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_name_63 WHERE score = "1-3" | What is the name of the competition that ended with a score of 1-3? | <s>[INST]What is the name of the competition that ended with a score of 1-3? Context: CREATE TABLE table_name_63 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_63 WHERE score = "1-3"</s> |
CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR, tv_time VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_7 WHERE tv_time = "cbs 1:00pm" AND game_site = "rca dome" AND opponent = "cincinnati bengals" | Which Date has a TV Time of cbs 1:00pm, and a Game Site of rca dome, and an Opponent of cincinnati bengals? | <s>[INST]Which Date has a TV Time of cbs 1:00pm, and a Game Site of rca dome, and an Opponent of cincinnati bengals? Context: CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR, tv_time VARCHAR, game_site VARCHAR)[/INST]SELECT date FROM table_name_7 WHERE tv_time = "cbs 1:00pm" AND game_site = "rca dome" AND opp... |
CREATE TABLE table_name_31 (gold VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT COUNT(gold) FROM table_name_31 WHERE bronze = 2 AND rank = "61" AND total > 3 | What is the total number of gold medals when there were 2 bronze medals, a total of more than 3 medals and ranked 61? | <s>[INST]What is the total number of gold medals when there were 2 bronze medals, a total of more than 3 medals and ranked 61? Context: CREATE TABLE table_name_31 (gold VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_31 WHERE bronze = 2 AND rank = "61" AND total > 3</s> |
CREATE TABLE table_105344_2 (flying_hours VARCHAR, aircraft_kilometers INTEGER) | SELECT flying_hours FROM table_105344_2 WHERE aircraft_kilometers > 64379058.0 | How many hours were flown in each of the years where more than 64379058.0 kilometers were flown? | <s>[INST]How many hours were flown in each of the years where more than 64379058.0 kilometers were flown? Context: CREATE TABLE table_105344_2 (flying_hours VARCHAR, aircraft_kilometers INTEGER)[/INST]SELECT flying_hours FROM table_105344_2 WHERE aircraft_kilometers > 64379058.0</s> |
CREATE TABLE table_name_76 (m809_series VARCHAR, wheelbase VARCHAR, m939_series VARCHAR) | SELECT m809_series FROM table_name_76 WHERE wheelbase = "short" AND m939_series = "m931/932" | Name the M809 series for short wheelbase and M939 series of M931/932 | <s>[INST]Name the M809 series for short wheelbase and M939 series of M931/932 Context: CREATE TABLE table_name_76 (m809_series VARCHAR, wheelbase VARCHAR, m939_series VARCHAR)[/INST]SELECT m809_series FROM table_name_76 WHERE wheelbase = "short" AND m939_series = "m931/932"</s> |
CREATE TABLE table_name_45 (frequency_mhz VARCHAR, call_sign VARCHAR) | SELECT frequency_mhz FROM table_name_45 WHERE call_sign = "w228bg" | What frequency has call sign w228bg? | <s>[INST]What frequency has call sign w228bg? Context: CREATE TABLE table_name_45 (frequency_mhz VARCHAR, call_sign VARCHAR)[/INST]SELECT frequency_mhz FROM table_name_45 WHERE call_sign = "w228bg"</s> |
CREATE TABLE table_name_79 (crowd VARCHAR, home_team VARCHAR) | SELECT crowd FROM table_name_79 WHERE home_team = "st kilda" | How many people watched when st kilda played at home? | <s>[INST]How many people watched when st kilda played at home? Context: CREATE TABLE table_name_79 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT crowd FROM table_name_79 WHERE home_team = "st kilda"</s> |
CREATE TABLE table_name_55 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_55 WHERE tie_no = "5" | What score has a tie of 5? | <s>[INST]What score has a tie of 5? Context: CREATE TABLE table_name_55 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_55 WHERE tie_no = "5"</s> |
CREATE TABLE table_27268238_5 (wickets INTEGER) | SELECT MIN(wickets) FROM table_27268238_5 | What is the lowest wickets? | <s>[INST]What is the lowest wickets? Context: CREATE TABLE table_27268238_5 (wickets INTEGER)[/INST]SELECT MIN(wickets) FROM table_27268238_5</s> |
CREATE TABLE table_10015132_2 (position VARCHAR, years_in_toronto VARCHAR) | SELECT position FROM table_10015132_2 WHERE years_in_toronto = "2004" | Which positions were in Toronto in 2004? | <s>[INST]Which positions were in Toronto in 2004? Context: CREATE TABLE table_10015132_2 (position VARCHAR, years_in_toronto VARCHAR)[/INST]SELECT position FROM table_10015132_2 WHERE years_in_toronto = "2004"</s> |
CREATE TABLE table_name_36 (current_club VARCHAR, position VARCHAR, year_born VARCHAR, height VARCHAR) | SELECT current_club FROM table_name_36 WHERE year_born > 1983 AND height < 2.12 AND position = "forward" | What is the current club of the Forward who was born after 1983 and who has a height under 2.12? | <s>[INST]What is the current club of the Forward who was born after 1983 and who has a height under 2.12? Context: CREATE TABLE table_name_36 (current_club VARCHAR, position VARCHAR, year_born VARCHAR, height VARCHAR)[/INST]SELECT current_club FROM table_name_36 WHERE year_born > 1983 AND height < 2.12 AND position = "... |
CREATE TABLE table_name_36 (location VARCHAR, method VARCHAR, record VARCHAR) | SELECT location FROM table_name_36 WHERE method = "decision" AND record = "1-2" | Which location led to a decision and a record of 1-2? | <s>[INST]Which location led to a decision and a record of 1-2? Context: CREATE TABLE table_name_36 (location VARCHAR, method VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_36 WHERE method = "decision" AND record = "1-2"</s> |
CREATE TABLE table_name_2 (silver INTEGER, gold VARCHAR, bronze VARCHAR) | SELECT AVG(silver) FROM table_name_2 WHERE gold = 1 AND bronze > 5 | What is the average silver medals a team that has 1 gold and more than 5 bronze has? | <s>[INST]What is the average silver medals a team that has 1 gold and more than 5 bronze has? Context: CREATE TABLE table_name_2 (silver INTEGER, gold VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_2 WHERE gold = 1 AND bronze > 5</s> |
CREATE TABLE table_name_55 (round INTEGER, position VARCHAR, college VARCHAR) | SELECT MAX(round) FROM table_name_55 WHERE position = "running back" AND college = "california" | What was the latest round with a running back from a California college? | <s>[INST]What was the latest round with a running back from a California college? Context: CREATE TABLE table_name_55 (round INTEGER, position VARCHAR, college VARCHAR)[/INST]SELECT MAX(round) FROM table_name_55 WHERE position = "running back" AND college = "california"</s> |
CREATE TABLE table_18598175_2 (eliminated_by VARCHAR, method_of_elimination VARCHAR) | SELECT eliminated_by FROM table_18598175_2 WHERE method_of_elimination = "Pedigree" | Who won the match when the winner used the Pedigree attack? | <s>[INST]Who won the match when the winner used the Pedigree attack? Context: CREATE TABLE table_18598175_2 (eliminated_by VARCHAR, method_of_elimination VARCHAR)[/INST]SELECT eliminated_by FROM table_18598175_2 WHERE method_of_elimination = "Pedigree"</s> |
CREATE TABLE table_name_92 (home_team VARCHAR, visiting_team VARCHAR, result VARCHAR) | SELECT home_team FROM table_name_92 WHERE visiting_team = "san francisco 49ers" AND result = "42-14" | Who is the home team when the san francisco 49ers are visiting with a result of 42-14? | <s>[INST]Who is the home team when the san francisco 49ers are visiting with a result of 42-14? Context: CREATE TABLE table_name_92 (home_team VARCHAR, visiting_team VARCHAR, result VARCHAR)[/INST]SELECT home_team FROM table_name_92 WHERE visiting_team = "san francisco 49ers" AND result = "42-14"</s> |
CREATE TABLE table_name_8 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_8 WHERE result = "l 35–14" | What was the attendance of the game that had a score of l 35–14? | <s>[INST]What was the attendance of the game that had a score of l 35–14? Context: CREATE TABLE table_name_8 (attendance VARCHAR, result VARCHAR)[/INST]SELECT attendance FROM table_name_8 WHERE result = "l 35–14"</s> |
CREATE TABLE table_name_85 (score VARCHAR, location VARCHAR, date VARCHAR) | SELECT score FROM table_name_85 WHERE location = "mohegan sun arena" AND date = "june 25" | What is the score of the game on June 25 at the mohegan sun arena? | <s>[INST]What is the score of the game on June 25 at the mohegan sun arena? Context: CREATE TABLE table_name_85 (score VARCHAR, location VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_85 WHERE location = "mohegan sun arena" AND date = "june 25"</s> |
CREATE TABLE table_name_62 (tournament VARCHAR) | SELECT tournament FROM table_name_62 WHERE 2011 = "1r" AND 2012 = "1r" AND 2005 = "a" AND 2010 = "1r" | Which tournament has 1r in 2011, 1r in 2012, A in 2005, and 1r in 2010? | <s>[INST]Which tournament has 1r in 2011, 1r in 2012, A in 2005, and 1r in 2010? Context: CREATE TABLE table_name_62 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_62 WHERE 2011 = "1r" AND 2012 = "1r" AND 2005 = "a" AND 2010 = "1r"</s> |
CREATE TABLE table_name_83 (social_ao VARCHAR, external_co VARCHAR, internal_co VARCHAR) | SELECT social_ao FROM table_name_83 WHERE external_co = "simonas savickas" AND internal_co = "pieter kuijsten" | What Social AO has an External CO of simonas savickas, and an Internal CO of pieter kuijsten? | <s>[INST]What Social AO has an External CO of simonas savickas, and an Internal CO of pieter kuijsten? Context: CREATE TABLE table_name_83 (social_ao VARCHAR, external_co VARCHAR, internal_co VARCHAR)[/INST]SELECT social_ao FROM table_name_83 WHERE external_co = "simonas savickas" AND internal_co = "pieter kuijsten"</s... |
CREATE TABLE table_15887683_8 (package_option VARCHAR, n° VARCHAR) | SELECT package_option FROM table_15887683_8 WHERE n° = 543 | Name the package/option for number being 543 | <s>[INST]Name the package/option for number being 543 Context: CREATE TABLE table_15887683_8 (package_option VARCHAR, n° VARCHAR)[/INST]SELECT package_option FROM table_15887683_8 WHERE n° = 543</s> |
CREATE TABLE table_name_87 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR) | SELECT dates_administered FROM table_name_87 WHERE lead_margin < 5.5 AND poll_source = "survey usa" | What was the date of the poll from Survey USA that showed a lead margin smaller than 5.5? | <s>[INST]What was the date of the poll from Survey USA that showed a lead margin smaller than 5.5? Context: CREATE TABLE table_name_87 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR)[/INST]SELECT dates_administered FROM table_name_87 WHERE lead_margin < 5.5 AND poll_source = "survey usa"</s> |
CREATE TABLE table_name_58 (round INTEGER, pick__number INTEGER) | SELECT MAX(round) FROM table_name_58 WHERE pick__number < 8 | What is the highest round that had a pick lower than 8? | <s>[INST]What is the highest round that had a pick lower than 8? Context: CREATE TABLE table_name_58 (round INTEGER, pick__number INTEGER)[/INST]SELECT MAX(round) FROM table_name_58 WHERE pick__number < 8</s> |
CREATE TABLE table_2528382_2 (co_stars VARCHAR, music_director VARCHAR, year VARCHAR) | SELECT co_stars FROM table_2528382_2 WHERE music_director = "Kalyanji-Anandji" AND year = "1963" | Which co-stars did Kalyanji-anandji direct in 1963? | <s>[INST]Which co-stars did Kalyanji-anandji direct in 1963? Context: CREATE TABLE table_2528382_2 (co_stars VARCHAR, music_director VARCHAR, year VARCHAR)[/INST]SELECT co_stars FROM table_2528382_2 WHERE music_director = "Kalyanji-Anandji" AND year = "1963"</s> |
CREATE TABLE table_224672_2 (term_began VARCHAR, elected VARCHAR) | SELECT term_began FROM table_224672_2 WHERE elected = "N/A" | When did the term began when the date of election is N/A? | <s>[INST]When did the term began when the date of election is N/A? Context: CREATE TABLE table_224672_2 (term_began VARCHAR, elected VARCHAR)[/INST]SELECT term_began FROM table_224672_2 WHERE elected = "N/A"</s> |
CREATE TABLE table_name_84 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_84 WHERE player = "arron oberholser" | where did arron oberholser play? | <s>[INST]where did arron oberholser play? Context: CREATE TABLE table_name_84 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_84 WHERE player = "arron oberholser"</s> |
CREATE TABLE table_15346009_1 (date VARCHAR, score VARCHAR) | SELECT date FROM table_15346009_1 WHERE score = "200 (-16)" | What day was the score 200 (-16)? | <s>[INST]What day was the score 200 (-16)? Context: CREATE TABLE table_15346009_1 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_15346009_1 WHERE score = "200 (-16)"</s> |
CREATE TABLE table_name_37 (Id VARCHAR) | SELECT 2003 FROM table_name_37 WHERE 2005 = "did not qualify" | what is 2003 when 2005 is did not qualify? | <s>[INST]what is 2003 when 2005 is did not qualify? Context: CREATE TABLE table_name_37 (Id VARCHAR)[/INST]SELECT 2003 FROM table_name_37 WHERE 2005 = "did not qualify"</s> |
CREATE TABLE table_name_83 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR) | SELECT SUM(top_10) FROM table_name_83 WHERE tournament = "u.s. open" AND top_25 > 0 | What was the sum for a top-10 U.S. open that had a top-25 bigger than 0? | <s>[INST]What was the sum for a top-10 U.S. open that had a top-25 bigger than 0? Context: CREATE TABLE table_name_83 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR)[/INST]SELECT SUM(top_10) FROM table_name_83 WHERE tournament = "u.s. open" AND top_25 > 0</s> |
CREATE TABLE table_name_35 (apps INTEGER, level VARCHAR, season VARCHAR, team VARCHAR) | SELECT MAX(apps) FROM table_name_35 WHERE season > 2008 AND team = "kairat" AND level < 1 | What is the highest Apps of kairat after 2008 and a Level smaller than 1? | <s>[INST]What is the highest Apps of kairat after 2008 and a Level smaller than 1? Context: CREATE TABLE table_name_35 (apps INTEGER, level VARCHAR, season VARCHAR, team VARCHAR)[/INST]SELECT MAX(apps) FROM table_name_35 WHERE season > 2008 AND team = "kairat" AND level < 1</s> |
CREATE TABLE table_name_68 (tier INTEGER, postseason VARCHAR) | SELECT MIN(tier) FROM table_name_68 WHERE postseason = "quarterfinalist" | What is the lowest tier for a postseason result of quarterfinalist? | <s>[INST]What is the lowest tier for a postseason result of quarterfinalist? Context: CREATE TABLE table_name_68 (tier INTEGER, postseason VARCHAR)[/INST]SELECT MIN(tier) FROM table_name_68 WHERE postseason = "quarterfinalist"</s> |
CREATE TABLE table_name_20 (location VARCHAR, game VARCHAR) | SELECT location FROM table_name_20 WHERE game = 4 | what is the location of game 4? | <s>[INST]what is the location of game 4? Context: CREATE TABLE table_name_20 (location VARCHAR, game VARCHAR)[/INST]SELECT location FROM table_name_20 WHERE game = 4</s> |
CREATE TABLE table_name_91 (years VARCHAR, name VARCHAR, area VARCHAR, decile VARCHAR) | SELECT years FROM table_name_91 WHERE area = "marton" AND decile = 3 AND name = "turakina maori girls' college" | Name the years for marton and decile of 3 for turakina maori girls' college? | <s>[INST]Name the years for marton and decile of 3 for turakina maori girls' college? Context: CREATE TABLE table_name_91 (years VARCHAR, name VARCHAR, area VARCHAR, decile VARCHAR)[/INST]SELECT years FROM table_name_91 WHERE area = "marton" AND decile = 3 AND name = "turakina maori girls' college"</s> |
CREATE TABLE table_1773707_2 (length VARCHAR, height VARCHAR) | SELECT length FROM table_1773707_2 WHERE height = "mm (in)" | What are the lengths of the models that are mm (in) tall? | <s>[INST]What are the lengths of the models that are mm (in) tall? Context: CREATE TABLE table_1773707_2 (length VARCHAR, height VARCHAR)[/INST]SELECT length FROM table_1773707_2 WHERE height = "mm (in)"</s> |
CREATE TABLE table_name_2 (binibining_pilipinas_international VARCHAR, year VARCHAR) | SELECT binibining_pilipinas_international FROM table_name_2 WHERE year = 1975 | What Binibining Pilipinas-International has a Year of 1975? | <s>[INST]What Binibining Pilipinas-International has a Year of 1975? Context: CREATE TABLE table_name_2 (binibining_pilipinas_international VARCHAR, year VARCHAR)[/INST]SELECT binibining_pilipinas_international FROM table_name_2 WHERE year = 1975</s> |
CREATE TABLE table_name_7 (rank VARCHAR, name VARCHAR) | SELECT rank FROM table_name_7 WHERE name = "tatyana lebedeva" | What rank does Tatyana Lebedeva have? | <s>[INST]What rank does Tatyana Lebedeva have? Context: CREATE TABLE table_name_7 (rank VARCHAR, name VARCHAR)[/INST]SELECT rank FROM table_name_7 WHERE name = "tatyana lebedeva"</s> |
CREATE TABLE table_name_89 (rebounds VARCHAR, name VARCHAR) | SELECT COUNT(rebounds) FROM table_name_89 WHERE name = "ann wauters" | How many rebounds does Ann Wauters have? | <s>[INST]How many rebounds does Ann Wauters have? Context: CREATE TABLE table_name_89 (rebounds VARCHAR, name VARCHAR)[/INST]SELECT COUNT(rebounds) FROM table_name_89 WHERE name = "ann wauters"</s> |
CREATE TABLE table_name_43 (attendance INTEGER, home VARCHAR, date VARCHAR) | SELECT SUM(attendance) FROM table_name_43 WHERE home = "vancouver" AND date = "may 22" | What is the combined crowd in Vancouver on may 22? | <s>[INST]What is the combined crowd in Vancouver on may 22? Context: CREATE TABLE table_name_43 (attendance INTEGER, home VARCHAR, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_43 WHERE home = "vancouver" AND date = "may 22"</s> |
CREATE TABLE table_name_80 (name VARCHAR, district VARCHAR) | SELECT name FROM table_name_80 WHERE district = "total:" | What is the name for district total:? | <s>[INST]What is the name for district total:? Context: CREATE TABLE table_name_80 (name VARCHAR, district VARCHAR)[/INST]SELECT name FROM table_name_80 WHERE district = "total:"</s> |
CREATE TABLE table_name_75 (status VARCHAR, authors VARCHAR) | SELECT status FROM table_name_75 WHERE authors = "varricchio" | What is varricchio's status? | <s>[INST]What is varricchio's status? Context: CREATE TABLE table_name_75 (status VARCHAR, authors VARCHAR)[/INST]SELECT status FROM table_name_75 WHERE authors = "varricchio"</s> |
CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE salary (player_id VARCHAR, team_id VARCHAR, year VARCHAR) | SELECT T2.name_first, T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2005 AND T3.name = 'Washington Nationals' INTERSECT SELECT T2.name_first, T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JO... | List players' first name and last name who received salary from team Washington Nationals in both 2005 and 2007. | <s>[INST]List players' first name and last name who received salary from team Washington Nationals in both 2005 and 2007. Context: CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE salary (player_id VARCHAR, team_id VARCHAR... |
CREATE TABLE perpetrator (Country VARCHAR) | SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY COUNT(*) DESC LIMIT 1 | What is the country that has the most perpetrators? | <s>[INST]What is the country that has the most perpetrators? Context: CREATE TABLE perpetrator (Country VARCHAR)[/INST]SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE cmi_cross_references (source_system_code VARCHAR) | SELECT DISTINCT source_system_code FROM cmi_cross_references WHERE source_system_code LIKE '%en%' | Which distinct source system code includes the substring 'en'? | <s>[INST]Which distinct source system code includes the substring 'en'? Context: CREATE TABLE cmi_cross_references (source_system_code VARCHAR)[/INST]SELECT DISTINCT source_system_code FROM cmi_cross_references WHERE source_system_code LIKE '%en%'</s> |
CREATE TABLE table_177766_1 (constellation VARCHAR, area__sqdeg_ VARCHAR) | SELECT constellation FROM table_177766_1 WHERE area__sqdeg_ = "245.375" | What is the name of this constellation with an area of 245.375 sq. deg.? | <s>[INST]What is the name of this constellation with an area of 245.375 sq. deg.? Context: CREATE TABLE table_177766_1 (constellation VARCHAR, area__sqdeg_ VARCHAR)[/INST]SELECT constellation FROM table_177766_1 WHERE area__sqdeg_ = "245.375"</s> |
CREATE TABLE table_name_98 (grid INTEGER, driver VARCHAR, points VARCHAR) | SELECT SUM(grid) FROM table_name_98 WHERE driver = "cristiano da matta" AND points < 33 | Which Grid has a Driver of cristiano da matta, and Points smaller than 33? | <s>[INST]Which Grid has a Driver of cristiano da matta, and Points smaller than 33? Context: CREATE TABLE table_name_98 (grid INTEGER, driver VARCHAR, points VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_98 WHERE driver = "cristiano da matta" AND points < 33</s> |
CREATE TABLE table_name_87 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_87 WHERE player = "graham gooch" | What is Graham Gooch's nationality? | <s>[INST]What is Graham Gooch's nationality? Context: CREATE TABLE table_name_87 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_87 WHERE player = "graham gooch"</s> |
CREATE TABLE table_name_29 (latest_version VARCHAR, architecture VARCHAR, release_date VARCHAR) | SELECT latest_version FROM table_name_29 WHERE architecture = "16-bit" AND release_date = "1985-11-20" | Which of the Latest version had a 16-bit Architecture and was released on Release date 1985-11-20? | <s>[INST]Which of the Latest version had a 16-bit Architecture and was released on Release date 1985-11-20? Context: CREATE TABLE table_name_29 (latest_version VARCHAR, architecture VARCHAR, release_date VARCHAR)[/INST]SELECT latest_version FROM table_name_29 WHERE architecture = "16-bit" AND release_date = "1985-11-20... |
CREATE TABLE table_name_2 (circuit VARCHAR) | SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril" | Name the 125cc winner with circuit of estoril | <s>[INST]Name the 125cc winner with circuit of estoril Context: CREATE TABLE table_name_2 (circuit VARCHAR)[/INST]SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril"</s> |
CREATE TABLE table_name_36 (successes INTEGER, launches VARCHAR, failures VARCHAR) | SELECT MAX(successes) FROM table_name_36 WHERE launches > 1 AND failures < 0 | What is the highest number of successful launches associated with over 1 launch and under 0 fails? | <s>[INST]What is the highest number of successful launches associated with over 1 launch and under 0 fails? Context: CREATE TABLE table_name_36 (successes INTEGER, launches VARCHAR, failures VARCHAR)[/INST]SELECT MAX(successes) FROM table_name_36 WHERE launches > 1 AND failures < 0</s> |
CREATE TABLE table_name_50 (retired INTEGER, poaf_serial VARCHAR, delivery VARCHAR, in_service VARCHAR) | SELECT MIN(retired) FROM table_name_50 WHERE delivery = "1965" AND in_service = "november 1971" AND poaf_serial < 7103 | What is the earliest year retired delivered in 1965 with an in service in November 1971 for the PoAF Serial less than 7103? | <s>[INST]What is the earliest year retired delivered in 1965 with an in service in November 1971 for the PoAF Serial less than 7103? Context: CREATE TABLE table_name_50 (retired INTEGER, poaf_serial VARCHAR, delivery VARCHAR, in_service VARCHAR)[/INST]SELECT MIN(retired) FROM table_name_50 WHERE delivery = "1965" AND i... |
CREATE TABLE table_name_23 (tournament VARCHAR, date VARCHAR, partner VARCHAR) | SELECT tournament FROM table_name_23 WHERE date = "october 24, 1982" AND partner = "alycia moulton" | What Tournament on October 24, 1982 had Alycia Moulton as the Partner? | <s>[INST]What Tournament on October 24, 1982 had Alycia Moulton as the Partner? Context: CREATE TABLE table_name_23 (tournament VARCHAR, date VARCHAR, partner VARCHAR)[/INST]SELECT tournament FROM table_name_23 WHERE date = "october 24, 1982" AND partner = "alycia moulton"</s> |
CREATE TABLE table_18569389_1 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_18569389_1 WHERE directed_by = "Chris Long" | Name the air date that chris long directed | <s>[INST]Name the air date that chris long directed Context: CREATE TABLE table_18569389_1 (original_air_date VARCHAR, directed_by VARCHAR)[/INST]SELECT original_air_date FROM table_18569389_1 WHERE directed_by = "Chris Long"</s> |
CREATE TABLE table_16201038_3 (last_5_meetings VARCHAR, missouri_vs VARCHAR) | SELECT COUNT(last_5_meetings) FROM table_16201038_3 WHERE missouri_vs = "Texas Tech" | Name the total number of last 5 meetings for texas tech | <s>[INST]Name the total number of last 5 meetings for texas tech Context: CREATE TABLE table_16201038_3 (last_5_meetings VARCHAR, missouri_vs VARCHAR)[/INST]SELECT COUNT(last_5_meetings) FROM table_16201038_3 WHERE missouri_vs = "Texas Tech"</s> |
CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR) | SELECT visiting_team FROM table_name_59 WHERE date = "october 15, 2006" | Who was the visiting team on October 15, 2006? | <s>[INST]Who was the visiting team on October 15, 2006? Context: CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)[/INST]SELECT visiting_team FROM table_name_59 WHERE date = "october 15, 2006"</s> |
CREATE TABLE table_name_28 (format VARCHAR, station VARCHAR) | SELECT format FROM table_name_28 WHERE station = "klok" | Which format has a Station of klok? | <s>[INST]Which format has a Station of klok? Context: CREATE TABLE table_name_28 (format VARCHAR, station VARCHAR)[/INST]SELECT format FROM table_name_28 WHERE station = "klok"</s> |
CREATE TABLE table_name_5 (player VARCHAR, total VARCHAR, opposition VARCHAR) | SELECT player FROM table_name_5 WHERE total = 9 AND opposition = "offaly" | Which Player has a Total of 9, and an Opposition of offaly? | <s>[INST]Which Player has a Total of 9, and an Opposition of offaly? Context: CREATE TABLE table_name_5 (player VARCHAR, total VARCHAR, opposition VARCHAR)[/INST]SELECT player FROM table_name_5 WHERE total = 9 AND opposition = "offaly"</s> |
CREATE TABLE table_name_94 (number_of_electorates__2009_ VARCHAR, name VARCHAR) | SELECT number_of_electorates__2009_ FROM table_name_94 WHERE name = "gwalior rural" | What is the size of the 2009 electorate for Gwalior Rural? | <s>[INST]What is the size of the 2009 electorate for Gwalior Rural? Context: CREATE TABLE table_name_94 (number_of_electorates__2009_ VARCHAR, name VARCHAR)[/INST]SELECT number_of_electorates__2009_ FROM table_name_94 WHERE name = "gwalior rural"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.