context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_78 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_78 WHERE date = "1 december 2007" | What is the score on the 1 December 2007 game? | <s>[INST]What is the score on the 1 December 2007 game? Context: CREATE TABLE table_name_78 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_78 WHERE date = "1 december 2007"</s> |
CREATE TABLE table_name_44 (home VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT home FROM table_name_44 WHERE visitor = "modo hockey" AND date = "thursday, december 11" | What is the Home team of the event on Thursday, December 11 with Visitor Modo Hockey? | <s>[INST]What is the Home team of the event on Thursday, December 11 with Visitor Modo Hockey? Context: CREATE TABLE table_name_44 (home VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_44 WHERE visitor = "modo hockey" AND date = "thursday, december 11"</s> |
CREATE TABLE table_name_24 (record_set VARCHAR, year VARCHAR, superlative VARCHAR) | SELECT record_set FROM table_name_24 WHERE year > 2011 AND superlative = "youngest nominee" | After the year 2011, who was the youngest nominee? | <s>[INST]After the year 2011, who was the youngest nominee? Context: CREATE TABLE table_name_24 (record_set VARCHAR, year VARCHAR, superlative VARCHAR)[/INST]SELECT record_set FROM table_name_24 WHERE year > 2011 AND superlative = "youngest nominee"</s> |
CREATE TABLE table_1868929_1 (upper_index_kcal__nm_3 VARCHAR, lower_index_mj__nm_3 VARCHAR) | SELECT upper_index_kcal__nm_3 FROM table_1868929_1 WHERE lower_index_mj__nm_3 = "62.47" | Name the upper index kcal/nm3 for 62.47 | <s>[INST] Name the upper index kcal/nm3 for 62.47 Context: CREATE TABLE table_1868929_1 (upper_index_kcal__nm_3 VARCHAR, lower_index_mj__nm_3 VARCHAR)[/INST]SELECT upper_index_kcal__nm_3 FROM table_1868929_1 WHERE lower_index_mj__nm_3 = "62.47"</s> |
CREATE TABLE table_22871316_11 (high_assists VARCHAR, series VARCHAR) | SELECT high_assists FROM table_22871316_11 WHERE series = "0-1" | Who has the high assists when 0-1 is the series? | <s>[INST]Who has the high assists when 0-1 is the series? Context: CREATE TABLE table_22871316_11 (high_assists VARCHAR, series VARCHAR)[/INST]SELECT high_assists FROM table_22871316_11 WHERE series = "0-1"</s> |
CREATE TABLE table_name_30 (model VARCHAR, total_production VARCHAR) | SELECT model FROM table_name_30 WHERE total_production = 1347 | Tell me the model for total production of 1347 | <s>[INST]Tell me the model for total production of 1347 Context: CREATE TABLE table_name_30 (model VARCHAR, total_production VARCHAR)[/INST]SELECT model FROM table_name_30 WHERE total_production = 1347</s> |
CREATE TABLE table_25038931_1 (minutes INTEGER, starts VARCHAR) | SELECT MAX(minutes) FROM table_25038931_1 WHERE starts = 11 | List the total play time for 11 starts. | <s>[INST]List the total play time for 11 starts. Context: CREATE TABLE table_25038931_1 (minutes INTEGER, starts VARCHAR)[/INST]SELECT MAX(minutes) FROM table_25038931_1 WHERE starts = 11</s> |
CREATE TABLE table_name_48 (goals VARCHAR, years_at_club VARCHAR, games VARCHAR, debut_year VARCHAR) | SELECT COUNT(goals) FROM table_name_48 WHERE games < 6 AND debut_year = 1939 AND years_at_club = "1939, 1941" | How many Goals have Games smaller than 6, and a Debut year of 1939, and Years at club of 1939, 1941? | <s>[INST]How many Goals have Games smaller than 6, and a Debut year of 1939, and Years at club of 1939, 1941? Context: CREATE TABLE table_name_48 (goals VARCHAR, years_at_club VARCHAR, games VARCHAR, debut_year VARCHAR)[/INST]SELECT COUNT(goals) FROM table_name_48 WHERE games < 6 AND debut_year = 1939 AND years_at_club = "1939, 1941"</s> |
CREATE TABLE table_27319183_5 (official_itv1_rating__millions_ VARCHAR, episode VARCHAR) | SELECT official_itv1_rating__millions_ FROM table_27319183_5 WHERE episode = "Live final results" | What was the official ITV1 rating in millions of the Live Final Results episode? | <s>[INST]What was the official ITV1 rating in millions of the Live Final Results episode? Context: CREATE TABLE table_27319183_5 (official_itv1_rating__millions_ VARCHAR, episode VARCHAR)[/INST]SELECT official_itv1_rating__millions_ FROM table_27319183_5 WHERE episode = "Live final results"</s> |
CREATE TABLE table_name_61 (catalog VARCHAR, region VARCHAR, format VARCHAR) | SELECT catalog FROM table_name_61 WHERE region = "canada" AND format = "cd/dvd" | Which Catalog has a Region of Canada and a Format of cd/dvd? | <s>[INST]Which Catalog has a Region of Canada and a Format of cd/dvd? Context: CREATE TABLE table_name_61 (catalog VARCHAR, region VARCHAR, format VARCHAR)[/INST]SELECT catalog FROM table_name_61 WHERE region = "canada" AND format = "cd/dvd"</s> |
CREATE TABLE table_name_20 (res VARCHAR, record VARCHAR) | SELECT res FROM table_name_20 WHERE record = "16-6" | Which result has a Record of 16-6? | <s>[INST]Which result has a Record of 16-6? Context: CREATE TABLE table_name_20 (res VARCHAR, record VARCHAR)[/INST]SELECT res FROM table_name_20 WHERE record = "16-6"</s> |
CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_87 WHERE player = "ed stokes" | What position does Ed Stokes hold? | <s>[INST]What position does Ed Stokes hold? Context: CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_87 WHERE player = "ed stokes"</s> |
CREATE TABLE table_20704243_3 (directed_by VARCHAR, season__number VARCHAR) | SELECT COUNT(directed_by) FROM table_20704243_3 WHERE season__number = 2 | How many directors were in Season 2? | <s>[INST]How many directors were in Season 2? Context: CREATE TABLE table_20704243_3 (directed_by VARCHAR, season__number VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_20704243_3 WHERE season__number = 2</s> |
CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR) | SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = "jared borgetti" AND superliga > 0 | Name the average concacaf for merconorte larger than 0 and player of jared borgetti | <s>[INST]Name the average concacaf for merconorte larger than 0 and player of jared borgetti Context: CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR)[/INST]SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = "jared borgetti" AND superliga > 0</s> |
CREATE TABLE table_name_50 (party VARCHAR, leader VARCHAR) | SELECT party FROM table_name_50 WHERE leader = "timothy kirkhope" | Which party does Timothy Kirkhope lead? | <s>[INST]Which party does Timothy Kirkhope lead? Context: CREATE TABLE table_name_50 (party VARCHAR, leader VARCHAR)[/INST]SELECT party FROM table_name_50 WHERE leader = "timothy kirkhope"</s> |
CREATE TABLE table_name_13 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_13 WHERE away_team = "richmond" | What was the home team's score when they played Richmond? | <s>[INST]What was the home team's score when they played Richmond? Context: CREATE TABLE table_name_13 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_13 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_35 (bronze INTEGER, silver VARCHAR, total VARCHAR) | SELECT MIN(bronze) FROM table_name_35 WHERE silver = 2 AND total = 8 | What is the lowest bronze number when silver shows 2, and the total is 8? | <s>[INST]What is the lowest bronze number when silver shows 2, and the total is 8? Context: CREATE TABLE table_name_35 (bronze INTEGER, silver VARCHAR, total VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_35 WHERE silver = 2 AND total = 8</s> |
CREATE TABLE table_22078972_2 (no_in_series INTEGER, written_by VARCHAR) | SELECT MAX(no_in_series) FROM table_22078972_2 WHERE written_by = "David North" | What's the series number of the episode whose writer is David North? | <s>[INST]What's the series number of the episode whose writer is David North? Context: CREATE TABLE table_22078972_2 (no_in_series INTEGER, written_by VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_22078972_2 WHERE written_by = "David North"</s> |
CREATE TABLE table_30120547_1 (barony VARCHAR, townland VARCHAR) | SELECT barony FROM table_30120547_1 WHERE townland = "Gurraghy" | What is the barony of the Gurraghy townland? | <s>[INST]What is the barony of the Gurraghy townland? Context: CREATE TABLE table_30120547_1 (barony VARCHAR, townland VARCHAR)[/INST]SELECT barony FROM table_30120547_1 WHERE townland = "Gurraghy"</s> |
CREATE TABLE table_15928363_1 (horizontal VARCHAR, framerate___hz__ VARCHAR) | SELECT COUNT(horizontal) FROM table_15928363_1 WHERE framerate___hz__ = "25" | Name the number of horizontal when framerate hz is 25 | <s>[INST]Name the number of horizontal when framerate hz is 25 Context: CREATE TABLE table_15928363_1 (horizontal VARCHAR, framerate___hz__ VARCHAR)[/INST]SELECT COUNT(horizontal) FROM table_15928363_1 WHERE framerate___hz__ = "25"</s> |
CREATE TABLE table_name_49 (year INTEGER, quantity VARCHAR, gwr_numbers VARCHAR) | SELECT AVG(year) FROM table_name_49 WHERE quantity = 10 AND gwr_numbers = "409, 290, 315, 317–321, 324, 333" | What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317–321, 324, 333? | <s>[INST]What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317–321, 324, 333? Context: CREATE TABLE table_name_49 (year INTEGER, quantity VARCHAR, gwr_numbers VARCHAR)[/INST]SELECT AVG(year) FROM table_name_49 WHERE quantity = 10 AND gwr_numbers = "409, 290, 315, 317–321, 324, 333"</s> |
CREATE TABLE table_name_28 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, qual VARCHAR) | SELECT constructor FROM table_name_28 WHERE laps = 45 AND qual < 142.29 AND driver = "chuck weyant" | Which constructor has Chuck Weyant as a driver, 45 laps, and a qual of less than 142.29? | <s>[INST]Which constructor has Chuck Weyant as a driver, 45 laps, and a qual of less than 142.29? Context: CREATE TABLE table_name_28 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, qual VARCHAR)[/INST]SELECT constructor FROM table_name_28 WHERE laps = 45 AND qual < 142.29 AND driver = "chuck weyant"</s> |
CREATE TABLE table_name_48 (league VARCHAR, venue VARCHAR) | SELECT league FROM table_name_48 WHERE venue = "billesley common" | What kind of League has a Venue of billesley common? | <s>[INST]What kind of League has a Venue of billesley common? Context: CREATE TABLE table_name_48 (league VARCHAR, venue VARCHAR)[/INST]SELECT league FROM table_name_48 WHERE venue = "billesley common"</s> |
CREATE TABLE table_name_62 (american VARCHAR, british VARCHAR) | SELECT american FROM table_name_62 WHERE british = "ɛm" | Which American has British of ɛm? | <s>[INST]Which American has British of ɛm? Context: CREATE TABLE table_name_62 (american VARCHAR, british VARCHAR)[/INST]SELECT american FROM table_name_62 WHERE british = "ɛm"</s> |
CREATE TABLE table_name_82 (date VARCHAR, label VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_82 WHERE label = "sony bmg, epic" AND catalog = "5187482" | What is the date of the item with a label of Sony BMG, Epic and a Catalog number 5187482? | <s>[INST]What is the date of the item with a label of Sony BMG, Epic and a Catalog number 5187482? Context: CREATE TABLE table_name_82 (date VARCHAR, label VARCHAR, catalog VARCHAR)[/INST]SELECT date FROM table_name_82 WHERE label = "sony bmg, epic" AND catalog = "5187482"</s> |
CREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_2 VARCHAR) | SELECT verb_meaning FROM table_1745843_8 WHERE part_2 = "bant" | What is the verb meaning of the word with part 2 "bant"? | <s>[INST]What is the verb meaning of the word with part 2 "bant"? Context: CREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_2 VARCHAR)[/INST]SELECT verb_meaning FROM table_1745843_8 WHERE part_2 = "bant"</s> |
CREATE TABLE table_26250227_1 (order__number VARCHAR, original_artist VARCHAR) | SELECT order__number FROM table_26250227_1 WHERE original_artist = "Maroon 5" | What are all of the order # where authentic artist is maroon 5 | <s>[INST]What are all of the order # where authentic artist is maroon 5 Context: CREATE TABLE table_26250227_1 (order__number VARCHAR, original_artist VARCHAR)[/INST]SELECT order__number FROM table_26250227_1 WHERE original_artist = "Maroon 5"</s> |
CREATE TABLE table_name_74 (score VARCHAR, runner_up VARCHAR, year VARCHAR) | SELECT score FROM table_name_74 WHERE runner_up = "jimmy connors" AND year < 1979 | In 1979 when Jimmy Connors was the runner-up what was the score? | <s>[INST]In 1979 when Jimmy Connors was the runner-up what was the score? Context: CREATE TABLE table_name_74 (score VARCHAR, runner_up VARCHAR, year VARCHAR)[/INST]SELECT score FROM table_name_74 WHERE runner_up = "jimmy connors" AND year < 1979</s> |
CREATE TABLE table_name_81 (type VARCHAR, country VARCHAR) | SELECT type FROM table_name_81 WHERE country = "aut" | What is thr type in Aut country? | <s>[INST]What is thr type in Aut country? Context: CREATE TABLE table_name_81 (type VARCHAR, country VARCHAR)[/INST]SELECT type FROM table_name_81 WHERE country = "aut"</s> |
CREATE TABLE table_name_81 (winning_horse VARCHAR, winning_jockey VARCHAR) | SELECT winning_horse FROM table_name_81 WHERE winning_jockey = "rafael bejarano" | Who is the jockey for the winning horse Rafael Bejarano? | <s>[INST]Who is the jockey for the winning horse Rafael Bejarano? Context: CREATE TABLE table_name_81 (winning_horse VARCHAR, winning_jockey VARCHAR)[/INST]SELECT winning_horse FROM table_name_81 WHERE winning_jockey = "rafael bejarano"</s> |
CREATE TABLE table_name_30 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_30 WHERE opponent = "miami dolphins" | On what date was the opponent the Miami Dolphins? | <s>[INST]On what date was the opponent the Miami Dolphins? Context: CREATE TABLE table_name_30 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_30 WHERE opponent = "miami dolphins"</s> |
CREATE TABLE election (Votes VARCHAR) | SELECT Votes FROM election ORDER BY Votes DESC | List the votes of elections in descending order. | <s>[INST]List the votes of elections in descending order. Context: CREATE TABLE election (Votes VARCHAR)[/INST]SELECT Votes FROM election ORDER BY Votes DESC</s> |
CREATE TABLE table_name_53 (round INTEGER, name VARCHAR) | SELECT MAX(round) FROM table_name_53 WHERE name = "anthony gonzalez" | what is the highest round for anthony gonzalez? | <s>[INST]what is the highest round for anthony gonzalez? Context: CREATE TABLE table_name_53 (round INTEGER, name VARCHAR)[/INST]SELECT MAX(round) FROM table_name_53 WHERE name = "anthony gonzalez"</s> |
CREATE TABLE table_name_82 (wins INTEGER, points VARCHAR, rank VARCHAR) | SELECT SUM(wins) FROM table_name_82 WHERE points = 26 AND rank < 27 | Points of 26, and a Rank smaller than 27 had what sum of wins? | <s>[INST]Points of 26, and a Rank smaller than 27 had what sum of wins? Context: CREATE TABLE table_name_82 (wins INTEGER, points VARCHAR, rank VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_82 WHERE points = 26 AND rank < 27</s> |
CREATE TABLE table_name_41 (green_communist VARCHAR, polling_institute VARCHAR) | SELECT green_communist FROM table_name_41 WHERE polling_institute = "euroteste/jn" | What's the green communist when Euroteste/JN is the polling Institute? | <s>[INST]What's the green communist when Euroteste/JN is the polling Institute? Context: CREATE TABLE table_name_41 (green_communist VARCHAR, polling_institute VARCHAR)[/INST]SELECT green_communist FROM table_name_41 WHERE polling_institute = "euroteste/jn"</s> |
CREATE TABLE table_name_51 (year_erected VARCHAR, artist VARCHAR) | SELECT year_erected FROM table_name_51 WHERE artist = "enrique alciati" | what year did enrique alciati make a statue | <s>[INST]what year did enrique alciati make a statue Context: CREATE TABLE table_name_51 (year_erected VARCHAR, artist VARCHAR)[/INST]SELECT year_erected FROM table_name_51 WHERE artist = "enrique alciati"</s> |
CREATE TABLE table_name_16 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_16 WHERE tie_no = "16" | What was the score in Tie number 16? | <s>[INST]What was the score in Tie number 16? Context: CREATE TABLE table_name_16 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_16 WHERE tie_no = "16"</s> |
CREATE TABLE table_name_79 (ε__m__1_cm__1__ VARCHAR, mass__g_mol_ VARCHAR) | SELECT ε__m__1_cm__1__ FROM table_name_79 WHERE mass__g_mol_ = "1008" | Which ε (M -1 cm -1) has a molar mass of 1008 g/mol? | <s>[INST]Which ε (M -1 cm -1) has a molar mass of 1008 g/mol? Context: CREATE TABLE table_name_79 (ε__m__1_cm__1__ VARCHAR, mass__g_mol_ VARCHAR)[/INST]SELECT ε__m__1_cm__1__ FROM table_name_79 WHERE mass__g_mol_ = "1008"</s> |
CREATE TABLE table_2886617_8 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_2886617_8 WHERE nhl_team = "Buffalo Sabres" | What player was picked for Buffalo Sabres? | <s>[INST]What player was picked for Buffalo Sabres? Context: CREATE TABLE table_2886617_8 (player VARCHAR, nhl_team VARCHAR)[/INST]SELECT player FROM table_2886617_8 WHERE nhl_team = "Buffalo Sabres"</s> |
CREATE TABLE table_2175685_1 (report VARCHAR, average_speed__mph_ VARCHAR) | SELECT report FROM table_2175685_1 WHERE average_speed__mph_ = "87.599" | What was the report when the average speed (mph) was 87.599? | <s>[INST]What was the report when the average speed (mph) was 87.599? Context: CREATE TABLE table_2175685_1 (report VARCHAR, average_speed__mph_ VARCHAR)[/INST]SELECT report FROM table_2175685_1 WHERE average_speed__mph_ = "87.599"</s> |
CREATE TABLE table_name_11 (constructor VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_11 WHERE grid = "1" | What is the name of the constructor for Grid 1? | <s>[INST]What is the name of the constructor for Grid 1? Context: CREATE TABLE table_name_11 (constructor VARCHAR, grid VARCHAR)[/INST]SELECT constructor FROM table_name_11 WHERE grid = "1"</s> |
CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341663_6 WHERE incumbent = "Bob Wilson" | What is the district that has Bob Wilson as an incumbent? | <s>[INST]What is the district that has Bob Wilson as an incumbent? Context: CREATE TABLE table_1341663_6 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341663_6 WHERE incumbent = "Bob Wilson"</s> |
CREATE TABLE table_name_19 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_19 WHERE date = "april 28" | Which Opponent is on april 28? | <s>[INST]Which Opponent is on april 28? Context: CREATE TABLE table_name_19 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_19 WHERE date = "april 28"</s> |
CREATE TABLE table_name_42 (duration VARCHAR, actor VARCHAR) | SELECT duration FROM table_name_42 WHERE actor = "pietro genuardi" | What is the duration that has pietro genuardi as the actor? | <s>[INST]What is the duration that has pietro genuardi as the actor? Context: CREATE TABLE table_name_42 (duration VARCHAR, actor VARCHAR)[/INST]SELECT duration FROM table_name_42 WHERE actor = "pietro genuardi"</s> |
CREATE TABLE table_name_13 (title VARCHAR, original_air_date VARCHAR) | SELECT title FROM table_name_13 WHERE original_air_date = "march 19, 1998" | What title aired on March 19, 1998? | <s>[INST]What title aired on March 19, 1998? Context: CREATE TABLE table_name_13 (title VARCHAR, original_air_date VARCHAR)[/INST]SELECT title FROM table_name_13 WHERE original_air_date = "march 19, 1998"</s> |
CREATE TABLE table_name_71 (number_of_households VARCHAR, county VARCHAR) | SELECT number_of_households FROM table_name_71 WHERE county = "yadkin" | How many households have yadkin as the county? | <s>[INST]How many households have yadkin as the county? Context: CREATE TABLE table_name_71 (number_of_households VARCHAR, county VARCHAR)[/INST]SELECT number_of_households FROM table_name_71 WHERE county = "yadkin"</s> |
CREATE TABLE table_name_78 (change VARCHAR, party VARCHAR) | SELECT change FROM table_name_78 WHERE party = "english democrats" | Name the change for english democrats | <s>[INST]Name the change for english democrats Context: CREATE TABLE table_name_78 (change VARCHAR, party VARCHAR)[/INST]SELECT change FROM table_name_78 WHERE party = "english democrats"</s> |
CREATE TABLE Financial_transactions (account_id VARCHAR) | SELECT COUNT(*), account_id FROM Financial_transactions | How many transaction does each account have? Show the number and account id. | <s>[INST]How many transaction does each account have? Show the number and account id. Context: CREATE TABLE Financial_transactions (account_id VARCHAR)[/INST]SELECT COUNT(*), account_id FROM Financial_transactions</s> |
CREATE TABLE table_name_56 (date VARCHAR) | SELECT COUNT(1 AS st_prize__) AS $__ FROM table_name_56 WHERE date = "sep 18" | For sep 18 what is the total number of 1 prize ($) | <s>[INST]For sep 18 what is the total number of 1 prize ($) Context: CREATE TABLE table_name_56 (date VARCHAR)[/INST]SELECT COUNT(1 AS st_prize__) AS $__ FROM table_name_56 WHERE date = "sep 18"</s> |
CREATE TABLE table_name_42 (year VARCHAR, status VARCHAR, film VARCHAR) | SELECT year FROM table_name_42 WHERE status = "nominated" AND film = "the last samurai" | What year was The Last Samurai nominated? | <s>[INST]What year was The Last Samurai nominated? Context: CREATE TABLE table_name_42 (year VARCHAR, status VARCHAR, film VARCHAR)[/INST]SELECT year FROM table_name_42 WHERE status = "nominated" AND film = "the last samurai"</s> |
CREATE TABLE Paragraphs (document_id VARCHAR) | SELECT document_id FROM Paragraphs GROUP BY document_id HAVING COUNT(*) BETWEEN 1 AND 2 | What is the document id with 1 to 2 paragraphs? | <s>[INST]What is the document id with 1 to 2 paragraphs? Context: CREATE TABLE Paragraphs (document_id VARCHAR)[/INST]SELECT document_id FROM Paragraphs GROUP BY document_id HAVING COUNT(*) BETWEEN 1 AND 2</s> |
CREATE TABLE table_name_55 (solvent VARCHAR, boiling_point VARCHAR) | SELECT solvent FROM table_name_55 WHERE boiling_point = "100–103 °c" | What solvent has a boiling point of 100–103 °c? | <s>[INST]What solvent has a boiling point of 100–103 °c? Context: CREATE TABLE table_name_55 (solvent VARCHAR, boiling_point VARCHAR)[/INST]SELECT solvent FROM table_name_55 WHERE boiling_point = "100–103 °c"</s> |
CREATE TABLE Student_Addresses (address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR) | SELECT T2.address_id, T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1 | Find the id and city of the student address with the highest average monthly rental. | <s>[INST]Find the id and city of the student address with the highest average monthly rental. Context: CREATE TABLE Student_Addresses (address_id VARCHAR); CREATE TABLE Addresses (city VARCHAR, address_id VARCHAR)[/INST]SELECT T2.address_id, T1.city FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id ORDER BY AVG(monthly_rental) DESC LIMIT 1</s> |
CREATE TABLE table_name_85 (rank INTEGER, municipality VARCHAR, area__km_2__ VARCHAR) | SELECT SUM(rank) FROM table_name_85 WHERE municipality = "winnipeg" AND area__km_2__ > 464.01 | What is the total Rank that has a Municipality of Winnipeg, an Area (KM 2) that's larger than 464.01? | <s>[INST]What is the total Rank that has a Municipality of Winnipeg, an Area (KM 2) that's larger than 464.01? Context: CREATE TABLE table_name_85 (rank INTEGER, municipality VARCHAR, area__km_2__ VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_85 WHERE municipality = "winnipeg" AND area__km_2__ > 464.01</s> |
CREATE TABLE table_name_79 (type VARCHAR, res VARCHAR, opponent VARCHAR) | SELECT type FROM table_name_79 WHERE res = "win" AND opponent = "michael gomez" | What is the type of the match with a win result and Michael Gomez as the opponent? | <s>[INST]What is the type of the match with a win result and Michael Gomez as the opponent? Context: CREATE TABLE table_name_79 (type VARCHAR, res VARCHAR, opponent VARCHAR)[/INST]SELECT type FROM table_name_79 WHERE res = "win" AND opponent = "michael gomez"</s> |
CREATE TABLE table_name_51 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_51 WHERE home_team = "chester city" | what is the attendance when the home team is chester city? | <s>[INST]what is the attendance when the home team is chester city? Context: CREATE TABLE table_name_51 (attendance VARCHAR, home_team VARCHAR)[/INST]SELECT attendance FROM table_name_51 WHERE home_team = "chester city"</s> |
CREATE TABLE table_12828723_4 (tries_for VARCHAR, points_for VARCHAR) | SELECT COUNT(tries_for) FROM table_12828723_4 WHERE points_for = "473" | How many tries for are for 473 points for? | <s>[INST]How many tries for are for 473 points for? Context: CREATE TABLE table_12828723_4 (tries_for VARCHAR, points_for VARCHAR)[/INST]SELECT COUNT(tries_for) FROM table_12828723_4 WHERE points_for = "473"</s> |
CREATE TABLE table_name_14 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_14 WHERE date = "december 11, 1954" | How many were in Attendance on December 11, 1954? | <s>[INST]How many were in Attendance on December 11, 1954? Context: CREATE TABLE table_name_14 (attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_14 WHERE date = "december 11, 1954"</s> |
CREATE TABLE table_23286158_11 (score VARCHAR, game VARCHAR) | SELECT score FROM table_23286158_11 WHERE game = 3 | What is the score in game 3? | <s>[INST]What is the score in game 3? Context: CREATE TABLE table_23286158_11 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_23286158_11 WHERE game = 3</s> |
CREATE TABLE list (classroom VARCHAR) | SELECT classroom FROM list GROUP BY classroom ORDER BY COUNT(*) DESC LIMIT 1 | Which classroom has the most students? | <s>[INST]Which classroom has the most students? Context: CREATE TABLE list (classroom VARCHAR)[/INST]SELECT classroom FROM list GROUP BY classroom ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_157826_1 (city_town VARCHAR, municipality VARCHAR) | SELECT city_town FROM table_157826_1 WHERE municipality = "Horten" | What are the cities/towns located in the municipality of Horten? | <s>[INST]What are the cities/towns located in the municipality of Horten? Context: CREATE TABLE table_157826_1 (city_town VARCHAR, municipality VARCHAR)[/INST]SELECT city_town FROM table_157826_1 WHERE municipality = "Horten"</s> |
CREATE TABLE table_name_32 (height_ft___m VARCHAR, rank VARCHAR) | SELECT height_ft___m FROM table_name_32 WHERE rank = "11" | What is the Height of rank 11? | <s>[INST]What is the Height of rank 11? Context: CREATE TABLE table_name_32 (height_ft___m VARCHAR, rank VARCHAR)[/INST]SELECT height_ft___m FROM table_name_32 WHERE rank = "11"</s> |
CREATE TABLE table_name_91 (opponents VARCHAR, competition VARCHAR, score VARCHAR) | SELECT opponents FROM table_name_91 WHERE competition = "league cup" AND score = "3-1" | Who was the opponent at the League Cup competition with a score of 3-1? | <s>[INST]Who was the opponent at the League Cup competition with a score of 3-1? Context: CREATE TABLE table_name_91 (opponents VARCHAR, competition VARCHAR, score VARCHAR)[/INST]SELECT opponents FROM table_name_91 WHERE competition = "league cup" AND score = "3-1"</s> |
CREATE TABLE table_name_56 (gwr_nos VARCHAR, quantity VARCHAR) | SELECT gwr_nos FROM table_name_56 WHERE quantity = 4 | What GWR is associated with 4? | <s>[INST]What GWR is associated with 4? Context: CREATE TABLE table_name_56 (gwr_nos VARCHAR, quantity VARCHAR)[/INST]SELECT gwr_nos FROM table_name_56 WHERE quantity = 4</s> |
CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_25 WHERE week = 12 | Who did the Raiders play in week 12? | <s>[INST]Who did the Raiders play in week 12? Context: CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_25 WHERE week = 12</s> |
CREATE TABLE table_24850630_4 (distance VARCHAR, race VARCHAR) | SELECT distance FROM table_24850630_4 WHERE race = "Mooresbridge Stakes" | What is the distance of the Mooresbridge Stakes race? | <s>[INST]What is the distance of the Mooresbridge Stakes race? Context: CREATE TABLE table_24850630_4 (distance VARCHAR, race VARCHAR)[/INST]SELECT distance FROM table_24850630_4 WHERE race = "Mooresbridge Stakes"</s> |
CREATE TABLE table_name_50 (date VARCHAR, opposing_teams VARCHAR) | SELECT date FROM table_name_50 WHERE opposing_teams = "france" | What is the date when France is the opposing team? | <s>[INST]What is the date when France is the opposing team? Context: CREATE TABLE table_name_50 (date VARCHAR, opposing_teams VARCHAR)[/INST]SELECT date FROM table_name_50 WHERE opposing_teams = "france"</s> |
CREATE TABLE table_name_21 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR) | SELECT SUM(number_of_electorates__2009_) FROM table_name_21 WHERE district = "indore" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "208" | What is the number of electorates (2009) for the Indore district, when reserved for (SC / ST /None) is none, and constituency number is 208? | <s>[INST]What is the number of electorates (2009) for the Indore district, when reserved for (SC / ST /None) is none, and constituency number is 208? Context: CREATE TABLE table_name_21 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)[/INST]SELECT SUM(number_of_electorates__2009_) FROM table_name_21 WHERE district = "indore" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "208"</s> |
CREATE TABLE table_23696862_6 (name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR) | SELECT name FROM table_23696862_6 WHERE wsop_cashes = 2 AND final_place = "6th" | Who had 2 WSOP cashes and was 6th in final place? | <s>[INST]Who had 2 WSOP cashes and was 6th in final place? Context: CREATE TABLE table_23696862_6 (name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR)[/INST]SELECT name FROM table_23696862_6 WHERE wsop_cashes = 2 AND final_place = "6th"</s> |
CREATE TABLE table_name_62 (gold INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_62 WHERE total < 14 AND bronze < 1 AND nation = "czech republic" | Name the average gold for czech republic and bronze less than 1 when total is less than 14 | <s>[INST]Name the average gold for czech republic and bronze less than 1 when total is less than 14 Context: CREATE TABLE table_name_62 (gold INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_62 WHERE total < 14 AND bronze < 1 AND nation = "czech republic"</s> |
CREATE TABLE table_16494599_3 (player VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_16494599_3 WHERE school_club_team = "Missouri" | What players attended missouri? | <s>[INST]What players attended missouri? Context: CREATE TABLE table_16494599_3 (player VARCHAR, school_club_team VARCHAR)[/INST]SELECT player FROM table_16494599_3 WHERE school_club_team = "Missouri"</s> |
CREATE TABLE table_name_27 (rank_by_average INTEGER, average VARCHAR, number_of_dances VARCHAR) | SELECT MAX(rank_by_average) FROM table_name_27 WHERE average = 25.3 AND number_of_dances > 10 | What was the highest rank by average of a couple who had an average of 25.3 and had more than 10 dances? | <s>[INST]What was the highest rank by average of a couple who had an average of 25.3 and had more than 10 dances? Context: CREATE TABLE table_name_27 (rank_by_average INTEGER, average VARCHAR, number_of_dances VARCHAR)[/INST]SELECT MAX(rank_by_average) FROM table_name_27 WHERE average = 25.3 AND number_of_dances > 10</s> |
CREATE TABLE table_name_4 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_4 WHERE place = "t1" AND score = 71 - 68 = 139 | Which country is in T1 place with a score of 71-68=139? | <s>[INST]Which country is in T1 place with a score of 71-68=139? Context: CREATE TABLE table_name_4 (country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_4 WHERE place = "t1" AND score = 71 - 68 = 139</s> |
CREATE TABLE table_name_10 (copa_libertadores_1996 VARCHAR, supercopa_1995 VARCHAR, team VARCHAR) | SELECT copa_libertadores_1996 FROM table_name_10 WHERE supercopa_1995 = "round 1" AND team = "argentinos juniors" | which Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juniors team ? | <s>[INST]which Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juniors team ? Context: CREATE TABLE table_name_10 (copa_libertadores_1996 VARCHAR, supercopa_1995 VARCHAR, team VARCHAR)[/INST]SELECT copa_libertadores_1996 FROM table_name_10 WHERE supercopa_1995 = "round 1" AND team = "argentinos juniors"</s> |
CREATE TABLE Cartoon (Title VARCHAR, Directed_by VARCHAR) | SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones" | List all cartoon directed by "Ben Jones". | <s>[INST]List all cartoon directed by "Ben Jones". Context: CREATE TABLE Cartoon (Title VARCHAR, Directed_by VARCHAR)[/INST]SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones"</s> |
CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_77 WHERE record = "22–19–4" | What is the score of the game when they had a record of 22–19–4? | <s>[INST]What is the score of the game when they had a record of 22–19–4? Context: CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_77 WHERE record = "22–19–4"</s> |
CREATE TABLE table_name_16 (neck VARCHAR, shoulder VARCHAR) | SELECT neck FROM table_name_16 WHERE shoulder = "10.688 (.420)" | What is the neck measurement of the gun with a shoulder measurement of 10.688 (.420)? | <s>[INST]What is the neck measurement of the gun with a shoulder measurement of 10.688 (.420)? Context: CREATE TABLE table_name_16 (neck VARCHAR, shoulder VARCHAR)[/INST]SELECT neck FROM table_name_16 WHERE shoulder = "10.688 (.420)"</s> |
CREATE TABLE table_10812938_4 (cfl_team VARCHAR, position VARCHAR) | SELECT cfl_team FROM table_10812938_4 WHERE position = "OL" | Which CFL Teams drafted an OL in 2006? | <s>[INST]Which CFL Teams drafted an OL in 2006? Context: CREATE TABLE table_10812938_4 (cfl_team VARCHAR, position VARCHAR)[/INST]SELECT cfl_team FROM table_10812938_4 WHERE position = "OL"</s> |
CREATE TABLE table_name_59 (tms VARCHAR, season VARCHAR) | SELECT tms FROM table_name_59 WHERE season = "2013" | which Tms has a Season of 2013? | <s>[INST]which Tms has a Season of 2013? Context: CREATE TABLE table_name_59 (tms VARCHAR, season VARCHAR)[/INST]SELECT tms FROM table_name_59 WHERE season = "2013"</s> |
CREATE TABLE table_name_22 (Id VARCHAR) | SELECT 2013 FROM table_name_22 WHERE 2010 = "1r" | Name the 2013 for 2010 of 1r | <s>[INST]Name the 2013 for 2010 of 1r Context: CREATE TABLE table_name_22 (Id VARCHAR)[/INST]SELECT 2013 FROM table_name_22 WHERE 2010 = "1r"</s> |
CREATE TABLE table_name_64 (champion VARCHAR, third VARCHAR, season VARCHAR) | SELECT champion FROM table_name_64 WHERE third = "blaho blahoyeve" AND season = "1995-96" | Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96? | <s>[INST]Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96? Context: CREATE TABLE table_name_64 (champion VARCHAR, third VARCHAR, season VARCHAR)[/INST]SELECT champion FROM table_name_64 WHERE third = "blaho blahoyeve" AND season = "1995-96"</s> |
CREATE TABLE table_name_76 (goals INTEGER, ranking VARCHAR, years VARCHAR) | SELECT MIN(goals) FROM table_name_76 WHERE ranking < 4 AND years = "1996–13" | Who had fewer goals than 4 during the years of 1996–13? | <s>[INST]Who had fewer goals than 4 during the years of 1996–13? Context: CREATE TABLE table_name_76 (goals INTEGER, ranking VARCHAR, years VARCHAR)[/INST]SELECT MIN(goals) FROM table_name_76 WHERE ranking < 4 AND years = "1996–13"</s> |
CREATE TABLE table_15572443_1 (district VARCHAR, election_date VARCHAR) | SELECT COUNT(district) FROM table_15572443_1 WHERE election_date = "December 1799" | Name the number of districts for december 1799 | <s>[INST]Name the number of districts for december 1799 Context: CREATE TABLE table_15572443_1 (district VARCHAR, election_date VARCHAR)[/INST]SELECT COUNT(district) FROM table_15572443_1 WHERE election_date = "December 1799"</s> |
CREATE TABLE table_name_46 (competition_description VARCHAR, apparatus VARCHAR) | SELECT competition_description FROM table_name_46 WHERE apparatus = "ribbon" | Which competition description's apparatus was ribbon? | <s>[INST]Which competition description's apparatus was ribbon? Context: CREATE TABLE table_name_46 (competition_description VARCHAR, apparatus VARCHAR)[/INST]SELECT competition_description FROM table_name_46 WHERE apparatus = "ribbon"</s> |
CREATE TABLE table_name_75 (party VARCHAR, member VARCHAR) | SELECT party FROM table_name_75 WHERE member = "david jull" | Which Party has a Member of david jull? | <s>[INST]Which Party has a Member of david jull? Context: CREATE TABLE table_name_75 (party VARCHAR, member VARCHAR)[/INST]SELECT party FROM table_name_75 WHERE member = "david jull"</s> |
CREATE TABLE table_name_76 (final_position VARCHAR, season VARCHAR) | SELECT final_position FROM table_name_76 WHERE season = "2008" | What is the final position for the season 2008? | <s>[INST]What is the final position for the season 2008? Context: CREATE TABLE table_name_76 (final_position VARCHAR, season VARCHAR)[/INST]SELECT final_position FROM table_name_76 WHERE season = "2008"</s> |
CREATE TABLE table_11793221_4 (wounded VARCHAR, complement VARCHAR) | SELECT wounded FROM table_11793221_4 WHERE complement = "46 off 656 men" | What were the wounded for complement of 46 off 656 men? | <s>[INST]What were the wounded for complement of 46 off 656 men? Context: CREATE TABLE table_11793221_4 (wounded VARCHAR, complement VARCHAR)[/INST]SELECT wounded FROM table_11793221_4 WHERE complement = "46 off 656 men"</s> |
CREATE TABLE table_name_93 (school VARCHAR, location VARCHAR) | SELECT school FROM table_name_93 WHERE location = "michigantown" | what is the school in michigantown? | <s>[INST]what is the school in michigantown? Context: CREATE TABLE table_name_93 (school VARCHAR, location VARCHAR)[/INST]SELECT school FROM table_name_93 WHERE location = "michigantown"</s> |
CREATE TABLE table_28760804_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(directed_by) FROM table_28760804_1 WHERE us_viewers__million_ = "6.79" | How many directors got 6.79 million U.S. viewers from their episodes? | <s>[INST]How many directors got 6.79 million U.S. viewers from their episodes? Context: CREATE TABLE table_28760804_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_28760804_1 WHERE us_viewers__million_ = "6.79"</s> |
CREATE TABLE table_name_63 (bonus_points VARCHAR, drawn VARCHAR, points_for VARCHAR) | SELECT bonus_points FROM table_name_63 WHERE drawn = "2" AND points_for = "475" | What is the number of bonus points for the team with 2 drawn games and 475 points? | <s>[INST]What is the number of bonus points for the team with 2 drawn games and 475 points? Context: CREATE TABLE table_name_63 (bonus_points VARCHAR, drawn VARCHAR, points_for VARCHAR)[/INST]SELECT bonus_points FROM table_name_63 WHERE drawn = "2" AND points_for = "475"</s> |
CREATE TABLE table_name_57 (games VARCHAR, name VARCHAR) | SELECT games FROM table_name_57 WHERE name = "terence morris" | How many Games for Terence Morris? | <s>[INST]How many Games for Terence Morris? Context: CREATE TABLE table_name_57 (games VARCHAR, name VARCHAR)[/INST]SELECT games FROM table_name_57 WHERE name = "terence morris"</s> |
CREATE TABLE table_224840_3 (date_of_successors_formal_installation VARCHAR, successor VARCHAR) | SELECT COUNT(date_of_successors_formal_installation) FROM table_224840_3 WHERE successor = "Aaron Ogden (F)" | how many times has Aaron Ogden (f), been a successor and has had a formal installation? | <s>[INST]how many times has Aaron Ogden (f), been a successor and has had a formal installation? Context: CREATE TABLE table_224840_3 (date_of_successors_formal_installation VARCHAR, successor VARCHAR)[/INST]SELECT COUNT(date_of_successors_formal_installation) FROM table_224840_3 WHERE successor = "Aaron Ogden (F)"</s> |
CREATE TABLE table_1341423_21 (first_elected INTEGER) | SELECT MIN(first_elected) FROM table_1341423_21 | What is the lowest first elected? | <s>[INST]What is the lowest first elected? Context: CREATE TABLE table_1341423_21 (first_elected INTEGER)[/INST]SELECT MIN(first_elected) FROM table_1341423_21</s> |
CREATE TABLE table_name_34 (name VARCHAR, years_played VARCHAR, date_and_opponent VARCHAR) | SELECT name FROM table_name_34 WHERE years_played = "2004–2008" AND date_and_opponent = "2/17/07 vs. purdue" | Which Name has a Years Played of 2004–2008, and a Date and Opponent of 2/17/07 vs. purdue? | <s>[INST]Which Name has a Years Played of 2004–2008, and a Date and Opponent of 2/17/07 vs. purdue? Context: CREATE TABLE table_name_34 (name VARCHAR, years_played VARCHAR, date_and_opponent VARCHAR)[/INST]SELECT name FROM table_name_34 WHERE years_played = "2004–2008" AND date_and_opponent = "2/17/07 vs. purdue"</s> |
CREATE TABLE table_name_87 (net_profit_loss__sek_ INTEGER, basic_eps__sek_ VARCHAR, employees__average_year_ VARCHAR) | SELECT SUM(net_profit_loss__sek_) FROM table_name_87 WHERE basic_eps__sek_ = -6.58 AND employees__average_year_ > 31 OFFSET 035 | Which Net profit/loss (SEK) has a Basic eps (SEK) of -6.58, and Employees (Average/Year) larger than 31,035? | <s>[INST]Which Net profit/loss (SEK) has a Basic eps (SEK) of -6.58, and Employees (Average/Year) larger than 31,035? Context: CREATE TABLE table_name_87 (net_profit_loss__sek_ INTEGER, basic_eps__sek_ VARCHAR, employees__average_year_ VARCHAR)[/INST]SELECT SUM(net_profit_loss__sek_) FROM table_name_87 WHERE basic_eps__sek_ = -6.58 AND employees__average_year_ > 31 OFFSET 035</s> |
CREATE TABLE Reviewer (Id VARCHAR) | SELECT COUNT(*) FROM Reviewer | How many reviewers listed? | <s>[INST]How many reviewers listed? Context: CREATE TABLE Reviewer (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Reviewer</s> |
CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR) | SELECT result FROM table_name_81 WHERE score = "70-73" | WHAT IS THE RESULT WITH A SCORE OF 70-73? | <s>[INST]WHAT IS THE RESULT WITH A SCORE OF 70-73? Context: CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR)[/INST]SELECT result FROM table_name_81 WHERE score = "70-73"</s> |
CREATE TABLE table_19930660_2 (marcus_guest VARCHAR, rufus_guest VARCHAR) | SELECT marcus_guest FROM table_19930660_2 WHERE rufus_guest = "Rory McGrath" | Who was Marcus's guest in the episode when Rufus's guest was Rory McGrath? | <s>[INST]Who was Marcus's guest in the episode when Rufus's guest was Rory McGrath? Context: CREATE TABLE table_19930660_2 (marcus_guest VARCHAR, rufus_guest VARCHAR)[/INST]SELECT marcus_guest FROM table_19930660_2 WHERE rufus_guest = "Rory McGrath"</s> |
CREATE TABLE accounts (Id VARCHAR) | SELECT COUNT(*) FROM accounts | How many accounts are there in total? | <s>[INST]How many accounts are there in total? Context: CREATE TABLE accounts (Id VARCHAR)[/INST]SELECT COUNT(*) FROM accounts</s> |
CREATE TABLE table_18173916_8 (wednesday VARCHAR, monday VARCHAR) | SELECT wednesday FROM table_18173916_8 WHERE monday = "363 The Hangover Part II" | which chapter was Transmitted on wednesday if the episode of "363 the hangover part ii" was transmitted on monday? | <s>[INST]which chapter was Transmitted on wednesday if the episode of "363 the hangover part ii" was transmitted on monday? Context: CREATE TABLE table_18173916_8 (wednesday VARCHAR, monday VARCHAR)[/INST]SELECT wednesday FROM table_18173916_8 WHERE monday = "363 The Hangover Part II"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.