context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_225095_4 (vacator VARCHAR, successor VARCHAR) | SELECT vacator FROM table_225095_4 WHERE successor = "Shadrach Bond" | Who was the vacator when Shadrach Bond was the successor? | <s>[INST]Who was the vacator when Shadrach Bond was the successor? Context: CREATE TABLE table_225095_4 (vacator VARCHAR, successor VARCHAR)[/INST]SELECT vacator FROM table_225095_4 WHERE successor = "Shadrach Bond"</s> |
CREATE TABLE DEPARTMENT (DName VARCHAR, Division VARCHAR, Building VARCHAR) | SELECT DName FROM DEPARTMENT WHERE Division = "AS" UNION SELECT DName FROM DEPARTMENT WHERE Division = "EN" AND Building = "NEB" | Find the names of departments that are either in division AS or in division EN and in Building NEB. | <s>[INST]Find the names of departments that are either in division AS or in division EN and in Building NEB. Context: CREATE TABLE DEPARTMENT (DName VARCHAR, Division VARCHAR, Building VARCHAR)[/INST]SELECT DName FROM DEPARTMENT WHERE Division = "AS" UNION SELECT DName FROM DEPARTMENT WHERE Division = "EN" AND Building... |
CREATE TABLE table_25368177_1 (abandoned INTEGER) | SELECT MAX(abandoned) FROM table_25368177_1 | What's the largest number of abandoned games by any of the teams? | <s>[INST]What's the largest number of abandoned games by any of the teams? Context: CREATE TABLE table_25368177_1 (abandoned INTEGER)[/INST]SELECT MAX(abandoned) FROM table_25368177_1</s> |
CREATE TABLE table_12251936_1 (whites_as__percentage_of_pop VARCHAR, gfr_2006 VARCHAR) | SELECT COUNT(whites_as__percentage_of_pop) FROM table_12251936_1 WHERE gfr_2006 = "53.2" | How many times was the GFR 2006 equal to 53.2? | <s>[INST]How many times was the GFR 2006 equal to 53.2? Context: CREATE TABLE table_12251936_1 (whites_as__percentage_of_pop VARCHAR, gfr_2006 VARCHAR)[/INST]SELECT COUNT(whites_as__percentage_of_pop) FROM table_12251936_1 WHERE gfr_2006 = "53.2"</s> |
CREATE TABLE table_2226817_2 (no_in_series INTEGER, production_code VARCHAR) | SELECT MAX(no_in_series) FROM table_2226817_2 WHERE production_code = "1.11" | How many number of series have the production code of 1.11? | <s>[INST]How many number of series have the production code of 1.11? Context: CREATE TABLE table_2226817_2 (no_in_series INTEGER, production_code VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_2226817_2 WHERE production_code = "1.11"</s> |
CREATE TABLE candidates (candidate_id VARCHAR); CREATE TABLE people (first_name VARCHAR, last_name VARCHAR, person_id VARCHAR) | SELECT T2.first_name, T2.last_name FROM candidates AS T1 JOIN people AS T2 ON T1.candidate_id = T2.person_id | what are the first name and last name of all candidates? | <s>[INST]what are the first name and last name of all candidates? Context: CREATE TABLE candidates (candidate_id VARCHAR); CREATE TABLE people (first_name VARCHAR, last_name VARCHAR, person_id VARCHAR)[/INST]SELECT T2.first_name, T2.last_name FROM candidates AS T1 JOIN people AS T2 ON T1.candidate_id = T2.person_id</s> |
CREATE TABLE festival_detail (Festival_Name VARCHAR, YEAR VARCHAR) | SELECT Festival_Name FROM festival_detail WHERE YEAR = 2007 | What are the names of festivals held in year 2007? | <s>[INST]What are the names of festivals held in year 2007? Context: CREATE TABLE festival_detail (Festival_Name VARCHAR, YEAR VARCHAR)[/INST]SELECT Festival_Name FROM festival_detail WHERE YEAR = 2007</s> |
CREATE TABLE table_name_86 (points INTEGER, player VARCHAR, extra_points VARCHAR, field_goals VARCHAR, touchdowns VARCHAR) | SELECT AVG(points) FROM table_name_86 WHERE field_goals = 0 AND touchdowns > 9 AND extra_points = 0 AND player = "duncan thompson" | While Duncan Thompson played, how many points did he have where there were 0 field goals, 0 extra points, and more than 9 touchdowns? | <s>[INST]While Duncan Thompson played, how many points did he have where there were 0 field goals, 0 extra points, and more than 9 touchdowns? Context: CREATE TABLE table_name_86 (points INTEGER, player VARCHAR, extra_points VARCHAR, field_goals VARCHAR, touchdowns VARCHAR)[/INST]SELECT AVG(points) FROM table_name_86 W... |
CREATE TABLE table_21790203_1 (year__ceremony_ VARCHAR, language_s_ VARCHAR) | SELECT year__ceremony_ FROM table_21790203_1 WHERE language_s_ = "Japanese" | Name the year for japanese | <s>[INST]Name the year for japanese Context: CREATE TABLE table_21790203_1 (year__ceremony_ VARCHAR, language_s_ VARCHAR)[/INST]SELECT year__ceremony_ FROM table_21790203_1 WHERE language_s_ = "Japanese"</s> |
CREATE TABLE table_name_45 (game INTEGER, date VARCHAR) | SELECT MIN(game) FROM table_name_45 WHERE date = "november 1" | What is the lowest Game, when Date is "November 1"? | <s>[INST]What is the lowest Game, when Date is "November 1"? Context: CREATE TABLE table_name_45 (game INTEGER, date VARCHAR)[/INST]SELECT MIN(game) FROM table_name_45 WHERE date = "november 1"</s> |
CREATE TABLE table_name_88 (place VARCHAR, country VARCHAR, player VARCHAR) | SELECT place FROM table_name_88 WHERE country = "united states" AND player = "craig wood" | Which place has United States as the country and Craig Wood as the player? | <s>[INST]Which place has United States as the country and Craig Wood as the player? Context: CREATE TABLE table_name_88 (place VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_88 WHERE country = "united states" AND player = "craig wood"</s> |
CREATE TABLE table_name_5 (sinclair_total INTEGER, rank VARCHAR, world_record__kg_ VARCHAR) | SELECT MAX(sinclair_total) FROM table_name_5 WHERE rank = 3 AND world_record__kg_ < 217 | What was the highest Sinclair Total that had a rank of 3, but a World Record smaller than 217? | <s>[INST]What was the highest Sinclair Total that had a rank of 3, but a World Record smaller than 217? Context: CREATE TABLE table_name_5 (sinclair_total INTEGER, rank VARCHAR, world_record__kg_ VARCHAR)[/INST]SELECT MAX(sinclair_total) FROM table_name_5 WHERE rank = 3 AND world_record__kg_ < 217</s> |
CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR) | SELECT record FROM table_13480122_5 WHERE date = "January 21" | what are all the record where date is january 21 | <s>[INST]what are all the record where date is january 21 Context: CREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_13480122_5 WHERE date = "January 21"</s> |
CREATE TABLE table_name_36 (krypton VARCHAR, physical_property VARCHAR) | SELECT krypton FROM table_name_36 WHERE physical_property = "critical pressure (atm)" | Which Krypton has a Physical property of critical pressure (atm)? | <s>[INST]Which Krypton has a Physical property of critical pressure (atm)? Context: CREATE TABLE table_name_36 (krypton VARCHAR, physical_property VARCHAR)[/INST]SELECT krypton FROM table_name_36 WHERE physical_property = "critical pressure (atm)"</s> |
CREATE TABLE table_20855452_4 (status VARCHAR, new_points VARCHAR) | SELECT status FROM table_20855452_4 WHERE new_points = 1705 | What happened when the new points was 1705? | <s>[INST]What happened when the new points was 1705? Context: CREATE TABLE table_20855452_4 (status VARCHAR, new_points VARCHAR)[/INST]SELECT status FROM table_20855452_4 WHERE new_points = 1705</s> |
CREATE TABLE table_name_40 (marginal_ordinary_income_tax_rate VARCHAR, head_of_household VARCHAR) | SELECT marginal_ordinary_income_tax_rate FROM table_name_40 WHERE head_of_household = "$372,951+" | Name the marginal ordinary income tax rate that has a head of household of $372,951+ | <s>[INST]Name the marginal ordinary income tax rate that has a head of household of $372,951+ Context: CREATE TABLE table_name_40 (marginal_ordinary_income_tax_rate VARCHAR, head_of_household VARCHAR)[/INST]SELECT marginal_ordinary_income_tax_rate FROM table_name_40 WHERE head_of_household = "$372,951+"</s> |
CREATE TABLE table_17751942_4 (years_of_appearance VARCHAR, team VARCHAR) | SELECT years_of_appearance FROM table_17751942_4 WHERE team = "Prince Albert Raiders" | What is the year of appearance for the Prince Albert Raiders? | <s>[INST]What is the year of appearance for the Prince Albert Raiders? Context: CREATE TABLE table_17751942_4 (years_of_appearance VARCHAR, team VARCHAR)[/INST]SELECT years_of_appearance FROM table_17751942_4 WHERE team = "Prince Albert Raiders"</s> |
CREATE TABLE table_name_6 (rank INTEGER, area__km_2__ VARCHAR) | SELECT SUM(rank) FROM table_name_6 WHERE area__km_2__ = 1050.14 | What's the total of Rank that has an Area (KM 2) of 1050.14? | <s>[INST]What's the total of Rank that has an Area (KM 2) of 1050.14? Context: CREATE TABLE table_name_6 (rank INTEGER, area__km_2__ VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_6 WHERE area__km_2__ = 1050.14</s> |
CREATE TABLE table_15607589_2 (first_downs VARCHAR, points_against VARCHAR) | SELECT first_downs FROM table_15607589_2 WHERE points_against = 0 | Name the first downs for points against being 0 | <s>[INST]Name the first downs for points against being 0 Context: CREATE TABLE table_15607589_2 (first_downs VARCHAR, points_against VARCHAR)[/INST]SELECT first_downs FROM table_15607589_2 WHERE points_against = 0</s> |
CREATE TABLE table_name_12 (points INTEGER, engine VARCHAR) | SELECT AVG(points) FROM table_name_12 WHERE engine = "ats v8" | What is the average points earned for entrants with ATS V8 engines? | <s>[INST]What is the average points earned for entrants with ATS V8 engines? Context: CREATE TABLE table_name_12 (points INTEGER, engine VARCHAR)[/INST]SELECT AVG(points) FROM table_name_12 WHERE engine = "ats v8"</s> |
CREATE TABLE table_name_85 (laps VARCHAR, driver VARCHAR) | SELECT COUNT(laps) FROM table_name_85 WHERE driver = "rubens barrichello" | I want the total number of Laps for Rubens Barrichello | <s>[INST]I want the total number of Laps for Rubens Barrichello Context: CREATE TABLE table_name_85 (laps VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_85 WHERE driver = "rubens barrichello"</s> |
CREATE TABLE table_name_30 (kickoff VARCHAR, date VARCHAR) | SELECT kickoff FROM table_name_30 WHERE date = "october 22, 2000" | What is the kickoff for the game on october 22, 2000? | <s>[INST]What is the kickoff for the game on october 22, 2000? Context: CREATE TABLE table_name_30 (kickoff VARCHAR, date VARCHAR)[/INST]SELECT kickoff FROM table_name_30 WHERE date = "october 22, 2000"</s> |
CREATE TABLE table_22014431_3 (deductions VARCHAR, tosses_pyramids VARCHAR) | SELECT deductions FROM table_22014431_3 WHERE tosses_pyramids = "56.5" | How many deductions have 56.5 as tosses/pyramids? | <s>[INST]How many deductions have 56.5 as tosses/pyramids? Context: CREATE TABLE table_22014431_3 (deductions VARCHAR, tosses_pyramids VARCHAR)[/INST]SELECT deductions FROM table_22014431_3 WHERE tosses_pyramids = "56.5"</s> |
CREATE TABLE table_20236726_2 (wd_no VARCHAR, lms_no VARCHAR) | SELECT COUNT(wd_no) FROM table_20236726_2 WHERE lms_no = 7638 | Name the total number of wd number for lms number being 7638 | <s>[INST]Name the total number of wd number for lms number being 7638 Context: CREATE TABLE table_20236726_2 (wd_no VARCHAR, lms_no VARCHAR)[/INST]SELECT COUNT(wd_no) FROM table_20236726_2 WHERE lms_no = 7638</s> |
CREATE TABLE table_name_66 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_66 WHERE record = "28–45" | Who was the opponent at the game when the record was 28–45? | <s>[INST]Who was the opponent at the game when the record was 28–45? Context: CREATE TABLE table_name_66 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_66 WHERE record = "28–45"</s> |
CREATE TABLE table_name_47 (trailers VARCHAR, formed_from VARCHAR) | SELECT trailers FROM table_name_47 WHERE formed_from = "pan/pul/res cars" | Name the trailers for formed from pan/pul/res cars | <s>[INST]Name the trailers for formed from pan/pul/res cars Context: CREATE TABLE table_name_47 (trailers VARCHAR, formed_from VARCHAR)[/INST]SELECT trailers FROM table_name_47 WHERE formed_from = "pan/pul/res cars"</s> |
CREATE TABLE table_name_87 (elimination VARCHAR, eliminated_by VARCHAR) | SELECT elimination FROM table_name_87 WHERE eliminated_by = "sonjay dutt" | What Elimination number is listed againt Eliminated by Sonjay Dutt? | <s>[INST]What Elimination number is listed againt Eliminated by Sonjay Dutt? Context: CREATE TABLE table_name_87 (elimination VARCHAR, eliminated_by VARCHAR)[/INST]SELECT elimination FROM table_name_87 WHERE eliminated_by = "sonjay dutt"</s> |
CREATE TABLE table_14623167_1 (branding VARCHAR, owner VARCHAR) | SELECT branding FROM table_14623167_1 WHERE owner = "Forum Communications" | Name the branding for forum communications | <s>[INST]Name the branding for forum communications Context: CREATE TABLE table_14623167_1 (branding VARCHAR, owner VARCHAR)[/INST]SELECT branding FROM table_14623167_1 WHERE owner = "Forum Communications"</s> |
CREATE TABLE table_name_12 (relation VARCHAR, year VARCHAR, length VARCHAR) | SELECT relation FROM table_name_12 WHERE year > 2000 AND length = "8 x 20 mins" | Which Relation has a Year larger than 2000, and a Length of 8 x 20 mins? | <s>[INST]Which Relation has a Year larger than 2000, and a Length of 8 x 20 mins? Context: CREATE TABLE table_name_12 (relation VARCHAR, year VARCHAR, length VARCHAR)[/INST]SELECT relation FROM table_name_12 WHERE year > 2000 AND length = "8 x 20 mins"</s> |
CREATE TABLE table_name_7 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_7 WHERE tie_no = "7" | who is the away team when the tie no is 7? | <s>[INST]who is the away team when the tie no is 7? Context: CREATE TABLE table_name_7 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_7 WHERE tie_no = "7"</s> |
CREATE TABLE table_name_32 (club VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR) | SELECT club FROM table_name_32 WHERE number_of_seasons_in_liga_mx < 40 AND number_of_seasons_in_top_division = 65 | Which club has fewer than 40 seasons in Liga MX and 65 seasons in the top division? | <s>[INST]Which club has fewer than 40 seasons in Liga MX and 65 seasons in the top division? Context: CREATE TABLE table_name_32 (club VARCHAR, number_of_seasons_in_liga_mx VARCHAR, number_of_seasons_in_top_division VARCHAR)[/INST]SELECT club FROM table_name_32 WHERE number_of_seasons_in_liga_mx < 40 AND number_of_seas... |
CREATE TABLE table_name_95 (m939_series VARCHAR, wheelbase VARCHAR, m809_series VARCHAR) | SELECT m939_series FROM table_name_95 WHERE wheelbase = "short" AND m809_series = "m817" | Name the M939 series for short wheelbase and M809 series of m817 | <s>[INST]Name the M939 series for short wheelbase and M809 series of m817 Context: CREATE TABLE table_name_95 (m939_series VARCHAR, wheelbase VARCHAR, m809_series VARCHAR)[/INST]SELECT m939_series FROM table_name_95 WHERE wheelbase = "short" AND m809_series = "m817"</s> |
CREATE TABLE table_17275810_7 (manner_of_departure VARCHAR, replaced_by VARCHAR) | SELECT manner_of_departure FROM table_17275810_7 WHERE replaced_by = "Elvio Selighini" | Name the manner of departure for elvio selighini | <s>[INST]Name the manner of departure for elvio selighini Context: CREATE TABLE table_17275810_7 (manner_of_departure VARCHAR, replaced_by VARCHAR)[/INST]SELECT manner_of_departure FROM table_17275810_7 WHERE replaced_by = "Elvio Selighini"</s> |
CREATE TABLE table_23871828_1 (week__number VARCHAR, original_artist VARCHAR) | SELECT week__number FROM table_23871828_1 WHERE original_artist = "Whitney Houston" | In what week was the original singer Whitney Houston. | <s>[INST]In what week was the original singer Whitney Houston. Context: CREATE TABLE table_23871828_1 (week__number VARCHAR, original_artist VARCHAR)[/INST]SELECT week__number FROM table_23871828_1 WHERE original_artist = "Whitney Houston"</s> |
CREATE TABLE table_name_20 (votes INTEGER, occupation VARCHAR) | SELECT MAX(votes) FROM table_name_20 WHERE occupation = "french professor" | What is the highest number of votes for the French Professor? | <s>[INST]What is the highest number of votes for the French Professor? Context: CREATE TABLE table_name_20 (votes INTEGER, occupation VARCHAR)[/INST]SELECT MAX(votes) FROM table_name_20 WHERE occupation = "french professor"</s> |
CREATE TABLE table_name_30 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_30 WHERE date = "march 14" | What was the record on March 14? | <s>[INST]What was the record on March 14? Context: CREATE TABLE table_name_30 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_30 WHERE date = "march 14"</s> |
CREATE TABLE table_28846752_4 (runs INTEGER, highest_score VARCHAR) | SELECT MIN(runs) FROM table_28846752_4 WHERE highest_score = "228*" | How many runs are there when the highest score is 228*? | <s>[INST]How many runs are there when the highest score is 228*? Context: CREATE TABLE table_28846752_4 (runs INTEGER, highest_score VARCHAR)[/INST]SELECT MIN(runs) FROM table_28846752_4 WHERE highest_score = "228*"</s> |
CREATE TABLE table_name_55 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_55 WHERE away_team = "collingwood" | Where does Collingwood play their games? | <s>[INST]Where does Collingwood play their games? Context: CREATE TABLE table_name_55 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_55 WHERE away_team = "collingwood"</s> |
CREATE TABLE table_name_71 (game INTEGER, score VARCHAR) | SELECT AVG(game) FROM table_name_71 WHERE score = "101–92" | What Game had a Score of 101–92? | <s>[INST]What Game had a Score of 101–92? Context: CREATE TABLE table_name_71 (game INTEGER, score VARCHAR)[/INST]SELECT AVG(game) FROM table_name_71 WHERE score = "101–92"</s> |
CREATE TABLE table_name_21 (attendance VARCHAR, week VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_21 WHERE week < 5 AND date = "no game scheduled" | What was the attendance for weeks prior to 5 when there was no game scheduled? | <s>[INST]What was the attendance for weeks prior to 5 when there was no game scheduled? Context: CREATE TABLE table_name_21 (attendance VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_21 WHERE week < 5 AND date = "no game scheduled"</s> |
CREATE TABLE table_name_80 (position VARCHAR, date_of_birth__age_ VARCHAR) | SELECT position FROM table_name_80 WHERE date_of_birth__age_ = "2 november 1987" | Name the position for the player born 2 november 1987 | <s>[INST]Name the position for the player born 2 november 1987 Context: CREATE TABLE table_name_80 (position VARCHAR, date_of_birth__age_ VARCHAR)[/INST]SELECT position FROM table_name_80 WHERE date_of_birth__age_ = "2 november 1987"</s> |
CREATE TABLE Document_locations (location_code VARCHAR) | SELECT location_code, COUNT(*) FROM Document_locations GROUP BY location_code | Show the location codes and the number of documents in each location. | <s>[INST]Show the location codes and the number of documents in each location. Context: CREATE TABLE Document_locations (location_code VARCHAR)[/INST]SELECT location_code, COUNT(*) FROM Document_locations GROUP BY location_code</s> |
CREATE TABLE table_name_23 (average INTEGER, tally VARCHAR, total VARCHAR) | SELECT AVG(average) FROM table_name_23 WHERE tally = "2-12" AND total > 18 | Which Average has a Tally of 2-12, and a Total larger than 18? | <s>[INST]Which Average has a Tally of 2-12, and a Total larger than 18? Context: CREATE TABLE table_name_23 (average INTEGER, tally VARCHAR, total VARCHAR)[/INST]SELECT AVG(average) FROM table_name_23 WHERE tally = "2-12" AND total > 18</s> |
CREATE TABLE table_name_40 (home_team VARCHAR, score VARCHAR) | SELECT home_team FROM table_name_40 WHERE score = "1–0" | What is the Home team in the Game with a Score of 1–0? | <s>[INST]What is the Home team in the Game with a Score of 1–0? Context: CREATE TABLE table_name_40 (home_team VARCHAR, score VARCHAR)[/INST]SELECT home_team FROM table_name_40 WHERE score = "1–0"</s> |
CREATE TABLE table_name_5 (collaboration VARCHAR, indication VARCHAR) | SELECT collaboration FROM table_name_5 WHERE indication = "non-hodgkin lymphoma" | What company collaborated with non-hodgkin lymphoma? | <s>[INST]What company collaborated with non-hodgkin lymphoma? Context: CREATE TABLE table_name_5 (collaboration VARCHAR, indication VARCHAR)[/INST]SELECT collaboration FROM table_name_5 WHERE indication = "non-hodgkin lymphoma"</s> |
CREATE TABLE table_name_99 (time INTEGER, name VARCHAR, lane VARCHAR) | SELECT AVG(time) FROM table_name_99 WHERE name = "eithan urbach" AND lane > 2 | Which average time has eithan urbach as a name with a lane bigger than 2? | <s>[INST]Which average time has eithan urbach as a name with a lane bigger than 2? Context: CREATE TABLE table_name_99 (time INTEGER, name VARCHAR, lane VARCHAR)[/INST]SELECT AVG(time) FROM table_name_99 WHERE name = "eithan urbach" AND lane > 2</s> |
CREATE TABLE table_name_14 (place INTEGER, song VARCHAR) | SELECT AVG(place) FROM table_name_14 WHERE song = "dis oui" | What is the average Place, when Song is "Dis Oui"? | <s>[INST]What is the average Place, when Song is "Dis Oui"? Context: CREATE TABLE table_name_14 (place INTEGER, song VARCHAR)[/INST]SELECT AVG(place) FROM table_name_14 WHERE song = "dis oui"</s> |
CREATE TABLE table_name_96 (game_time VARCHAR, record VARCHAR) | SELECT game_time FROM table_name_96 WHERE record = "7-3" | What time was the game with a record of 7-3? | <s>[INST]What time was the game with a record of 7-3? Context: CREATE TABLE table_name_96 (game_time VARCHAR, record VARCHAR)[/INST]SELECT game_time FROM table_name_96 WHERE record = "7-3"</s> |
CREATE TABLE table_name_39 (original_artist VARCHAR, week__number VARCHAR) | SELECT original_artist FROM table_name_39 WHERE week__number = "top 9" | What is the Original artist when the week number is top 9? | <s>[INST]What is the Original artist when the week number is top 9? Context: CREATE TABLE table_name_39 (original_artist VARCHAR, week__number VARCHAR)[/INST]SELECT original_artist FROM table_name_39 WHERE week__number = "top 9"</s> |
CREATE TABLE table_10935205_1 (title VARCHAR, us_airdate VARCHAR) | SELECT title FROM table_10935205_1 WHERE us_airdate = "4 April 2008" | For the episode(s) aired in the U.S. on 4 april 2008, what were the names? | <s>[INST]For the episode(s) aired in the U.S. on 4 april 2008, what were the names? Context: CREATE TABLE table_10935205_1 (title VARCHAR, us_airdate VARCHAR)[/INST]SELECT title FROM table_10935205_1 WHERE us_airdate = "4 April 2008"</s> |
CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Rating (mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR) | SELECT mID FROM Rating EXCEPT SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T2.name = "Brittany Harris" | What are the ids of the movies that are not reviewed by Brittany Harris. | <s>[INST]What are the ids of the movies that are not reviewed by Brittany Harris. Context: CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Rating (mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)[/INST]SELECT mID FROM Rating EXCEPT SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rI... |
CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_81 WHERE venue = "glenferrie oval" | In the game at Glenferrie Oval, what is the home team score? | <s>[INST]In the game at Glenferrie Oval, what is the home team score? Context: CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_81 WHERE venue = "glenferrie oval"</s> |
CREATE TABLE table_14601528_2 (class_aAAAA VARCHAR, school_year VARCHAR) | SELECT COUNT(class_aAAAA) FROM table_14601528_2 WHERE school_year = "1988-89" | Name the number of class aaaaa for 1988-89 | <s>[INST]Name the number of class aaaaa for 1988-89 Context: CREATE TABLE table_14601528_2 (class_aAAAA VARCHAR, school_year VARCHAR)[/INST]SELECT COUNT(class_aAAAA) FROM table_14601528_2 WHERE school_year = "1988-89"</s> |
CREATE TABLE table_name_82 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_82 WHERE date = "10 october 2006" | Name the least attendance for 10 october 2006 | <s>[INST]Name the least attendance for 10 october 2006 Context: CREATE TABLE table_name_82 (attendance INTEGER, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_82 WHERE date = "10 october 2006"</s> |
CREATE TABLE table_name_80 (attendance INTEGER, h___a VARCHAR) | SELECT SUM(attendance) FROM table_name_80 WHERE h___a = "n" | What is the sum of attendance for H/A values of "n"? | <s>[INST]What is the sum of attendance for H/A values of "n"? Context: CREATE TABLE table_name_80 (attendance INTEGER, h___a VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_80 WHERE h___a = "n"</s> |
CREATE TABLE table_18018248_2 (club VARCHAR, points VARCHAR) | SELECT COUNT(club) FROM table_18018248_2 WHERE points = 29 | How many clubs had 29 points? | <s>[INST]How many clubs had 29 points? Context: CREATE TABLE table_18018248_2 (club VARCHAR, points VARCHAR)[/INST]SELECT COUNT(club) FROM table_18018248_2 WHERE points = 29</s> |
CREATE TABLE people (name VARCHAR, height VARCHAR) | SELECT name FROM people WHERE height > 200 OR height < 190 | find the names of people who are taller than 200 or lower than 190. | <s>[INST]find the names of people who are taller than 200 or lower than 190. Context: CREATE TABLE people (name VARCHAR, height VARCHAR)[/INST]SELECT name FROM people WHERE height > 200 OR height < 190</s> |
CREATE TABLE table_name_80 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_80 WHERE home_team = "essendon" | What is the home team score when the home team is Essendon? | <s>[INST]What is the home team score when the home team is Essendon? Context: CREATE TABLE table_name_80 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_80 WHERE home_team = "essendon"</s> |
CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_58 WHERE player = "dan o'sullivan" | What is position does Dan O'Sullivan play? | <s>[INST]What is position does Dan O'Sullivan play? Context: CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_58 WHERE player = "dan o'sullivan"</s> |
CREATE TABLE table_name_6 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_6 WHERE week = 9 | What is the Date of Week 9? | <s>[INST]What is the Date of Week 9? Context: CREATE TABLE table_name_6 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE week = 9</s> |
CREATE TABLE table_name_90 (yards VARCHAR, in_20 VARCHAR) | SELECT COUNT(yards) FROM table_name_90 WHERE in_20 = 32 | What number of Yards has 32 as an In 20? | <s>[INST]What number of Yards has 32 as an In 20? Context: CREATE TABLE table_name_90 (yards VARCHAR, in_20 VARCHAR)[/INST]SELECT COUNT(yards) FROM table_name_90 WHERE in_20 = 32</s> |
CREATE TABLE table_name_8 (region VARCHAR, most_populous_city_town VARCHAR, irish_name VARCHAR) | SELECT region FROM table_name_8 WHERE most_populous_city_town = "clonmel" AND irish_name = "tiobraid árann (contae thiobraid árann)" | Most populous city/town of clonmel, and a Irish name of tiobraid árann (contae thiobraid árann) is which region? | <s>[INST]Most populous city/town of clonmel, and a Irish name of tiobraid árann (contae thiobraid árann) is which region? Context: CREATE TABLE table_name_8 (region VARCHAR, most_populous_city_town VARCHAR, irish_name VARCHAR)[/INST]SELECT region FROM table_name_8 WHERE most_populous_city_town = "clonmel" AND irish_nam... |
CREATE TABLE products (manufacturer VARCHAR); CREATE TABLE Manufacturers (code VARCHAR) | SELECT * FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code | Select all the data from the products and each product's manufacturer. | <s>[INST]Select all the data from the products and each product's manufacturer. Context: CREATE TABLE products (manufacturer VARCHAR); CREATE TABLE Manufacturers (code VARCHAR)[/INST]SELECT * FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code</s> |
CREATE TABLE table_name_41 (rank INTEGER, points VARCHAR, name VARCHAR) | SELECT AVG(rank) FROM table_name_41 WHERE points < 274.4 AND name = "roman koudelka" | What is the average rank of Roman Koudelka, who has less than 274.4 points? | <s>[INST]What is the average rank of Roman Koudelka, who has less than 274.4 points? Context: CREATE TABLE table_name_41 (rank INTEGER, points VARCHAR, name VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_41 WHERE points < 274.4 AND name = "roman koudelka"</s> |
CREATE TABLE table_name_74 (date VARCHAR, home VARCHAR, record VARCHAR) | SELECT date FROM table_name_74 WHERE home = "cleveland" AND record = "20-8" | What is the date of the Cleveland home game with a 20-8 record? | <s>[INST]What is the date of the Cleveland home game with a 20-8 record? Context: CREATE TABLE table_name_74 (date VARCHAR, home VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_74 WHERE home = "cleveland" AND record = "20-8"</s> |
CREATE TABLE table_name_85 (team VARCHAR, fin_pos VARCHAR) | SELECT team FROM table_name_85 WHERE fin_pos = "7" | Which team had a driver with a finish position of 7? | <s>[INST]Which team had a driver with a finish position of 7? Context: CREATE TABLE table_name_85 (team VARCHAR, fin_pos VARCHAR)[/INST]SELECT team FROM table_name_85 WHERE fin_pos = "7"</s> |
CREATE TABLE table_name_41 (engine_s_ VARCHAR, year VARCHAR) | SELECT engine_s_ FROM table_name_41 WHERE year = 1991 | What engine was made in 1991? | <s>[INST]What engine was made in 1991? Context: CREATE TABLE table_name_41 (engine_s_ VARCHAR, year VARCHAR)[/INST]SELECT engine_s_ FROM table_name_41 WHERE year = 1991</s> |
CREATE TABLE table_name_50 (trainer VARCHAR, odds VARCHAR) | SELECT trainer FROM table_name_50 WHERE odds = "6/1" | Who has 6/1 odds? | <s>[INST]Who has 6/1 odds? Context: CREATE TABLE table_name_50 (trainer VARCHAR, odds VARCHAR)[/INST]SELECT trainer FROM table_name_50 WHERE odds = "6/1"</s> |
CREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR) | SELECT term_in_office FROM table_name_27 WHERE party = "liberal" AND state = "sa" AND member = "ian mclachlan" | Name the term in office for liberal and state of sa for ian mclachlan | <s>[INST]Name the term in office for liberal and state of sa for ian mclachlan Context: CREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR)[/INST]SELECT term_in_office FROM table_name_27 WHERE party = "liberal" AND state = "sa" AND member = "ian mclachlan"</s> |
CREATE TABLE table_20046379_3 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_20046379_3 WHERE us_viewers__millions_ = "3.8" | What's the title of the episode seen by 3.8 million people in the US? | <s>[INST]What's the title of the episode seen by 3.8 million people in the US? Context: CREATE TABLE table_20046379_3 (title VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_20046379_3 WHERE us_viewers__millions_ = "3.8"</s> |
CREATE TABLE table_14425454_1 (crowd VARCHAR, home_team VARCHAR) | SELECT COUNT(crowd) FROM table_14425454_1 WHERE home_team = "Port Adelaide" | What is the total number of attendees where the home team was Port Adelaide? | <s>[INST]What is the total number of attendees where the home team was Port Adelaide? Context: CREATE TABLE table_14425454_1 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_14425454_1 WHERE home_team = "Port Adelaide"</s> |
CREATE TABLE table_name_21 (winner VARCHAR, date VARCHAR) | SELECT winner FROM table_name_21 WHERE date = "18 may" | What is the name of the winner on 18 may? | <s>[INST]What is the name of the winner on 18 may? Context: CREATE TABLE table_name_21 (winner VARCHAR, date VARCHAR)[/INST]SELECT winner FROM table_name_21 WHERE date = "18 may"</s> |
CREATE TABLE table_name_15 (year INTEGER, category VARCHAR) | SELECT SUM(year) FROM table_name_15 WHERE category = "best actor in a musical" | What year had Best Actor in a Musical as a category? | <s>[INST]What year had Best Actor in a Musical as a category? Context: CREATE TABLE table_name_15 (year INTEGER, category VARCHAR)[/INST]SELECT SUM(year) FROM table_name_15 WHERE category = "best actor in a musical"</s> |
CREATE TABLE table_name_59 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_59 WHERE venue = "strathclyde homes stadium" | What was the Result at Strathclyde Homes Stadium? | <s>[INST]What was the Result at Strathclyde Homes Stadium? Context: CREATE TABLE table_name_59 (result VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_59 WHERE venue = "strathclyde homes stadium"</s> |
CREATE TABLE table_name_29 (date VARCHAR, catalog VARCHAR, region VARCHAR) | SELECT date FROM table_name_29 WHERE catalog = "scyl-934,623" AND region = "australia" | On what date was the catalog scyl-934,623 for Australia? | <s>[INST]On what date was the catalog scyl-934,623 for Australia? Context: CREATE TABLE table_name_29 (date VARCHAR, catalog VARCHAR, region VARCHAR)[/INST]SELECT date FROM table_name_29 WHERE catalog = "scyl-934,623" AND region = "australia"</s> |
CREATE TABLE department (budget_in_billions INTEGER) | SELECT MAX(budget_in_billions), MIN(budget_in_billions) FROM department | What are the maximum and minimum budget of the departments? | <s>[INST]What are the maximum and minimum budget of the departments? Context: CREATE TABLE department (budget_in_billions INTEGER)[/INST]SELECT MAX(budget_in_billions), MIN(budget_in_billions) FROM department</s> |
CREATE TABLE table_name_43 (earnings___ VARCHAR, events VARCHAR, rank VARCHAR) | SELECT COUNT(earnings___) AS $__ FROM table_name_43 WHERE events < 28 AND rank < 3 | How much money did the player ranked above 3 with under 28 events earn? | <s>[INST]How much money did the player ranked above 3 with under 28 events earn? Context: CREATE TABLE table_name_43 (earnings___ VARCHAR, events VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(earnings___) AS $__ FROM table_name_43 WHERE events < 28 AND rank < 3</s> |
CREATE TABLE table_name_24 (road_team VARCHAR, game VARCHAR) | SELECT road_team FROM table_name_24 WHERE game = "game 2" | what team played in game 2 | <s>[INST]what team played in game 2 Context: CREATE TABLE table_name_24 (road_team VARCHAR, game VARCHAR)[/INST]SELECT road_team FROM table_name_24 WHERE game = "game 2"</s> |
CREATE TABLE table_name_61 (top_5 INTEGER, top_25 VARCHAR, wins VARCHAR) | SELECT AVG(top_5) FROM table_name_61 WHERE top_25 = 1 AND wins < 0 | What is the mean number in the top 5 when the top 25 is 1 and there's fewer than 0 wins? | <s>[INST]What is the mean number in the top 5 when the top 25 is 1 and there's fewer than 0 wins? Context: CREATE TABLE table_name_61 (top_5 INTEGER, top_25 VARCHAR, wins VARCHAR)[/INST]SELECT AVG(top_5) FROM table_name_61 WHERE top_25 = 1 AND wins < 0</s> |
CREATE TABLE table_name_1 (valency_change VARCHAR, type VARCHAR) | SELECT valency_change FROM table_name_1 WHERE type = "associative" | WHat is the Valency change of associative type? | <s>[INST]WHat is the Valency change of associative type? Context: CREATE TABLE table_name_1 (valency_change VARCHAR, type VARCHAR)[/INST]SELECT valency_change FROM table_name_1 WHERE type = "associative"</s> |
CREATE TABLE table_name_1 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR) | SELECT driver FROM table_name_1 WHERE chassis = "n175" AND rounds = "13" | Who drove the car with the n175 chassis in round 13? | <s>[INST]Who drove the car with the n175 chassis in round 13? Context: CREATE TABLE table_name_1 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)[/INST]SELECT driver FROM table_name_1 WHERE chassis = "n175" AND rounds = "13"</s> |
CREATE TABLE table_17429402_7 (years_of_participation VARCHAR, school VARCHAR) | SELECT years_of_participation FROM table_17429402_7 WHERE school = "Central Crossing" | What are the years of participation for central crossing school? | <s>[INST]What are the years of participation for central crossing school? Context: CREATE TABLE table_17429402_7 (years_of_participation VARCHAR, school VARCHAR)[/INST]SELECT years_of_participation FROM table_17429402_7 WHERE school = "Central Crossing"</s> |
CREATE TABLE table_name_58 (points_against VARCHAR, club VARCHAR) | SELECT points_against FROM table_name_58 WHERE club = "ystradgynlais rfc" | What is the Points against for the ystradgynlais rfc club? | <s>[INST]What is the Points against for the ystradgynlais rfc club? Context: CREATE TABLE table_name_58 (points_against VARCHAR, club VARCHAR)[/INST]SELECT points_against FROM table_name_58 WHERE club = "ystradgynlais rfc"</s> |
CREATE TABLE table_21321804_5 (college VARCHAR, player VARCHAR) | SELECT COUNT(college) FROM table_21321804_5 WHERE player = "David Kasouf" | David Kasouf plays for how many colleges? | <s>[INST]David Kasouf plays for how many colleges? Context: CREATE TABLE table_21321804_5 (college VARCHAR, player VARCHAR)[/INST]SELECT COUNT(college) FROM table_21321804_5 WHERE player = "David Kasouf"</s> |
CREATE TABLE table_name_16 (wins VARCHAR, team VARCHAR, f_laps VARCHAR, series VARCHAR) | SELECT wins FROM table_name_16 WHERE f_laps = "0" AND series = "formula three euroseries" AND team = "kolles & heinz union" | How many wins did team Kolles & Heinz union, with f/laps of 0, have in the Formula Three Euroseries? | <s>[INST]How many wins did team Kolles & Heinz union, with f/laps of 0, have in the Formula Three Euroseries? Context: CREATE TABLE table_name_16 (wins VARCHAR, team VARCHAR, f_laps VARCHAR, series VARCHAR)[/INST]SELECT wins FROM table_name_16 WHERE f_laps = "0" AND series = "formula three euroseries" AND team = "kolle... |
CREATE TABLE table_name_91 (team_2 VARCHAR) | SELECT 2 AS nd_round FROM table_name_91 WHERE team_2 = "red star (d1)" | Who is the 2nd round opponent when Team 2 is Red Star (D1)? | <s>[INST]Who is the 2nd round opponent when Team 2 is Red Star (D1)? Context: CREATE TABLE table_name_91 (team_2 VARCHAR)[/INST]SELECT 2 AS nd_round FROM table_name_91 WHERE team_2 = "red star (d1)"</s> |
CREATE TABLE table_name_91 (rank INTEGER, gold INTEGER) | SELECT SUM(rank) FROM table_name_91 WHERE gold < 0 | What is the number for rank when gold is less than 0? | <s>[INST]What is the number for rank when gold is less than 0? Context: CREATE TABLE table_name_91 (rank INTEGER, gold INTEGER)[/INST]SELECT SUM(rank) FROM table_name_91 WHERE gold < 0</s> |
CREATE TABLE table_10294071_1 (ties_played INTEGER, player VARCHAR) | SELECT MAX(ties_played) FROM table_10294071_1 WHERE player = "Josip Palada Category:Articles with hCards" | what is the maximum ties played where player is josip palada category:articles with hcards | <s>[INST]what is the maximum ties played where player is josip palada category:articles with hcards Context: CREATE TABLE table_10294071_1 (ties_played INTEGER, player VARCHAR)[/INST]SELECT MAX(ties_played) FROM table_10294071_1 WHERE player = "Josip Palada Category:Articles with hCards"</s> |
CREATE TABLE table_name_99 (transmission VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR) | SELECT transmission FROM table_name_99 WHERE engine = "2.0l" AND acceleration_0_100km_h__0_62mph_ = "10.5 s" | What is the transmission when the engine is 2.0l, and acceleration 0–100km/h (0–62mph) is 10.5 s? | <s>[INST]What is the transmission when the engine is 2.0l, and acceleration 0–100km/h (0–62mph) is 10.5 s? Context: CREATE TABLE table_name_99 (transmission VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)[/INST]SELECT transmission FROM table_name_99 WHERE engine = "2.0l" AND acceleration_0_100km_h__0... |
CREATE TABLE table_name_99 (week_2 VARCHAR, week_4 VARCHAR) | SELECT week_2 FROM table_name_99 WHERE week_4 = "miranda jordan" | What was the week 2 prior to the when Miranda Jordan was the week 4? | <s>[INST]What was the week 2 prior to the when Miranda Jordan was the week 4? Context: CREATE TABLE table_name_99 (week_2 VARCHAR, week_4 VARCHAR)[/INST]SELECT week_2 FROM table_name_99 WHERE week_4 = "miranda jordan"</s> |
CREATE TABLE table_22050544_4 (event VARCHAR, event__number VARCHAR) | SELECT event FROM table_22050544_4 WHERE event__number = "8M" | What is the event name with the number 8M? | <s>[INST]What is the event name with the number 8M? Context: CREATE TABLE table_22050544_4 (event VARCHAR, event__number VARCHAR)[/INST]SELECT event FROM table_22050544_4 WHERE event__number = "8M"</s> |
CREATE TABLE table_name_58 (skip VARCHAR, country VARCHAR) | SELECT skip FROM table_name_58 WHERE country = "denmark" | What skip has denmark as the country? | <s>[INST]What skip has denmark as the country? Context: CREATE TABLE table_name_58 (skip VARCHAR, country VARCHAR)[/INST]SELECT skip FROM table_name_58 WHERE country = "denmark"</s> |
CREATE TABLE table_name_41 (finished VARCHAR, entered VARCHAR, exited VARCHAR) | SELECT finished FROM table_name_41 WHERE entered = "day 1" AND exited = "day 15" | What position did the celebrity finish that entered on day 1 and exited on day 15? | <s>[INST]What position did the celebrity finish that entered on day 1 and exited on day 15? Context: CREATE TABLE table_name_41 (finished VARCHAR, entered VARCHAR, exited VARCHAR)[/INST]SELECT finished FROM table_name_41 WHERE entered = "day 1" AND exited = "day 15"</s> |
CREATE TABLE instructor (dept_name VARCHAR, salary INTEGER) | SELECT dept_name FROM instructor GROUP BY dept_name ORDER BY AVG(salary) DESC LIMIT 1 | Find the name of the department which has the highest average salary of professors. | <s>[INST]Find the name of the department which has the highest average salary of professors. Context: CREATE TABLE instructor (dept_name VARCHAR, salary INTEGER)[/INST]SELECT dept_name FROM instructor GROUP BY dept_name ORDER BY AVG(salary) DESC LIMIT 1</s> |
CREATE TABLE table_name_76 (athlete VARCHAR, time VARCHAR) | SELECT athlete FROM table_name_76 WHERE time = 13.6 | Who had the time 13.6? | <s>[INST]Who had the time 13.6? Context: CREATE TABLE table_name_76 (athlete VARCHAR, time VARCHAR)[/INST]SELECT athlete FROM table_name_76 WHERE time = 13.6</s> |
CREATE TABLE table_name_67 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_67 WHERE record = "71-78" | Who was the opponent at the game when the record was 71-78? | <s>[INST]Who was the opponent at the game when the record was 71-78? Context: CREATE TABLE table_name_67 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_67 WHERE record = "71-78"</s> |
CREATE TABLE table_name_57 (poles VARCHAR, racing_team VARCHAR) | SELECT poles FROM table_name_57 WHERE racing_team = "status grand prix" | How many poles does status grand prix have? | <s>[INST]How many poles does status grand prix have? Context: CREATE TABLE table_name_57 (poles VARCHAR, racing_team VARCHAR)[/INST]SELECT poles FROM table_name_57 WHERE racing_team = "status grand prix"</s> |
CREATE TABLE table_name_74 (api_level INTEGER, release_date VARCHAR) | SELECT AVG(api_level) FROM table_name_74 WHERE release_date = "february 9, 2011" | with release date of february 9, 2011, what is the api level? | <s>[INST]with release date of february 9, 2011, what is the api level? Context: CREATE TABLE table_name_74 (api_level INTEGER, release_date VARCHAR)[/INST]SELECT AVG(api_level) FROM table_name_74 WHERE release_date = "february 9, 2011"</s> |
CREATE TABLE table_name_66 (week INTEGER, attendance VARCHAR) | SELECT SUM(week) FROM table_name_66 WHERE attendance = "67,968" | What is the sum of Week when there were 67,968 people in attendance? | <s>[INST]What is the sum of Week when there were 67,968 people in attendance? Context: CREATE TABLE table_name_66 (week INTEGER, attendance VARCHAR)[/INST]SELECT SUM(week) FROM table_name_66 WHERE attendance = "67,968"</s> |
CREATE TABLE table_27734769_8 (date VARCHAR, high_points VARCHAR) | SELECT date FROM table_27734769_8 WHERE high_points = "LaMarcus Aldridge (36)" | What is the date the high points was lamarcus aldridge (36)? | <s>[INST]What is the date the high points was lamarcus aldridge (36)? Context: CREATE TABLE table_27734769_8 (date VARCHAR, high_points VARCHAR)[/INST]SELECT date FROM table_27734769_8 WHERE high_points = "LaMarcus Aldridge (36)"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.