context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_4 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_4 WHERE date = "november 11, 2001" | Who was the opponent on November 11, 2001? | <s>[INST]Who was the opponent on November 11, 2001? Context: CREATE TABLE table_name_4 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_4 WHERE date = "november 11, 2001"</s> |
CREATE TABLE table_name_82 (venue VARCHAR, against INTEGER) | SELECT venue FROM table_name_82 WHERE against < 6 | Which Venue has Against smaller than 6? | <s>[INST]Which Venue has Against smaller than 6? Context: CREATE TABLE table_name_82 (venue VARCHAR, against INTEGER)[/INST]SELECT venue FROM table_name_82 WHERE against < 6</s> |
CREATE TABLE table_1974545_2 (lec_sport VARCHAR, institution VARCHAR) | SELECT lec_sport FROM table_1974545_2 WHERE institution = "Fitchburg State University" | What's Fitchburg State University's LEC sport? | <s>[INST]What's Fitchburg State University's LEC sport? Context: CREATE TABLE table_1974545_2 (lec_sport VARCHAR, institution VARCHAR)[/INST]SELECT lec_sport FROM table_1974545_2 WHERE institution = "Fitchburg State University"</s> |
CREATE TABLE table_12962773_5 (height VARCHAR, current_club VARCHAR) | SELECT height FROM table_12962773_5 WHERE current_club = "DKV Joventut" | what's the height with current club being dkv joventut | <s>[INST]what's the height with current club being dkv joventut Context: CREATE TABLE table_12962773_5 (height VARCHAR, current_club VARCHAR)[/INST]SELECT height FROM table_12962773_5 WHERE current_club = "DKV Joventut"</s> |
CREATE TABLE table_11019212_1 (wednesday VARCHAR, monday VARCHAR) | SELECT wednesday FROM table_11019212_1 WHERE monday = "10:00-8:00" | what's the wednesday time with monday being 10:00-8:00 | <s>[INST]what's the wednesday time with monday being 10:00-8:00 Context: CREATE TABLE table_11019212_1 (wednesday VARCHAR, monday VARCHAR)[/INST]SELECT wednesday FROM table_11019212_1 WHERE monday = "10:00-8:00"</s> |
CREATE TABLE table_name_22 (height__m_ INTEGER, island VARCHAR) | SELECT MIN(height__m_) FROM table_name_22 WHERE island = "burray" | What is the lowest Height (m) on the island of Burray? | <s>[INST]What is the lowest Height (m) on the island of Burray? Context: CREATE TABLE table_name_22 (height__m_ INTEGER, island VARCHAR)[/INST]SELECT MIN(height__m_) FROM table_name_22 WHERE island = "burray"</s> |
CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_98 WHERE date = "16 december 1978" AND tie_no = "9" | What is the score for the date of 16 december 1978, with a tie no of 9? | <s>[INST]What is the score for the date of 16 december 1978, with a tie no of 9? Context: CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_98 WHERE date = "16 december 1978" AND tie_no = "9"</s> |
CREATE TABLE table_name_56 (grid INTEGER, laps INTEGER) | SELECT AVG(grid) FROM table_name_56 WHERE laps > 23 | What is the average grid with more than 23 laps? | <s>[INST]What is the average grid with more than 23 laps? Context: CREATE TABLE table_name_56 (grid INTEGER, laps INTEGER)[/INST]SELECT AVG(grid) FROM table_name_56 WHERE laps > 23</s> |
CREATE TABLE table_11793221_2 (commander VARCHAR, wounded VARCHAR) | SELECT commander FROM table_11793221_2 WHERE wounded = "8 off 0 men" | Who were the commanders when 8 off 0 men were wounded? | <s>[INST]Who were the commanders when 8 off 0 men were wounded? Context: CREATE TABLE table_11793221_2 (commander VARCHAR, wounded VARCHAR)[/INST]SELECT commander FROM table_11793221_2 WHERE wounded = "8 off 0 men"</s> |
CREATE TABLE table_name_82 (title VARCHAR, name VARCHAR) | SELECT title FROM table_name_82 WHERE name = "rinnal" | What is Rinnal's title? | <s>[INST]What is Rinnal's title? Context: CREATE TABLE table_name_82 (title VARCHAR, name VARCHAR)[/INST]SELECT title FROM table_name_82 WHERE name = "rinnal"</s> |
CREATE TABLE table_1914090_2 (europe VARCHAR, america VARCHAR) | SELECT europe FROM table_1914090_2 WHERE america = 403892 | How many members did Europe have the year that America had 403892? | <s>[INST]How many members did Europe have the year that America had 403892? Context: CREATE TABLE table_1914090_2 (europe VARCHAR, america VARCHAR)[/INST]SELECT europe FROM table_1914090_2 WHERE america = 403892</s> |
CREATE TABLE table_name_87 (competition VARCHAR, club VARCHAR) | SELECT competition FROM table_name_87 WHERE club = "maccabi haifa fc" | What competition did the maccabi haifa fc club play? | <s>[INST]What competition did the maccabi haifa fc club play? Context: CREATE TABLE table_name_87 (competition VARCHAR, club VARCHAR)[/INST]SELECT competition FROM table_name_87 WHERE club = "maccabi haifa fc"</s> |
CREATE TABLE table_name_77 (award VARCHAR, result VARCHAR, nomination VARCHAR) | SELECT award FROM table_name_77 WHERE result = "won" AND nomination = "senses around" | Which award was won when the nomination was Senses Around? | <s>[INST]Which award was won when the nomination was Senses Around? Context: CREATE TABLE table_name_77 (award VARCHAR, result VARCHAR, nomination VARCHAR)[/INST]SELECT award FROM table_name_77 WHERE result = "won" AND nomination = "senses around"</s> |
CREATE TABLE table_name_85 (turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR) | SELECT turbine_vendor FROM table_name_85 WHERE turbines < 6 AND county = "donegal" AND size__mw_ = "0.85" AND wind_farm = "meenadreen" | Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW? | <s>[INST]Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW? Context: CREATE TABLE table_name_85 (turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR)[/INST]SELECT turbine_vendor FROM table_name_85 WHERE turbines < 6 AND county = "donegal" AND size__mw_ = "0.85" AND wind_farm = "meenadreen"</s> |
CREATE TABLE table_name_66 (time VARCHAR, record VARCHAR) | SELECT time FROM table_name_66 WHERE record = "10-1" | What is the time where the record is 10-1? | <s>[INST]What is the time where the record is 10-1? Context: CREATE TABLE table_name_66 (time VARCHAR, record VARCHAR)[/INST]SELECT time FROM table_name_66 WHERE record = "10-1"</s> |
CREATE TABLE table_name_22 (winning_score VARCHAR, tournament VARCHAR, date VARCHAR) | SELECT winning_score FROM table_name_22 WHERE tournament = "joburg open 1" AND date = "17 jan 2010" | What is Winning Score, when Tournament is Joburg Open 1, and when Date is 17 Jan 2010? | <s>[INST]What is Winning Score, when Tournament is Joburg Open 1, and when Date is 17 Jan 2010? Context: CREATE TABLE table_name_22 (winning_score VARCHAR, tournament VARCHAR, date VARCHAR)[/INST]SELECT winning_score FROM table_name_22 WHERE tournament = "joburg open 1" AND date = "17 jan 2010"</s> |
CREATE TABLE table_name_1 (points INTEGER, tries VARCHAR, goals VARCHAR) | SELECT MIN(points) FROM table_name_1 WHERE tries = 39 AND goals > 0 | I want the lowest points for tries of 39 and goals more than 0 | <s>[INST]I want the lowest points for tries of 39 and goals more than 0 Context: CREATE TABLE table_name_1 (points INTEGER, tries VARCHAR, goals VARCHAR)[/INST]SELECT MIN(points) FROM table_name_1 WHERE tries = 39 AND goals > 0</s> |
CREATE TABLE table_name_8 (playoffs VARCHAR, year VARCHAR, league VARCHAR, open_cup VARCHAR) | SELECT playoffs FROM table_name_8 WHERE league = "npsl" AND open_cup = "did not enter" AND year = "2013" | NAME THE Playoffs that HAVE a League of npsl, and a Open Cup of did not enter, and a Year of 2013? | <s>[INST]NAME THE Playoffs that HAVE a League of npsl, and a Open Cup of did not enter, and a Year of 2013? Context: CREATE TABLE table_name_8 (playoffs VARCHAR, year VARCHAR, league VARCHAR, open_cup VARCHAR)[/INST]SELECT playoffs FROM table_name_8 WHERE league = "npsl" AND open_cup = "did not enter" AND year = "2013"</s> |
CREATE TABLE table_name_62 (react INTEGER, country VARCHAR, lane VARCHAR) | SELECT MIN(react) FROM table_name_62 WHERE country = "sri lanka" AND lane > 8 | What is the lowest of the athlete from sri lanka who has a lane greater than 8? | <s>[INST]What is the lowest of the athlete from sri lanka who has a lane greater than 8? Context: CREATE TABLE table_name_62 (react INTEGER, country VARCHAR, lane VARCHAR)[/INST]SELECT MIN(react) FROM table_name_62 WHERE country = "sri lanka" AND lane > 8</s> |
CREATE TABLE table_name_54 (authority VARCHAR, roll VARCHAR, decile VARCHAR, area VARCHAR) | SELECT authority FROM table_name_54 WHERE decile = 6 AND area = "levin" AND roll = 226 | What authority controls the school in Levin that has a decile of 6, and a roll of 226? | <s>[INST]What authority controls the school in Levin that has a decile of 6, and a roll of 226? Context: CREATE TABLE table_name_54 (authority VARCHAR, roll VARCHAR, decile VARCHAR, area VARCHAR)[/INST]SELECT authority FROM table_name_54 WHERE decile = 6 AND area = "levin" AND roll = 226</s> |
CREATE TABLE table_name_8 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_8 WHERE date = "september 27, 1953" | Which week's date was September 27, 1953? | <s>[INST]Which week's date was September 27, 1953? Context: CREATE TABLE table_name_8 (week VARCHAR, date VARCHAR)[/INST]SELECT week FROM table_name_8 WHERE date = "september 27, 1953"</s> |
CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR) | SELECT year FROM table_14903491_1 WHERE womens_doubles = "Victoria Hristova Neli Nedialkova" | Name the year for victoria hristova neli nedialkova | <s>[INST]Name the year for victoria hristova neli nedialkova Context: CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR)[/INST]SELECT year FROM table_14903491_1 WHERE womens_doubles = "Victoria Hristova Neli Nedialkova"</s> |
CREATE TABLE table_28132970_5 (propulsion VARCHAR, vessel VARCHAR) | SELECT propulsion FROM table_28132970_5 WHERE vessel = "Marianarray" | What is the propulsion when the vessel is marianarray? | <s>[INST]What is the propulsion when the vessel is marianarray? Context: CREATE TABLE table_28132970_5 (propulsion VARCHAR, vessel VARCHAR)[/INST]SELECT propulsion FROM table_28132970_5 WHERE vessel = "Marianarray"</s> |
CREATE TABLE table_27374004_4 (date_of_appointment VARCHAR, replaced_by VARCHAR) | SELECT date_of_appointment FROM table_27374004_4 WHERE replaced_by = "Hugo Broos" | When was the date of appointment by Hugo Broos? | <s>[INST]When was the date of appointment by Hugo Broos? Context: CREATE TABLE table_27374004_4 (date_of_appointment VARCHAR, replaced_by VARCHAR)[/INST]SELECT date_of_appointment FROM table_27374004_4 WHERE replaced_by = "Hugo Broos"</s> |
CREATE TABLE table_28498999_3 (country VARCHAR, score VARCHAR) | SELECT country FROM table_28498999_3 WHERE score = 72 - 63 - 71 - 68 = 274 | What is the country for the score 72-63-71-68=274? | <s>[INST]What is the country for the score 72-63-71-68=274? Context: CREATE TABLE table_28498999_3 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_28498999_3 WHERE score = 72 - 63 - 71 - 68 = 274</s> |
CREATE TABLE table_name_73 (tournament VARCHAR, career_sr VARCHAR) | SELECT tournament FROM table_name_73 WHERE career_sr = "atp masters series" | What is Tournament, when Career SR is "ATP Masters Series"? | <s>[INST]What is Tournament, when Career SR is "ATP Masters Series"? Context: CREATE TABLE table_name_73 (tournament VARCHAR, career_sr VARCHAR)[/INST]SELECT tournament FROM table_name_73 WHERE career_sr = "atp masters series"</s> |
CREATE TABLE table_19787093_1 (till_mathura INTEGER, till_aligarh VARCHAR) | SELECT MAX(till_mathura) FROM table_19787093_1 WHERE till_aligarh = 150 | If the till aligarh is 150, what the mac till mathura? | <s>[INST]If the till aligarh is 150, what the mac till mathura? Context: CREATE TABLE table_19787093_1 (till_mathura INTEGER, till_aligarh VARCHAR)[/INST]SELECT MAX(till_mathura) FROM table_19787093_1 WHERE till_aligarh = 150</s> |
CREATE TABLE table_name_60 (muzzle_velocity VARCHAR, muzzle_energy VARCHAR) | SELECT muzzle_velocity FROM table_name_60 WHERE muzzle_energy = "351ft•lbf (476 j)" | What is the muzzle velocity for the muzzle energy 351ft•lbf (476 j)? | <s>[INST]What is the muzzle velocity for the muzzle energy 351ft•lbf (476 j)? Context: CREATE TABLE table_name_60 (muzzle_velocity VARCHAR, muzzle_energy VARCHAR)[/INST]SELECT muzzle_velocity FROM table_name_60 WHERE muzzle_energy = "351ft•lbf (476 j)"</s> |
CREATE TABLE table_name_60 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_60 WHERE tie_no = "27" | what is the score that has tie number 27 | <s>[INST]what is the score that has tie number 27 Context: CREATE TABLE table_name_60 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_60 WHERE tie_no = "27"</s> |
CREATE TABLE table_name_10 (driver VARCHAR, tyre VARCHAR, entrant VARCHAR) | SELECT driver FROM table_name_10 WHERE tyre = "p" AND entrant = "officine alfieri maserati" | Who is the driver when the tyre is p and the entrant is officine alfieri maserati? | <s>[INST]Who is the driver when the tyre is p and the entrant is officine alfieri maserati? Context: CREATE TABLE table_name_10 (driver VARCHAR, tyre VARCHAR, entrant VARCHAR)[/INST]SELECT driver FROM table_name_10 WHERE tyre = "p" AND entrant = "officine alfieri maserati"</s> |
CREATE TABLE table_name_23 (summoned VARCHAR, elected VARCHAR) | SELECT summoned FROM table_name_23 WHERE elected = "march 1298" | What is Summoned, when Elected is "March 1298"? | <s>[INST]What is Summoned, when Elected is "March 1298"? Context: CREATE TABLE table_name_23 (summoned VARCHAR, elected VARCHAR)[/INST]SELECT summoned FROM table_name_23 WHERE elected = "march 1298"</s> |
CREATE TABLE table_2668405_17 (district VARCHAR, candidates VARCHAR) | SELECT district FROM table_2668405_17 WHERE candidates = "Leven Powell (F) 63.8% Roger West (DR) 36.4%" | What is the district with the candidates leven powell (f) 63.8% roger west (dr) 36.4%? | <s>[INST]What is the district with the candidates leven powell (f) 63.8% roger west (dr) 36.4%? Context: CREATE TABLE table_2668405_17 (district VARCHAR, candidates VARCHAR)[/INST]SELECT district FROM table_2668405_17 WHERE candidates = "Leven Powell (F) 63.8% Roger West (DR) 36.4%"</s> |
CREATE TABLE artist (gender VARCHAR) | SELECT COUNT(*), gender FROM artist GROUP BY gender | What is the number of artists for each gender? | <s>[INST]What is the number of artists for each gender? Context: CREATE TABLE artist (gender VARCHAR)[/INST]SELECT COUNT(*), gender FROM artist GROUP BY gender</s> |
CREATE TABLE table_16751596_6 (poll_source VARCHAR, dates_administered VARCHAR) | SELECT poll_source FROM table_16751596_6 WHERE dates_administered = "July 10, 2008" | What poll source had an administered date on July 10, 2008? | <s>[INST]What poll source had an administered date on July 10, 2008? Context: CREATE TABLE table_16751596_6 (poll_source VARCHAR, dates_administered VARCHAR)[/INST]SELECT poll_source FROM table_16751596_6 WHERE dates_administered = "July 10, 2008"</s> |
CREATE TABLE table_name_92 (identifier VARCHAR, frequency VARCHAR) | SELECT identifier FROM table_name_92 WHERE frequency = "90.3" | What identifier has 90.3 as the frequency? | <s>[INST]What identifier has 90.3 as the frequency? Context: CREATE TABLE table_name_92 (identifier VARCHAR, frequency VARCHAR)[/INST]SELECT identifier FROM table_name_92 WHERE frequency = "90.3"</s> |
CREATE TABLE table_21436373_6 (stadium VARCHAR, date_year VARCHAR) | SELECT stadium FROM table_21436373_6 WHERE date_year = "Fri 06/25/82" | Which stadium has the date/year of Fri 06/25/82? | <s>[INST]Which stadium has the date/year of Fri 06/25/82? Context: CREATE TABLE table_21436373_6 (stadium VARCHAR, date_year VARCHAR)[/INST]SELECT stadium FROM table_21436373_6 WHERE date_year = "Fri 06/25/82"</s> |
CREATE TABLE table_27988540_1 (title VARCHAR, no_in_series VARCHAR) | SELECT title FROM table_27988540_1 WHERE no_in_series = 155 | What is the title of episode 155 in the series? | <s>[INST]What is the title of episode 155 in the series? Context: CREATE TABLE table_27988540_1 (title VARCHAR, no_in_series VARCHAR)[/INST]SELECT title FROM table_27988540_1 WHERE no_in_series = 155</s> |
CREATE TABLE table_name_99 (points INTEGER, game VARCHAR) | SELECT MIN(points) FROM table_name_99 WHERE game = 60 | What were the lowest points of game 60? | <s>[INST]What were the lowest points of game 60? Context: CREATE TABLE table_name_99 (points INTEGER, game VARCHAR)[/INST]SELECT MIN(points) FROM table_name_99 WHERE game = 60</s> |
CREATE TABLE table_name_32 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_32 WHERE attendance = "40,560" | Which opponent has an attendance of 40,560? | <s>[INST]Which opponent has an attendance of 40,560? Context: CREATE TABLE table_name_32 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_32 WHERE attendance = "40,560"</s> |
CREATE TABLE table_name_28 (local_letter VARCHAR, capital VARCHAR) | SELECT local_letter FROM table_name_28 WHERE capital = "funadhoo" | The capital of funadhoo has what local letter? | <s>[INST]The capital of funadhoo has what local letter? Context: CREATE TABLE table_name_28 (local_letter VARCHAR, capital VARCHAR)[/INST]SELECT local_letter FROM table_name_28 WHERE capital = "funadhoo"</s> |
CREATE TABLE table_name_24 (division VARCHAR, coach VARCHAR) | SELECT division FROM table_name_24 WHERE coach = "todd gordon" | In which division were the IceGators when coached by Todd Gordon? | <s>[INST]In which division were the IceGators when coached by Todd Gordon? Context: CREATE TABLE table_name_24 (division VARCHAR, coach VARCHAR)[/INST]SELECT division FROM table_name_24 WHERE coach = "todd gordon"</s> |
CREATE TABLE table_name_80 (goals_conceded__gc_ INTEGER, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR, points__pts_ VARCHAR) | SELECT AVG(goals_conceded__gc_) FROM table_name_80 WHERE goals_scored__gf_ > 19 AND points__pts_ = 31 AND draw__pe_ > 7 | What is the average number of goals conceded where more than 19 goals were scored, the team had 31 points, and more than 7 draws? | <s>[INST]What is the average number of goals conceded where more than 19 goals were scored, the team had 31 points, and more than 7 draws? Context: CREATE TABLE table_name_80 (goals_conceded__gc_ INTEGER, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR, points__pts_ VARCHAR)[/INST]SELECT AVG(goals_conceded__gc_) FROM table_name_80 WHERE goals_scored__gf_ > 19 AND points__pts_ = 31 AND draw__pe_ > 7</s> |
CREATE TABLE table_name_51 (rank INTEGER, goals VARCHAR, years VARCHAR) | SELECT MAX(rank) FROM table_name_51 WHERE goals > 220 AND years = "1965–1978-78" | What is the highest Rank for more than 220 goals in 1965–1978-78? | <s>[INST]What is the highest Rank for more than 220 goals in 1965–1978-78? Context: CREATE TABLE table_name_51 (rank INTEGER, goals VARCHAR, years VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_51 WHERE goals > 220 AND years = "1965–1978-78"</s> |
CREATE TABLE table_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR) | SELECT speed___iops__ FROM table_27615520_1 WHERE storage_medium = "eMLC Flash" | What is the Input/output operations per second for the emlc flash? | <s>[INST]What is the Input/output operations per second for the emlc flash? Context: CREATE TABLE table_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR)[/INST]SELECT speed___iops__ FROM table_27615520_1 WHERE storage_medium = "eMLC Flash"</s> |
CREATE TABLE table_name_62 (year INTEGER, nominated_work VARCHAR, category VARCHAR) | SELECT SUM(year) FROM table_name_62 WHERE nominated_work = "the house of blue leaves" AND category = "outstanding actress in a play" | In what year was The House of Blue Leaves nominated for outstanding actress in a play? | <s>[INST]In what year was The House of Blue Leaves nominated for outstanding actress in a play? Context: CREATE TABLE table_name_62 (year INTEGER, nominated_work VARCHAR, category VARCHAR)[/INST]SELECT SUM(year) FROM table_name_62 WHERE nominated_work = "the house of blue leaves" AND category = "outstanding actress in a play"</s> |
CREATE TABLE Rating (rID VARCHAR, stars VARCHAR) | SELECT rID FROM Rating EXCEPT SELECT rID FROM Rating WHERE stars = 4 | find the ids of reviewers who did not give 4 star. | <s>[INST]find the ids of reviewers who did not give 4 star. Context: CREATE TABLE Rating (rID VARCHAR, stars VARCHAR)[/INST]SELECT rID FROM Rating EXCEPT SELECT rID FROM Rating WHERE stars = 4</s> |
CREATE TABLE Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Asset_Parts (part_id VARCHAR) | SELECT T1.part_name, COUNT(*) FROM Parts AS T1 JOIN Asset_Parts AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_name | How many assets can each parts be used in? List the part name and the number. | <s>[INST]How many assets can each parts be used in? List the part name and the number. Context: CREATE TABLE Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Asset_Parts (part_id VARCHAR)[/INST]SELECT T1.part_name, COUNT(*) FROM Parts AS T1 JOIN Asset_Parts AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_name</s> |
CREATE TABLE table_17308269_2 (former_wnba_team VARCHAR, pick VARCHAR) | SELECT COUNT(former_wnba_team) FROM table_17308269_2 WHERE pick = 2 | Name the number of former wnba team for 2 | <s>[INST]Name the number of former wnba team for 2 Context: CREATE TABLE table_17308269_2 (former_wnba_team VARCHAR, pick VARCHAR)[/INST]SELECT COUNT(former_wnba_team) FROM table_17308269_2 WHERE pick = 2</s> |
CREATE TABLE table_name_52 (points VARCHAR, played INTEGER) | SELECT COUNT(points) FROM table_name_52 WHERE played > 14 | What is the total number of points combined from the teams that played over 14 games? | <s>[INST]What is the total number of points combined from the teams that played over 14 games? Context: CREATE TABLE table_name_52 (points VARCHAR, played INTEGER)[/INST]SELECT COUNT(points) FROM table_name_52 WHERE played > 14</s> |
CREATE TABLE list (classroom VARCHAR, grade VARCHAR) | SELECT DISTINCT classroom FROM list WHERE grade = 4 | Which classrooms are used by grade 4? | <s>[INST]Which classrooms are used by grade 4? Context: CREATE TABLE list (classroom VARCHAR, grade VARCHAR)[/INST]SELECT DISTINCT classroom FROM list WHERE grade = 4</s> |
CREATE TABLE table_name_30 (assists INTEGER, name VARCHAR) | SELECT MAX(assists) FROM table_name_30 WHERE name = "juan ignacio sánchez" | What's the largest amount of assists juan ignacio sánchez ever had? | <s>[INST]What's the largest amount of assists juan ignacio sánchez ever had? Context: CREATE TABLE table_name_30 (assists INTEGER, name VARCHAR)[/INST]SELECT MAX(assists) FROM table_name_30 WHERE name = "juan ignacio sánchez"</s> |
CREATE TABLE table_name_29 (sport VARCHAR, nation_represented VARCHAR) | SELECT sport FROM table_name_29 WHERE nation_represented = "united states" | Which sport did the United States win? | <s>[INST]Which sport did the United States win? Context: CREATE TABLE table_name_29 (sport VARCHAR, nation_represented VARCHAR)[/INST]SELECT sport FROM table_name_29 WHERE nation_represented = "united states"</s> |
CREATE TABLE table_name_6 (year VARCHAR, start VARCHAR) | SELECT year FROM table_name_6 WHERE start = "13" | What year did he start at 13? | <s>[INST]What year did he start at 13? Context: CREATE TABLE table_name_6 (year VARCHAR, start VARCHAR)[/INST]SELECT year FROM table_name_6 WHERE start = "13"</s> |
CREATE TABLE table_1569516_1 (platform VARCHAR, operator VARCHAR, service_pattern VARCHAR) | SELECT COUNT(platform) FROM table_1569516_1 WHERE operator = "Southern" AND service_pattern = "All stations via Clapham Junction" | How many platforms have a southern opertator and the pattern is all stations via clapham junction? | <s>[INST]How many platforms have a southern opertator and the pattern is all stations via clapham junction? Context: CREATE TABLE table_1569516_1 (platform VARCHAR, operator VARCHAR, service_pattern VARCHAR)[/INST]SELECT COUNT(platform) FROM table_1569516_1 WHERE operator = "Southern" AND service_pattern = "All stations via Clapham Junction"</s> |
CREATE TABLE table_name_82 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_82 WHERE loss = "leonard (7–8)" | Who was the opponent at the game that had a loss of Leonard (7–8)? | <s>[INST]Who was the opponent at the game that had a loss of Leonard (7–8)? Context: CREATE TABLE table_name_82 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_82 WHERE loss = "leonard (7–8)"</s> |
CREATE TABLE table_20010140_9 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_20010140_9 WHERE team = "Iowa" | For the game against Iowa, who had the most assists? | <s>[INST]For the game against Iowa, who had the most assists? Context: CREATE TABLE table_20010140_9 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT high_assists FROM table_20010140_9 WHERE team = "Iowa"</s> |
CREATE TABLE table_name_32 (nationality VARCHAR, lane VARCHAR, rank VARCHAR) | SELECT nationality FROM table_name_32 WHERE lane < 6 AND rank = 1 | What nationality has a lane less than 6, with 1 as the rank? | <s>[INST]What nationality has a lane less than 6, with 1 as the rank? Context: CREATE TABLE table_name_32 (nationality VARCHAR, lane VARCHAR, rank VARCHAR)[/INST]SELECT nationality FROM table_name_32 WHERE lane < 6 AND rank = 1</s> |
CREATE TABLE table_name_32 (points VARCHAR, goals VARCHAR, games VARCHAR) | SELECT points FROM table_name_32 WHERE goals = "79" AND games = "38" | How many points were scored by the player with 79 goals and who played 38 games? | <s>[INST]How many points were scored by the player with 79 goals and who played 38 games? Context: CREATE TABLE table_name_32 (points VARCHAR, goals VARCHAR, games VARCHAR)[/INST]SELECT points FROM table_name_32 WHERE goals = "79" AND games = "38"</s> |
CREATE TABLE table_name_78 (position VARCHAR, time VARCHAR) | SELECT position FROM table_name_78 WHERE time = "3:01.78" | What Position has a Time of 3:01.78? | <s>[INST]What Position has a Time of 3:01.78? Context: CREATE TABLE table_name_78 (position VARCHAR, time VARCHAR)[/INST]SELECT position FROM table_name_78 WHERE time = "3:01.78"</s> |
CREATE TABLE table_name_67 (pole_position VARCHAR, tyre VARCHAR) | SELECT pole_position FROM table_name_67 WHERE tyre = "f" | What individual(s) had Pole Position for Tyre F? | <s>[INST]What individual(s) had Pole Position for Tyre F? Context: CREATE TABLE table_name_67 (pole_position VARCHAR, tyre VARCHAR)[/INST]SELECT pole_position FROM table_name_67 WHERE tyre = "f"</s> |
CREATE TABLE film (Studio VARCHAR) | SELECT Studio FROM film GROUP BY Studio ORDER BY COUNT(*) DESC LIMIT 1 | List the name of film studio that have the most number of films. | <s>[INST]List the name of film studio that have the most number of films. Context: CREATE TABLE film (Studio VARCHAR)[/INST]SELECT Studio FROM film GROUP BY Studio ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE song (languages VARCHAR, rating INTEGER) | SELECT AVG(rating), languages FROM song GROUP BY languages | What is the average rating of songs for each language? | <s>[INST]What is the average rating of songs for each language? Context: CREATE TABLE song (languages VARCHAR, rating INTEGER)[/INST]SELECT AVG(rating), languages FROM song GROUP BY languages</s> |
CREATE TABLE table_name_47 (frequency VARCHAR, identifier VARCHAR) | SELECT frequency FROM table_name_47 WHERE identifier = "cbf-fm-9" | What's the frequency when the identifier is cbf-fm-9? | <s>[INST]What's the frequency when the identifier is cbf-fm-9? Context: CREATE TABLE table_name_47 (frequency VARCHAR, identifier VARCHAR)[/INST]SELECT frequency FROM table_name_47 WHERE identifier = "cbf-fm-9"</s> |
CREATE TABLE table_29471472_1 (season INTEGER, podiums VARCHAR) | SELECT MIN(season) FROM table_29471472_1 WHERE podiums = 7 | What season shows podium 7? | <s>[INST]What season shows podium 7? Context: CREATE TABLE table_29471472_1 (season INTEGER, podiums VARCHAR)[/INST]SELECT MIN(season) FROM table_29471472_1 WHERE podiums = 7</s> |
CREATE TABLE table_name_70 (points INTEGER, entrant VARCHAR, year VARCHAR) | SELECT SUM(points) FROM table_name_70 WHERE entrant = "alfa romeo spa" AND year < 1951 | What is the total points that an 1951 Entrant alfa romeo spa have? | <s>[INST]What is the total points that an 1951 Entrant alfa romeo spa have? Context: CREATE TABLE table_name_70 (points INTEGER, entrant VARCHAR, year VARCHAR)[/INST]SELECT SUM(points) FROM table_name_70 WHERE entrant = "alfa romeo spa" AND year < 1951</s> |
CREATE TABLE table_26758262_1 (judges_residence VARCHAR, municipalities_served VARCHAR) | SELECT judges_residence FROM table_26758262_1 WHERE municipalities_served = "Beacon Falls , Naugatuck , Middlebury , Prospect" | Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside? | <s>[INST]Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside? Context: CREATE TABLE table_26758262_1 (judges_residence VARCHAR, municipalities_served VARCHAR)[/INST]SELECT judges_residence FROM table_26758262_1 WHERE municipalities_served = "Beacon Falls , Naugatuck , Middlebury , Prospect"</s> |
CREATE TABLE Rooms (RoomId VARCHAR, roomName VARCHAR, basePrice VARCHAR) | SELECT RoomId, roomName FROM Rooms ORDER BY basePrice DESC LIMIT 3 | Find the name and id of the top 3 expensive rooms. | <s>[INST]Find the name and id of the top 3 expensive rooms. Context: CREATE TABLE Rooms (RoomId VARCHAR, roomName VARCHAR, basePrice VARCHAR)[/INST]SELECT RoomId, roomName FROM Rooms ORDER BY basePrice DESC LIMIT 3</s> |
CREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_name_86 WHERE incumbent = "joseph t. johnson" | Which party was joseph t. johnson in? | <s>[INST]Which party was joseph t. johnson in? Context: CREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_name_86 WHERE incumbent = "joseph t. johnson"</s> |
CREATE TABLE table_name_92 (nhl_team VARCHAR, round VARCHAR) | SELECT nhl_team FROM table_name_92 WHERE round = 10 | what is the nhl team for round 10? | <s>[INST]what is the nhl team for round 10? Context: CREATE TABLE table_name_92 (nhl_team VARCHAR, round VARCHAR)[/INST]SELECT nhl_team FROM table_name_92 WHERE round = 10</s> |
CREATE TABLE table_name_53 (record VARCHAR, event VARCHAR) | SELECT record FROM table_name_53 WHERE event = "1 km time trial" | what is the record when the event is 1 km time trial? | <s>[INST]what is the record when the event is 1 km time trial? Context: CREATE TABLE table_name_53 (record VARCHAR, event VARCHAR)[/INST]SELECT record FROM table_name_53 WHERE event = "1 km time trial"</s> |
CREATE TABLE table_name_17 (opponent VARCHAR, location VARCHAR) | SELECT opponent FROM table_name_17 WHERE location = "sec tournament" | Who did they play at sec tournament? | <s>[INST]Who did they play at sec tournament? Context: CREATE TABLE table_name_17 (opponent VARCHAR, location VARCHAR)[/INST]SELECT opponent FROM table_name_17 WHERE location = "sec tournament"</s> |
CREATE TABLE table_name_31 (rank INTEGER, name VARCHAR) | SELECT MIN(rank) FROM table_name_31 WHERE name = "paul biedermann" | What is the lowest rank that has paul biedermann as the name? | <s>[INST]What is the lowest rank that has paul biedermann as the name? Context: CREATE TABLE table_name_31 (rank INTEGER, name VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_31 WHERE name = "paul biedermann"</s> |
CREATE TABLE table_name_55 (authors VARCHAR, unit VARCHAR, name VARCHAR) | SELECT authors FROM table_name_55 WHERE unit = "clarno formation" AND name = "actinidia oregonensis" | What authors have clarno formation as the unit, actinidia oregonensis as the name? | <s>[INST]What authors have clarno formation as the unit, actinidia oregonensis as the name? Context: CREATE TABLE table_name_55 (authors VARCHAR, unit VARCHAR, name VARCHAR)[/INST]SELECT authors FROM table_name_55 WHERE unit = "clarno formation" AND name = "actinidia oregonensis"</s> |
CREATE TABLE trip (start_station_name VARCHAR, duration INTEGER) | SELECT DISTINCT start_station_name FROM trip WHERE duration < 100 | List all the distinct stations from which a trip of duration below 100 started. | <s>[INST]List all the distinct stations from which a trip of duration below 100 started. Context: CREATE TABLE trip (start_station_name VARCHAR, duration INTEGER)[/INST]SELECT DISTINCT start_station_name FROM trip WHERE duration < 100</s> |
CREATE TABLE table_name_65 (venue VARCHAR, third VARCHAR) | SELECT venue FROM table_name_65 WHERE third = "ben barker" | What was the venue when Ben Barker finished third? | <s>[INST]What was the venue when Ben Barker finished third? Context: CREATE TABLE table_name_65 (venue VARCHAR, third VARCHAR)[/INST]SELECT venue FROM table_name_65 WHERE third = "ben barker"</s> |
CREATE TABLE dorm (dorm_name VARCHAR, student_capacity VARCHAR) | SELECT dorm_name FROM dorm ORDER BY student_capacity DESC LIMIT 1 | Find the name of the dorm with the largest capacity. | <s>[INST]Find the name of the dorm with the largest capacity. Context: CREATE TABLE dorm (dorm_name VARCHAR, student_capacity VARCHAR)[/INST]SELECT dorm_name FROM dorm ORDER BY student_capacity DESC LIMIT 1</s> |
CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR) | SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 1 | what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1? | <s>[INST]what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1? Context: CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR)[/INST]SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 1</s> |
CREATE TABLE table_23018775_3 (pos VARCHAR, lap_two VARCHAR) | SELECT pos FROM table_23018775_3 WHERE lap_two = "22.7290" | Which positions have a lap two time of 22.7290? | <s>[INST]Which positions have a lap two time of 22.7290? Context: CREATE TABLE table_23018775_3 (pos VARCHAR, lap_two VARCHAR)[/INST]SELECT pos FROM table_23018775_3 WHERE lap_two = "22.7290"</s> |
CREATE TABLE table_name_63 (home VARCHAR, visitor VARCHAR) | SELECT home FROM table_name_63 WHERE visitor = "minnesota" | Who was the home team that played against the visiting team Minnesota? | <s>[INST]Who was the home team that played against the visiting team Minnesota? Context: CREATE TABLE table_name_63 (home VARCHAR, visitor VARCHAR)[/INST]SELECT home FROM table_name_63 WHERE visitor = "minnesota"</s> |
CREATE TABLE AIRPORTS (AirportName VARCHAR, AirportCode VARCHAR) | SELECT AirportName FROM AIRPORTS WHERE AirportCode = "AKO" | What is the airport name for airport 'AKO'? | <s>[INST]What is the airport name for airport 'AKO'? Context: CREATE TABLE AIRPORTS (AirportName VARCHAR, AirportCode VARCHAR)[/INST]SELECT AirportName FROM AIRPORTS WHERE AirportCode = "AKO"</s> |
CREATE TABLE table_name_77 (constructor VARCHAR, entrant VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_77 WHERE entrant = "officine alfieri maserati" AND driver = "sergio mantovani" | Who was the constructor of the officine alfieri maserati that was driven by Sergio Mantovani? | <s>[INST]Who was the constructor of the officine alfieri maserati that was driven by Sergio Mantovani? Context: CREATE TABLE table_name_77 (constructor VARCHAR, entrant VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_77 WHERE entrant = "officine alfieri maserati" AND driver = "sergio mantovani"</s> |
CREATE TABLE table_13537940_1 (launched VARCHAR, name VARCHAR) | SELECT launched FROM table_13537940_1 WHERE name = "Driade" | Which launch date involved the Driade? | <s>[INST]Which launch date involved the Driade? Context: CREATE TABLE table_13537940_1 (launched VARCHAR, name VARCHAR)[/INST]SELECT launched FROM table_13537940_1 WHERE name = "Driade"</s> |
CREATE TABLE table_24837750_1 (date_in_service VARCHAR, county VARCHAR) | SELECT date_in_service FROM table_24837750_1 WHERE county = "Musselshell" | When did the wind farm in Musselshell started service? | <s>[INST]When did the wind farm in Musselshell started service? Context: CREATE TABLE table_24837750_1 (date_in_service VARCHAR, county VARCHAR)[/INST]SELECT date_in_service FROM table_24837750_1 WHERE county = "Musselshell"</s> |
CREATE TABLE table_name_14 (pair VARCHAR, date VARCHAR, dance VARCHAR) | SELECT pair FROM table_name_14 WHERE date = "october 14, 2008" AND dance = "samba" | Who danced the Samba on October 14, 2008? | <s>[INST]Who danced the Samba on October 14, 2008? Context: CREATE TABLE table_name_14 (pair VARCHAR, date VARCHAR, dance VARCHAR)[/INST]SELECT pair FROM table_name_14 WHERE date = "october 14, 2008" AND dance = "samba"</s> |
CREATE TABLE table_name_97 (total INTEGER, silver VARCHAR, rank VARCHAR) | SELECT AVG(total) FROM table_name_97 WHERE silver = 2 AND rank > 7 | What is the average total number of medals for a nation with 2 silver medals and a rank larger than 7? | <s>[INST]What is the average total number of medals for a nation with 2 silver medals and a rank larger than 7? Context: CREATE TABLE table_name_97 (total INTEGER, silver VARCHAR, rank VARCHAR)[/INST]SELECT AVG(total) FROM table_name_97 WHERE silver = 2 AND rank > 7</s> |
CREATE TABLE table_name_74 (h_a_n VARCHAR, record VARCHAR) | SELECT h_a_n FROM table_name_74 WHERE record = "2-5" | What is H/A/N, when Record is 2-5? | <s>[INST]What is H/A/N, when Record is 2-5? Context: CREATE TABLE table_name_74 (h_a_n VARCHAR, record VARCHAR)[/INST]SELECT h_a_n FROM table_name_74 WHERE record = "2-5"</s> |
CREATE TABLE table_name_26 (tonnage VARCHAR, nationality VARCHAR, ship VARCHAR) | SELECT tonnage FROM table_name_26 WHERE nationality = "great britain" AND ship = "batna" | What was the tonnage of the Great Britain ship Batna? | <s>[INST]What was the tonnage of the Great Britain ship Batna? Context: CREATE TABLE table_name_26 (tonnage VARCHAR, nationality VARCHAR, ship VARCHAR)[/INST]SELECT tonnage FROM table_name_26 WHERE nationality = "great britain" AND ship = "batna"</s> |
CREATE TABLE table_10705060_1 (points VARCHAR, position VARCHAR) | SELECT COUNT(points) FROM table_10705060_1 WHERE position = "10th" | What is the total for 10th position? | <s>[INST]What is the total for 10th position? Context: CREATE TABLE table_10705060_1 (points VARCHAR, position VARCHAR)[/INST]SELECT COUNT(points) FROM table_10705060_1 WHERE position = "10th"</s> |
CREATE TABLE table_name_51 (attendance INTEGER, game_site VARCHAR, date VARCHAR) | SELECT MAX(attendance) FROM table_name_51 WHERE game_site = "memorial stadium" AND date = "december 12, 1965" | What is the largest attendance at Memorial Stadium on December 12, 1965? | <s>[INST]What is the largest attendance at Memorial Stadium on December 12, 1965? Context: CREATE TABLE table_name_51 (attendance INTEGER, game_site VARCHAR, date VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_51 WHERE game_site = "memorial stadium" AND date = "december 12, 1965"</s> |
CREATE TABLE table_name_58 (secondary_military_speciality VARCHAR, primary_military_speciality VARCHAR) | SELECT secondary_military_speciality FROM table_name_58 WHERE primary_military_speciality = "astral assault tactics" | With a Primary military speciality of astral assault tactics, what is the Secondary military speciality? | <s>[INST]With a Primary military speciality of astral assault tactics, what is the Secondary military speciality? Context: CREATE TABLE table_name_58 (secondary_military_speciality VARCHAR, primary_military_speciality VARCHAR)[/INST]SELECT secondary_military_speciality FROM table_name_58 WHERE primary_military_speciality = "astral assault tactics"</s> |
CREATE TABLE table_2226817_9 (production_code VARCHAR, written_by VARCHAR) | SELECT production_code FROM table_2226817_9 WHERE written_by = "Stacie Lipp" | What is the production code of the episode directed by Stacie Lipp? | <s>[INST]What is the production code of the episode directed by Stacie Lipp? Context: CREATE TABLE table_2226817_9 (production_code VARCHAR, written_by VARCHAR)[/INST]SELECT production_code FROM table_2226817_9 WHERE written_by = "Stacie Lipp"</s> |
CREATE TABLE table_name_42 (player VARCHAR, height VARCHAR, year_born VARCHAR) | SELECT player FROM table_name_42 WHERE height < 2.03 AND year_born = 1976 | What player was born in 1976 and is smaller than 2.03? | <s>[INST]What player was born in 1976 and is smaller than 2.03? Context: CREATE TABLE table_name_42 (player VARCHAR, height VARCHAR, year_born VARCHAR)[/INST]SELECT player FROM table_name_42 WHERE height < 2.03 AND year_born = 1976</s> |
CREATE TABLE table_name_11 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR) | SELECT quantity_preserved FROM table_name_11 WHERE fleet_number_s_ = "3000–3015" | What is the quantity preserved for fleet number(s) 3000–3015? | <s>[INST]What is the quantity preserved for fleet number(s) 3000–3015? Context: CREATE TABLE table_name_11 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR)[/INST]SELECT quantity_preserved FROM table_name_11 WHERE fleet_number_s_ = "3000–3015"</s> |
CREATE TABLE table_name_82 (rank INTEGER, u_17_goals VARCHAR, player VARCHAR) | SELECT MAX(rank) FROM table_name_82 WHERE u_17_goals = 7 AND player = "cesc fàbregas" | What is the highest Rank, when U-17 Goals is "7", and when Player is "Cesc Fàbregas"? | <s>[INST]What is the highest Rank, when U-17 Goals is "7", and when Player is "Cesc Fàbregas"? Context: CREATE TABLE table_name_82 (rank INTEGER, u_17_goals VARCHAR, player VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_82 WHERE u_17_goals = 7 AND player = "cesc fàbregas"</s> |
CREATE TABLE table_name_44 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_44 WHERE nationality = "united states" AND round < 12 | What league is from the United States and a round smaller than 12. | <s>[INST]What league is from the United States and a round smaller than 12. Context: CREATE TABLE table_name_44 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_44 WHERE nationality = "united states" AND round < 12</s> |
CREATE TABLE table_name_68 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_68 WHERE venue = "punt road oval" | What is the smallest crowd size for punt road oval? | <s>[INST]What is the smallest crowd size for punt road oval? Context: CREATE TABLE table_name_68 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_68 WHERE venue = "punt road oval"</s> |
CREATE TABLE table_16390576_3 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_16390576_3 WHERE production_code = "08-02-214" | what are the air dates for episodes with the production code 08-02-214 | <s>[INST]what are the air dates for episodes with the production code 08-02-214 Context: CREATE TABLE table_16390576_3 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_16390576_3 WHERE production_code = "08-02-214"</s> |
CREATE TABLE table_name_3 (grid INTEGER, manufacturer VARCHAR) | SELECT MIN(grid) FROM table_name_3 WHERE manufacturer = "yamaha" | What is the lowest grid number for Yamaha? | <s>[INST]What is the lowest grid number for Yamaha? Context: CREATE TABLE table_name_3 (grid INTEGER, manufacturer VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_3 WHERE manufacturer = "yamaha"</s> |
CREATE TABLE table_name_15 (engine VARCHAR, entrant VARCHAR, year VARCHAR, points VARCHAR) | SELECT engine FROM table_name_15 WHERE year < 1956 AND points < 4 AND entrant = "equipe simca gordini" | What engine was used by Equipe Simca Gordini before 1956 with less than 4 points? | <s>[INST]What engine was used by Equipe Simca Gordini before 1956 with less than 4 points? Context: CREATE TABLE table_name_15 (engine VARCHAR, entrant VARCHAR, year VARCHAR, points VARCHAR)[/INST]SELECT engine FROM table_name_15 WHERE year < 1956 AND points < 4 AND entrant = "equipe simca gordini"</s> |
CREATE TABLE table_name_35 (year VARCHAR, director VARCHAR) | SELECT year FROM table_name_35 WHERE director = "lee phillips" | When was Lee Phillips the director? | <s>[INST]When was Lee Phillips the director? Context: CREATE TABLE table_name_35 (year VARCHAR, director VARCHAR)[/INST]SELECT year FROM table_name_35 WHERE director = "lee phillips"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.