context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE employees (first_name VARCHAR, department_id VARCHAR, last_name VARCHAR) | SELECT first_name, department_id FROM employees WHERE last_name = 'McEwen' | Display the first name, and department number for all employees whose last name is "McEwen". | <s>[INST]Display the first name, and department number for all employees whose last name is "McEwen". Context: CREATE TABLE employees (first_name VARCHAR, department_id VARCHAR, last_name VARCHAR)[/INST]SELECT first_name, department_id FROM employees WHERE last_name = 'McEwen'</s> |
CREATE TABLE table_name_63 (venue VARCHAR, year VARCHAR, notes VARCHAR) | SELECT venue FROM table_name_63 WHERE year < 2003 AND notes = "57.73 m" | What is the Venue before 2003 with Notes of 57.73 m? | <s>[INST]What is the Venue before 2003 with Notes of 57.73 m? Context: CREATE TABLE table_name_63 (venue VARCHAR, year VARCHAR, notes VARCHAR)[/INST]SELECT venue FROM table_name_63 WHERE year < 2003 AND notes = "57.73 m"</s> |
CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_66 WHERE home_team = "bolton wanderers" | What is the final score of the game home team Bolton Wanderers played? | <s>[INST]What is the final score of the game home team Bolton Wanderers played? Context: CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_66 WHERE home_team = "bolton wanderers"</s> |
CREATE TABLE table_275506_1 (stage VARCHAR, distance__km_ VARCHAR) | SELECT stage AS winner FROM table_275506_1 WHERE distance__km_ = "162.5" | Who is every stage winner at the distance of 162.5? | <s>[INST]Who is every stage winner at the distance of 162.5? Context: CREATE TABLE table_275506_1 (stage VARCHAR, distance__km_ VARCHAR)[/INST]SELECT stage AS winner FROM table_275506_1 WHERE distance__km_ = "162.5"</s> |
CREATE TABLE invoices (invoice_details VARCHAR, invoice_date VARCHAR) | SELECT DISTINCT invoice_details FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25" | Find the distinct details of invoices which are created before 1989-09-03 or after 2007-12-25. | <s>[INST]Find the distinct details of invoices which are created before 1989-09-03 or after 2007-12-25. Context: CREATE TABLE invoices (invoice_details VARCHAR, invoice_date VARCHAR)[/INST]SELECT DISTINCT invoice_details FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25"</s> |
CREATE TABLE table_name_65 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_65 WHERE tournament = "general foods pga seniors' championship" | Which Runner(s)-up has a Tournament of general foods pga seniors' championship? | <s>[INST]Which Runner(s)-up has a Tournament of general foods pga seniors' championship? Context: CREATE TABLE table_name_65 (runner_s__up VARCHAR, tournament VARCHAR)[/INST]SELECT runner_s__up FROM table_name_65 WHERE tournament = "general foods pga seniors' championship"</s> |
CREATE TABLE table_name_26 (attendance INTEGER, week VARCHAR) | SELECT AVG(attendance) FROM table_name_26 WHERE week = 3 | How many people attended the game on week 3? | <s>[INST]How many people attended the game on week 3? Context: CREATE TABLE table_name_26 (attendance INTEGER, week VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_26 WHERE week = 3</s> |
CREATE TABLE table_name_91 (week VARCHAR, opponent VARCHAR) | SELECT week FROM table_name_91 WHERE opponent = "san diego chargers" | Which week was the game against the San Diego Chargers? | <s>[INST]Which week was the game against the San Diego Chargers? Context: CREATE TABLE table_name_91 (week VARCHAR, opponent VARCHAR)[/INST]SELECT week FROM table_name_91 WHERE opponent = "san diego chargers"</s> |
CREATE TABLE table_298883_5 (reverse VARCHAR, value VARCHAR) | SELECT reverse FROM table_298883_5 WHERE value = "₩100" | What is on the reverse side of the ₩100 coin? | <s>[INST]What is on the reverse side of the ₩100 coin? Context: CREATE TABLE table_298883_5 (reverse VARCHAR, value VARCHAR)[/INST]SELECT reverse FROM table_298883_5 WHERE value = "₩100"</s> |
CREATE TABLE table_name_62 (percentage_republicans VARCHAR, democratic__republican VARCHAR) | SELECT percentage_republicans FROM table_name_62 WHERE democratic__republican = "7/6" | What is the percent of republicans with 7/6 democrat/republican? | <s>[INST]What is the percent of republicans with 7/6 democrat/republican? Context: CREATE TABLE table_name_62 (percentage_republicans VARCHAR, democratic__republican VARCHAR)[/INST]SELECT percentage_republicans FROM table_name_62 WHERE democratic__republican = "7/6"</s> |
CREATE TABLE table_name_52 (name_of_ship VARCHAR, date VARCHAR) | SELECT name_of_ship FROM table_name_52 WHERE date = "26 september 1940" | Which ship was raided on 26 September 1940? | <s>[INST]Which ship was raided on 26 September 1940? Context: CREATE TABLE table_name_52 (name_of_ship VARCHAR, date VARCHAR)[/INST]SELECT name_of_ship FROM table_name_52 WHERE date = "26 september 1940"</s> |
CREATE TABLE table_name_74 (draws INTEGER, goals_conceded VARCHAR, games_played VARCHAR) | SELECT MAX(draws) FROM table_name_74 WHERE goals_conceded < 154 AND games_played < 36 | What is the most draws when less than 154 goals were conceded, and less than 36 games played? | <s>[INST]What is the most draws when less than 154 goals were conceded, and less than 36 games played? Context: CREATE TABLE table_name_74 (draws INTEGER, goals_conceded VARCHAR, games_played VARCHAR)[/INST]SELECT MAX(draws) FROM table_name_74 WHERE goals_conceded < 154 AND games_played < 36</s> |
CREATE TABLE table_name_40 (finalists VARCHAR, week__number INTEGER) | SELECT finalists FROM table_name_40 WHERE week__number < 2 | Tell me the finalists for week # less than 2 | <s>[INST]Tell me the finalists for week # less than 2 Context: CREATE TABLE table_name_40 (finalists VARCHAR, week__number INTEGER)[/INST]SELECT finalists FROM table_name_40 WHERE week__number < 2</s> |
CREATE TABLE table_name_57 (dimension__m_ VARCHAR, range__km_ VARCHAR) | SELECT dimension__m_ FROM table_name_57 WHERE range__km_ = "8,000 – 10,000" | Tell me the dimension that has a range of 8,000 – 10,000 | <s>[INST]Tell me the dimension that has a range of 8,000 – 10,000 Context: CREATE TABLE table_name_57 (dimension__m_ VARCHAR, range__km_ VARCHAR)[/INST]SELECT dimension__m_ FROM table_name_57 WHERE range__km_ = "8,000 – 10,000"</s> |
CREATE TABLE table_2187178_1 (listed_owner_s_ VARCHAR, primary_sponsor_s_ VARCHAR) | SELECT listed_owner_s_ FROM table_2187178_1 WHERE primary_sponsor_s_ = "RepairOne" | Name the listen owners for repairone | <s>[INST]Name the listen owners for repairone Context: CREATE TABLE table_2187178_1 (listed_owner_s_ VARCHAR, primary_sponsor_s_ VARCHAR)[/INST]SELECT listed_owner_s_ FROM table_2187178_1 WHERE primary_sponsor_s_ = "RepairOne"</s> |
CREATE TABLE table_name_83 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_83 WHERE driver = "rolf stommelen" | Who constructed rolf stommelen's car? | <s>[INST]Who constructed rolf stommelen's car? Context: CREATE TABLE table_name_83 (constructor VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_83 WHERE driver = "rolf stommelen"</s> |
CREATE TABLE table_name_66 (home VARCHAR, visitor VARCHAR) | SELECT home FROM table_name_66 WHERE visitor = "raptors" | What is the home team of the game with the Raptors as the visitor team? | <s>[INST]What is the home team of the game with the Raptors as the visitor team? Context: CREATE TABLE table_name_66 (home VARCHAR, visitor VARCHAR)[/INST]SELECT home FROM table_name_66 WHERE visitor = "raptors"</s> |
CREATE TABLE table_1745843_8 (part_4 VARCHAR, part_1 VARCHAR) | SELECT part_4 FROM table_1745843_8 WHERE part_1 = "lesan" | What is the part 4 when part 1 is "lesan"? | <s>[INST]What is the part 4 when part 1 is "lesan"? Context: CREATE TABLE table_1745843_8 (part_4 VARCHAR, part_1 VARCHAR)[/INST]SELECT part_4 FROM table_1745843_8 WHERE part_1 = "lesan"</s> |
CREATE TABLE table_name_36 (race_name VARCHAR, sanctioning VARCHAR, city_location VARCHAR) | SELECT race_name FROM table_name_36 WHERE sanctioning = "cart" AND city_location = "brooklyn, michigan" | What was the name of the race that occurred in Brooklyn, Michigan with a sanctioning of cart? | <s>[INST]What was the name of the race that occurred in Brooklyn, Michigan with a sanctioning of cart? Context: CREATE TABLE table_name_36 (race_name VARCHAR, sanctioning VARCHAR, city_location VARCHAR)[/INST]SELECT race_name FROM table_name_36 WHERE sanctioning = "cart" AND city_location = "brooklyn, michigan"</s> |
CREATE TABLE table_name_17 (pick VARCHAR, player VARCHAR, round VARCHAR) | SELECT COUNT(pick) FROM table_name_17 WHERE player = "renaldo wynn" AND round < 1 | Which Pick has a Player of renaldo wynn, and a Round smaller than 1? | <s>[INST]Which Pick has a Player of renaldo wynn, and a Round smaller than 1? Context: CREATE TABLE table_name_17 (pick VARCHAR, player VARCHAR, round VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_17 WHERE player = "renaldo wynn" AND round < 1</s> |
CREATE TABLE table_name_15 (rank INTEGER, rate VARCHAR, apps VARCHAR, player VARCHAR) | SELECT SUM(rank) FROM table_name_15 WHERE apps > 39 AND player = "ümit karan" AND rate > 0.58 | What is the total Rank for ümit karan when Apps is more than 39 and Rate is more than 0.58? | <s>[INST]What is the total Rank for ümit karan when Apps is more than 39 and Rate is more than 0.58? Context: CREATE TABLE table_name_15 (rank INTEGER, rate VARCHAR, apps VARCHAR, player VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_15 WHERE apps > 39 AND player = "ümit karan" AND rate > 0.58</s> |
CREATE TABLE table_27756314_11 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_27756314_11 WHERE high_points = "Michael Beasley (26)" | What was the score in the game in which Michael Beasley (26) did the high points? | <s>[INST]What was the score in the game in which Michael Beasley (26) did the high points? Context: CREATE TABLE table_27756314_11 (score VARCHAR, high_points VARCHAR)[/INST]SELECT score FROM table_27756314_11 WHERE high_points = "Michael Beasley (26)"</s> |
CREATE TABLE table_name_44 (total INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT SUM(total) FROM table_name_44 WHERE rank = "5" AND bronze > 3 | How much Total has a Rank of 5, and a Bronze larger than 3? | <s>[INST]How much Total has a Rank of 5, and a Bronze larger than 3? Context: CREATE TABLE table_name_44 (total INTEGER, rank VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(total) FROM table_name_44 WHERE rank = "5" AND bronze > 3</s> |
CREATE TABLE table_name_2 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_2 WHERE date = "september 12" | Which game was on September 12? | <s>[INST]Which game was on September 12? Context: CREATE TABLE table_name_2 (game VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_name_2 WHERE date = "september 12"</s> |
CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR) | SELECT MIN(rank) FROM table_name_85 WHERE name = "deutsche telekom" AND market_value___usd_million_ > 209 OFFSET 628 | What is the lowest rank of Deutsche Telekom with a market value over 209,628? | <s>[INST]What is the lowest rank of Deutsche Telekom with a market value over 209,628? Context: CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_85 WHERE name = "deutsche telekom" AND market_value___usd_million_ > 209 OFFSET 628</s> |
CREATE TABLE table_name_51 (pick INTEGER, overall VARCHAR, round VARCHAR) | SELECT AVG(pick) FROM table_name_51 WHERE overall < 28 AND round = 3 | What number pick was the player drafted in round 3 at #28 overall? | <s>[INST]What number pick was the player drafted in round 3 at #28 overall? Context: CREATE TABLE table_name_51 (pick INTEGER, overall VARCHAR, round VARCHAR)[/INST]SELECT AVG(pick) FROM table_name_51 WHERE overall < 28 AND round = 3</s> |
CREATE TABLE table_name_44 (lane INTEGER, mark VARCHAR, react VARCHAR) | SELECT MAX(lane) FROM table_name_44 WHERE mark = "46.65" AND react > 0.251 | What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251? | <s>[INST]What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251? Context: CREATE TABLE table_name_44 (lane INTEGER, mark VARCHAR, react VARCHAR)[/INST]SELECT MAX(lane) FROM table_name_44 WHERE mark = "46.65" AND react > 0.251</s> |
CREATE TABLE table_2187333_1 (wins INTEGER) | SELECT MIN(wins) FROM table_2187333_1 | Name the least wins | <s>[INST]Name the least wins Context: CREATE TABLE table_2187333_1 (wins INTEGER)[/INST]SELECT MIN(wins) FROM table_2187333_1</s> |
CREATE TABLE table_25675509_1 (depth VARCHAR, latitude VARCHAR) | SELECT depth FROM table_25675509_1 WHERE latitude = "08.979° S" | If the latitude is 08.979° s, what is the depth? | <s>[INST]If the latitude is 08.979° s, what is the depth? Context: CREATE TABLE table_25675509_1 (depth VARCHAR, latitude VARCHAR)[/INST]SELECT depth FROM table_25675509_1 WHERE latitude = "08.979° S"</s> |
CREATE TABLE table_2676980_4 (seats_in_congress VARCHAR, candidates_per_party VARCHAR) | SELECT COUNT(seats_in_congress) FROM table_2676980_4 WHERE candidates_per_party = 6 | What is the number of seats in congress when the candidates per party is 6? | <s>[INST]What is the number of seats in congress when the candidates per party is 6? Context: CREATE TABLE table_2676980_4 (seats_in_congress VARCHAR, candidates_per_party VARCHAR)[/INST]SELECT COUNT(seats_in_congress) FROM table_2676980_4 WHERE candidates_per_party = 6</s> |
CREATE TABLE table_name_88 (genre VARCHAR, directed_by VARCHAR) | SELECT genre FROM table_name_88 WHERE directed_by = "sándor simó" | What Genre did Sándor Simó direct? | <s>[INST]What Genre did Sándor Simó direct? Context: CREATE TABLE table_name_88 (genre VARCHAR, directed_by VARCHAR)[/INST]SELECT genre FROM table_name_88 WHERE directed_by = "sándor simó"</s> |
CREATE TABLE table_name_23 (stop_no VARCHAR, destination VARCHAR, line VARCHAR) | SELECT stop_no FROM table_name_23 WHERE destination = "perth" AND line = "midland" | What is Stop No., when Destination is Perth, and when Line is Midland? | <s>[INST]What is Stop No., when Destination is Perth, and when Line is Midland? Context: CREATE TABLE table_name_23 (stop_no VARCHAR, destination VARCHAR, line VARCHAR)[/INST]SELECT stop_no FROM table_name_23 WHERE destination = "perth" AND line = "midland"</s> |
CREATE TABLE table_26842217_4 (home_team VARCHAR, time VARCHAR, broadcast VARCHAR) | SELECT home_team FROM table_26842217_4 WHERE time = "7:30pm" AND broadcast = "ESPN" | What home team is at 7:30pm in ESPN? | <s>[INST]What home team is at 7:30pm in ESPN? Context: CREATE TABLE table_26842217_4 (home_team VARCHAR, time VARCHAR, broadcast VARCHAR)[/INST]SELECT home_team FROM table_26842217_4 WHERE time = "7:30pm" AND broadcast = "ESPN"</s> |
CREATE TABLE table_21091157_1 (date VARCHAR, game VARCHAR) | SELECT date FROM table_21091157_1 WHERE game = 8 | Name the date for game 8 | <s>[INST]Name the date for game 8 Context: CREATE TABLE table_21091157_1 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_21091157_1 WHERE game = 8</s> |
CREATE TABLE table_1341568_44 (status VARCHAR, incumbent VARCHAR) | SELECT status FROM table_1341568_44 WHERE incumbent = "Charles Stenholm" | What is the status of incumbent Charles Stenholm? | <s>[INST]What is the status of incumbent Charles Stenholm? Context: CREATE TABLE table_1341568_44 (status VARCHAR, incumbent VARCHAR)[/INST]SELECT status FROM table_1341568_44 WHERE incumbent = "Charles Stenholm"</s> |
CREATE TABLE table_name_93 (money___ INTEGER, to_par VARCHAR) | SELECT SUM(money___) AS $__ FROM table_name_93 WHERE to_par = 15 | How much money was there when the to par was 15? | <s>[INST]How much money was there when the to par was 15? Context: CREATE TABLE table_name_93 (money___ INTEGER, to_par VARCHAR)[/INST]SELECT SUM(money___) AS $__ FROM table_name_93 WHERE to_par = 15</s> |
CREATE TABLE LOCATIONS (Other_Details VARCHAR, Location_Name VARCHAR) | SELECT Other_Details FROM LOCATIONS WHERE Location_Name = "UK Gallery" | What is the detail of the location UK Gallery? | <s>[INST]What is the detail of the location UK Gallery? Context: CREATE TABLE LOCATIONS (Other_Details VARCHAR, Location_Name VARCHAR)[/INST]SELECT Other_Details FROM LOCATIONS WHERE Location_Name = "UK Gallery"</s> |
CREATE TABLE table_name_39 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR) | SELECT sub_parish__sokn_ FROM table_name_39 WHERE location_of_the_church = "fresvik" | What is the Sub-Parish called that has a church located in Fresvik? | <s>[INST]What is the Sub-Parish called that has a church located in Fresvik? Context: CREATE TABLE table_name_39 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR)[/INST]SELECT sub_parish__sokn_ FROM table_name_39 WHERE location_of_the_church = "fresvik"</s> |
CREATE TABLE table_name_30 (moroccan_population VARCHAR, name VARCHAR, population__2004_ VARCHAR) | SELECT COUNT(moroccan_population) FROM table_name_30 WHERE name = "sebt saiss" AND population__2004_ > 11212 | What is the number for the Moroccan population when the name is Sebt Saiss and the 2004 population is more than 11212? | <s>[INST]What is the number for the Moroccan population when the name is Sebt Saiss and the 2004 population is more than 11212? Context: CREATE TABLE table_name_30 (moroccan_population VARCHAR, name VARCHAR, population__2004_ VARCHAR)[/INST]SELECT COUNT(moroccan_population) FROM table_name_30 WHERE name = "sebt saiss" ... |
CREATE TABLE table_name_97 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_97 WHERE home = "broadview hawks" | What was the score of the game with the Broadview Hawks as the home team? | <s>[INST]What was the score of the game with the Broadview Hawks as the home team? Context: CREATE TABLE table_name_97 (score VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_97 WHERE home = "broadview hawks"</s> |
CREATE TABLE table_name_6 (year_joined VARCHAR, city VARCHAR) | SELECT year_joined FROM table_name_6 WHERE city = "winamac" | What year did the team based in the city of Winamac join the conference? | <s>[INST]What year did the team based in the city of Winamac join the conference? Context: CREATE TABLE table_name_6 (year_joined VARCHAR, city VARCHAR)[/INST]SELECT year_joined FROM table_name_6 WHERE city = "winamac"</s> |
CREATE TABLE table_name_5 (satellite VARCHAR, launch_site VARCHAR) | SELECT satellite FROM table_name_5 WHERE launch_site = "vandenberg" | Which satellite was launched from Vandenberg? | <s>[INST]Which satellite was launched from Vandenberg? Context: CREATE TABLE table_name_5 (satellite VARCHAR, launch_site VARCHAR)[/INST]SELECT satellite FROM table_name_5 WHERE launch_site = "vandenberg"</s> |
CREATE TABLE table_name_80 (lane INTEGER, heat VARCHAR, name VARCHAR) | SELECT AVG(lane) FROM table_name_80 WHERE heat < 2 AND name = "racheal nachula" | What is the average lane racheal nachula has when the heat is less than 2? | <s>[INST]What is the average lane racheal nachula has when the heat is less than 2? Context: CREATE TABLE table_name_80 (lane INTEGER, heat VARCHAR, name VARCHAR)[/INST]SELECT AVG(lane) FROM table_name_80 WHERE heat < 2 AND name = "racheal nachula"</s> |
CREATE TABLE table_11365528_2 (website VARCHAR, head_coach VARCHAR) | SELECT website FROM table_11365528_2 WHERE head_coach = "Steve Radoslavic" | The head coach, steve radoslavic, is related to which websites? | <s>[INST]The head coach, steve radoslavic, is related to which websites? Context: CREATE TABLE table_11365528_2 (website VARCHAR, head_coach VARCHAR)[/INST]SELECT website FROM table_11365528_2 WHERE head_coach = "Steve Radoslavic"</s> |
CREATE TABLE table_name_16 (ngc_number VARCHAR, constellation VARCHAR, object_type VARCHAR) | SELECT ngc_number FROM table_name_16 WHERE constellation = "leo" AND object_type = "irregular galaxy" | I want the NGC number for leo of irregular galaxy | <s>[INST]I want the NGC number for leo of irregular galaxy Context: CREATE TABLE table_name_16 (ngc_number VARCHAR, constellation VARCHAR, object_type VARCHAR)[/INST]SELECT ngc_number FROM table_name_16 WHERE constellation = "leo" AND object_type = "irregular galaxy"</s> |
CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_36 WHERE date = "november 25, 1973" | What were the results for november 25, 1973? | <s>[INST]What were the results for november 25, 1973? Context: CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_36 WHERE date = "november 25, 1973"</s> |
CREATE TABLE table_name_90 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR, first_baseman VARCHAR) | SELECT leftfielder FROM table_name_90 WHERE second_baseman = "davey lopes" AND first_baseman = "steve garvey" AND shortstop = "bill russell" AND year > 1977 | What is the name of the Leftfielder when Davey Lopes was the Second Baseman and first baseman was steve garvey, Shortstop of bill russell eariler than 1977? | <s>[INST]What is the name of the Leftfielder when Davey Lopes was the Second Baseman and first baseman was steve garvey, Shortstop of bill russell eariler than 1977? Context: CREATE TABLE table_name_90 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR, first_baseman VARCHAR)[/INST]SELECT lef... |
CREATE TABLE Staff_Roles (role_description VARCHAR, role_code VARCHAR) | SELECT role_description FROM Staff_Roles WHERE role_code = 'researcher' | What is the complete description of the researcher role. | <s>[INST]What is the complete description of the researcher role. Context: CREATE TABLE Staff_Roles (role_description VARCHAR, role_code VARCHAR)[/INST]SELECT role_description FROM Staff_Roles WHERE role_code = 'researcher'</s> |
CREATE TABLE table_name_54 (hometown VARCHAR, college VARCHAR) | SELECT hometown FROM table_name_54 WHERE college = "washington" | What is the hometown for the player that went to the college of washington | <s>[INST]What is the hometown for the player that went to the college of washington Context: CREATE TABLE table_name_54 (hometown VARCHAR, college VARCHAR)[/INST]SELECT hometown FROM table_name_54 WHERE college = "washington"</s> |
CREATE TABLE table_27969432_2 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_27969432_2 WHERE written_by = "Karina Csolty" | What is the name of the episode written by karina csolty? | <s>[INST]What is the name of the episode written by karina csolty? Context: CREATE TABLE table_27969432_2 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_27969432_2 WHERE written_by = "Karina Csolty"</s> |
CREATE TABLE table_20010140_10 (record VARCHAR, date VARCHAR) | SELECT COUNT(record) FROM table_20010140_10 WHERE date = "February 22" | how many records were made on february 22 | <s>[INST]how many records were made on february 22 Context: CREATE TABLE table_20010140_10 (record VARCHAR, date VARCHAR)[/INST]SELECT COUNT(record) FROM table_20010140_10 WHERE date = "February 22"</s> |
CREATE TABLE table_26638600_3 (circuit VARCHAR, lites_1_race_one_winning_team VARCHAR) | SELECT circuit FROM table_26638600_3 WHERE lites_1_race_one_winning_team = "#66 Gunnar Racing" | On which circuit was the lites 1 race one winning team #66 Gunnar Racing? | <s>[INST]On which circuit was the lites 1 race one winning team #66 Gunnar Racing? Context: CREATE TABLE table_26638600_3 (circuit VARCHAR, lites_1_race_one_winning_team VARCHAR)[/INST]SELECT circuit FROM table_26638600_3 WHERE lites_1_race_one_winning_team = "#66 Gunnar Racing"</s> |
CREATE TABLE table_name_16 (appearances INTEGER, team VARCHAR, rank VARCHAR) | SELECT SUM(appearances) FROM table_name_16 WHERE team = "psv eindhoven" AND rank < 11 | How many appearances for psv eindhoven ranked above 11? | <s>[INST]How many appearances for psv eindhoven ranked above 11? Context: CREATE TABLE table_name_16 (appearances INTEGER, team VARCHAR, rank VARCHAR)[/INST]SELECT SUM(appearances) FROM table_name_16 WHERE team = "psv eindhoven" AND rank < 11</s> |
CREATE TABLE table_name_81 (player VARCHAR, college_junior_club_team__league_ VARCHAR) | SELECT player FROM table_name_81 WHERE college_junior_club_team__league_ = "hc cska moscow (russia)" | Which Player has a Hc Cska Moscow (Russia)? | <s>[INST]Which Player has a Hc Cska Moscow (Russia)? Context: CREATE TABLE table_name_81 (player VARCHAR, college_junior_club_team__league_ VARCHAR)[/INST]SELECT player FROM table_name_81 WHERE college_junior_club_team__league_ = "hc cska moscow (russia)"</s> |
CREATE TABLE table_name_32 (date VARCHAR, region VARCHAR) | SELECT date FROM table_name_32 WHERE region = "europe" | What is the date for Europe? | <s>[INST]What is the date for Europe? Context: CREATE TABLE table_name_32 (date VARCHAR, region VARCHAR)[/INST]SELECT date FROM table_name_32 WHERE region = "europe"</s> |
CREATE TABLE table_27712702_11 (game INTEGER) | SELECT MAX(game) FROM table_27712702_11 | What is the largest game number? | <s>[INST]What is the largest game number? Context: CREATE TABLE table_27712702_11 (game INTEGER)[/INST]SELECT MAX(game) FROM table_27712702_11</s> |
CREATE TABLE table_name_89 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT date_performed FROM table_name_89 WHERE main_contestant = "jatin shah" AND co_contestant__yaar_vs_pyaar_ = "shalini chandran" | What is the date of the performance by Jatin Shah and co-contestant is Shalini Chandran? | <s>[INST]What is the date of the performance by Jatin Shah and co-contestant is Shalini Chandran? Context: CREATE TABLE table_name_89 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)[/INST]SELECT date_performed FROM table_name_89 WHERE main_contestant = "jatin shah" AND co_contes... |
CREATE TABLE table_17516922_1 (year INTEGER, sideline_reporters VARCHAR) | SELECT MAX(year) FROM table_17516922_1 WHERE sideline_reporters = "Rob Stone and Monica Gonzalez" | What is the last year that had sideline reporters rob stone and monica gonzalez? | <s>[INST]What is the last year that had sideline reporters rob stone and monica gonzalez? Context: CREATE TABLE table_17516922_1 (year INTEGER, sideline_reporters VARCHAR)[/INST]SELECT MAX(year) FROM table_17516922_1 WHERE sideline_reporters = "Rob Stone and Monica Gonzalez"</s> |
CREATE TABLE table_name_48 (Id VARCHAR) | SELECT 2007 FROM table_name_48 WHERE 2003 = "desert prince" | What is the 2007 for the 2003 desert prince? | <s>[INST]What is the 2007 for the 2003 desert prince? Context: CREATE TABLE table_name_48 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_48 WHERE 2003 = "desert prince"</s> |
CREATE TABLE Engineer_Visits (contact_staff_id VARCHAR, engineer_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR) | SELECT T1.staff_name, T3.first_name, T3.last_name FROM Staff AS T1 JOIN Engineer_Visits AS T2 ON T1.staff_id = T2.contact_staff_id JOIN Maintenance_Engineers AS T3 ON T2.engineer_id = T3.engineer_id | Which staff have contacted which engineers? List the staff name and the engineer first name and last name. | <s>[INST]Which staff have contacted which engineers? List the staff name and the engineer first name and last name. Context: CREATE TABLE Engineer_Visits (contact_staff_id VARCHAR, engineer_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE Maintenance_Engineers (first_name VARCHAR, la... |
CREATE TABLE table_name_67 (original_channel VARCHAR, year VARCHAR, note VARCHAR) | SELECT original_channel FROM table_name_67 WHERE year < 2006 AND note = "supporting" | what is the original channel when the year is before 2006 and the note is supporting? | <s>[INST]what is the original channel when the year is before 2006 and the note is supporting? Context: CREATE TABLE table_name_67 (original_channel VARCHAR, year VARCHAR, note VARCHAR)[/INST]SELECT original_channel FROM table_name_67 WHERE year < 2006 AND note = "supporting"</s> |
CREATE TABLE table_name_74 (laps INTEGER, grid VARCHAR) | SELECT AVG(laps) FROM table_name_74 WHERE grid = 9 | I want the average Laps for grid of 9 | <s>[INST]I want the average Laps for grid of 9 Context: CREATE TABLE table_name_74 (laps INTEGER, grid VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_74 WHERE grid = 9</s> |
CREATE TABLE table_18143210_2 (number_of_seasons_in_top_division INTEGER, first_season_in_top_division VARCHAR) | SELECT MAX(number_of_seasons_in_top_division) FROM table_18143210_2 WHERE first_season_in_top_division = "1990-91" | How many 'number of seasons in top division' were played if the 'first season in top division' games is in 1990-91? | <s>[INST]How many 'number of seasons in top division' were played if the 'first season in top division' games is in 1990-91? Context: CREATE TABLE table_18143210_2 (number_of_seasons_in_top_division INTEGER, first_season_in_top_division VARCHAR)[/INST]SELECT MAX(number_of_seasons_in_top_division) FROM table_18143210_2 ... |
CREATE TABLE party (Comptroller VARCHAR) | SELECT Comptroller, COUNT(*) FROM party GROUP BY Comptroller ORDER BY COUNT(*) DESC LIMIT 1 | Show the people that have been comptroller the most times and the corresponding number of times. | <s>[INST]Show the people that have been comptroller the most times and the corresponding number of times. Context: CREATE TABLE party (Comptroller VARCHAR)[/INST]SELECT Comptroller, COUNT(*) FROM party GROUP BY Comptroller ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_54 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_54 WHERE chassis = "lola thl1" AND year > 1986 | What is the most points for a vehicle with a lola thl1, chassis later than 1986? | <s>[INST]What is the most points for a vehicle with a lola thl1, chassis later than 1986? Context: CREATE TABLE table_name_54 (points INTEGER, chassis VARCHAR, year VARCHAR)[/INST]SELECT MAX(points) FROM table_name_54 WHERE chassis = "lola thl1" AND year > 1986</s> |
CREATE TABLE table_name_33 (catalogue VARCHAR, date VARCHAR, region VARCHAR, format VARCHAR) | SELECT catalogue FROM table_name_33 WHERE region = "uk" AND format = "vinyl" AND date = "1986" | Which catalogue is from the UK region, and is on vinyl, and was dated in 1986? | <s>[INST]Which catalogue is from the UK region, and is on vinyl, and was dated in 1986? Context: CREATE TABLE table_name_33 (catalogue VARCHAR, date VARCHAR, region VARCHAR, format VARCHAR)[/INST]SELECT catalogue FROM table_name_33 WHERE region = "uk" AND format = "vinyl" AND date = "1986"</s> |
CREATE TABLE table_name_96 (fifth VARCHAR, sixth VARCHAR, second VARCHAR, first VARCHAR) | SELECT fifth FROM table_name_96 WHERE second = "victoria" AND first = "tasmania" AND sixth = "south australia" | What team placed fifth during the season where Victoria placed second, Tasmania placed first, and South Australia placed sixth? | <s>[INST]What team placed fifth during the season where Victoria placed second, Tasmania placed first, and South Australia placed sixth? Context: CREATE TABLE table_name_96 (fifth VARCHAR, sixth VARCHAR, second VARCHAR, first VARCHAR)[/INST]SELECT fifth FROM table_name_96 WHERE second = "victoria" AND first = "tasmania... |
CREATE TABLE member (card_number VARCHAR, name VARCHAR, hometown VARCHAR, LEVEL VARCHAR) | SELECT card_number, name, hometown FROM member ORDER BY LEVEL DESC | Show card number, name, and hometown for all members in a descending order of level. | <s>[INST]Show card number, name, and hometown for all members in a descending order of level. Context: CREATE TABLE member (card_number VARCHAR, name VARCHAR, hometown VARCHAR, LEVEL VARCHAR)[/INST]SELECT card_number, name, hometown FROM member ORDER BY LEVEL DESC</s> |
CREATE TABLE table_name_13 (japanese_title VARCHAR, romaji_title VARCHAR) | SELECT japanese_title FROM table_name_13 WHERE romaji_title = "ryūsei no kizuna" | What's the Japanese Title when the Romaji title was Ryūsei No Kizuna? | <s>[INST]What's the Japanese Title when the Romaji title was Ryūsei No Kizuna? Context: CREATE TABLE table_name_13 (japanese_title VARCHAR, romaji_title VARCHAR)[/INST]SELECT japanese_title FROM table_name_13 WHERE romaji_title = "ryūsei no kizuna"</s> |
CREATE TABLE table_2374338_2 (croats VARCHAR, roma VARCHAR) | SELECT croats FROM table_2374338_2 WHERE roma = "3.1%" | What is every value for Croats if the value of Roma is 3.1%? | <s>[INST]What is every value for Croats if the value of Roma is 3.1%? Context: CREATE TABLE table_2374338_2 (croats VARCHAR, roma VARCHAR)[/INST]SELECT croats FROM table_2374338_2 WHERE roma = "3.1%"</s> |
CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_90 WHERE time = "1:00.59" | Which Date has a Time of 1:00.59? | <s>[INST]Which Date has a Time of 1:00.59? Context: CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR)[/INST]SELECT date FROM table_name_90 WHERE time = "1:00.59"</s> |
CREATE TABLE table_name_87 (lost INTEGER, goals_against VARCHAR, position VARCHAR, points_1 VARCHAR) | SELECT AVG(lost) FROM table_name_87 WHERE position > 5 AND points_1 = "37" AND goals_against < 63 | Which Lost has a Position larger than 5, and Points 1 of 37, and less than 63 Goals Against? | <s>[INST]Which Lost has a Position larger than 5, and Points 1 of 37, and less than 63 Goals Against? Context: CREATE TABLE table_name_87 (lost INTEGER, goals_against VARCHAR, position VARCHAR, points_1 VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_87 WHERE position > 5 AND points_1 = "37" AND goals_against < 63</s> |
CREATE TABLE table_name_75 (runners_up VARCHAR, venue VARCHAR) | SELECT runners_up FROM table_name_75 WHERE venue = "broadwood stadium" | What Runners-up have a Venue in Broadwood Stadium? | <s>[INST]What Runners-up have a Venue in Broadwood Stadium? Context: CREATE TABLE table_name_75 (runners_up VARCHAR, venue VARCHAR)[/INST]SELECT runners_up FROM table_name_75 WHERE venue = "broadwood stadium"</s> |
CREATE TABLE table_name_40 (district VARCHAR, place_of_birth VARCHAR, delegate VARCHAR) | SELECT COUNT(district) FROM table_name_40 WHERE place_of_birth = "baltimore city" AND delegate = "cheryl glenn" | How many districts in Baltimore City does Cheryl Glenn dictate? | <s>[INST]How many districts in Baltimore City does Cheryl Glenn dictate? Context: CREATE TABLE table_name_40 (district VARCHAR, place_of_birth VARCHAR, delegate VARCHAR)[/INST]SELECT COUNT(district) FROM table_name_40 WHERE place_of_birth = "baltimore city" AND delegate = "cheryl glenn"</s> |
CREATE TABLE table_21100348_15 (rank INTEGER, player VARCHAR) | SELECT MAX(rank) FROM table_21100348_15 WHERE player = "Rodney Marsh" | What rank does Rodney Marsh have? | <s>[INST]What rank does Rodney Marsh have? Context: CREATE TABLE table_21100348_15 (rank INTEGER, player VARCHAR)[/INST]SELECT MAX(rank) FROM table_21100348_15 WHERE player = "Rodney Marsh"</s> |
CREATE TABLE table_name_19 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) | SELECT outgoing_manager FROM table_name_19 WHERE date_of_vacancy = "13 october 2008" | Who is the outgoing manager when the date of vacancy is 13 october 2008? | <s>[INST]Who is the outgoing manager when the date of vacancy is 13 october 2008? Context: CREATE TABLE table_name_19 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)[/INST]SELECT outgoing_manager FROM table_name_19 WHERE date_of_vacancy = "13 october 2008"</s> |
CREATE TABLE table_1342270_24 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_1342270_24 | what was the maxiumum for the first elected? | <s>[INST]what was the maxiumum for the first elected? Context: CREATE TABLE table_1342270_24 (first_elected INTEGER)[/INST]SELECT MAX(first_elected) FROM table_1342270_24</s> |
CREATE TABLE table_18569389_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_18569389_1 WHERE us_viewers__million_ = "4.22" | Name who directed the episode that was viewed by 4.22 million | <s>[INST]Name who directed the episode that was viewed by 4.22 million Context: CREATE TABLE table_18569389_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT directed_by FROM table_18569389_1 WHERE us_viewers__million_ = "4.22"</s> |
CREATE TABLE table_name_62 (career_win_loss VARCHAR, career_sr VARCHAR) | SELECT 1985 FROM table_name_62 WHERE career_win_loss = "n/a" AND career_sr = "0 / 23" | What is the result in 1985 when the career win-loss is n/a, and 0 / 23 as the career SR? | <s>[INST]What is the result in 1985 when the career win-loss is n/a, and 0 / 23 as the career SR? Context: CREATE TABLE table_name_62 (career_win_loss VARCHAR, career_sr VARCHAR)[/INST]SELECT 1985 FROM table_name_62 WHERE career_win_loss = "n/a" AND career_sr = "0 / 23"</s> |
CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_32 WHERE score = "1–3" AND visitor = "chicago black hawks" AND date = "november 15" | What is the Record of the game on November 15 against Visitor Chicago Black Hawks with a Score of 1–3? | <s>[INST]What is the Record of the game on November 15 against Visitor Chicago Black Hawks with a Score of 1–3? Context: CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR, score VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_32 WHERE score = "1–3" AND visitor = "chicago black hawks" AND date = "no... |
CREATE TABLE endowment (school_id VARCHAR, amount INTEGER); CREATE TABLE budget (school_id VARCHAR, budgeted INTEGER); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR) | SELECT T2.school_name FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id JOIN endowment AS T3 ON T2.school_id = T3.school_id GROUP BY T2.school_name HAVING SUM(T1.budgeted) > 100 OR SUM(T3.amount) > 10 | Show the names of schools with a total budget amount greater than 100 or a total endowment greater than 10. | <s>[INST]Show the names of schools with a total budget amount greater than 100 or a total endowment greater than 10. Context: CREATE TABLE endowment (school_id VARCHAR, amount INTEGER); CREATE TABLE budget (school_id VARCHAR, budgeted INTEGER); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR)[/INST]SELECT T... |
CREATE TABLE table_name_3 (sport VARCHAR, founded VARCHAR) | SELECT sport FROM table_name_3 WHERE founded = 2010 | What sport was played by the team founded in 2010? | <s>[INST]What sport was played by the team founded in 2010? Context: CREATE TABLE table_name_3 (sport VARCHAR, founded VARCHAR)[/INST]SELECT sport FROM table_name_3 WHERE founded = 2010</s> |
CREATE TABLE table_11884814_3 (evening_gown VARCHAR, swimsuit VARCHAR) | SELECT evening_gown FROM table_11884814_3 WHERE swimsuit = "9.61" | What was the evening gown score when the swimsuit was 9.61? | <s>[INST]What was the evening gown score when the swimsuit was 9.61? Context: CREATE TABLE table_11884814_3 (evening_gown VARCHAR, swimsuit VARCHAR)[/INST]SELECT evening_gown FROM table_11884814_3 WHERE swimsuit = "9.61"</s> |
CREATE TABLE table_name_39 (round VARCHAR, college VARCHAR, overall VARCHAR) | SELECT COUNT(round) FROM table_name_39 WHERE college = "lehigh" AND overall < 152 | What is the total number of rounds of the player from lehigh college with an overall less than 152? | <s>[INST]What is the total number of rounds of the player from lehigh college with an overall less than 152? Context: CREATE TABLE table_name_39 (round VARCHAR, college VARCHAR, overall VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_39 WHERE college = "lehigh" AND overall < 152</s> |
CREATE TABLE table_name_34 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_34 WHERE result = "lost 1-2" | What Competition had a Result of lost 1-2? | <s>[INST]What Competition had a Result of lost 1-2? Context: CREATE TABLE table_name_34 (competition VARCHAR, result VARCHAR)[/INST]SELECT competition FROM table_name_34 WHERE result = "lost 1-2"</s> |
CREATE TABLE table_2941848_2 (play_by_play_announcer VARCHAR, trophy_presentation VARCHAR) | SELECT play_by_play_announcer FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose" | Who is every play-by-play announcer when Chris Rose is the trophy presenter? | <s>[INST]Who is every play-by-play announcer when Chris Rose is the trophy presenter? Context: CREATE TABLE table_2941848_2 (play_by_play_announcer VARCHAR, trophy_presentation VARCHAR)[/INST]SELECT play_by_play_announcer FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose"</s> |
CREATE TABLE table_name_27 (length VARCHAR, class VARCHAR, date VARCHAR) | SELECT length FROM table_name_27 WHERE class = "gts-2" AND date = "october 8" | Name the length for class of gts-2 and date of october 8 | <s>[INST]Name the length for class of gts-2 and date of october 8 Context: CREATE TABLE table_name_27 (length VARCHAR, class VARCHAR, date VARCHAR)[/INST]SELECT length FROM table_name_27 WHERE class = "gts-2" AND date = "october 8"</s> |
CREATE TABLE table_13657749_2 (to_winning_team VARCHAR, gto_winning_team VARCHAR) | SELECT to_winning_team FROM table_13657749_2 WHERE gto_winning_team = "Gene Felton" | Who is Gene Felton's TO Winning Team? | <s>[INST]Who is Gene Felton's TO Winning Team? Context: CREATE TABLE table_13657749_2 (to_winning_team VARCHAR, gto_winning_team VARCHAR)[/INST]SELECT to_winning_team FROM table_13657749_2 WHERE gto_winning_team = "Gene Felton"</s> |
CREATE TABLE table_27722408_2 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_27722408_2 WHERE date = "October 7" | Who had the most assists and how many did they have on October 7? | <s>[INST]Who had the most assists and how many did they have on October 7? Context: CREATE TABLE table_27722408_2 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_27722408_2 WHERE date = "October 7"</s> |
CREATE TABLE table_name_98 (province_region VARCHAR, location VARCHAR) | SELECT province_region FROM table_name_98 WHERE location = "cagayan de oro city" | Where is the Cagayan de Oro city located? | <s>[INST]Where is the Cagayan de Oro city located? Context: CREATE TABLE table_name_98 (province_region VARCHAR, location VARCHAR)[/INST]SELECT province_region FROM table_name_98 WHERE location = "cagayan de oro city"</s> |
CREATE TABLE table_17371135_30 (college_junior_club_team__league_ VARCHAR, position VARCHAR) | SELECT college_junior_club_team__league_ FROM table_17371135_30 WHERE position = "Goaltender" | The player who plays goaltender is from what college/junior/club team? | <s>[INST]The player who plays goaltender is from what college/junior/club team? Context: CREATE TABLE table_17371135_30 (college_junior_club_team__league_ VARCHAR, position VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_17371135_30 WHERE position = "Goaltender"</s> |
CREATE TABLE table_16388398_1 (date VARCHAR, ground VARCHAR) | SELECT date FROM table_16388398_1 WHERE ground = "Manuka Oval" | When was the game played on Manuka Oval? | <s>[INST]When was the game played on Manuka Oval? Context: CREATE TABLE table_16388398_1 (date VARCHAR, ground VARCHAR)[/INST]SELECT date FROM table_16388398_1 WHERE ground = "Manuka Oval"</s> |
CREATE TABLE table_1160304_2 (date_of_entry VARCHAR, chart VARCHAR) | SELECT date_of_entry FROM table_1160304_2 WHERE chart = "UK Albums Top 75" | What is the date of entry for the UK Albums Top 75 chart? | <s>[INST]What is the date of entry for the UK Albums Top 75 chart? Context: CREATE TABLE table_1160304_2 (date_of_entry VARCHAR, chart VARCHAR)[/INST]SELECT date_of_entry FROM table_1160304_2 WHERE chart = "UK Albums Top 75"</s> |
CREATE TABLE table_23197088_4 (score_in_final VARCHAR, opponents_in_final VARCHAR) | SELECT COUNT(score_in_final) FROM table_23197088_4 WHERE opponents_in_final = "Alexandra Fusai Nathalie Tauziat" | as is the quantity variety of score between ultimate the place opponents between remaining is alexandra fusai nathalie tauziat | <s>[INST]as is the quantity variety of score between ultimate the place opponents between remaining is alexandra fusai nathalie tauziat Context: CREATE TABLE table_23197088_4 (score_in_final VARCHAR, opponents_in_final VARCHAR)[/INST]SELECT COUNT(score_in_final) FROM table_23197088_4 WHERE opponents_in_final = "Alexand... |
CREATE TABLE table_name_5 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT MIN(points) FROM table_name_5 WHERE chassis = "epperly indy roadster" AND year = 1959 | What is the lowest amount of points held by the Epperly Indy roadster in 1959? | <s>[INST]What is the lowest amount of points held by the Epperly Indy roadster in 1959? Context: CREATE TABLE table_name_5 (points INTEGER, chassis VARCHAR, year VARCHAR)[/INST]SELECT MIN(points) FROM table_name_5 WHERE chassis = "epperly indy roadster" AND year = 1959</s> |
CREATE TABLE table_name_98 (team VARCHAR, position_in_table VARCHAR, replaced_by VARCHAR) | SELECT team FROM table_name_98 WHERE position_in_table = "12th" AND replaced_by = "ove pedersen" | WHAT TEAM HAS 12TH TABLE POSITION AND REPLACED BY OVE PEDERSEN? | <s>[INST]WHAT TEAM HAS 12TH TABLE POSITION AND REPLACED BY OVE PEDERSEN? Context: CREATE TABLE table_name_98 (team VARCHAR, position_in_table VARCHAR, replaced_by VARCHAR)[/INST]SELECT team FROM table_name_98 WHERE position_in_table = "12th" AND replaced_by = "ove pedersen"</s> |
CREATE TABLE table_name_12 (event VARCHAR, method VARCHAR) | SELECT event FROM table_name_12 WHERE method = "decision" | Which event had a decision method? | <s>[INST]Which event had a decision method? Context: CREATE TABLE table_name_12 (event VARCHAR, method VARCHAR)[/INST]SELECT event FROM table_name_12 WHERE method = "decision"</s> |
CREATE TABLE table_11964047_8 (leading_scorer VARCHAR, date VARCHAR) | SELECT leading_scorer FROM table_11964047_8 WHERE date = "February 1" | What is the leading scorer on february 1? | <s>[INST]What is the leading scorer on february 1? Context: CREATE TABLE table_11964047_8 (leading_scorer VARCHAR, date VARCHAR)[/INST]SELECT leading_scorer FROM table_11964047_8 WHERE date = "February 1"</s> |
CREATE TABLE table_name_99 (constructor VARCHAR, time_retired VARCHAR) | SELECT constructor FROM table_name_99 WHERE time_retired = "handling" | What is the constructor for time/retired of handling? | <s>[INST]What is the constructor for time/retired of handling? Context: CREATE TABLE table_name_99 (constructor VARCHAR, time_retired VARCHAR)[/INST]SELECT constructor FROM table_name_99 WHERE time_retired = "handling"</s> |
CREATE TABLE table_name_89 (bronze INTEGER, rank VARCHAR, gold VARCHAR) | SELECT AVG(bronze) FROM table_name_89 WHERE rank = "total" AND gold > 59 | When the number of gold medals is greater than 59, and the rank is total, what is the average bronze medals? | <s>[INST]When the number of gold medals is greater than 59, and the rank is total, what is the average bronze medals? Context: CREATE TABLE table_name_89 (bronze INTEGER, rank VARCHAR, gold VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_89 WHERE rank = "total" AND gold > 59</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.