answer stringlengths 18 557 | context stringlengths 27 489 | question stringlengths 12 244 | text stringlengths 275 1.7k |
|---|---|---|---|
SELECT city_of_license FROM table_name_64 WHERE frequency_mhz < 102.3 AND erp_w = 25 | CREATE TABLE table_name_64 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | what is the city of license for the station with the frequency mhz less than 102.3 abd erp w of 25? | <s>[INST] Given the following SQL query and context: Query: SELECT city_of_license FROM table_name_64 WHERE frequency_mhz < 102.3 AND erp_w = 25 Context: CREATE TABLE table_name_64 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the city of license for the station with the frequency mhz less than 102.3 abd erp w of 25? The answer to your question is: SELECT city_of_license FROM table_name_64 WHERE frequency_mhz < 102.3 AND erp_w = 25. [/s> |
SELECT class FROM table_name_35 WHERE call_sign = "w254ah" | CREATE TABLE table_name_35 (class VARCHAR, call_sign VARCHAR) | \What is the class of the station with the call sign w254ah? | <s>[INST] Given the following SQL query and context: Query: SELECT class FROM table_name_35 WHERE call_sign = "w254ah" Context: CREATE TABLE table_name_35 (class VARCHAR, call_sign VARCHAR) [/INST] Based on the provided SQL query and context, your question is: \What is the class of the station with the call sign w254ah? The answer to your question is: SELECT class FROM table_name_35 WHERE call_sign = "w254ah". [/s> |
SELECT class FROM table_name_54 WHERE erp_w > 30 | CREATE TABLE table_name_54 (class VARCHAR, erp_w INTEGER) | what is the class of the station with erp w more than 30? | <s>[INST] Given the following SQL query and context: Query: SELECT class FROM table_name_54 WHERE erp_w > 30 Context: CREATE TABLE table_name_54 (class VARCHAR, erp_w INTEGER) [/INST] Based on the provided SQL query and context, your question is: what is the class of the station with erp w more than 30? The answer to your question is: SELECT class FROM table_name_54 WHERE erp_w > 30. [/s> |
SELECT MAX(frequency_mhz) FROM table_name_77 WHERE call_sign = "w292cu" | CREATE TABLE table_name_77 (frequency_mhz INTEGER, call_sign VARCHAR) | what is the highest frequency mhz with the call sign w292cu? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(frequency_mhz) FROM table_name_77 WHERE call_sign = "w292cu" Context: CREATE TABLE table_name_77 (frequency_mhz INTEGER, call_sign VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the highest frequency mhz with the call sign w292cu? The answer to your question is: SELECT MAX(frequency_mhz) FROM table_name_77 WHERE call_sign = "w292cu". [/s> |
SELECT constructor FROM table_name_98 WHERE chassis = "ej15 ej15b" | CREATE TABLE table_name_98 (constructor VARCHAR, chassis VARCHAR) | Which constructor makes the ej15 ej15b chassis? | <s>[INST] Given the following SQL query and context: Query: SELECT constructor FROM table_name_98 WHERE chassis = "ej15 ej15b" Context: CREATE TABLE table_name_98 (constructor VARCHAR, chassis VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which constructor makes the ej15 ej15b chassis? The answer to your question is: SELECT constructor FROM table_name_98 WHERE chassis = "ej15 ej15b". [/s> |
SELECT tyre FROM table_name_35 WHERE driver = "pedro de la rosa" | CREATE TABLE table_name_35 (tyre VARCHAR, driver VARCHAR) | Which tyre is on the car driven by Pedro de la Rosa? | <s>[INST] Given the following SQL query and context: Query: SELECT tyre FROM table_name_35 WHERE driver = "pedro de la rosa" Context: CREATE TABLE table_name_35 (tyre VARCHAR, driver VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which tyre is on the car driven by Pedro de la Rosa? The answer to your question is: SELECT tyre FROM table_name_35 WHERE driver = "pedro de la rosa". [/s> |
SELECT constructor FROM table_name_34 WHERE chassis = "rb1" AND driver = "david coulthard" | CREATE TABLE table_name_34 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR) | Which constructor made the car with a rb1 chassis and which is driven by David Coulthard? | <s>[INST] Given the following SQL query and context: Query: SELECT constructor FROM table_name_34 WHERE chassis = "rb1" AND driver = "david coulthard" Context: CREATE TABLE table_name_34 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which constructor made the car with a rb1 chassis and which is driven by David Coulthard? The answer to your question is: SELECT constructor FROM table_name_34 WHERE chassis = "rb1" AND driver = "david coulthard". [/s> |
SELECT engine_β FROM table_name_85 WHERE chassis = "c24" AND driver = "jacques villeneuve" | CREATE TABLE table_name_85 (engine_β VARCHAR, chassis VARCHAR, driver VARCHAR) | Which constructor manufactured the car with a c24 chassis and which is driven by Jacques Villeneuve? | <s>[INST] Given the following SQL query and context: Query: SELECT engine_β FROM table_name_85 WHERE chassis = "c24" AND driver = "jacques villeneuve" Context: CREATE TABLE table_name_85 (engine_β VARCHAR, chassis VARCHAR, driver VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which constructor manufactured the car with a c24 chassis and which is driven by Jacques Villeneuve? The answer to your question is: SELECT engine_β FROM table_name_85 WHERE chassis = "c24" AND driver = "jacques villeneuve". [/s> |
SELECT region FROM table_name_39 WHERE catalog = "mhcl-20004" | CREATE TABLE table_name_39 (region VARCHAR, catalog VARCHAR) | What Region is the MHCL-20004 Catalog? | <s>[INST] Given the following SQL query and context: Query: SELECT region FROM table_name_39 WHERE catalog = "mhcl-20004" Context: CREATE TABLE table_name_39 (region VARCHAR, catalog VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Region is the MHCL-20004 Catalog? The answer to your question is: SELECT region FROM table_name_39 WHERE catalog = "mhcl-20004". [/s> |
SELECT region FROM table_name_88 WHERE catalog = "alca-272" | CREATE TABLE table_name_88 (region VARCHAR, catalog VARCHAR) | What region is the ALCA-272 Catalog? | <s>[INST] Given the following SQL query and context: Query: SELECT region FROM table_name_88 WHERE catalog = "alca-272" Context: CREATE TABLE table_name_88 (region VARCHAR, catalog VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What region is the ALCA-272 Catalog? The answer to your question is: SELECT region FROM table_name_88 WHERE catalog = "alca-272". [/s> |
SELECT label FROM table_name_77 WHERE catalog = "alca-9197" | CREATE TABLE table_name_77 (label VARCHAR, catalog VARCHAR) | What label is the ALCA-9197 Catalog? | <s>[INST] Given the following SQL query and context: Query: SELECT label FROM table_name_77 WHERE catalog = "alca-9197" Context: CREATE TABLE table_name_77 (label VARCHAR, catalog VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What label is the ALCA-9197 Catalog? The answer to your question is: SELECT label FROM table_name_77 WHERE catalog = "alca-9197". [/s> |
SELECT date FROM table_name_82 WHERE catalog = "mhcl-20004" | CREATE TABLE table_name_82 (date VARCHAR, catalog VARCHAR) | What date is the MHCL-20004 Catalog? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_82 WHERE catalog = "mhcl-20004" Context: CREATE TABLE table_name_82 (date VARCHAR, catalog VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What date is the MHCL-20004 Catalog? The answer to your question is: SELECT date FROM table_name_82 WHERE catalog = "mhcl-20004". [/s> |
SELECT date FROM table_name_88 WHERE format = "ed remaster cd" AND catalog = "toct-24365" | CREATE TABLE table_name_88 (date VARCHAR, format VARCHAR, catalog VARCHAR) | On what date was the Ed Remaster CD and TOCT-24365 Catalog released? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_88 WHERE format = "ed remaster cd" AND catalog = "toct-24365" Context: CREATE TABLE table_name_88 (date VARCHAR, format VARCHAR, catalog VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On what date was the Ed Remaster CD and TOCT-24365 Catalog released? The answer to your question is: SELECT date FROM table_name_88 WHERE format = "ed remaster cd" AND catalog = "toct-24365". [/s> |
SELECT identity_ies_ FROM table_name_93 WHERE dvd_volume > 5 | CREATE TABLE table_name_93 (identity_ies_ VARCHAR, dvd_volume INTEGER) | What identities have more than 5 DVD volumes? | <s>[INST] Given the following SQL query and context: Query: SELECT identity_ies_ FROM table_name_93 WHERE dvd_volume > 5 Context: CREATE TABLE table_name_93 (identity_ies_ VARCHAR, dvd_volume INTEGER) [/INST] Based on the provided SQL query and context, your question is: What identities have more than 5 DVD volumes? The answer to your question is: SELECT identity_ies_ FROM table_name_93 WHERE dvd_volume > 5. [/s> |
SELECT dvd_volume FROM table_name_36 WHERE identity_ies_ = "skippy johnson" | CREATE TABLE table_name_36 (dvd_volume VARCHAR, identity_ies_ VARCHAR) | How many DVD volumes was identified by Skippy Johnson? | <s>[INST] Given the following SQL query and context: Query: SELECT dvd_volume FROM table_name_36 WHERE identity_ies_ = "skippy johnson" Context: CREATE TABLE table_name_36 (dvd_volume VARCHAR, identity_ies_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many DVD volumes was identified by Skippy Johnson? The answer to your question is: SELECT dvd_volume FROM table_name_36 WHERE identity_ies_ = "skippy johnson". [/s> |
SELECT score FROM table_name_92 WHERE visitor = "st. louis" | CREATE TABLE table_name_92 (score VARCHAR, visitor VARCHAR) | What was the score when St. Louis was the visiting team? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_92 WHERE visitor = "st. louis" Context: CREATE TABLE table_name_92 (score VARCHAR, visitor VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score when St. Louis was the visiting team? The answer to your question is: SELECT score FROM table_name_92 WHERE visitor = "st. louis". [/s> |
SELECT decision FROM table_name_85 WHERE visitor = "chicago" | CREATE TABLE table_name_85 (decision VARCHAR, visitor VARCHAR) | What was the decision when Chicago was the visiting team? | <s>[INST] Given the following SQL query and context: Query: SELECT decision FROM table_name_85 WHERE visitor = "chicago" Context: CREATE TABLE table_name_85 (decision VARCHAR, visitor VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the decision when Chicago was the visiting team? The answer to your question is: SELECT decision FROM table_name_85 WHERE visitor = "chicago". [/s> |
SELECT score FROM table_name_52 WHERE home = "detroit" AND decision = "legace" AND date = "december 3" | CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR, home VARCHAR, decision VARCHAR) | What was the score on December 3 when Detroit was the home team and Legace took the decision? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_52 WHERE home = "detroit" AND decision = "legace" AND date = "december 3" Context: CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR, home VARCHAR, decision VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score on December 3 when Detroit was the home team and Legace took the decision? The answer to your question is: SELECT score FROM table_name_52 WHERE home = "detroit" AND decision = "legace" AND date = "december 3". [/s> |
SELECT record FROM table_name_68 WHERE visitor = "minnesota" | CREATE TABLE table_name_68 (record VARCHAR, visitor VARCHAR) | What was the record when Minnesota was the visiting team? | <s>[INST] Given the following SQL query and context: Query: SELECT record FROM table_name_68 WHERE visitor = "minnesota" Context: CREATE TABLE table_name_68 (record VARCHAR, visitor VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the record when Minnesota was the visiting team? The answer to your question is: SELECT record FROM table_name_68 WHERE visitor = "minnesota". [/s> |
SELECT date FROM table_name_3 WHERE catalog = "alca-275" | CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR) | On what date was the record with catalog ALCA-275 released? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_3 WHERE catalog = "alca-275" Context: CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On what date was the record with catalog ALCA-275 released? The answer to your question is: SELECT date FROM table_name_3 WHERE catalog = "alca-275". [/s> |
SELECT label FROM table_name_9 WHERE date = "march 25, 1984" | CREATE TABLE table_name_9 (label VARCHAR, date VARCHAR) | What label released a record on March 25, 1984? | <s>[INST] Given the following SQL query and context: Query: SELECT label FROM table_name_9 WHERE date = "march 25, 1984" Context: CREATE TABLE table_name_9 (label VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What label released a record on March 25, 1984? The answer to your question is: SELECT label FROM table_name_9 WHERE date = "march 25, 1984". [/s> |
SELECT label FROM table_name_83 WHERE date = "december 19, 2001" | CREATE TABLE table_name_83 (label VARCHAR, date VARCHAR) | What label released a record on December 19, 2001? | <s>[INST] Given the following SQL query and context: Query: SELECT label FROM table_name_83 WHERE date = "december 19, 2001" Context: CREATE TABLE table_name_83 (label VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What label released a record on December 19, 2001? The answer to your question is: SELECT label FROM table_name_83 WHERE date = "december 19, 2001". [/s> |
SELECT catalog FROM table_name_94 WHERE date = "may 27, 2009" | CREATE TABLE table_name_94 (catalog VARCHAR, date VARCHAR) | What is the catalog of the record released on May 27, 2009? | <s>[INST] Given the following SQL query and context: Query: SELECT catalog FROM table_name_94 WHERE date = "may 27, 2009" Context: CREATE TABLE table_name_94 (catalog VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the catalog of the record released on May 27, 2009? The answer to your question is: SELECT catalog FROM table_name_94 WHERE date = "may 27, 2009". [/s> |
SELECT date FROM table_name_5 WHERE label = "village records" AND catalog = "vrcl-2205" | CREATE TABLE table_name_5 (date VARCHAR, label VARCHAR, catalog VARCHAR) | On what date was a record from Village Records with catalog VRCL-2205 released? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_5 WHERE label = "village records" AND catalog = "vrcl-2205" Context: CREATE TABLE table_name_5 (date VARCHAR, label VARCHAR, catalog VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On what date was a record from Village Records with catalog VRCL-2205 released? The answer to your question is: SELECT date FROM table_name_5 WHERE label = "village records" AND catalog = "vrcl-2205". [/s> |
SELECT date FROM table_name_32 WHERE catalog = "alca-275" | CREATE TABLE table_name_32 (date VARCHAR, catalog VARCHAR) | On what date was the record with catalog ALCA-275 released? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_32 WHERE catalog = "alca-275" Context: CREATE TABLE table_name_32 (date VARCHAR, catalog VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On what date was the record with catalog ALCA-275 released? The answer to your question is: SELECT date FROM table_name_32 WHERE catalog = "alca-275". [/s> |
SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016 | CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR) | What was the earliest year that Yvette Alexander took office and was up for reelection after 2016? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016 Context: CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the earliest year that Yvette Alexander took office and was up for reelection after 2016? The answer to your question is: SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016. [/s> |
SELECT MIN(up_for_reelection) FROM table_name_80 WHERE took_office > 2011 AND position = "chairman" | CREATE TABLE table_name_80 (up_for_reelection INTEGER, took_office VARCHAR, position VARCHAR) | What is the earliest year a Chairman who took office after 2011 is up for reelection? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(up_for_reelection) FROM table_name_80 WHERE took_office > 2011 AND position = "chairman" Context: CREATE TABLE table_name_80 (up_for_reelection INTEGER, took_office VARCHAR, position VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the earliest year a Chairman who took office after 2011 is up for reelection? The answer to your question is: SELECT MIN(up_for_reelection) FROM table_name_80 WHERE took_office > 2011 AND position = "chairman". [/s> |
SELECT year FROM table_name_17 WHERE laps < 36 | CREATE TABLE table_name_17 (year VARCHAR, laps INTEGER) | What year had less than 36 laps? | <s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_17 WHERE laps < 36 Context: CREATE TABLE table_name_17 (year VARCHAR, laps INTEGER) [/INST] Based on the provided SQL query and context, your question is: What year had less than 36 laps? The answer to your question is: SELECT year FROM table_name_17 WHERE laps < 36. [/s> |
SELECT MAX(laps) FROM table_name_84 WHERE finish = "10" AND qual = "106.185" | CREATE TABLE table_name_84 (laps INTEGER, finish VARCHAR, qual VARCHAR) | What was the most laps with a finish of 10 and qualification of 106.185? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(laps) FROM table_name_84 WHERE finish = "10" AND qual = "106.185" Context: CREATE TABLE table_name_84 (laps INTEGER, finish VARCHAR, qual VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the most laps with a finish of 10 and qualification of 106.185? The answer to your question is: SELECT MAX(laps) FROM table_name_84 WHERE finish = "10" AND qual = "106.185". [/s> |
SELECT MAX(laps) FROM table_name_38 WHERE qual = "106.185" | CREATE TABLE table_name_38 (laps INTEGER, qual VARCHAR) | What is the most laps with a qualification of 106.185? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(laps) FROM table_name_38 WHERE qual = "106.185" Context: CREATE TABLE table_name_38 (laps INTEGER, qual VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the most laps with a qualification of 106.185? The answer to your question is: SELECT MAX(laps) FROM table_name_38 WHERE qual = "106.185". [/s> |
SELECT year FROM table_name_59 WHERE laps < 64 AND finish = "25" | CREATE TABLE table_name_59 (year VARCHAR, laps VARCHAR, finish VARCHAR) | In what year were laps less than 64 and the finish at 25? | <s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_59 WHERE laps < 64 AND finish = "25" Context: CREATE TABLE table_name_59 (year VARCHAR, laps VARCHAR, finish VARCHAR) [/INST] Based on the provided SQL query and context, your question is: In what year were laps less than 64 and the finish at 25? The answer to your question is: SELECT year FROM table_name_59 WHERE laps < 64 AND finish = "25". [/s> |
SELECT qual FROM table_name_51 WHERE year = "1932" | CREATE TABLE table_name_51 (qual VARCHAR, year VARCHAR) | What was the qualification in 1932? | <s>[INST] Given the following SQL query and context: Query: SELECT qual FROM table_name_51 WHERE year = "1932" Context: CREATE TABLE table_name_51 (qual VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the qualification in 1932? The answer to your question is: SELECT qual FROM table_name_51 WHERE year = "1932". [/s> |
SELECT start FROM table_name_12 WHERE rank = "3" AND year = "1936" | CREATE TABLE table_name_12 (start VARCHAR, rank VARCHAR, year VARCHAR) | What was the start with a rank of 3 in 1936? | <s>[INST] Given the following SQL query and context: Query: SELECT start FROM table_name_12 WHERE rank = "3" AND year = "1936" Context: CREATE TABLE table_name_12 (start VARCHAR, rank VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the start with a rank of 3 in 1936? The answer to your question is: SELECT start FROM table_name_12 WHERE rank = "3" AND year = "1936". [/s> |
SELECT agg FROM table_name_47 WHERE team_1 = "al-merrikh" | CREATE TABLE table_name_47 (agg VARCHAR, team_1 VARCHAR) | For a Team 1 of Al-Merrikh, what was the aggregate? | <s>[INST] Given the following SQL query and context: Query: SELECT agg FROM table_name_47 WHERE team_1 = "al-merrikh" Context: CREATE TABLE table_name_47 (agg VARCHAR, team_1 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: For a Team 1 of Al-Merrikh, what was the aggregate? The answer to your question is: SELECT agg FROM table_name_47 WHERE team_1 = "al-merrikh". [/s> |
SELECT 2 AS nd_leg FROM table_name_74 WHERE agg = "1-3" | CREATE TABLE table_name_74 (agg VARCHAR) | For an aggregate of 1-3, what was the 2nd leg? | <s>[INST] Given the following SQL query and context: Query: SELECT 2 AS nd_leg FROM table_name_74 WHERE agg = "1-3" Context: CREATE TABLE table_name_74 (agg VARCHAR) [/INST] Based on the provided SQL query and context, your question is: For an aggregate of 1-3, what was the 2nd leg? The answer to your question is: SELECT 2 AS nd_leg FROM table_name_74 WHERE agg = "1-3". [/s> |
SELECT 2 AS nd_leg FROM table_name_96 WHERE team_2 = "al-faisaly" | CREATE TABLE table_name_96 (team_2 VARCHAR) | For a team 2 of Al-Faisaly, what was the 2nd leg? | <s>[INST] Given the following SQL query and context: Query: SELECT 2 AS nd_leg FROM table_name_96 WHERE team_2 = "al-faisaly" Context: CREATE TABLE table_name_96 (team_2 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: For a team 2 of Al-Faisaly, what was the 2nd leg? The answer to your question is: SELECT 2 AS nd_leg FROM table_name_96 WHERE team_2 = "al-faisaly". [/s> |
SELECT years FROM table_name_90 WHERE area = "upper hutt" AND authority = "private" | CREATE TABLE table_name_90 (years VARCHAR, area VARCHAR, authority VARCHAR) | What years is the private school in upper hutt? | <s>[INST] Given the following SQL query and context: Query: SELECT years FROM table_name_90 WHERE area = "upper hutt" AND authority = "private" Context: CREATE TABLE table_name_90 (years VARCHAR, area VARCHAR, authority VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What years is the private school in upper hutt? The answer to your question is: SELECT years FROM table_name_90 WHERE area = "upper hutt" AND authority = "private". [/s> |
SELECT name FROM table_name_39 WHERE decile = "7" AND area = "upper hutt" | CREATE TABLE table_name_39 (name VARCHAR, decile VARCHAR, area VARCHAR) | What school with a decile of 7 is in upper hutt? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_39 WHERE decile = "7" AND area = "upper hutt" Context: CREATE TABLE table_name_39 (name VARCHAR, decile VARCHAR, area VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What school with a decile of 7 is in upper hutt? The answer to your question is: SELECT name FROM table_name_39 WHERE decile = "7" AND area = "upper hutt". [/s> |
SELECT authority FROM table_name_58 WHERE gender = "coed" AND area = "pinehaven" | CREATE TABLE table_name_58 (authority VARCHAR, gender VARCHAR, area VARCHAR) | What authority is the coed school in pinehaven? | <s>[INST] Given the following SQL query and context: Query: SELECT authority FROM table_name_58 WHERE gender = "coed" AND area = "pinehaven" Context: CREATE TABLE table_name_58 (authority VARCHAR, gender VARCHAR, area VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What authority is the coed school in pinehaven? The answer to your question is: SELECT authority FROM table_name_58 WHERE gender = "coed" AND area = "pinehaven". [/s> |
SELECT years FROM table_name_96 WHERE name = "plateau school" | CREATE TABLE table_name_96 (years VARCHAR, name VARCHAR) | What years does plateau school serve? | <s>[INST] Given the following SQL query and context: Query: SELECT years FROM table_name_96 WHERE name = "plateau school" Context: CREATE TABLE table_name_96 (years VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What years does plateau school serve? The answer to your question is: SELECT years FROM table_name_96 WHERE name = "plateau school". [/s> |
SELECT authority FROM table_name_2 WHERE name = "upper valley middle school" | CREATE TABLE table_name_2 (authority VARCHAR, name VARCHAR) | Is Upper valley middle school public or private? | <s>[INST] Given the following SQL query and context: Query: SELECT authority FROM table_name_2 WHERE name = "upper valley middle school" Context: CREATE TABLE table_name_2 (authority VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Is Upper valley middle school public or private? The answer to your question is: SELECT authority FROM table_name_2 WHERE name = "upper valley middle school". [/s> |
SELECT record FROM table_name_57 WHERE date = "june 13" | CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR) | What is the record on June 13? | <s>[INST] Given the following SQL query and context: Query: SELECT record FROM table_name_57 WHERE date = "june 13" Context: CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the record on June 13? The answer to your question is: SELECT record FROM table_name_57 WHERE date = "june 13". [/s> |
SELECT MAX(lot_no) FROM table_name_46 WHERE notes = "b4 bogies" AND diagram = 185 | CREATE TABLE table_name_46 (lot_no INTEGER, notes VARCHAR, diagram VARCHAR) | Name the most lot number with notes of b4 bogies and diagram of 185 | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(lot_no) FROM table_name_46 WHERE notes = "b4 bogies" AND diagram = 185 Context: CREATE TABLE table_name_46 (lot_no INTEGER, notes VARCHAR, diagram VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the most lot number with notes of b4 bogies and diagram of 185 The answer to your question is: SELECT MAX(lot_no) FROM table_name_46 WHERE notes = "b4 bogies" AND diagram = 185. [/s> |
SELECT fleet_numbers FROM table_name_10 WHERE diagram = 186 AND lot_no = 30798 | CREATE TABLE table_name_10 (fleet_numbers VARCHAR, diagram VARCHAR, lot_no VARCHAR) | Name the fleet numbers for diagram of 186 and lot number of 30798 | <s>[INST] Given the following SQL query and context: Query: SELECT fleet_numbers FROM table_name_10 WHERE diagram = 186 AND lot_no = 30798 Context: CREATE TABLE table_name_10 (fleet_numbers VARCHAR, diagram VARCHAR, lot_no VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the fleet numbers for diagram of 186 and lot number of 30798 The answer to your question is: SELECT fleet_numbers FROM table_name_10 WHERE diagram = 186 AND lot_no = 30798. [/s> |
SELECT name FROM table_name_36 WHERE direction = "toyohashi east" AND length__km_ = 24.7 | CREATE TABLE table_name_36 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR) | What line is 24.7 km and head towards Toyohashi East? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_36 WHERE direction = "toyohashi east" AND length__km_ = 24.7 Context: CREATE TABLE table_name_36 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What line is 24.7 km and head towards Toyohashi East? The answer to your question is: SELECT name FROM table_name_36 WHERE direction = "toyohashi east" AND length__km_ = 24.7. [/s> |
SELECT record FROM table_name_26 WHERE date = "november 18" | CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) | What is the record on November 18? | <s>[INST] Given the following SQL query and context: Query: SELECT record FROM table_name_26 WHERE date = "november 18" Context: CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the record on November 18? The answer to your question is: SELECT record FROM table_name_26 WHERE date = "november 18". [/s> |
SELECT AVG(attendance) FROM table_name_22 WHERE home = "chicago bears" | CREATE TABLE table_name_22 (attendance INTEGER, home VARCHAR) | What was the average attendance when Chicago Bears were the home team? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(attendance) FROM table_name_22 WHERE home = "chicago bears" Context: CREATE TABLE table_name_22 (attendance INTEGER, home VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the average attendance when Chicago Bears were the home team? The answer to your question is: SELECT AVG(attendance) FROM table_name_22 WHERE home = "chicago bears". [/s> |
SELECT score FROM table_name_52 WHERE record = "5-4-1" | CREATE TABLE table_name_52 (score VARCHAR, record VARCHAR) | What is the score when the record is 5-4-1? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_52 WHERE record = "5-4-1" Context: CREATE TABLE table_name_52 (score VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the score when the record is 5-4-1? The answer to your question is: SELECT score FROM table_name_52 WHERE record = "5-4-1". [/s> |
SELECT MAX(attendance) FROM table_name_63 WHERE record = "1-1-0" | CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR) | What is the largest number in attendance when the record is 1-1-0? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(attendance) FROM table_name_63 WHERE record = "1-1-0" Context: CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the largest number in attendance when the record is 1-1-0? The answer to your question is: SELECT MAX(attendance) FROM table_name_63 WHERE record = "1-1-0". [/s> |
SELECT gdp_per_capita__us$_ FROM table_name_77 WHERE population = "56,210,000" | CREATE TABLE table_name_77 (gdp_per_capita__us$_ VARCHAR, population VARCHAR) | What is the GDP of the nation with 56,210,000 people? | <s>[INST] Given the following SQL query and context: Query: SELECT gdp_per_capita__us$_ FROM table_name_77 WHERE population = "56,210,000" Context: CREATE TABLE table_name_77 (gdp_per_capita__us$_ VARCHAR, population VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the GDP of the nation with 56,210,000 people? The answer to your question is: SELECT gdp_per_capita__us$_ FROM table_name_77 WHERE population = "56,210,000". [/s> |
SELECT area__kmΒ²_ FROM table_name_11 WHERE gdp_per_capita__us$_ = "11,929" | CREATE TABLE table_name_11 (area__kmΒ²_ VARCHAR, gdp_per_capita__us$_ VARCHAR) | What is the area of the nation with GDP per capita (US$) of 11,929? | <s>[INST] Given the following SQL query and context: Query: SELECT area__kmΒ²_ FROM table_name_11 WHERE gdp_per_capita__us$_ = "11,929" Context: CREATE TABLE table_name_11 (area__kmΒ²_ VARCHAR, gdp_per_capita__us$_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the area of the nation with GDP per capita (US$) of 11,929? The answer to your question is: SELECT area__kmΒ²_ FROM table_name_11 WHERE gdp_per_capita__us$_ = "11,929". [/s> |
SELECT population FROM table_name_99 WHERE gdp_per_capita__us$_ = "11,929" | CREATE TABLE table_name_99 (population VARCHAR, gdp_per_capita__us$_ VARCHAR) | What is the population of the nation that has a GDP per capita (US$) of 11,929? | <s>[INST] Given the following SQL query and context: Query: SELECT population FROM table_name_99 WHERE gdp_per_capita__us$_ = "11,929" Context: CREATE TABLE table_name_99 (population VARCHAR, gdp_per_capita__us$_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the population of the nation that has a GDP per capita (US$) of 11,929? The answer to your question is: SELECT population FROM table_name_99 WHERE gdp_per_capita__us$_ = "11,929". [/s> |
SELECT population FROM table_name_31 WHERE area__kmΒ²_ = "70,273" | CREATE TABLE table_name_31 (population VARCHAR, area__kmΒ²_ VARCHAR) | What is the Population of the nation that has an Area (kmΒ²) of 70,273? | <s>[INST] Given the following SQL query and context: Query: SELECT population FROM table_name_31 WHERE area__kmΒ²_ = "70,273" Context: CREATE TABLE table_name_31 (population VARCHAR, area__kmΒ²_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Population of the nation that has an Area (kmΒ²) of 70,273? The answer to your question is: SELECT population FROM table_name_31 WHERE area__kmΒ²_ = "70,273". [/s> |
SELECT population FROM table_name_68 WHERE member_countries = "existing members (1973)" | CREATE TABLE table_name_68 (population VARCHAR, member_countries VARCHAR) | What is the Population of the nation that has a Member countries consisting of existing members (1973)? | <s>[INST] Given the following SQL query and context: Query: SELECT population FROM table_name_68 WHERE member_countries = "existing members (1973)" Context: CREATE TABLE table_name_68 (population VARCHAR, member_countries VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Population of the nation that has a Member countries consisting of existing members (1973)? The answer to your question is: SELECT population FROM table_name_68 WHERE member_countries = "existing members (1973)". [/s> |
SELECT television_network FROM table_name_67 WHERE type_of_network = "community" AND founded = "2002" | CREATE TABLE table_name_67 (television_network VARCHAR, type_of_network VARCHAR, founded VARCHAR) | What television network, founded in 2002, has a community type of network? | <s>[INST] Given the following SQL query and context: Query: SELECT television_network FROM table_name_67 WHERE type_of_network = "community" AND founded = "2002" Context: CREATE TABLE table_name_67 (television_network VARCHAR, type_of_network VARCHAR, founded VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What television network, founded in 2002, has a community type of network? The answer to your question is: SELECT television_network FROM table_name_67 WHERE type_of_network = "community" AND founded = "2002". [/s> |
SELECT stadium FROM table_name_67 WHERE visiting_team = "green bay packers" | CREATE TABLE table_name_67 (stadium VARCHAR, visiting_team VARCHAR) | At what stadium did the Green Bay Packers play an away game? | <s>[INST] Given the following SQL query and context: Query: SELECT stadium FROM table_name_67 WHERE visiting_team = "green bay packers" Context: CREATE TABLE table_name_67 (stadium VARCHAR, visiting_team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: At what stadium did the Green Bay Packers play an away game? The answer to your question is: SELECT stadium FROM table_name_67 WHERE visiting_team = "green bay packers". [/s> |
SELECT stadium FROM table_name_60 WHERE final_score = "31-28" | CREATE TABLE table_name_60 (stadium VARCHAR, final_score VARCHAR) | At what stadium was the final score 31-28? | <s>[INST] Given the following SQL query and context: Query: SELECT stadium FROM table_name_60 WHERE final_score = "31-28" Context: CREATE TABLE table_name_60 (stadium VARCHAR, final_score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: At what stadium was the final score 31-28? The answer to your question is: SELECT stadium FROM table_name_60 WHERE final_score = "31-28". [/s> |
SELECT host_team FROM table_name_53 WHERE visiting_team = "kansas city chiefs" | CREATE TABLE table_name_53 (host_team VARCHAR, visiting_team VARCHAR) | Which team hosted the Kansas City Chiefs? | <s>[INST] Given the following SQL query and context: Query: SELECT host_team FROM table_name_53 WHERE visiting_team = "kansas city chiefs" Context: CREATE TABLE table_name_53 (host_team VARCHAR, visiting_team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which team hosted the Kansas City Chiefs? The answer to your question is: SELECT host_team FROM table_name_53 WHERE visiting_team = "kansas city chiefs". [/s> |
SELECT host_team FROM table_name_75 WHERE stadium = "tampa stadium" | CREATE TABLE table_name_75 (host_team VARCHAR, stadium VARCHAR) | What team hosted at Tampa Stadium? | <s>[INST] Given the following SQL query and context: Query: SELECT host_team FROM table_name_75 WHERE stadium = "tampa stadium" Context: CREATE TABLE table_name_75 (host_team VARCHAR, stadium VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What team hosted at Tampa Stadium? The answer to your question is: SELECT host_team FROM table_name_75 WHERE stadium = "tampa stadium". [/s> |
SELECT score FROM table_name_89 WHERE record = "43-26" | CREATE TABLE table_name_89 (score VARCHAR, record VARCHAR) | With a record of 43-26, what was the score that game? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_89 WHERE record = "43-26" Context: CREATE TABLE table_name_89 (score VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: With a record of 43-26, what was the score that game? The answer to your question is: SELECT score FROM table_name_89 WHERE record = "43-26". [/s> |
SELECT loss FROM table_name_58 WHERE opponent = "tigers" AND date = "june 8" | CREATE TABLE table_name_58 (loss VARCHAR, opponent VARCHAR, date VARCHAR) | On June 8, what's the loss when the Blue Jays played the Tigers? | <s>[INST] Given the following SQL query and context: Query: SELECT loss FROM table_name_58 WHERE opponent = "tigers" AND date = "june 8" Context: CREATE TABLE table_name_58 (loss VARCHAR, opponent VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On June 8, what's the loss when the Blue Jays played the Tigers? The answer to your question is: SELECT loss FROM table_name_58 WHERE opponent = "tigers" AND date = "june 8". [/s> |
SELECT date FROM table_name_71 WHERE record = "38-22" | CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR) | What date was the record 38-22? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_71 WHERE record = "38-22" Context: CREATE TABLE table_name_71 (date VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What date was the record 38-22? The answer to your question is: SELECT date FROM table_name_71 WHERE record = "38-22". [/s> |
SELECT score FROM table_name_77 WHERE record = "39-25" | CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) | The game that had a record of 39-25, what was the score? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_77 WHERE record = "39-25" Context: CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: The game that had a record of 39-25, what was the score? The answer to your question is: SELECT score FROM table_name_77 WHERE record = "39-25". [/s> |
SELECT runner_up FROM table_name_12 WHERE margin_of_victory = "10 strokes" | CREATE TABLE table_name_12 (runner_up VARCHAR, margin_of_victory VARCHAR) | Which runner-up has a 10 strokes margin of victory? | <s>[INST] Given the following SQL query and context: Query: SELECT runner_up FROM table_name_12 WHERE margin_of_victory = "10 strokes" Context: CREATE TABLE table_name_12 (runner_up VARCHAR, margin_of_victory VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which runner-up has a 10 strokes margin of victory? The answer to your question is: SELECT runner_up FROM table_name_12 WHERE margin_of_victory = "10 strokes". [/s> |
SELECT event FROM table_name_66 WHERE time = "0:55" | CREATE TABLE table_name_66 (event VARCHAR, time VARCHAR) | Which of the events only lasted no more than 0:55? | <s>[INST] Given the following SQL query and context: Query: SELECT event FROM table_name_66 WHERE time = "0:55" Context: CREATE TABLE table_name_66 (event VARCHAR, time VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which of the events only lasted no more than 0:55? The answer to your question is: SELECT event FROM table_name_66 WHERE time = "0:55". [/s> |
SELECT event FROM table_name_50 WHERE round = 3 AND opponent = "fernando terere" | CREATE TABLE table_name_50 (event VARCHAR, round VARCHAR, opponent VARCHAR) | Which event only lasted for 3 rounds against Fernando Terere? | <s>[INST] Given the following SQL query and context: Query: SELECT event FROM table_name_50 WHERE round = 3 AND opponent = "fernando terere" Context: CREATE TABLE table_name_50 (event VARCHAR, round VARCHAR, opponent VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which event only lasted for 3 rounds against Fernando Terere? The answer to your question is: SELECT event FROM table_name_50 WHERE round = 3 AND opponent = "fernando terere". [/s> |
SELECT primary_sponsor_s_ FROM table_name_4 WHERE owner_s_ = "randy humphrey" | CREATE TABLE table_name_4 (primary_sponsor_s_ VARCHAR, owner_s_ VARCHAR) | What is the Primary Sponsor for the team owned by Randy Humphrey? | <s>[INST] Given the following SQL query and context: Query: SELECT primary_sponsor_s_ FROM table_name_4 WHERE owner_s_ = "randy humphrey" Context: CREATE TABLE table_name_4 (primary_sponsor_s_ VARCHAR, owner_s_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Primary Sponsor for the team owned by Randy Humphrey? The answer to your question is: SELECT primary_sponsor_s_ FROM table_name_4 WHERE owner_s_ = "randy humphrey". [/s> |
SELECT driver_s_ FROM table_name_57 WHERE owner_s_ = "bob keselowski" | CREATE TABLE table_name_57 (driver_s_ VARCHAR, owner_s_ VARCHAR) | Who is the Driver on Bob Keselowski's team? | <s>[INST] Given the following SQL query and context: Query: SELECT driver_s_ FROM table_name_57 WHERE owner_s_ = "bob keselowski" Context: CREATE TABLE table_name_57 (driver_s_ VARCHAR, owner_s_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who is the Driver on Bob Keselowski's team? The answer to your question is: SELECT driver_s_ FROM table_name_57 WHERE owner_s_ = "bob keselowski". [/s> |
SELECT team FROM table_name_50 WHERE crew_chief = "walter giles" | CREATE TABLE table_name_50 (team VARCHAR, crew_chief VARCHAR) | Walter Giles is Crew Chief of what team? | <s>[INST] Given the following SQL query and context: Query: SELECT team FROM table_name_50 WHERE crew_chief = "walter giles" Context: CREATE TABLE table_name_50 (team VARCHAR, crew_chief VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Walter Giles is Crew Chief of what team? The answer to your question is: SELECT team FROM table_name_50 WHERE crew_chief = "walter giles". [/s> |
SELECT club FROM table_name_34 WHERE stadium = "stc krymteplitsia" | CREATE TABLE table_name_34 (club VARCHAR, stadium VARCHAR) | What club does the stadium stc krymteplitsia belong to? | <s>[INST] Given the following SQL query and context: Query: SELECT club FROM table_name_34 WHERE stadium = "stc krymteplitsia" Context: CREATE TABLE table_name_34 (club VARCHAR, stadium VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What club does the stadium stc krymteplitsia belong to? The answer to your question is: SELECT club FROM table_name_34 WHERE stadium = "stc krymteplitsia". [/s> |
SELECT qual FROM table_name_61 WHERE year = "1947" | CREATE TABLE table_name_61 (qual VARCHAR, year VARCHAR) | What was Tony Bettenhausen's qualifying time in 1947? | <s>[INST] Given the following SQL query and context: Query: SELECT qual FROM table_name_61 WHERE year = "1947" Context: CREATE TABLE table_name_61 (qual VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was Tony Bettenhausen's qualifying time in 1947? The answer to your question is: SELECT qual FROM table_name_61 WHERE year = "1947". [/s> |
SELECT year FROM table_name_43 WHERE laps > 200 | CREATE TABLE table_name_43 (year VARCHAR, laps INTEGER) | Which year did Tony Bettenhausen complete more than 200 laps? | <s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_43 WHERE laps > 200 Context: CREATE TABLE table_name_43 (year VARCHAR, laps INTEGER) [/INST] Based on the provided SQL query and context, your question is: Which year did Tony Bettenhausen complete more than 200 laps? The answer to your question is: SELECT year FROM table_name_43 WHERE laps > 200. [/s> |
SELECT 2006 FROM table_name_40 WHERE 2003 = "not held" AND 2012 = "a" | CREATE TABLE table_name_40 (Id VARCHAR) | What was the value in 2006 when 2003 was not held and 2012 was A? | <s>[INST] Given the following SQL query and context: Query: SELECT 2006 FROM table_name_40 WHERE 2003 = "not held" AND 2012 = "a" Context: CREATE TABLE table_name_40 (Id VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the value in 2006 when 2003 was not held and 2012 was A? The answer to your question is: SELECT 2006 FROM table_name_40 WHERE 2003 = "not held" AND 2012 = "a". [/s> |
SELECT 2008 FROM table_name_35 WHERE 2012 = "grand slam tournaments" | CREATE TABLE table_name_35 (Id VARCHAR) | What was the 2008 value when 2012 was Grand Slam Tournaments? | <s>[INST] Given the following SQL query and context: Query: SELECT 2008 FROM table_name_35 WHERE 2012 = "grand slam tournaments" Context: CREATE TABLE table_name_35 (Id VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the 2008 value when 2012 was Grand Slam Tournaments? The answer to your question is: SELECT 2008 FROM table_name_35 WHERE 2012 = "grand slam tournaments". [/s> |
SELECT 2008 FROM table_name_1 WHERE 2012 = "1r" AND 2010 = "a" AND 2005 = "a" | CREATE TABLE table_name_1 (Id VARCHAR) | What was the value in 2008 when 2012 was 1R, 2010 was A, and 2005 was A? | <s>[INST] Given the following SQL query and context: Query: SELECT 2008 FROM table_name_1 WHERE 2012 = "1r" AND 2010 = "a" AND 2005 = "a" Context: CREATE TABLE table_name_1 (Id VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the value in 2008 when 2012 was 1R, 2010 was A, and 2005 was A? The answer to your question is: SELECT 2008 FROM table_name_1 WHERE 2012 = "1r" AND 2010 = "a" AND 2005 = "a". [/s> |
SELECT 2003 FROM table_name_86 WHERE 2006 = "wta premier mandatory tournaments" | CREATE TABLE table_name_86 (Id VARCHAR) | What was the value in 2003 when 2006 was WTA Premier Mandatory Tournaments? | <s>[INST] Given the following SQL query and context: Query: SELECT 2003 FROM table_name_86 WHERE 2006 = "wta premier mandatory tournaments" Context: CREATE TABLE table_name_86 (Id VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the value in 2003 when 2006 was WTA Premier Mandatory Tournaments? The answer to your question is: SELECT 2003 FROM table_name_86 WHERE 2006 = "wta premier mandatory tournaments". [/s> |
SELECT 2009 FROM table_name_5 WHERE 2005 = "a" AND tournament = "australian open" | CREATE TABLE table_name_5 (tournament VARCHAR) | What was the value in 2009 when 2005 was A for the Australian Open? | <s>[INST] Given the following SQL query and context: Query: SELECT 2009 FROM table_name_5 WHERE 2005 = "a" AND tournament = "australian open" Context: CREATE TABLE table_name_5 (tournament VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the value in 2009 when 2005 was A for the Australian Open? The answer to your question is: SELECT 2009 FROM table_name_5 WHERE 2005 = "a" AND tournament = "australian open". [/s> |
SELECT 2012 FROM table_name_83 WHERE 2002 = "q1" AND 2010 = "1r" | CREATE TABLE table_name_83 (Id VARCHAR) | What was the value in 2012 when 2002 was Q1 and 2010 was 1R? | <s>[INST] Given the following SQL query and context: Query: SELECT 2012 FROM table_name_83 WHERE 2002 = "q1" AND 2010 = "1r" Context: CREATE TABLE table_name_83 (Id VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the value in 2012 when 2002 was Q1 and 2010 was 1R? The answer to your question is: SELECT 2012 FROM table_name_83 WHERE 2002 = "q1" AND 2010 = "1r". [/s> |
SELECT type FROM table_name_15 WHERE gnis_id = 1139805 | CREATE TABLE table_name_15 (type VARCHAR, gnis_id VARCHAR) | What type has a GNIS ID of 1139805 | <s>[INST] Given the following SQL query and context: Query: SELECT type FROM table_name_15 WHERE gnis_id = 1139805 Context: CREATE TABLE table_name_15 (type VARCHAR, gnis_id VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What type has a GNIS ID of 1139805 The answer to your question is: SELECT type FROM table_name_15 WHERE gnis_id = 1139805. [/s> |
SELECT name FROM table_name_85 WHERE usgs_map = "clear lake" | CREATE TABLE table_name_85 (name VARCHAR, usgs_map VARCHAR) | Which name has a USGS Map of clear lake? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_85 WHERE usgs_map = "clear lake" Context: CREATE TABLE table_name_85 (name VARCHAR, usgs_map VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which name has a USGS Map of clear lake? The answer to your question is: SELECT name FROM table_name_85 WHERE usgs_map = "clear lake". [/s> |
SELECT status FROM table_name_31 WHERE name = "norris" | CREATE TABLE table_name_31 (status VARCHAR, name VARCHAR) | What is the status of Norris? | <s>[INST] Given the following SQL query and context: Query: SELECT status FROM table_name_31 WHERE name = "norris" Context: CREATE TABLE table_name_31 (status VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the status of Norris? The answer to your question is: SELECT status FROM table_name_31 WHERE name = "norris". [/s> |
SELECT source FROM table_name_18 WHERE name = "laird" | CREATE TABLE table_name_18 (source VARCHAR, name VARCHAR) | What is the source for Laird? | <s>[INST] Given the following SQL query and context: Query: SELECT source FROM table_name_18 WHERE name = "laird" Context: CREATE TABLE table_name_18 (source VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the source for Laird? The answer to your question is: SELECT source FROM table_name_18 WHERE name = "laird". [/s> |
SELECT 1958 AS _ciΓ© FROM table_name_69 WHERE class = "s" | CREATE TABLE table_name_69 (class VARCHAR) | What 1958 CIE is class s? | <s>[INST] Given the following SQL query and context: Query: SELECT 1958 AS _ciΓ© FROM table_name_69 WHERE class = "s" Context: CREATE TABLE table_name_69 (class VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What 1958 CIE is class s? The answer to your question is: SELECT 1958 AS _ciΓ© FROM table_name_69 WHERE class = "s". [/s> |
SELECT date_withdrawn FROM table_name_96 WHERE fleet_numbers = "12, 25, 42β46, 50, 70β71, 74β77, 106β107, 129" | CREATE TABLE table_name_96 (date_withdrawn VARCHAR, fleet_numbers VARCHAR) | What day withdrawn is associated with fleet numbers of 12, 25, 42β46, 50, 70β71, 74β77, 106β107, 129? | <s>[INST] Given the following SQL query and context: Query: SELECT date_withdrawn FROM table_name_96 WHERE fleet_numbers = "12, 25, 42β46, 50, 70β71, 74β77, 106β107, 129" Context: CREATE TABLE table_name_96 (date_withdrawn VARCHAR, fleet_numbers VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What day withdrawn is associated with fleet numbers of 12, 25, 42β46, 50, 70β71, 74β77, 106β107, 129? The answer to your question is: SELECT date_withdrawn FROM table_name_96 WHERE fleet_numbers = "12, 25, 42β46, 50, 70β71, 74β77, 106β107, 129". [/s> |
SELECT player FROM table_name_72 WHERE score = 74 - 74 - 73 - 70 = 291 | CREATE TABLE table_name_72 (player VARCHAR, score VARCHAR) | Which player has a score of 74-74-73-70=291? | <s>[INST] Given the following SQL query and context: Query: SELECT player FROM table_name_72 WHERE score = 74 - 74 - 73 - 70 = 291 Context: CREATE TABLE table_name_72 (player VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which player has a score of 74-74-73-70=291? The answer to your question is: SELECT player FROM table_name_72 WHERE score = 74 - 74 - 73 - 70 = 291. [/s> |
SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE country = "united states" AND score = 72 - 68 - 74 - 72 = 286 | CREATE TABLE table_name_58 (earnings___ INTEGER, country VARCHAR, score VARCHAR) | What is the average earnings of a United States player who had a score of 72-68-74-72=286? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE country = "united states" AND score = 72 - 68 - 74 - 72 = 286 Context: CREATE TABLE table_name_58 (earnings___ INTEGER, country VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average earnings of a United States player who had a score of 72-68-74-72=286? The answer to your question is: SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE country = "united states" AND score = 72 - 68 - 74 - 72 = 286. [/s> |
SELECT attendance FROM table_name_12 WHERE loss = "mercker (3-1)" | CREATE TABLE table_name_12 (attendance VARCHAR, loss VARCHAR) | What was the attendance at the game that had a loss of Mercker (3-1)? | <s>[INST] Given the following SQL query and context: Query: SELECT attendance FROM table_name_12 WHERE loss = "mercker (3-1)" Context: CREATE TABLE table_name_12 (attendance VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the attendance at the game that had a loss of Mercker (3-1)? The answer to your question is: SELECT attendance FROM table_name_12 WHERE loss = "mercker (3-1)". [/s> |
SELECT attendance FROM table_name_49 WHERE loss = "ayala (6-12)" | CREATE TABLE table_name_49 (attendance VARCHAR, loss VARCHAR) | What was the attendance at the game that had a loss of Ayala (6-12)? | <s>[INST] Given the following SQL query and context: Query: SELECT attendance FROM table_name_49 WHERE loss = "ayala (6-12)" Context: CREATE TABLE table_name_49 (attendance VARCHAR, loss VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the attendance at the game that had a loss of Ayala (6-12)? The answer to your question is: SELECT attendance FROM table_name_49 WHERE loss = "ayala (6-12)". [/s> |
SELECT loss FROM table_name_65 WHERE score = "9-7" | CREATE TABLE table_name_65 (loss VARCHAR, score VARCHAR) | What was the loss of the game that had a score of 9-7? | <s>[INST] Given the following SQL query and context: Query: SELECT loss FROM table_name_65 WHERE score = "9-7" Context: CREATE TABLE table_name_65 (loss VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the loss of the game that had a score of 9-7? The answer to your question is: SELECT loss FROM table_name_65 WHERE score = "9-7". [/s> |
SELECT loss FROM table_name_62 WHERE attendance = "14,691" | CREATE TABLE table_name_62 (loss VARCHAR, attendance VARCHAR) | What was the loss of the game attended by 14,691? | <s>[INST] Given the following SQL query and context: Query: SELECT loss FROM table_name_62 WHERE attendance = "14,691" Context: CREATE TABLE table_name_62 (loss VARCHAR, attendance VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the loss of the game attended by 14,691? The answer to your question is: SELECT loss FROM table_name_62 WHERE attendance = "14,691". [/s> |
SELECT loss FROM table_name_21 WHERE attendance = "29,704" | CREATE TABLE table_name_21 (loss VARCHAR, attendance VARCHAR) | What was the loss of the game attended by 29,704? | <s>[INST] Given the following SQL query and context: Query: SELECT loss FROM table_name_21 WHERE attendance = "29,704" Context: CREATE TABLE table_name_21 (loss VARCHAR, attendance VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the loss of the game attended by 29,704? The answer to your question is: SELECT loss FROM table_name_21 WHERE attendance = "29,704". [/s> |
SELECT winner FROM table_name_66 WHERE location = "clemson, sc" AND date = "november 17, 2012" | CREATE TABLE table_name_66 (winner VARCHAR, location VARCHAR, date VARCHAR) | What is the Winner, when the Location is Clemson, SC, and when the Date is November 17, 2012? | <s>[INST] Given the following SQL query and context: Query: SELECT winner FROM table_name_66 WHERE location = "clemson, sc" AND date = "november 17, 2012" Context: CREATE TABLE table_name_66 (winner VARCHAR, location VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Winner, when the Location is Clemson, SC, and when the Date is November 17, 2012? The answer to your question is: SELECT winner FROM table_name_66 WHERE location = "clemson, sc" AND date = "november 17, 2012". [/s> |
SELECT location FROM table_name_88 WHERE score = "38-29" | CREATE TABLE table_name_88 (location VARCHAR, score VARCHAR) | What is the Location, when the Score is 38-29? | <s>[INST] Given the following SQL query and context: Query: SELECT location FROM table_name_88 WHERE score = "38-29" Context: CREATE TABLE table_name_88 (location VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Location, when the Score is 38-29? The answer to your question is: SELECT location FROM table_name_88 WHERE score = "38-29". [/s> |
SELECT location FROM table_name_63 WHERE score = "35-31" | CREATE TABLE table_name_63 (location VARCHAR, score VARCHAR) | What is the Location, when the Score is 35-31? | <s>[INST] Given the following SQL query and context: Query: SELECT location FROM table_name_63 WHERE score = "35-31" Context: CREATE TABLE table_name_63 (location VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Location, when the Score is 35-31? The answer to your question is: SELECT location FROM table_name_63 WHERE score = "35-31". [/s> |
SELECT score FROM table_name_67 WHERE location = "clemson, sc" AND winner = "clemson" AND date = "november 11, 2006" | CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR) | What is the Score, when the Location is Clemson, SC, when the Winner is Clemson, and when the Date is November 11, 2006? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_67 WHERE location = "clemson, sc" AND winner = "clemson" AND date = "november 11, 2006" Context: CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Score, when the Location is Clemson, SC, when the Winner is Clemson, and when the Date is November 11, 2006? The answer to your question is: SELECT score FROM table_name_67 WHERE location = "clemson, sc" AND winner = "clemson" AND date = "november 11, 2006". [/s> |
SELECT result FROM table_name_83 WHERE date = "november 16, 1969" | CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR) | What was the game result on November 16, 1969? | <s>[INST] Given the following SQL query and context: Query: SELECT result FROM table_name_83 WHERE date = "november 16, 1969" Context: CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the game result on November 16, 1969? The answer to your question is: SELECT result FROM table_name_83 WHERE date = "november 16, 1969". [/s> |
SELECT general_classification FROM table_name_99 WHERE stage = "3" | CREATE TABLE table_name_99 (general_classification VARCHAR, stage VARCHAR) | What is the general classification of stage 3 | <s>[INST] Given the following SQL query and context: Query: SELECT general_classification FROM table_name_99 WHERE stage = "3" Context: CREATE TABLE table_name_99 (general_classification VARCHAR, stage VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the general classification of stage 3 The answer to your question is: SELECT general_classification FROM table_name_99 WHERE stage = "3". [/s> |
SELECT points_classification FROM table_name_55 WHERE young_rider_classification = "lech piasecki" AND general_classification = "stephen roche" AND winner = "carrera jeans-vagabond" | CREATE TABLE table_name_55 (points_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR) | How many points did lech piasecki, stephen roche, and carrera jeans-vagabond have? | <s>[INST] Given the following SQL query and context: Query: SELECT points_classification FROM table_name_55 WHERE young_rider_classification = "lech piasecki" AND general_classification = "stephen roche" AND winner = "carrera jeans-vagabond" Context: CREATE TABLE table_name_55 (points_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many points did lech piasecki, stephen roche, and carrera jeans-vagabond have? The answer to your question is: SELECT points_classification FROM table_name_55 WHERE young_rider_classification = "lech piasecki" AND general_classification = "stephen roche" AND winner = "carrera jeans-vagabond". [/s> |
SELECT venue FROM table_name_23 WHERE date = "11 september 2012" | CREATE TABLE table_name_23 (venue VARCHAR, date VARCHAR) | What venue was the 11 September 2012 game? | <s>[INST] Given the following SQL query and context: Query: SELECT venue FROM table_name_23 WHERE date = "11 september 2012" Context: CREATE TABLE table_name_23 (venue VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What venue was the 11 September 2012 game? The answer to your question is: SELECT venue FROM table_name_23 WHERE date = "11 september 2012". [/s> |
SELECT MIN(decile) FROM table_name_40 WHERE roll < 3 | CREATE TABLE table_name_40 (decile INTEGER, roll INTEGER) | What is the lowest Decile for a school with a roll smaller than 3? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(decile) FROM table_name_40 WHERE roll < 3 Context: CREATE TABLE table_name_40 (decile INTEGER, roll INTEGER) [/INST] Based on the provided SQL query and context, your question is: What is the lowest Decile for a school with a roll smaller than 3? The answer to your question is: SELECT MIN(decile) FROM table_name_40 WHERE roll < 3. [/s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.