answer stringlengths 18 557 | context stringlengths 27 489 | question stringlengths 12 244 | text stringlengths 275 1.7k |
|---|---|---|---|
SELECT SUM(drawn) FROM table_name_42 WHERE first_game < 2006 AND played < 2 | CREATE TABLE table_name_42 (drawn INTEGER, first_game VARCHAR, played VARCHAR) | What is the total number of drawn matches from first game years before 2006 and fewer than 2 matches played? | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(drawn) FROM table_name_42 WHERE first_game < 2006 AND played < 2 Context: CREATE TABLE table_name_42 (drawn INTEGER, first_game VARCHAR, played VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the total number ... |
SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 0 | CREATE TABLE table_name_37 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR) | What is the highest number of losses associated with 2 matches played, a first game after 1997, and more than 0 draws? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 0 Context: CREATE TABLE table_name_37 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR) [/INST] Based on the provided SQL query and context, your question is... |
SELECT result FROM table_name_53 WHERE date = "5,6,7,8 june 1997" | CREATE TABLE table_name_53 (result VARCHAR, date VARCHAR) | What is the Result of the Test match at the Edgbaston Venue on 5,6,7,8 June 1997? | <s>[INST] Given the following SQL query and context: Query: SELECT result FROM table_name_53 WHERE date = "5,6,7,8 june 1997" Context: CREATE TABLE table_name_53 (result VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Result of the Test match at the Edgbaston Ve... |
SELECT date FROM table_name_12 WHERE venue = "the oval" | CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR) | What is the Date of the Test match of Australia in England at The Oval Venue? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_12 WHERE venue = "the oval" Context: CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Date of the Test match of Australia in England at The O... |
SELECT away_captain FROM table_name_56 WHERE result = "aus by 264 runs" | CREATE TABLE table_name_56 (away_captain VARCHAR, result VARCHAR) | Who was the Away captain for the Test match of Australia in England where the Result was AUS by 264 runs? | <s>[INST] Given the following SQL query and context: Query: SELECT away_captain FROM table_name_56 WHERE result = "aus by 264 runs" Context: CREATE TABLE table_name_56 (away_captain VARCHAR, result VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the Away captain for the Test matc... |
SELECT home_captain FROM table_name_99 WHERE venue = "edgbaston" | CREATE TABLE table_name_99 (home_captain VARCHAR, venue VARCHAR) | Who was the Home captain for the Test match of Australia in England at the Edgbaston Venue? | <s>[INST] Given the following SQL query and context: Query: SELECT home_captain FROM table_name_99 WHERE venue = "edgbaston" Context: CREATE TABLE table_name_99 (home_captain VARCHAR, venue VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the Home captain for the Test match of Aus... |
SELECT role FROM table_name_8 WHERE notes = "co-protagonist" AND year = "2008-2009" | CREATE TABLE table_name_8 (role VARCHAR, notes VARCHAR, year VARCHAR) | what is the name of the role that has co-protagonist in the notes field and the years of 2008-2009? | <s>[INST] Given the following SQL query and context: Query: SELECT role FROM table_name_8 WHERE notes = "co-protagonist" AND year = "2008-2009" Context: CREATE TABLE table_name_8 (role VARCHAR, notes VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: what is the name of the ro... |
SELECT role FROM table_name_41 WHERE title = "olvidarte jamas" | CREATE TABLE table_name_41 (role VARCHAR, title VARCHAR) | What is the name of the role that has a Title of Olvidarte Jamas? | <s>[INST] Given the following SQL query and context: Query: SELECT role FROM table_name_41 WHERE title = "olvidarte jamas" Context: CREATE TABLE table_name_41 (role VARCHAR, title VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the name of the role that has a Title of Olvidarte J... |
SELECT production_company FROM table_name_45 WHERE year = "2005" | CREATE TABLE table_name_45 (production_company VARCHAR, year VARCHAR) | Which production company has the year of 2005 listed? | <s>[INST] Given the following SQL query and context: Query: SELECT production_company FROM table_name_45 WHERE year = "2005" Context: CREATE TABLE table_name_45 (production_company VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which production company has the year of 2005... |
SELECT role FROM table_name_26 WHERE notes = "antagonist" AND title = "salud, dinero y amor" | CREATE TABLE table_name_26 (role VARCHAR, notes VARCHAR, title VARCHAR) | What is the name of the role that has a Title of Salud, Dinero y Amor and antagonist in the notes field? | <s>[INST] Given the following SQL query and context: Query: SELECT role FROM table_name_26 WHERE notes = "antagonist" AND title = "salud, dinero y amor" Context: CREATE TABLE table_name_26 (role VARCHAR, notes VARCHAR, title VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the nam... |
SELECT production_company FROM table_name_19 WHERE year = "2008-2009" | CREATE TABLE table_name_19 (production_company VARCHAR, year VARCHAR) | What is the name of the production company that has a year of 2008-2009? | <s>[INST] Given the following SQL query and context: Query: SELECT production_company FROM table_name_19 WHERE year = "2008-2009" Context: CREATE TABLE table_name_19 (production_company VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the name of the production compa... |
SELECT authority FROM table_name_82 WHERE area = "tirau" AND name = "kuranui primary school" | CREATE TABLE table_name_82 (authority VARCHAR, area VARCHAR, name VARCHAR) | What is the Authority for Kuranui Primary School that is located in the Area of Tirau? | <s>[INST] Given the following SQL query and context: Query: SELECT authority FROM table_name_82 WHERE area = "tirau" AND name = "kuranui primary school" Context: CREATE TABLE table_name_82 (authority VARCHAR, area VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the ... |
SELECT name FROM table_name_38 WHERE decile > 7 | CREATE TABLE table_name_38 (name VARCHAR, decile INTEGER) | Which Names have Deciles larger than 7? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_38 WHERE decile > 7 Context: CREATE TABLE table_name_38 (name VARCHAR, decile INTEGER) [/INST] Based on the provided SQL query and context, your question is: Which Names have Deciles larger than 7? The answer to your question is: SE... |
SELECT gender FROM table_name_62 WHERE roll = "135" | CREATE TABLE table_name_62 (gender VARCHAR, roll VARCHAR) | What Gender are the schools that have a Roll of 135? | <s>[INST] Given the following SQL query and context: Query: SELECT gender FROM table_name_62 WHERE roll = "135" Context: CREATE TABLE table_name_62 (gender VARCHAR, roll VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What Gender are the schools that have a Roll of 135? The answer to you... |
SELECT name FROM table_name_13 WHERE authority = "state" AND roll = "72" | CREATE TABLE table_name_13 (name VARCHAR, authority VARCHAR, roll VARCHAR) | What is the Name of a state Authority that has a Roll of 72? | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_13 WHERE authority = "state" AND roll = "72" Context: CREATE TABLE table_name_13 (name VARCHAR, authority VARCHAR, roll VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Name of a state Auth... |
SELECT score FROM table_name_37 WHERE competition = "friendly" AND date = "19 april 1979" | CREATE TABLE table_name_37 (score VARCHAR, competition VARCHAR, date VARCHAR) | Which friendly competition took place on 19 April 1979? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_37 WHERE competition = "friendly" AND date = "19 april 1979" Context: CREATE TABLE table_name_37 (score VARCHAR, competition VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which friend... |
SELECT team_1 FROM table_name_83 WHERE team_2 = "dynamos fc" | CREATE TABLE table_name_83 (team_1 VARCHAR, team_2 VARCHAR) | Which Team 1 faced Dynamos FC? | <s>[INST] Given the following SQL query and context: Query: SELECT team_1 FROM table_name_83 WHERE team_2 = "dynamos fc" Context: CREATE TABLE table_name_83 (team_1 VARCHAR, team_2 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which Team 1 faced Dynamos FC? The answer to your question ... |
SELECT agg FROM table_name_81 WHERE team_1 = "al-hilal" | CREATE TABLE table_name_81 (agg VARCHAR, team_1 VARCHAR) | What is Team 1 Al-Hilal's Agg.? | <s>[INST] Given the following SQL query and context: Query: SELECT agg FROM table_name_81 WHERE team_1 = "al-hilal" Context: CREATE TABLE table_name_81 (agg VARCHAR, team_1 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is Team 1 Al-Hilal's Agg.? The answer to your question is: SEL... |
SELECT record FROM table_name_34 WHERE date = "may 7" | CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR) | Which record happened on the date of May 7? | <s>[INST] Given the following SQL query and context: Query: SELECT record FROM table_name_34 WHERE date = "may 7" Context: CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which record happened on the date of May 7? The answer to your quest... |
SELECT tournament FROM table_name_53 WHERE opponent_in_the_final = "lubomira bacheva" | CREATE TABLE table_name_53 (tournament VARCHAR, opponent_in_the_final VARCHAR) | Which tournament had Lubomira Bacheva as the opponent in the final? | <s>[INST] Given the following SQL query and context: Query: SELECT tournament FROM table_name_53 WHERE opponent_in_the_final = "lubomira bacheva" Context: CREATE TABLE table_name_53 (tournament VARCHAR, opponent_in_the_final VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which tournamen... |
SELECT opponent_in_the_final FROM table_name_46 WHERE date = "5 july 1992" | CREATE TABLE table_name_46 (opponent_in_the_final VARCHAR, date VARCHAR) | Who was the opponent in the final on 5 July 1992? | <s>[INST] Given the following SQL query and context: Query: SELECT opponent_in_the_final FROM table_name_46 WHERE date = "5 july 1992" Context: CREATE TABLE table_name_46 (opponent_in_the_final VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Who was the opponent in the fina... |
SELECT date FROM table_name_89 WHERE opponent_in_the_final = "kyoko nagatsuka" | CREATE TABLE table_name_89 (date VARCHAR, opponent_in_the_final VARCHAR) | What is the date of the tournament where Kyoko Nagatsuka was the opponent in the final? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_89 WHERE opponent_in_the_final = "kyoko nagatsuka" Context: CREATE TABLE table_name_89 (date VARCHAR, opponent_in_the_final VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the date of the tour... |
SELECT surface FROM table_name_24 WHERE tournament = "vaihingen" | CREATE TABLE table_name_24 (surface VARCHAR, tournament VARCHAR) | What is the surface at the tournament of Vaihingen? | <s>[INST] Given the following SQL query and context: Query: SELECT surface FROM table_name_24 WHERE tournament = "vaihingen" Context: CREATE TABLE table_name_24 (surface VARCHAR, tournament VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the surface at the tournament of Vaihingen... |
SELECT surface FROM table_name_59 WHERE opponent_in_the_final = "anna benzon" | CREATE TABLE table_name_59 (surface VARCHAR, opponent_in_the_final VARCHAR) | What was the surface of the tournament where Anna Benzon was the opponent in the final? | <s>[INST] Given the following SQL query and context: Query: SELECT surface FROM table_name_59 WHERE opponent_in_the_final = "anna benzon" Context: CREATE TABLE table_name_59 (surface VARCHAR, opponent_in_the_final VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the surface of th... |
SELECT AVG(position) FROM table_name_54 WHERE points < 13 AND goals_ + __ > -12 | CREATE TABLE table_name_54 (position INTEGER, points VARCHAR, goals_ VARCHAR, __ VARCHAR) | What is the average position of Eesti Põlevkivi Jõhvi when they had less than 13 points and worse than a -12 goal differential? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(position) FROM table_name_54 WHERE points < 13 AND goals_ + __ > -12 Context: CREATE TABLE table_name_54 (position INTEGER, points VARCHAR, goals_ VARCHAR, __ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is th... |
SELECT to_par FROM table_name_18 WHERE score = 70 - 72 - 70 - 69 = 281 | CREATE TABLE table_name_18 (to_par VARCHAR, score VARCHAR) | What is the to par for the player who had a score of 70-72-70-69=281? | <s>[INST] Given the following SQL query and context: Query: SELECT to_par FROM table_name_18 WHERE score = 70 - 72 - 70 - 69 = 281 Context: CREATE TABLE table_name_18 (to_par VARCHAR, score VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the to par for the player who had a score ... |
SELECT year FROM table_name_88 WHERE qual = "totals" | CREATE TABLE table_name_88 (year VARCHAR, qual VARCHAR) | What year had the qual of totals | <s>[INST] Given the following SQL query and context: Query: SELECT year FROM table_name_88 WHERE qual = "totals" Context: CREATE TABLE table_name_88 (year VARCHAR, qual VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What year had the qual of totals The answer to your question is: SELECT... |
SELECT qual FROM table_name_64 WHERE finish = "16" AND year = "1968" | CREATE TABLE table_name_64 (qual VARCHAR, finish VARCHAR, year VARCHAR) | What qual had a finish of 16 in 1968? | <s>[INST] Given the following SQL query and context: Query: SELECT qual FROM table_name_64 WHERE finish = "16" AND year = "1968" Context: CREATE TABLE table_name_64 (qual VARCHAR, finish VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What qual had a finish of 16 in 1968? T... |
SELECT finish FROM table_name_21 WHERE start = "25" AND laps > 46 | CREATE TABLE table_name_21 (finish VARCHAR, start VARCHAR, laps VARCHAR) | What was the finish with the start of 25 and a lap larger than 46? | <s>[INST] Given the following SQL query and context: Query: SELECT finish FROM table_name_21 WHERE start = "25" AND laps > 46 Context: CREATE TABLE table_name_21 (finish VARCHAR, start VARCHAR, laps VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the finish with the start of 25 ... |
SELECT MIN(laps) FROM table_name_99 WHERE start = "19" | CREATE TABLE table_name_99 (laps INTEGER, start VARCHAR) | What was the lowest lap with the ranking of 19? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(laps) FROM table_name_99 WHERE start = "19" Context: CREATE TABLE table_name_99 (laps INTEGER, start VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the lowest lap with the ranking of 19? The answer to your q... |
SELECT MIN(ovrs) FROM table_name_89 WHERE wkts = 0 | CREATE TABLE table_name_89 (ovrs INTEGER, wkts VARCHAR) | Name the least ovrs for wkts of 0 | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(ovrs) FROM table_name_89 WHERE wkts = 0 Context: CREATE TABLE table_name_89 (ovrs INTEGER, wkts VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the least ovrs for wkts of 0 The answer to your question is: SELECT ... |
SELECT AVG(econ) FROM table_name_2 WHERE ovrs > 25.5 AND runs > 703 | CREATE TABLE table_name_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR) | Name the average econ for runs more than 703 and ovrs more than 25.5 | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(econ) FROM table_name_2 WHERE ovrs > 25.5 AND runs > 703 Context: CREATE TABLE table_name_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the average econ for runs more than 70... |
SELECT AVG(year) FROM table_name_68 WHERE class = "car" AND stages_won = "0" AND position = "dnf" | CREATE TABLE table_name_68 (year INTEGER, position VARCHAR, class VARCHAR, stages_won VARCHAR) | What is the average year that has a car that won 0 stages with a position of DNF? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(year) FROM table_name_68 WHERE class = "car" AND stages_won = "0" AND position = "dnf" Context: CREATE TABLE table_name_68 (year INTEGER, position VARCHAR, class VARCHAR, stages_won VARCHAR) [/INST] Based on the provided SQL query and context, your ... |
SELECT class FROM table_name_20 WHERE stages_won = "2" AND position = "dnf" | CREATE TABLE table_name_20 (class VARCHAR, stages_won VARCHAR, position VARCHAR) | What is the class that that won 2 stages and has a position of DNF? | <s>[INST] Given the following SQL query and context: Query: SELECT class FROM table_name_20 WHERE stages_won = "2" AND position = "dnf" Context: CREATE TABLE table_name_20 (class VARCHAR, stages_won VARCHAR, position VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the class that ... |
SELECT position FROM table_name_89 WHERE vehicle = "bmw" AND year = 2006 | CREATE TABLE table_name_89 (position VARCHAR, vehicle VARCHAR, year VARCHAR) | What position did the BMW vehicle made in 2006 hold? | <s>[INST] Given the following SQL query and context: Query: SELECT position FROM table_name_89 WHERE vehicle = "bmw" AND year = 2006 Context: CREATE TABLE table_name_89 (position VARCHAR, vehicle VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What position did the BMW vehi... |
SELECT builder FROM table_name_68 WHERE fuel_propulsion = "diesel" AND model = "d40lf" AND order_year = "2005" | CREATE TABLE table_name_68 (builder VARCHAR, order_year VARCHAR, fuel_propulsion VARCHAR, model VARCHAR) | Which builder has a Fuel Propulsion of diesel, a Model of d40lf, and an Order Year of 2005? | <s>[INST] Given the following SQL query and context: Query: SELECT builder FROM table_name_68 WHERE fuel_propulsion = "diesel" AND model = "d40lf" AND order_year = "2005" Context: CREATE TABLE table_name_68 (builder VARCHAR, order_year VARCHAR, fuel_propulsion VARCHAR, model VARCHAR) [/INST] Based on the provided SQL q... |
SELECT model FROM table_name_1 WHERE fleet_series__quantity_ = "11081-11092 (12)" | CREATE TABLE table_name_1 (model VARCHAR, fleet_series__quantity_ VARCHAR) | Which model has a Fleet Series (Quantity) of 11081-11092 (12)? | <s>[INST] Given the following SQL query and context: Query: SELECT model FROM table_name_1 WHERE fleet_series__quantity_ = "11081-11092 (12)" Context: CREATE TABLE table_name_1 (model VARCHAR, fleet_series__quantity_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which model has a Fleet... |
SELECT order_year FROM table_name_73 WHERE fleet_series__quantity_ = "12081-12090 (10)" | CREATE TABLE table_name_73 (order_year VARCHAR, fleet_series__quantity_ VARCHAR) | Which order year has a Fleet Series (Quantity) of 12081-12090 (10)? | <s>[INST] Given the following SQL query and context: Query: SELECT order_year FROM table_name_73 WHERE fleet_series__quantity_ = "12081-12090 (10)" Context: CREATE TABLE table_name_73 (order_year VARCHAR, fleet_series__quantity_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which order... |
SELECT fleet_series__quantity_ FROM table_name_23 WHERE builder = "mci" AND order_year = "2002" | CREATE TABLE table_name_23 (fleet_series__quantity_ VARCHAR, builder VARCHAR, order_year VARCHAR) | Which Fleet Series (Quantity) that has a Builder of mci, and an Order Year of 2002? | <s>[INST] Given the following SQL query and context: Query: SELECT fleet_series__quantity_ FROM table_name_23 WHERE builder = "mci" AND order_year = "2002" Context: CREATE TABLE table_name_23 (fleet_series__quantity_ VARCHAR, builder VARCHAR, order_year VARCHAR) [/INST] Based on the provided SQL query and context, your... |
SELECT fleet_series__quantity_ FROM table_name_60 WHERE order_year = "2010" AND model = "de40lfr" | CREATE TABLE table_name_60 (fleet_series__quantity_ VARCHAR, order_year VARCHAR, model VARCHAR) | Which Fleet Series (Quantity) has an Order Year of 2010, and a Model of de40lfr? | <s>[INST] Given the following SQL query and context: Query: SELECT fleet_series__quantity_ FROM table_name_60 WHERE order_year = "2010" AND model = "de40lfr" Context: CREATE TABLE table_name_60 (fleet_series__quantity_ VARCHAR, order_year VARCHAR, model VARCHAR) [/INST] Based on the provided SQL query and context, your... |
SELECT fuel_propulsion FROM table_name_73 WHERE fleet_series__quantity_ = "04001-04125 (125)" | CREATE TABLE table_name_73 (fuel_propulsion VARCHAR, fleet_series__quantity_ VARCHAR) | Which Fuel Propulsion has a Fleet Series (Quantity) of 04001-04125 (125)? | <s>[INST] Given the following SQL query and context: Query: SELECT fuel_propulsion FROM table_name_73 WHERE fleet_series__quantity_ = "04001-04125 (125)" Context: CREATE TABLE table_name_73 (fuel_propulsion VARCHAR, fleet_series__quantity_ VARCHAR) [/INST] Based on the provided SQL query and context, your question is: ... |
SELECT SUM(roll) FROM table_name_65 WHERE name = "morrinsville school" | CREATE TABLE table_name_65 (roll INTEGER, name VARCHAR) | Name the sum of roll for morrinsville school | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(roll) FROM table_name_65 WHERE name = "morrinsville school" Context: CREATE TABLE table_name_65 (roll INTEGER, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the sum of roll for morrinsville school The answ... |
SELECT authority FROM table_name_88 WHERE name = "morrinsville college" | CREATE TABLE table_name_88 (authority VARCHAR, name VARCHAR) | Name the authority for morrinsville college | <s>[INST] Given the following SQL query and context: Query: SELECT authority FROM table_name_88 WHERE name = "morrinsville college" Context: CREATE TABLE table_name_88 (authority VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the authority for morrinsville college The... |
SELECT years FROM table_name_67 WHERE decile < 7 AND name = "waitoa school" | CREATE TABLE table_name_67 (years VARCHAR, decile VARCHAR, name VARCHAR) | Name the years when decile was less than 7 for waitoa school | <s>[INST] Given the following SQL query and context: Query: SELECT years FROM table_name_67 WHERE decile < 7 AND name = "waitoa school" Context: CREATE TABLE table_name_67 (years VARCHAR, decile VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the years when decile was ... |
SELECT COUNT(roll) FROM table_name_31 WHERE authority = "state" AND name = "stanley avenue school" AND decile > 5 | CREATE TABLE table_name_31 (roll VARCHAR, decile VARCHAR, authority VARCHAR, name VARCHAR) | Name the total number of roll for state authority and stanley avenue school with decile more than 5 | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(roll) FROM table_name_31 WHERE authority = "state" AND name = "stanley avenue school" AND decile > 5 Context: CREATE TABLE table_name_31 (roll VARCHAR, decile VARCHAR, authority VARCHAR, name VARCHAR) [/INST] Based on the provided SQL query and co... |
SELECT COUNT(grid) FROM table_name_35 WHERE laps = 18 | CREATE TABLE table_name_35 (grid VARCHAR, laps VARCHAR) | What is the grid total associated with 18 laps? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(grid) FROM table_name_35 WHERE laps = 18 Context: CREATE TABLE table_name_35 (grid VARCHAR, laps VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the grid total associated with 18 laps? The answer to your que... |
SELECT rider FROM table_name_14 WHERE manufacturer = "aprilia" AND laps < 18 AND grid = 17 | CREATE TABLE table_name_14 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR) | What rider is on an aprilia that went under 18 laps with a grid total of 17? | <s>[INST] Given the following SQL query and context: Query: SELECT rider FROM table_name_14 WHERE manufacturer = "aprilia" AND laps < 18 AND grid = 17 Context: CREATE TABLE table_name_14 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR) [/INST] Based on the provided SQL query and context, your question ... |
SELECT manufacturer FROM table_name_85 WHERE rider = "simone corsi" | CREATE TABLE table_name_85 (manufacturer VARCHAR, rider VARCHAR) | What is the Manufacturer for simone corsi? | <s>[INST] Given the following SQL query and context: Query: SELECT manufacturer FROM table_name_85 WHERE rider = "simone corsi" Context: CREATE TABLE table_name_85 (manufacturer VARCHAR, rider VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the Manufacturer for simone corsi? The ... |
SELECT MIN(grid) FROM table_name_77 WHERE time_retired = "+33.634" AND laps < 19 | CREATE TABLE table_name_77 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | What is the grid total associated with a Time/Retired of +33.634, and a Laps smaller than 19? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(grid) FROM table_name_77 WHERE time_retired = "+33.634" AND laps < 19 Context: CREATE TABLE table_name_77 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the grid tota... |
SELECT power_rpm FROM table_name_37 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750" | CREATE TABLE table_name_37 (power_rpm VARCHAR, torque__nm__rpm VARCHAR) | Tell me the power when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750 | <s>[INST] Given the following SQL query and context: Query: SELECT power_rpm FROM table_name_37 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750" Context: CREATE TABLE table_name_37 (power_rpm VARCHAR, torque__nm__rpm VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Tell me the pow... |
SELECT capacity FROM table_name_84 WHERE model_engine = "2.0 duratorq" | CREATE TABLE table_name_84 (capacity VARCHAR, model_engine VARCHAR) | Name the capacity for the engine of 2.0 duratorq | <s>[INST] Given the following SQL query and context: Query: SELECT capacity FROM table_name_84 WHERE model_engine = "2.0 duratorq" Context: CREATE TABLE table_name_84 (capacity VARCHAR, model_engine VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the capacity for the engine of 2.0 d... |
SELECT capacity FROM table_name_90 WHERE torque__nm__rpm = "n·m (lb·ft) @4150" | CREATE TABLE table_name_90 (capacity VARCHAR, torque__nm__rpm VARCHAR) | Name the capacity for the torque of n·m (lb·ft) @4150 | <s>[INST] Given the following SQL query and context: Query: SELECT capacity FROM table_name_90 WHERE torque__nm__rpm = "n·m (lb·ft) @4150" Context: CREATE TABLE table_name_90 (capacity VARCHAR, torque__nm__rpm VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the capacity for the torq... |
SELECT power_rpm FROM table_name_91 WHERE model_engine = "1.8 duratorq" | CREATE TABLE table_name_91 (power_rpm VARCHAR, model_engine VARCHAR) | Name the power for 1.8 duratorq | <s>[INST] Given the following SQL query and context: Query: SELECT power_rpm FROM table_name_91 WHERE model_engine = "1.8 duratorq" Context: CREATE TABLE table_name_91 (power_rpm VARCHAR, model_engine VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the power for 1.8 duratorq The ans... |
SELECT power_rpm FROM table_name_62 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750" | CREATE TABLE table_name_62 (power_rpm VARCHAR, torque__nm__rpm VARCHAR) | Name the power for when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750 | <s>[INST] Given the following SQL query and context: Query: SELECT power_rpm FROM table_name_62 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750" Context: CREATE TABLE table_name_62 (power_rpm VARCHAR, torque__nm__rpm VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the power ... |
SELECT MIN(goals) FROM table_name_20 WHERE goal_ratio = 0.14 AND debut_in_europe < 1995 | CREATE TABLE table_name_20 (goals INTEGER, goal_ratio VARCHAR, debut_in_europe VARCHAR) | What are the smallest goals with a Goal Ratio of 0.14, and a Debut in Europe smaller than 1995? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(goals) FROM table_name_20 WHERE goal_ratio = 0.14 AND debut_in_europe < 1995 Context: CREATE TABLE table_name_20 (goals INTEGER, goal_ratio VARCHAR, debut_in_europe VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What... |
SELECT AVG(goal_ratio) FROM table_name_71 WHERE goals > 1 AND games > 161 AND debut_in_europe < 1985 | CREATE TABLE table_name_71 (goal_ratio INTEGER, debut_in_europe VARCHAR, goals VARCHAR, games VARCHAR) | What's the average goal ratio with Goals larger than 1, Games larger than 161, and a Debut in Europe smaller than 1985? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(goal_ratio) FROM table_name_71 WHERE goals > 1 AND games > 161 AND debut_in_europe < 1985 Context: CREATE TABLE table_name_71 (goal_ratio INTEGER, debut_in_europe VARCHAR, goals VARCHAR, games VARCHAR) [/INST] Based on the provided SQL query and con... |
SELECT MIN(games) FROM table_name_51 WHERE goals = 20 AND goal_ratio < 0.14 | CREATE TABLE table_name_51 (games INTEGER, goals VARCHAR, goal_ratio VARCHAR) | What lowest games have 20 goals and a Goal Ratio smaller than 0.14? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(games) FROM table_name_51 WHERE goals = 20 AND goal_ratio < 0.14 Context: CREATE TABLE table_name_51 (games INTEGER, goals VARCHAR, goal_ratio VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What lowest games have 20 ... |
SELECT MAX(goal_ratio) FROM table_name_73 WHERE goals < 0 | CREATE TABLE table_name_73 (goal_ratio INTEGER, goals INTEGER) | What is the largest goal ratio with Goals smaller than 0? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(goal_ratio) FROM table_name_73 WHERE goals < 0 Context: CREATE TABLE table_name_73 (goal_ratio INTEGER, goals INTEGER) [/INST] Based on the provided SQL query and context, your question is: What is the largest goal ratio with Goals smaller than 0? T... |
SELECT MIN(games) FROM table_name_87 WHERE goal_ratio = 0 AND goals < 0 | CREATE TABLE table_name_87 (games INTEGER, goal_ratio VARCHAR, goals VARCHAR) | What lowest games have a Goal Ratio of 0, and Goals smaller than 0? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(games) FROM table_name_87 WHERE goal_ratio = 0 AND goals < 0 Context: CREATE TABLE table_name_87 (games INTEGER, goal_ratio VARCHAR, goals VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What lowest games have a Goal ... |
SELECT COUNT(debut_in_europe) FROM table_name_77 WHERE goals < 76 AND games > 151 AND rank > 5 | CREATE TABLE table_name_77 (debut_in_europe VARCHAR, rank VARCHAR, goals VARCHAR, games VARCHAR) | How many debuts in Europe have less than 76 goals, more than 151 games, and a rank greater than 5? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(debut_in_europe) FROM table_name_77 WHERE goals < 76 AND games > 151 AND rank > 5 Context: CREATE TABLE table_name_77 (debut_in_europe VARCHAR, rank VARCHAR, goals VARCHAR, games VARCHAR) [/INST] Based on the provided SQL query and context, your q... |
SELECT AVG(points) FROM table_name_18 WHERE chassis = "ferrari 1512" AND year > 1965 | CREATE TABLE table_name_18 (points INTEGER, chassis VARCHAR, year VARCHAR) | What is the average points of the Ferrari 1512 Chassis after 1965? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(points) FROM table_name_18 WHERE chassis = "ferrari 1512" AND year > 1965 Context: CREATE TABLE table_name_18 (points INTEGER, chassis VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the average ... |
SELECT chassis FROM table_name_33 WHERE year > 1965 AND team = "cooper car company" AND engine = "maserati v12" | CREATE TABLE table_name_33 (chassis VARCHAR, engine VARCHAR, year VARCHAR, team VARCHAR) | What is the Chassis of the Cooper Car Company after 1965 when the engine was a Maserati v12? | <s>[INST] Given the following SQL query and context: Query: SELECT chassis FROM table_name_33 WHERE year > 1965 AND team = "cooper car company" AND engine = "maserati v12" Context: CREATE TABLE table_name_33 (chassis VARCHAR, engine VARCHAR, year VARCHAR, team VARCHAR) [/INST] Based on the provided SQL query and contex... |
SELECT location FROM table_name_9 WHERE round < 3 AND opponent = "matt horwich" | CREATE TABLE table_name_9 (location VARCHAR, round VARCHAR, opponent VARCHAR) | Which location had a round of 3, and an Opponent of matt horwich? | <s>[INST] Given the following SQL query and context: Query: SELECT location FROM table_name_9 WHERE round < 3 AND opponent = "matt horwich" Context: CREATE TABLE table_name_9 (location VARCHAR, round VARCHAR, opponent VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which location had a r... |
SELECT time FROM table_name_45 WHERE event = "sportfight 10" | CREATE TABLE table_name_45 (time VARCHAR, event VARCHAR) | What was the time of sportfight 10? | <s>[INST] Given the following SQL query and context: Query: SELECT time FROM table_name_45 WHERE event = "sportfight 10" Context: CREATE TABLE table_name_45 (time VARCHAR, event VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the time of sportfight 10? The answer to your questio... |
SELECT opponent FROM table_name_71 WHERE time = "0:29" | CREATE TABLE table_name_71 (opponent VARCHAR, time VARCHAR) | Which opponent had a time of 0:29? | <s>[INST] Given the following SQL query and context: Query: SELECT opponent FROM table_name_71 WHERE time = "0:29" Context: CREATE TABLE table_name_71 (opponent VARCHAR, time VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which opponent had a time of 0:29? The answer to your question is... |
SELECT COUNT(number) FROM table_name_10 WHERE builder = "ruston hornsby" AND date = 1961 AND name = "topsy" | CREATE TABLE table_name_10 (number VARCHAR, name VARCHAR, builder VARCHAR, date VARCHAR) | What number has the builder ruston hornsby, the date 1961, and the name Topsy? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(number) FROM table_name_10 WHERE builder = "ruston hornsby" AND date = 1961 AND name = "topsy" Context: CREATE TABLE table_name_10 (number VARCHAR, name VARCHAR, builder VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, y... |
SELECT COUNT(number) FROM table_name_62 WHERE builder = "hunslet" AND works_number > 822 | CREATE TABLE table_name_62 (number VARCHAR, builder VARCHAR, works_number VARCHAR) | What is the number with the builder hunslet and a works number greater than 822? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(number) FROM table_name_62 WHERE builder = "hunslet" AND works_number > 822 Context: CREATE TABLE table_name_62 (number VARCHAR, builder VARCHAR, works_number VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is ... |
SELECT score FROM table_name_95 WHERE date = "march 14" | CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR) | What was the score of the March 14 game? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_95 WHERE date = "march 14" Context: CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score of the March 14 game? The answer to your questio... |
SELECT score FROM table_name_52 WHERE visitor = "ottawa senators" AND date = "december 11" | CREATE TABLE table_name_52 (score VARCHAR, visitor VARCHAR, date VARCHAR) | What was the score for the December 11 game against the Ottawa Senators? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_52 WHERE visitor = "ottawa senators" AND date = "december 11" Context: CREATE TABLE table_name_52 (score VARCHAR, visitor VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the sc... |
SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = "levante" | CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR) | Name the project with length overall being 25 and name of levante | <s>[INST] Given the following SQL query and context: Query: SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = "levante" Context: CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR) [/INST] Based on the provided... |
SELECT SUM(hull_no) FROM table_name_84 WHERE destination = "portugal" | CREATE TABLE table_name_84 (hull_no INTEGER, destination VARCHAR) | Name the sum of Hull number with portugal destination | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(hull_no) FROM table_name_84 WHERE destination = "portugal" Context: CREATE TABLE table_name_84 (hull_no INTEGER, destination VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the sum of Hull number with portugal de... |
SELECT SUM(hull_no) FROM table_name_37 WHERE destination = "italy" AND year > 1999 | CREATE TABLE table_name_37 (hull_no INTEGER, destination VARCHAR, year VARCHAR) | Name the sum of hull number for italy and year more than 1999 | <s>[INST] Given the following SQL query and context: Query: SELECT SUM(hull_no) FROM table_name_37 WHERE destination = "italy" AND year > 1999 Context: CREATE TABLE table_name_37 (hull_no INTEGER, destination VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the sum of h... |
SELECT result_s_ FROM table_name_91 WHERE format_s_ = "album" AND year = 1994 | CREATE TABLE table_name_91 (result_s_ VARCHAR, format_s_ VARCHAR, year VARCHAR) | Give me the result for a format saying album with 1994 as the year. | <s>[INST] Given the following SQL query and context: Query: SELECT result_s_ FROM table_name_91 WHERE format_s_ = "album" AND year = 1994 Context: CREATE TABLE table_name_91 (result_s_ VARCHAR, format_s_ VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Give me the result for... |
SELECT award_description_s_ FROM table_name_17 WHERE year = 1989 | CREATE TABLE table_name_17 (award_description_s_ VARCHAR, year VARCHAR) | List the Award Descriptions for the year of 1989. | <s>[INST] Given the following SQL query and context: Query: SELECT award_description_s_ FROM table_name_17 WHERE year = 1989 Context: CREATE TABLE table_name_17 (award_description_s_ VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: List the Award Descriptions for the year of... |
SELECT score FROM table_name_66 WHERE date = "august 5" | CREATE TABLE table_name_66 (score VARCHAR, date VARCHAR) | What was the score of the game played on August 5? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_66 WHERE date = "august 5" Context: CREATE TABLE table_name_66 (score VARCHAR, date VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score of the game played on August 5? The answer to yo... |
SELECT date FROM table_name_25 WHERE record = "60-56" | CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR) | On what date was the Blue Jays record 60-56? | <s>[INST] Given the following SQL query and context: Query: SELECT date FROM table_name_25 WHERE record = "60-56" Context: CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR) [/INST] Based on the provided SQL query and context, your question is: On what date was the Blue Jays record 60-56? The answer to your ques... |
SELECT name FROM table_name_4 WHERE first_elected > 1988 AND district = "mason" | CREATE TABLE table_name_4 (name VARCHAR, first_elected VARCHAR, district VARCHAR) | Tell me the name for first elected more than 1988 and district of mason | <s>[INST] Given the following SQL query and context: Query: SELECT name FROM table_name_4 WHERE first_elected > 1988 AND district = "mason" Context: CREATE TABLE table_name_4 (name VARCHAR, first_elected VARCHAR, district VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Tell me the name f... |
SELECT party FROM table_name_88 WHERE first_elected > 1999 AND position = "supervisor" AND name = "john foust" | CREATE TABLE table_name_88 (party VARCHAR, name VARCHAR, first_elected VARCHAR, position VARCHAR) | Name the party with first elected more than 1999 and position of supervisor for john foust | <s>[INST] Given the following SQL query and context: Query: SELECT party FROM table_name_88 WHERE first_elected > 1999 AND position = "supervisor" AND name = "john foust" Context: CREATE TABLE table_name_88 (party VARCHAR, name VARCHAR, first_elected VARCHAR, position VARCHAR) [/INST] Based on the provided SQL query an... |
SELECT COUNT(first_elected) FROM table_name_20 WHERE district = "dranesville" | CREATE TABLE table_name_20 (first_elected VARCHAR, district VARCHAR) | Name the total number of first elected for dranesville | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(first_elected) FROM table_name_20 WHERE district = "dranesville" Context: CREATE TABLE table_name_20 (first_elected VARCHAR, district VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Name the total number of first el... |
SELECT COUNT(year) FROM table_name_71 WHERE venue = "sydney cricket ground" AND opponent = "parramatta eels" | CREATE TABLE table_name_71 (year VARCHAR, venue VARCHAR, opponent VARCHAR) | What year was the venue at Sydney Cricket Ground, and the opponent was Parramatta Eels? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(year) FROM table_name_71 WHERE venue = "sydney cricket ground" AND opponent = "parramatta eels" Context: CREATE TABLE table_name_71 (year VARCHAR, venue VARCHAR, opponent VARCHAR) [/INST] Based on the provided SQL query and context, your question ... |
SELECT competition FROM table_name_71 WHERE year = 1978 | CREATE TABLE table_name_71 (competition VARCHAR, year VARCHAR) | What was the competition in 1978? | <s>[INST] Given the following SQL query and context: Query: SELECT competition FROM table_name_71 WHERE year = 1978 Context: CREATE TABLE table_name_71 (competition VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the competition in 1978? The answer to your question... |
SELECT AVG(year) FROM table_name_24 WHERE attendance = "80,388" | CREATE TABLE table_name_24 (year INTEGER, attendance VARCHAR) | What year was the average attendance 80,388? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(year) FROM table_name_24 WHERE attendance = "80,388" Context: CREATE TABLE table_name_24 (year INTEGER, attendance VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What year was the average attendance 80,388? The answe... |
SELECT score FROM table_name_67 WHERE opponent = "new zealand warriors" | CREATE TABLE table_name_67 (score VARCHAR, opponent VARCHAR) | What was the score with the opponent being New Zealand Warriors? | <s>[INST] Given the following SQL query and context: Query: SELECT score FROM table_name_67 WHERE opponent = "new zealand warriors" Context: CREATE TABLE table_name_67 (score VARCHAR, opponent VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What was the score with the opponent being New ... |
SELECT 1 AS st_party FROM table_name_28 WHERE election = "1847" | CREATE TABLE table_name_28 (election VARCHAR) | Which 1st Party has an election in 1847? | <s>[INST] Given the following SQL query and context: Query: SELECT 1 AS st_party FROM table_name_28 WHERE election = "1847" Context: CREATE TABLE table_name_28 (election VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which 1st Party has an election in 1847? The answer to your question i... |
SELECT 1 AS st_party FROM table_name_92 WHERE election = "1865" | CREATE TABLE table_name_92 (election VARCHAR) | Which 1st Party has an election in 1865? | <s>[INST] Given the following SQL query and context: Query: SELECT 1 AS st_party FROM table_name_92 WHERE election = "1865" Context: CREATE TABLE table_name_92 (election VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which 1st Party has an election in 1865? The answer to your question i... |
SELECT AVG(total_points) FROM table_name_29 WHERE rider = "dennis gavros" AND bonus_pts < 31 | CREATE TABLE table_name_29 (total_points INTEGER, rider VARCHAR, bonus_pts VARCHAR) | What was the average number of points with bonus pts less than 31 with the rider dennis gavros? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(total_points) FROM table_name_29 WHERE rider = "dennis gavros" AND bonus_pts < 31 Context: CREATE TABLE table_name_29 (total_points INTEGER, rider VARCHAR, bonus_pts VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Wha... |
SELECT COUNT(matches) FROM table_name_35 WHERE rider = "dennis gavros" AND total_points < 167 | CREATE TABLE table_name_35 (matches VARCHAR, rider VARCHAR, total_points VARCHAR) | How many total matches involving dennis gavros had total points less than 167? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(matches) FROM table_name_35 WHERE rider = "dennis gavros" AND total_points < 167 Context: CREATE TABLE table_name_35 (matches VARCHAR, rider VARCHAR, total_points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How ... |
SELECT MIN(matches) FROM table_name_36 WHERE bonus_pts = 19 AND total_points > 421 | CREATE TABLE table_name_36 (matches INTEGER, bonus_pts VARCHAR, total_points VARCHAR) | What is the smallest number of matches with Bonus Pts of 19 and Total Points greater than 421? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(matches) FROM table_name_36 WHERE bonus_pts = 19 AND total_points > 421 Context: CREATE TABLE table_name_36 (matches INTEGER, bonus_pts VARCHAR, total_points VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the... |
SELECT category FROM table_name_33 WHERE date < 2006 AND rider_2 = "bart brentjens" | CREATE TABLE table_name_33 (category VARCHAR, date VARCHAR, rider_2 VARCHAR) | Which category earlier than 2006 has Bart Brentjens as rider 2? | <s>[INST] Given the following SQL query and context: Query: SELECT category FROM table_name_33 WHERE date < 2006 AND rider_2 = "bart brentjens" Context: CREATE TABLE table_name_33 (category VARCHAR, date VARCHAR, rider_2 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which category earl... |
SELECT COUNT(date) FROM table_name_37 WHERE category = "ladies" AND team = "rothaus-cube" | CREATE TABLE table_name_37 (date VARCHAR, category VARCHAR, team VARCHAR) | How many dates does the ladies category correspond to Rothaus-Cube? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(date) FROM table_name_37 WHERE category = "ladies" AND team = "rothaus-cube" Context: CREATE TABLE table_name_37 (date VARCHAR, category VARCHAR, team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: How many dates d... |
SELECT category FROM table_name_28 WHERE team = "cannondale vredestein" | CREATE TABLE table_name_28 (category VARCHAR, team VARCHAR) | Which category has a team of Cannondale Vredestein? | <s>[INST] Given the following SQL query and context: Query: SELECT category FROM table_name_28 WHERE team = "cannondale vredestein" Context: CREATE TABLE table_name_28 (category VARCHAR, team VARCHAR) [/INST] Based on the provided SQL query and context, your question is: Which category has a team of Cannondale Vredeste... |
SELECT qual FROM table_name_9 WHERE rank = "9" | CREATE TABLE table_name_9 (qual VARCHAR, rank VARCHAR) | What is the qual with a rank 9? | <s>[INST] Given the following SQL query and context: Query: SELECT qual FROM table_name_9 WHERE rank = "9" Context: CREATE TABLE table_name_9 (qual VARCHAR, rank VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the qual with a rank 9? The answer to your question is: SELECT qual FR... |
SELECT finish FROM table_name_17 WHERE year = "1956" | CREATE TABLE table_name_17 (finish VARCHAR, year VARCHAR) | What is the finish in 1956? | <s>[INST] Given the following SQL query and context: Query: SELECT finish FROM table_name_17 WHERE year = "1956" Context: CREATE TABLE table_name_17 (finish VARCHAR, year VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the finish in 1956? The answer to your question is: SELECT fi... |
SELECT finish FROM table_name_91 WHERE laps = 200 AND start = "3" | CREATE TABLE table_name_91 (finish VARCHAR, laps VARCHAR, start VARCHAR) | What is the finish with 200 laps and a start of 3? | <s>[INST] Given the following SQL query and context: Query: SELECT finish FROM table_name_91 WHERE laps = 200 AND start = "3" Context: CREATE TABLE table_name_91 (finish VARCHAR, laps VARCHAR, start VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the finish with 200 laps and a st... |
SELECT qual FROM table_name_86 WHERE laps = 200 AND rank = "27" | CREATE TABLE table_name_86 (qual VARCHAR, laps VARCHAR, rank VARCHAR) | What is the qual with 200 laps and a rank of 27? | <s>[INST] Given the following SQL query and context: Query: SELECT qual FROM table_name_86 WHERE laps = 200 AND rank = "27" Context: CREATE TABLE table_name_86 (qual VARCHAR, laps VARCHAR, rank VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the qual with 200 laps and a rank of 2... |
SELECT rank FROM table_name_13 WHERE finish = "14" | CREATE TABLE table_name_13 (rank VARCHAR, finish VARCHAR) | What is the rank with a 14 finish? | <s>[INST] Given the following SQL query and context: Query: SELECT rank FROM table_name_13 WHERE finish = "14" Context: CREATE TABLE table_name_13 (rank VARCHAR, finish VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is the rank with a 14 finish? The answer to your question is: SELE... |
SELECT MIN(cuts_made) FROM table_name_72 WHERE tournament = "masters tournament" AND top_25 < 0 | CREATE TABLE table_name_72 (cuts_made INTEGER, tournament VARCHAR, top_25 VARCHAR) | What is the lowest cuts made of the Masters tournament, which had a top-25 less than 0? | <s>[INST] Given the following SQL query and context: Query: SELECT MIN(cuts_made) FROM table_name_72 WHERE tournament = "masters tournament" AND top_25 < 0 Context: CREATE TABLE table_name_72 (cuts_made INTEGER, tournament VARCHAR, top_25 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: W... |
SELECT MAX(wins) FROM table_name_82 WHERE cuts_made = 1 AND top_25 < 1 AND events < 2 | CREATE TABLE table_name_82 (wins INTEGER, events VARCHAR, cuts_made VARCHAR, top_25 VARCHAR) | What is the highest number of wins a tournament with 1 cuts made, a top-25 less than 1, and less than 2 events has? | <s>[INST] Given the following SQL query and context: Query: SELECT MAX(wins) FROM table_name_82 WHERE cuts_made = 1 AND top_25 < 1 AND events < 2 Context: CREATE TABLE table_name_82 (wins INTEGER, events VARCHAR, cuts_made VARCHAR, top_25 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: W... |
SELECT AVG(events) FROM table_name_84 WHERE tournament = "masters tournament" AND top_25 > 0 | CREATE TABLE table_name_84 (events INTEGER, tournament VARCHAR, top_25 VARCHAR) | What is the average number of events the Masters tournament, which has more than 0 top-25, has? | <s>[INST] Given the following SQL query and context: Query: SELECT AVG(events) FROM table_name_84 WHERE tournament = "masters tournament" AND top_25 > 0 Context: CREATE TABLE table_name_84 (events INTEGER, tournament VARCHAR, top_25 VARCHAR) [/INST] Based on the provided SQL query and context, your question is: What is... |
SELECT COUNT(top_25) FROM table_name_93 WHERE events < 2 | CREATE TABLE table_name_93 (top_25 VARCHAR, events INTEGER) | What is the total number of top-25 a tournament with less than 2 events has? | <s>[INST] Given the following SQL query and context: Query: SELECT COUNT(top_25) FROM table_name_93 WHERE events < 2 Context: CREATE TABLE table_name_93 (top_25 VARCHAR, events INTEGER) [/INST] Based on the provided SQL query and context, your question is: What is the total number of top-25 a tournament with less than ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.