context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_39 (budget VARCHAR, month_ VARCHAR, _year VARCHAR) | SELECT budget FROM table_name_39 WHERE month_ & _year = "march 2013" | What was the Top Gear budget in March 2013? | <s>[INST]What was the Top Gear budget in March 2013? Context: CREATE TABLE table_name_39 (budget VARCHAR, month_ VARCHAR, _year VARCHAR)[/INST]SELECT budget FROM table_name_39 WHERE month_ & _year = "march 2013"</s> |
CREATE TABLE table_name_70 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT SUM(gold) FROM table_name_70 WHERE total > 2 AND bronze > 1 AND silver < 1 | What is the sum of Gold, when Total is greater than 2, when Bronze is greater than 1, and when Silver is less than 1? | <s>[INST]What is the sum of Gold, when Total is greater than 2, when Bronze is greater than 1, and when Silver is less than 1? Context: CREATE TABLE table_name_70 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_70 WHERE total > 2 AND bronze > 1 AND silver < 1</s> |
CREATE TABLE table_name_83 (school_club_team VARCHAR, pick VARCHAR) | SELECT school_club_team FROM table_name_83 WHERE pick = 46 | Which school of club team has a pick of 46? | <s>[INST]Which school of club team has a pick of 46? Context: CREATE TABLE table_name_83 (school_club_team VARCHAR, pick VARCHAR)[/INST]SELECT school_club_team FROM table_name_83 WHERE pick = 46</s> |
CREATE TABLE table_name_30 (_inches VARCHAR, skin_depth INTEGER, resistivity__10_β6_ohm_inches_ VARCHAR, relative_permeability VARCHAR) | SELECT SUM(skin_depth), _inches FROM table_name_30 WHERE resistivity__10_β6_ohm_inches_ = 1.12 AND relative_permeability > 1 | What is the sum of skin depth with a resistivity of 1.12 and a relative permeability larger than 1? | <s>[INST]What is the sum of skin depth with a resistivity of 1.12 and a relative permeability larger than 1? Context: CREATE TABLE table_name_30 (_inches VARCHAR, skin_depth INTEGER, resistivity__10_β6_ohm_inches_ VARCHAR, relative_permeability VARCHAR)[/INST]SELECT SUM(skin_depth), _inches FROM table_name_30 WHERE res... |
CREATE TABLE party (Party_Theme VARCHAR, LOCATION VARCHAR) | SELECT Party_Theme, LOCATION FROM party | What are the themes and locations of parties? | <s>[INST]What are the themes and locations of parties? Context: CREATE TABLE party (Party_Theme VARCHAR, LOCATION VARCHAR)[/INST]SELECT Party_Theme, LOCATION FROM party</s> |
CREATE TABLE table_name_76 (year INTEGER, actor VARCHAR) | SELECT MAX(year) FROM table_name_76 WHERE actor = "cicely tyson" | What is the latest year that Cicely Tyson is the Golden Globe Award actor? | <s>[INST]What is the latest year that Cicely Tyson is the Golden Globe Award actor? Context: CREATE TABLE table_name_76 (year INTEGER, actor VARCHAR)[/INST]SELECT MAX(year) FROM table_name_76 WHERE actor = "cicely tyson"</s> |
CREATE TABLE table_name_24 (manufacturer VARCHAR, year_withdrawn INTEGER) | SELECT manufacturer FROM table_name_24 WHERE year_withdrawn > 1932 | Who manufactured the vehicle withdrawn after 1932? | <s>[INST]Who manufactured the vehicle withdrawn after 1932? Context: CREATE TABLE table_name_24 (manufacturer VARCHAR, year_withdrawn INTEGER)[/INST]SELECT manufacturer FROM table_name_24 WHERE year_withdrawn > 1932</s> |
CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR, personal_name VARCHAR) | SELECT address_line_1 FROM Course_Authors_and_Tutors WHERE personal_name = "Cathrine" | What are the addresses of the course authors or tutors with personal name "Cathrine" | <s>[INST]What are the addresses of the course authors or tutors with personal name "Cathrine" Context: CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR, personal_name VARCHAR)[/INST]SELECT address_line_1 FROM Course_Authors_and_Tutors WHERE personal_name = "Cathrine"</s> |
CREATE TABLE table_name_39 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_39 WHERE venue = "arden street oval" | Tell me the most crowd for arden street oval venue | <s>[INST]Tell me the most crowd for arden street oval venue Context: CREATE TABLE table_name_39 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_39 WHERE venue = "arden street oval"</s> |
CREATE TABLE table_name_71 (change VARCHAR, share VARCHAR) | SELECT change FROM table_name_71 WHERE share = "2.9%" | Name the change with share of 2.9% | <s>[INST]Name the change with share of 2.9% Context: CREATE TABLE table_name_71 (change VARCHAR, share VARCHAR)[/INST]SELECT change FROM table_name_71 WHERE share = "2.9%"</s> |
CREATE TABLE table_name_51 (votes VARCHAR, notes VARCHAR) | SELECT votes FROM table_name_51 WHERE notes = "lost to incumbent vic gilliam" | How many votes were cast when the notes reported lost to incumbent vic gilliam? | <s>[INST]How many votes were cast when the notes reported lost to incumbent vic gilliam? Context: CREATE TABLE table_name_51 (votes VARCHAR, notes VARCHAR)[/INST]SELECT votes FROM table_name_51 WHERE notes = "lost to incumbent vic gilliam"</s> |
CREATE TABLE table_name_19 (gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT gold FROM table_name_19 WHERE bronze > 2 AND silver = 29 | How many gold medals were awarded to the team with more than 2 bronze and exactly 29 silver medals? | <s>[INST]How many gold medals were awarded to the team with more than 2 bronze and exactly 29 silver medals? Context: CREATE TABLE table_name_19 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT gold FROM table_name_19 WHERE bronze > 2 AND silver = 29</s> |
CREATE TABLE table_name_27 (enrollment VARCHAR, location VARCHAR) | SELECT COUNT(enrollment) FROM table_name_27 WHERE location = "rockville" | What is the enrollment number for Rockville? | <s>[INST]What is the enrollment number for Rockville? Context: CREATE TABLE table_name_27 (enrollment VARCHAR, location VARCHAR)[/INST]SELECT COUNT(enrollment) FROM table_name_27 WHERE location = "rockville"</s> |
CREATE TABLE table_name_98 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_98 WHERE game = "44" | Who was the opponent in Game 44? | <s>[INST]Who was the opponent in Game 44? Context: CREATE TABLE table_name_98 (opponent VARCHAR, game VARCHAR)[/INST]SELECT opponent FROM table_name_98 WHERE game = "44"</s> |
CREATE TABLE table_1206114_2 (netflow_version VARCHAR, vendor_and_type VARCHAR) | SELECT netflow_version FROM table_1206114_2 WHERE vendor_and_type = "PC and Servers" | What is the netflow version when vendor and type is pc and servers? | <s>[INST]What is the netflow version when vendor and type is pc and servers? Context: CREATE TABLE table_1206114_2 (netflow_version VARCHAR, vendor_and_type VARCHAR)[/INST]SELECT netflow_version FROM table_1206114_2 WHERE vendor_and_type = "PC and Servers"</s> |
CREATE TABLE EVENTS (event_id VARCHAR); CREATE TABLE Participants_in_Events (event_id VARCHAR) | SELECT COUNT(*) FROM EVENTS WHERE NOT event_id IN (SELECT event_id FROM Participants_in_Events) | How many events did not have any participants? | <s>[INST]How many events did not have any participants? Context: CREATE TABLE EVENTS (event_id VARCHAR); CREATE TABLE Participants_in_Events (event_id VARCHAR)[/INST]SELECT COUNT(*) FROM EVENTS WHERE NOT event_id IN (SELECT event_id FROM Participants_in_Events)</s> |
CREATE TABLE table_11677691_12 (player VARCHAR, school VARCHAR) | SELECT player FROM table_11677691_12 WHERE school = "Mission Viejo High school" | who are all the players for mission viejo high school | <s>[INST]who are all the players for mission viejo high school Context: CREATE TABLE table_11677691_12 (player VARCHAR, school VARCHAR)[/INST]SELECT player FROM table_11677691_12 WHERE school = "Mission Viejo High school"</s> |
CREATE TABLE table_name_23 (date VARCHAR, surface VARCHAR, score VARCHAR) | SELECT date FROM table_name_23 WHERE surface = "clay" AND score = "6β1, 6β4" | What day was the surface clay and the score 6β1, 6β4? | <s>[INST]What day was the surface clay and the score 6β1, 6β4? Context: CREATE TABLE table_name_23 (date VARCHAR, surface VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_23 WHERE surface = "clay" AND score = "6β1, 6β4"</s> |
CREATE TABLE table_name_87 (year_of_intro VARCHAR, name__designation VARCHAR, primary_cartridge VARCHAR, country_of_origin VARCHAR, type VARCHAR) | SELECT COUNT(year_of_intro) FROM table_name_87 WHERE country_of_origin = "soviet union" AND type = "reusable" AND primary_cartridge = "40mm" AND name__designation = "rpg-29" | What is the total number of Year of Intro(s), when Country of Origin is Soviet Union, when Type is Reusable, when Primary Cartridge is 40mm, and when Name/ Designation is RPG-29? | <s>[INST]What is the total number of Year of Intro(s), when Country of Origin is Soviet Union, when Type is Reusable, when Primary Cartridge is 40mm, and when Name/ Designation is RPG-29? Context: CREATE TABLE table_name_87 (year_of_intro VARCHAR, name__designation VARCHAR, primary_cartridge VARCHAR, country_of_origin ... |
CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR) | SELECT AVG(crowd) FROM table_name_1 WHERE venue = "victoria park" | What is the average crowd at victoria park? | <s>[INST]What is the average crowd at victoria park? Context: CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_1 WHERE venue = "victoria park"</s> |
CREATE TABLE table_name_81 (object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR) | SELECT object_type FROM table_name_81 WHERE ngc_number > 6995 AND right_ascension___j2000__ = "21h01m37.7s" | What Object Type has a 21h01m37.7s Right Ascension (J2000) and 6995 or greater NGC? | <s>[INST]What Object Type has a 21h01m37.7s Right Ascension (J2000) and 6995 or greater NGC? Context: CREATE TABLE table_name_81 (object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)[/INST]SELECT object_type FROM table_name_81 WHERE ngc_number > 6995 AND right_ascension___j2000__ = "21h01m37.7s"<... |
CREATE TABLE people (Birth_Place VARCHAR) | SELECT Birth_Place FROM people GROUP BY Birth_Place HAVING COUNT(*) >= 2 | What are the birth places that are shared by at least two people? | <s>[INST]What are the birth places that are shared by at least two people? Context: CREATE TABLE people (Birth_Place VARCHAR)[/INST]SELECT Birth_Place FROM people GROUP BY Birth_Place HAVING COUNT(*) >= 2</s> |
CREATE TABLE table_name_80 (ceremony VARCHAR, nominee VARCHAR) | SELECT ceremony FROM table_name_80 WHERE nominee = "harnam singh rawail" | In which ceremony was Harnam Singh Rawail nominated for an award? | <s>[INST]In which ceremony was Harnam Singh Rawail nominated for an award? Context: CREATE TABLE table_name_80 (ceremony VARCHAR, nominee VARCHAR)[/INST]SELECT ceremony FROM table_name_80 WHERE nominee = "harnam singh rawail"</s> |
CREATE TABLE table_name_81 (age_on_mission INTEGER, name VARCHAR) | SELECT MIN(age_on_mission) FROM table_name_81 WHERE name = "stu roosa" | What is the lowest age of an astronaut named Stu Roosa? | <s>[INST]What is the lowest age of an astronaut named Stu Roosa? Context: CREATE TABLE table_name_81 (age_on_mission INTEGER, name VARCHAR)[/INST]SELECT MIN(age_on_mission) FROM table_name_81 WHERE name = "stu roosa"</s> |
CREATE TABLE table_name_44 (home_team VARCHAR, crowd INTEGER) | SELECT home_team AS score FROM table_name_44 WHERE crowd > 25 OFFSET 603 | What is the home score with a crowd larger than 25,603? | <s>[INST]What is the home score with a crowd larger than 25,603? Context: CREATE TABLE table_name_44 (home_team VARCHAR, crowd INTEGER)[/INST]SELECT home_team AS score FROM table_name_44 WHERE crowd > 25 OFFSET 603</s> |
CREATE TABLE table_name_8 (lead VARCHAR, polling_firm VARCHAR, psoe VARCHAR) | SELECT lead FROM table_name_8 WHERE polling_firm = "election results" AND psoe = "39.6% 175" | What is lead for the Election Results polling firm and has a PSOE of 39.6% 175? | <s>[INST]What is lead for the Election Results polling firm and has a PSOE of 39.6% 175? Context: CREATE TABLE table_name_8 (lead VARCHAR, polling_firm VARCHAR, psoe VARCHAR)[/INST]SELECT lead FROM table_name_8 WHERE polling_firm = "election results" AND psoe = "39.6% 175"</s> |
CREATE TABLE table_name_49 (frequency VARCHAR, owner VARCHAR, branding VARCHAR) | SELECT frequency FROM table_name_49 WHERE owner = "canadian broadcasting corporation" AND branding = "cbc radio one" | What is the frequency of the station owned by the Canadian Broadcasting Corporation and branded as CBC Radio One? | <s>[INST]What is the frequency of the station owned by the Canadian Broadcasting Corporation and branded as CBC Radio One? Context: CREATE TABLE table_name_49 (frequency VARCHAR, owner VARCHAR, branding VARCHAR)[/INST]SELECT frequency FROM table_name_49 WHERE owner = "canadian broadcasting corporation" AND branding = "... |
CREATE TABLE table_name_59 (date_final VARCHAR, year VARCHAR) | SELECT date_final FROM table_name_59 WHERE year = "1982" | What date final has 1982 as the year? | <s>[INST]What date final has 1982 as the year? Context: CREATE TABLE table_name_59 (date_final VARCHAR, year VARCHAR)[/INST]SELECT date_final FROM table_name_59 WHERE year = "1982"</s> |
CREATE TABLE table_19886463_1 (round_winner VARCHAR, circuit VARCHAR) | SELECT round_winner FROM table_19886463_1 WHERE circuit = "Wanneroo Park" | Who is the round winner of the wanneroo park circuit? | <s>[INST]Who is the round winner of the wanneroo park circuit? Context: CREATE TABLE table_19886463_1 (round_winner VARCHAR, circuit VARCHAR)[/INST]SELECT round_winner FROM table_19886463_1 WHERE circuit = "Wanneroo Park"</s> |
CREATE TABLE table_name_91 (ceremony VARCHAR, date VARCHAR) | SELECT ceremony FROM table_name_91 WHERE date = "may 15, 1965" | Which award ceremony took place on May 15, 1965? | <s>[INST]Which award ceremony took place on May 15, 1965? Context: CREATE TABLE table_name_91 (ceremony VARCHAR, date VARCHAR)[/INST]SELECT ceremony FROM table_name_91 WHERE date = "may 15, 1965"</s> |
CREATE TABLE table_25352318_1 (poles INTEGER) | SELECT MIN(poles) FROM table_25352318_1 | What is the lowest overall amount of poles? | <s>[INST]What is the lowest overall amount of poles? Context: CREATE TABLE table_25352318_1 (poles INTEGER)[/INST]SELECT MIN(poles) FROM table_25352318_1</s> |
CREATE TABLE table_name_3 (location VARCHAR, lineup VARCHAR, date VARCHAR) | SELECT location FROM table_name_3 WHERE lineup = "start" AND date = "2008-06-17" | What is the location on 2008-06-17 when the lineup was start? | <s>[INST]What is the location on 2008-06-17 when the lineup was start? Context: CREATE TABLE table_name_3 (location VARCHAR, lineup VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_name_3 WHERE lineup = "start" AND date = "2008-06-17"</s> |
CREATE TABLE table_name_38 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_38 WHERE date = "may 28" | Who lost the game on May 28? | <s>[INST]Who lost the game on May 28? Context: CREATE TABLE table_name_38 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_38 WHERE date = "may 28"</s> |
CREATE TABLE table_name_35 (season VARCHAR, caps VARCHAR, club VARCHAR) | SELECT season FROM table_name_35 WHERE caps < 36 AND club = "nac breda" | Which season has Caps lower than 36 for the Club of NAC Breda? | <s>[INST]Which season has Caps lower than 36 for the Club of NAC Breda? Context: CREATE TABLE table_name_35 (season VARCHAR, caps VARCHAR, club VARCHAR)[/INST]SELECT season FROM table_name_35 WHERE caps < 36 AND club = "nac breda"</s> |
CREATE TABLE table_name_85 (home VARCHAR, visitor VARCHAR) | SELECT home FROM table_name_85 WHERE visitor = "lakers" | Who was the home team that played the Lakers? | <s>[INST]Who was the home team that played the Lakers? Context: CREATE TABLE table_name_85 (home VARCHAR, visitor VARCHAR)[/INST]SELECT home FROM table_name_85 WHERE visitor = "lakers"</s> |
CREATE TABLE table_name_17 (original_air_date INTEGER, dvd_region_2_release_date VARCHAR, number_of_episodes VARCHAR) | SELECT MAX(original_air_date) FROM table_name_17 WHERE dvd_region_2_release_date = "23 april 2012" AND number_of_episodes > 10 | What's the latest original air date with more than 10 episodes and a DVD Region 2 release date of 23 april 2012? | <s>[INST]What's the latest original air date with more than 10 episodes and a DVD Region 2 release date of 23 april 2012? Context: CREATE TABLE table_name_17 (original_air_date INTEGER, dvd_region_2_release_date VARCHAR, number_of_episodes VARCHAR)[/INST]SELECT MAX(original_air_date) FROM table_name_17 WHERE dvd_region... |
CREATE TABLE table_name_4 (primary_sponsor_s_ VARCHAR, owner_s_ VARCHAR) | SELECT primary_sponsor_s_ FROM table_name_4 WHERE owner_s_ = "randy humphrey" | What is the Primary Sponsor for the team owned by Randy Humphrey? | <s>[INST]What is the Primary Sponsor for the team owned by Randy Humphrey? Context: CREATE TABLE table_name_4 (primary_sponsor_s_ VARCHAR, owner_s_ VARCHAR)[/INST]SELECT primary_sponsor_s_ FROM table_name_4 WHERE owner_s_ = "randy humphrey"</s> |
CREATE TABLE table_15681686_4 (rank__timeslot_ VARCHAR, viewers__millions_ VARCHAR) | SELECT COUNT(rank__timeslot_) FROM table_15681686_4 WHERE viewers__millions_ = "9.38" | what is the total number of rank where viewers is 9.38? | <s>[INST]what is the total number of rank where viewers is 9.38? Context: CREATE TABLE table_15681686_4 (rank__timeslot_ VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT COUNT(rank__timeslot_) FROM table_15681686_4 WHERE viewers__millions_ = "9.38"</s> |
CREATE TABLE table_name_15 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_15 WHERE record = "3-0-2" | Who was the visitor that led to a 3-0-2 record? | <s>[INST]Who was the visitor that led to a 3-0-2 record? Context: CREATE TABLE table_name_15 (visitor VARCHAR, record VARCHAR)[/INST]SELECT visitor FROM table_name_15 WHERE record = "3-0-2"</s> |
CREATE TABLE table_name_54 (swimsuit VARCHAR, average VARCHAR, interview VARCHAR, evening_gown VARCHAR) | SELECT COUNT(swimsuit) FROM table_name_54 WHERE interview < 9.09 AND evening_gown < 8.21 AND average = 8.453 | Name the total number of swimsuits for evening gowns less than 8.21 and average of 8.453 with interview less than 9.09 | <s>[INST]Name the total number of swimsuits for evening gowns less than 8.21 and average of 8.453 with interview less than 9.09 Context: CREATE TABLE table_name_54 (swimsuit VARCHAR, average VARCHAR, interview VARCHAR, evening_gown VARCHAR)[/INST]SELECT COUNT(swimsuit) FROM table_name_54 WHERE interview < 9.09 AND even... |
CREATE TABLE table_name_84 (date VARCHAR, surface VARCHAR, location VARCHAR) | SELECT date FROM table_name_84 WHERE surface = "clay" AND location = "santos, brazil" | Name the date for clay surface and location of santos, brazil | <s>[INST]Name the date for clay surface and location of santos, brazil Context: CREATE TABLE table_name_84 (date VARCHAR, surface VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_84 WHERE surface = "clay" AND location = "santos, brazil"</s> |
CREATE TABLE table_name_74 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_74 WHERE result = "3β6, 6β2, 4β6" | What opponent has a result of 3β6, 6β2, 4β6? | <s>[INST]What opponent has a result of 3β6, 6β2, 4β6? Context: CREATE TABLE table_name_74 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_74 WHERE result = "3β6, 6β2, 4β6"</s> |
CREATE TABLE table_2169966_1 (wins INTEGER) | SELECT MAX(wins) FROM table_2169966_1 | How many wins does he have? | <s>[INST]How many wins does he have? Context: CREATE TABLE table_2169966_1 (wins INTEGER)[/INST]SELECT MAX(wins) FROM table_2169966_1</s> |
CREATE TABLE table_name_91 (name VARCHAR, home_town VARCHAR) | SELECT name FROM table_name_91 WHERE home_town = "charlotte, nc" | What is the Name of the Player from Charlotte, NC? | <s>[INST]What is the Name of the Player from Charlotte, NC? Context: CREATE TABLE table_name_91 (name VARCHAR, home_town VARCHAR)[/INST]SELECT name FROM table_name_91 WHERE home_town = "charlotte, nc"</s> |
CREATE TABLE table_2012187_1 (team_s_ VARCHAR, winnings VARCHAR) | SELECT team_s_ FROM table_2012187_1 WHERE winnings = "$2,605,05" | which team(s) won $2,605,05 | <s>[INST]which team(s) won $2,605,05 Context: CREATE TABLE table_2012187_1 (team_s_ VARCHAR, winnings VARCHAR)[/INST]SELECT team_s_ FROM table_2012187_1 WHERE winnings = "$2,605,05"</s> |
CREATE TABLE table_name_80 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_80 WHERE home_team = "geelong" | When the home team was geelong, who played as the away team? | <s>[INST]When the home team was geelong, who played as the away team? Context: CREATE TABLE table_name_80 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_80 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR) | SELECT SUM(crowd) FROM table_name_8 WHERE away_team = "richmond" | How many spectators were at the game where Richmond was the away team? | <s>[INST]How many spectators were at the game where Richmond was the away team? Context: CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_8 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_2 (losses INTEGER, golden_rivers VARCHAR) | SELECT AVG(losses) FROM table_name_2 WHERE golden_rivers = "hay" | How many losses did the Golden rivers of hay have? | <s>[INST]How many losses did the Golden rivers of hay have? Context: CREATE TABLE table_name_2 (losses INTEGER, golden_rivers VARCHAR)[/INST]SELECT AVG(losses) FROM table_name_2 WHERE golden_rivers = "hay"</s> |
CREATE TABLE table_name_60 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_60 WHERE home_team = "st kilda" | What was the score for the home team St Kilda? | <s>[INST]What was the score for the home team St Kilda? Context: CREATE TABLE table_name_60 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_60 WHERE home_team = "st kilda"</s> |
CREATE TABLE table_name_40 (election VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR) | SELECT election FROM table_name_40 WHERE second_member = "charles robert colvile" AND first_party = "conservative" AND first_member = "william mundy" | Which election has second member Charles Robert Colvile, a conservative first party, and first member William Mundy? | <s>[INST]Which election has second member Charles Robert Colvile, a conservative first party, and first member William Mundy? Context: CREATE TABLE table_name_40 (election VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR)[/INST]SELECT election FROM table_name_40 WHERE second_member = "charles r... |
CREATE TABLE table_name_5 (sanction VARCHAR, location VARCHAR) | SELECT sanction FROM table_name_5 WHERE location = "nashville, illinois" | What was the sanction of the event at Nashville, Illinois? | <s>[INST]What was the sanction of the event at Nashville, Illinois? Context: CREATE TABLE table_name_5 (sanction VARCHAR, location VARCHAR)[/INST]SELECT sanction FROM table_name_5 WHERE location = "nashville, illinois"</s> |
CREATE TABLE table_23097214_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_23097214_1 WHERE directed_by = "Ken Whittingham" | Who wrote the episode directed by Ken Whittingham? | <s>[INST]Who wrote the episode directed by Ken Whittingham? Context: CREATE TABLE table_23097214_1 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT written_by FROM table_23097214_1 WHERE directed_by = "Ken Whittingham"</s> |
CREATE TABLE table_name_80 (crowd VARCHAR, away_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_80 WHERE away_team = "footscray" | What was the attendance when Footscray played as the away team? | <s>[INST]What was the attendance when Footscray played as the away team? Context: CREATE TABLE table_name_80 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_80 WHERE away_team = "footscray"</s> |
CREATE TABLE table_name_14 (week INTEGER, date VARCHAR) | SELECT MIN(week) FROM table_name_14 WHERE date = "november 28, 1982" | What is the week for November 28, 1982? | <s>[INST]What is the week for November 28, 1982? Context: CREATE TABLE table_name_14 (week INTEGER, date VARCHAR)[/INST]SELECT MIN(week) FROM table_name_14 WHERE date = "november 28, 1982"</s> |
CREATE TABLE table_name_33 (tujunga VARCHAR, la_crescenta__montrose VARCHAR) | SELECT tujunga FROM table_name_33 WHERE la_crescenta__montrose = "28%" | What is the percentage of Tukunga when La Crescenta-Montrose is 28%? | <s>[INST]What is the percentage of Tukunga when La Crescenta-Montrose is 28%? Context: CREATE TABLE table_name_33 (tujunga VARCHAR, la_crescenta__montrose VARCHAR)[/INST]SELECT tujunga FROM table_name_33 WHERE la_crescenta__montrose = "28%"</s> |
CREATE TABLE table_name_43 (authority VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT authority FROM table_name_43 WHERE decile < 6 AND roll < 65 | tell me the authority that has a decile less than 6 and roll less than 65. | <s>[INST]tell me the authority that has a decile less than 6 and roll less than 65. Context: CREATE TABLE table_name_43 (authority VARCHAR, decile VARCHAR, roll VARCHAR)[/INST]SELECT authority FROM table_name_43 WHERE decile < 6 AND roll < 65</s> |
CREATE TABLE table_2001348_1 (closure_for_signature VARCHAR, field VARCHAR) | SELECT COUNT(closure_for_signature) FROM table_2001348_1 WHERE field = "Sea (revised)" | How many inputs are there in the 'closure for signature' tab under the field 'sea (revised)'? | <s>[INST]How many inputs are there in the 'closure for signature' tab under the field 'sea (revised)'? Context: CREATE TABLE table_2001348_1 (closure_for_signature VARCHAR, field VARCHAR)[/INST]SELECT COUNT(closure_for_signature) FROM table_2001348_1 WHERE field = "Sea (revised)"</s> |
CREATE TABLE table_20693870_1 (others_number INTEGER, county VARCHAR) | SELECT MIN(others_number) FROM table_20693870_1 WHERE county = "Columbia" | What was the number of others votes in Columbia county? | <s>[INST]What was the number of others votes in Columbia county? Context: CREATE TABLE table_20693870_1 (others_number INTEGER, county VARCHAR)[/INST]SELECT MIN(others_number) FROM table_20693870_1 WHERE county = "Columbia"</s> |
CREATE TABLE table_name_21 (type VARCHAR, company VARCHAR) | SELECT type FROM table_name_21 WHERE company = "epcor" | Which Type has a Company of epcor? | <s>[INST]Which Type has a Company of epcor? Context: CREATE TABLE table_name_21 (type VARCHAR, company VARCHAR)[/INST]SELECT type FROM table_name_21 WHERE company = "epcor"</s> |
CREATE TABLE table_name_23 (rank INTEGER, country VARCHAR) | SELECT MIN(rank) FROM table_name_23 WHERE country = "new zealand" | What is the smallest rank for new zealand? | <s>[INST]What is the smallest rank for new zealand? Context: CREATE TABLE table_name_23 (rank INTEGER, country VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_23 WHERE country = "new zealand"</s> |
CREATE TABLE table_name_61 (name VARCHAR, year VARCHAR, floors VARCHAR) | SELECT name FROM table_name_61 WHERE year < 1954 AND floors > 15 | What is the name before 1954 with more than 15 floors? | <s>[INST]What is the name before 1954 with more than 15 floors? Context: CREATE TABLE table_name_61 (name VARCHAR, year VARCHAR, floors VARCHAR)[/INST]SELECT name FROM table_name_61 WHERE year < 1954 AND floors > 15</s> |
CREATE TABLE table_name_15 (year INTEGER, entrant VARCHAR) | SELECT SUM(year) FROM table_name_15 WHERE entrant = "bmw motorsport" | What year shows the Entrant of bmw motorsport? | <s>[INST]What year shows the Entrant of bmw motorsport? Context: CREATE TABLE table_name_15 (year INTEGER, entrant VARCHAR)[/INST]SELECT SUM(year) FROM table_name_15 WHERE entrant = "bmw motorsport"</s> |
CREATE TABLE table_name_52 (year INTEGER, league VARCHAR) | SELECT MIN(year) FROM table_name_52 WHERE league = "usisl pro league" | What was the earliest year for the USISL Pro League? | <s>[INST]What was the earliest year for the USISL Pro League? Context: CREATE TABLE table_name_52 (year INTEGER, league VARCHAR)[/INST]SELECT MIN(year) FROM table_name_52 WHERE league = "usisl pro league"</s> |
CREATE TABLE table_name_27 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_27 WHERE venue = "punt road oval" | What is the away team's score at punt road oval? | <s>[INST]What is the away team's score at punt road oval? Context: CREATE TABLE table_name_27 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_27 WHERE venue = "punt road oval"</s> |
CREATE TABLE table_16432167_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_16432167_1 WHERE production_code = "942A" | Who wrote the episode with the production code of 942A? | <s>[INST]Who wrote the episode with the production code of 942A? Context: CREATE TABLE table_16432167_1 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_16432167_1 WHERE production_code = "942A"</s> |
CREATE TABLE table_name_42 (points INTEGER, attendance VARCHAR) | SELECT AVG(points) FROM table_name_42 WHERE attendance = 3 OFFSET 806 | Can you tell me the average Points that has the Attendance of 3,806? | <s>[INST]Can you tell me the average Points that has the Attendance of 3,806? Context: CREATE TABLE table_name_42 (points INTEGER, attendance VARCHAR)[/INST]SELECT AVG(points) FROM table_name_42 WHERE attendance = 3 OFFSET 806</s> |
CREATE TABLE table_1876825_6 (no_in_season VARCHAR, production_code VARCHAR) | SELECT COUNT(no_in_season) FROM table_1876825_6 WHERE production_code = "06-03-519" | In season 5 what episode number was production 06-03-519? | <s>[INST]In season 5 what episode number was production 06-03-519? Context: CREATE TABLE table_1876825_6 (no_in_season VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(no_in_season) FROM table_1876825_6 WHERE production_code = "06-03-519"</s> |
CREATE TABLE table_name_91 (year INTEGER, rank INTEGER) | SELECT AVG(year) FROM table_name_91 WHERE rank < 3 | What's the average year with a rank less than 3? | <s>[INST]What's the average year with a rank less than 3? Context: CREATE TABLE table_name_91 (year INTEGER, rank INTEGER)[/INST]SELECT AVG(year) FROM table_name_91 WHERE rank < 3</s> |
CREATE TABLE table_name_61 (pick__number VARCHAR, team_from VARCHAR, league_from VARCHAR, nationality VARCHAR) | SELECT COUNT(pick__number) FROM table_name_61 WHERE league_from = "ontario hockey league" AND nationality = "united states" AND team_from = "brampton battalion" | Which Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion? | <s>[INST]Which Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion? Context: CREATE TABLE table_name_61 (pick__number VARCHAR, team_from VARCHAR, league_from VARCHAR, nationality VARCHAR)[/INST]SELECT COUNT(pick__number) FROM table_name_61 WHERE leagu... |
CREATE TABLE table_15467476_3 (losing_bonus VARCHAR, points_difference VARCHAR) | SELECT losing_bonus FROM table_15467476_3 WHERE points_difference = "-99" | What is the losing bonus for the team with a point difference of -99? | <s>[INST]What is the losing bonus for the team with a point difference of -99? Context: CREATE TABLE table_15467476_3 (losing_bonus VARCHAR, points_difference VARCHAR)[/INST]SELECT losing_bonus FROM table_15467476_3 WHERE points_difference = "-99"</s> |
CREATE TABLE table_name_38 (playoffs VARCHAR, reg_season VARCHAR) | SELECT playoffs FROM table_name_38 WHERE reg_season = "4th, central" | What was the Rampage's result in the playoffs in the year that their regular season resulted in 4th, central? | <s>[INST]What was the Rampage's result in the playoffs in the year that their regular season resulted in 4th, central? Context: CREATE TABLE table_name_38 (playoffs VARCHAR, reg_season VARCHAR)[/INST]SELECT playoffs FROM table_name_38 WHERE reg_season = "4th, central"</s> |
CREATE TABLE table_name_18 (automobile_name VARCHAR, year VARCHAR) | SELECT automobile_name FROM table_name_18 WHERE year = "1956-1958" | What is the name of the car that was made in the years 1956-1958? | <s>[INST]What is the name of the car that was made in the years 1956-1958? Context: CREATE TABLE table_name_18 (automobile_name VARCHAR, year VARCHAR)[/INST]SELECT automobile_name FROM table_name_18 WHERE year = "1956-1958"</s> |
CREATE TABLE player (School_ID VARCHAR); CREATE TABLE school (Location VARCHAR, School_ID VARCHAR) | SELECT T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID = T2.School_ID GROUP BY T1.School_ID HAVING COUNT(*) > 1 | Show the locations of schools that have more than 1 player. | <s>[INST]Show the locations of schools that have more than 1 player. Context: CREATE TABLE player (School_ID VARCHAR); CREATE TABLE school (Location VARCHAR, School_ID VARCHAR)[/INST]SELECT T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID = T2.School_ID GROUP BY T1.School_ID HAVING COUNT(*) > 1</s> |
CREATE TABLE table_name_96 (icao VARCHAR, city VARCHAR) | SELECT icao FROM table_name_96 WHERE city = "manchester" | Which ICAO's city is Manchester? | <s>[INST]Which ICAO's city is Manchester? Context: CREATE TABLE table_name_96 (icao VARCHAR, city VARCHAR)[/INST]SELECT icao FROM table_name_96 WHERE city = "manchester"</s> |
CREATE TABLE table_name_10 (comp_att VARCHAR, avg_g VARCHAR) | SELECT comp_att FROM table_name_10 WHERE avg_g = "36.5" | What is the completion/attempts value for the year with an average per game of 36.5? | <s>[INST]What is the completion/attempts value for the year with an average per game of 36.5? Context: CREATE TABLE table_name_10 (comp_att VARCHAR, avg_g VARCHAR)[/INST]SELECT comp_att FROM table_name_10 WHERE avg_g = "36.5"</s> |
CREATE TABLE table_1992924_3 (spokesperson VARCHAR, commentator VARCHAR) | SELECT spokesperson FROM table_1992924_3 WHERE commentator = "Dmitriy Guberniyev" | state all the spokesperson for the channel where commentator is dmitriy guberniyev | <s>[INST]state all the spokesperson for the channel where commentator is dmitriy guberniyev Context: CREATE TABLE table_1992924_3 (spokesperson VARCHAR, commentator VARCHAR)[/INST]SELECT spokesperson FROM table_1992924_3 WHERE commentator = "Dmitriy Guberniyev"</s> |
CREATE TABLE table_23145653_1 (games_w_l VARCHAR, player VARCHAR) | SELECT games_w_l FROM table_23145653_1 WHERE player = "Cliff Richey" | Name the games w-1 for cliff richey | <s>[INST]Name the games w-1 for cliff richey Context: CREATE TABLE table_23145653_1 (games_w_l VARCHAR, player VARCHAR)[/INST]SELECT games_w_l FROM table_23145653_1 WHERE player = "Cliff Richey"</s> |
CREATE TABLE table_name_96 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR) | SELECT COUNT(wins) FROM table_name_96 WHERE ballarat_fl = "darley" AND against > 1055 | What is the total number of wins for Darley of Ballarat FL against larger than 1055? | <s>[INST]What is the total number of wins for Darley of Ballarat FL against larger than 1055? Context: CREATE TABLE table_name_96 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_96 WHERE ballarat_fl = "darley" AND against > 1055</s> |
CREATE TABLE table_name_21 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_21 WHERE home_team = "hawthorn" | What did Hawthorn score as the home team? | <s>[INST]What did Hawthorn score as the home team? Context: CREATE TABLE table_name_21 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_21 WHERE home_team = "hawthorn"</s> |
CREATE TABLE table_name_72 (year INTEGER, round_1 VARCHAR, money__$_ VARCHAR) | SELECT MAX(year) FROM table_name_72 WHERE round_1 = "70" AND money__$_ > 500 OFFSET 000 | Round 1 of 70, and a Money ($) larger than 500,000 has the highest year? | <s>[INST]Round 1 of 70, and a Money ($) larger than 500,000 has the highest year? Context: CREATE TABLE table_name_72 (year INTEGER, round_1 VARCHAR, money__$_ VARCHAR)[/INST]SELECT MAX(year) FROM table_name_72 WHERE round_1 = "70" AND money__$_ > 500 OFFSET 000</s> |
CREATE TABLE table_19852975_4 (series__number VARCHAR, writer_s_ VARCHAR) | SELECT COUNT(series__number) FROM table_19852975_4 WHERE writer_s_ = "Max Ehrlich" | From writer Max Ehrlich, what is the total amount of series numbers? | <s>[INST]From writer Max Ehrlich, what is the total amount of series numbers? Context: CREATE TABLE table_19852975_4 (series__number VARCHAR, writer_s_ VARCHAR)[/INST]SELECT COUNT(series__number) FROM table_19852975_4 WHERE writer_s_ = "Max Ehrlich"</s> |
CREATE TABLE table_22597626_17 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR) | SELECT score_in_the_final FROM table_22597626_17 WHERE opponents_in_the_final = "Fitzgerald Vilas" | What was the score in the final where one of the opponents in the final was fitzgerald vilas? | <s>[INST]What was the score in the final where one of the opponents in the final was fitzgerald vilas? Context: CREATE TABLE table_22597626_17 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT score_in_the_final FROM table_22597626_17 WHERE opponents_in_the_final = "Fitzgerald Vilas"</s> |
CREATE TABLE table_18305523_2 (story_title VARCHAR, artist_s VARCHAR) | SELECT story_title FROM table_18305523_2 WHERE artist_s = "Barry Kitson and Farmer" | What is the title of the issue where the art was done by Barry Kitson and Farmer? | <s>[INST]What is the title of the issue where the art was done by Barry Kitson and Farmer? Context: CREATE TABLE table_18305523_2 (story_title VARCHAR, artist_s VARCHAR)[/INST]SELECT story_title FROM table_18305523_2 WHERE artist_s = "Barry Kitson and Farmer"</s> |
CREATE TABLE table_name_43 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_43 WHERE date = "25 march 2001" | Tell me the competition for 25 march 2001 | <s>[INST]Tell me the competition for 25 march 2001 Context: CREATE TABLE table_name_43 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_43 WHERE date = "25 march 2001"</s> |
CREATE TABLE table_27303975_2 (catalog_number VARCHAR, title VARCHAR) | SELECT catalog_number FROM table_27303975_2 WHERE title = "AM/PM Callanetics" | Name the catalog number for am/pm callanetics | <s>[INST]Name the catalog number for am/pm callanetics Context: CREATE TABLE table_27303975_2 (catalog_number VARCHAR, title VARCHAR)[/INST]SELECT catalog_number FROM table_27303975_2 WHERE title = "AM/PM Callanetics"</s> |
CREATE TABLE table_27756314_10 (date VARCHAR, high_points VARCHAR) | SELECT date FROM table_27756314_10 WHERE high_points = "Michael Beasley , Martell Webster (16)" | What is the date when the high points is michael beasley , martell webster (16)? | <s>[INST]What is the date when the high points is michael beasley , martell webster (16)? Context: CREATE TABLE table_27756314_10 (date VARCHAR, high_points VARCHAR)[/INST]SELECT date FROM table_27756314_10 WHERE high_points = "Michael Beasley , Martell Webster (16)"</s> |
CREATE TABLE table_name_53 (type VARCHAR, principal_activities VARCHAR) | SELECT type FROM table_name_53 WHERE principal_activities = "headquarters" | Name the type for headquarters principal activites. | <s>[INST]Name the type for headquarters principal activites. Context: CREATE TABLE table_name_53 (type VARCHAR, principal_activities VARCHAR)[/INST]SELECT type FROM table_name_53 WHERE principal_activities = "headquarters"</s> |
CREATE TABLE table_name_52 (home VARCHAR, geust VARCHAR) | SELECT home FROM table_name_52 WHERE geust = "fc st. gallen (asl)" | What is the home of fc st. gallen (asl) geust? | <s>[INST]What is the home of fc st. gallen (asl) geust? Context: CREATE TABLE table_name_52 (home VARCHAR, geust VARCHAR)[/INST]SELECT home FROM table_name_52 WHERE geust = "fc st. gallen (asl)"</s> |
CREATE TABLE table_name_50 (date VARCHAR, score VARCHAR, record VARCHAR) | SELECT date FROM table_name_50 WHERE score = "2β7" AND record = "5β8β2" | Which Date has a Score of 2β7, and a Record of 5β8β2? | <s>[INST]Which Date has a Score of 2β7, and a Record of 5β8β2? Context: CREATE TABLE table_name_50 (date VARCHAR, score VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_50 WHERE score = "2β7" AND record = "5β8β2"</s> |
CREATE TABLE table_16494599_1 (nationality VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_16494599_1 WHERE school_club_team = "South Florida" | What nationality is the player who went to school at South Florida? | <s>[INST]What nationality is the player who went to school at South Florida? Context: CREATE TABLE table_16494599_1 (nationality VARCHAR, school_club_team VARCHAR)[/INST]SELECT nationality FROM table_16494599_1 WHERE school_club_team = "South Florida"</s> |
CREATE TABLE table_24574438_1 (sinhalese INTEGER, ds_division VARCHAR) | SELECT MAX(sinhalese) FROM table_24574438_1 WHERE ds_division = "Manthai West" | Name the sinhalese for manthai west | <s>[INST]Name the sinhalese for manthai west Context: CREATE TABLE table_24574438_1 (sinhalese INTEGER, ds_division VARCHAR)[/INST]SELECT MAX(sinhalese) FROM table_24574438_1 WHERE ds_division = "Manthai West"</s> |
CREATE TABLE table_name_44 (proto_oceanic VARCHAR, verb VARCHAR) | SELECT proto_oceanic FROM table_name_44 WHERE verb = "to die, be dead" | What is the Proto-Oceanic verb for to die, be dead? | <s>[INST]What is the Proto-Oceanic verb for to die, be dead? Context: CREATE TABLE table_name_44 (proto_oceanic VARCHAR, verb VARCHAR)[/INST]SELECT proto_oceanic FROM table_name_44 WHERE verb = "to die, be dead"</s> |
CREATE TABLE table_name_25 (total INTEGER, nation VARCHAR) | SELECT SUM(total) FROM table_name_25 WHERE nation = "switzerland" | What is the sum of all total values for Switzerland? | <s>[INST]What is the sum of all total values for Switzerland? Context: CREATE TABLE table_name_25 (total INTEGER, nation VARCHAR)[/INST]SELECT SUM(total) FROM table_name_25 WHERE nation = "switzerland"</s> |
CREATE TABLE table_name_43 (district VARCHAR, constituency_number VARCHAR) | SELECT district FROM table_name_43 WHERE constituency_number = "22" | Which District is Constituency number 22? | <s>[INST]Which District is Constituency number 22? Context: CREATE TABLE table_name_43 (district VARCHAR, constituency_number VARCHAR)[/INST]SELECT district FROM table_name_43 WHERE constituency_number = "22"</s> |
CREATE TABLE table_name_56 (primary_conference VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR) | SELECT primary_conference FROM table_name_56 WHERE ihsaa_football_class = "a" AND school = "south decatur" | What is the primary conference with a IHSAA Football Class of A, at South Decatur school? | <s>[INST]What is the primary conference with a IHSAA Football Class of A, at South Decatur school? Context: CREATE TABLE table_name_56 (primary_conference VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)[/INST]SELECT primary_conference FROM table_name_56 WHERE ihsaa_football_class = "a" AND school = "south decatu... |
CREATE TABLE table_name_27 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR) | SELECT driver FROM table_name_27 WHERE chassis = "t45 t44" AND rounds = "7" | What was the driver with chassis of t45 t44 and rounds of 7? | <s>[INST]What was the driver with chassis of t45 t44 and rounds of 7? Context: CREATE TABLE table_name_27 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)[/INST]SELECT driver FROM table_name_27 WHERE chassis = "t45 t44" AND rounds = "7"</s> |
CREATE TABLE table_30062172_3 (gt4_winner VARCHAR, circuit VARCHAR, gt3_winner VARCHAR) | SELECT gt4_winner FROM table_30062172_3 WHERE circuit = "Donington Park" AND gt3_winner = "Charles Bateman Michael Lyons" | When charles bateman michael lyons is the gt3 winner and donington park is the circuit who is the gt4 winner? | <s>[INST]When charles bateman michael lyons is the gt3 winner and donington park is the circuit who is the gt4 winner? Context: CREATE TABLE table_30062172_3 (gt4_winner VARCHAR, circuit VARCHAR, gt3_winner VARCHAR)[/INST]SELECT gt4_winner FROM table_30062172_3 WHERE circuit = "Donington Park" AND gt3_winner = "Charles... |
CREATE TABLE table_name_18 (appearances VARCHAR, position_ VARCHAR, f_ VARCHAR, date_to_ VARCHAR, h_ VARCHAR) | SELECT appearances FROM table_name_18 WHERE position_[f_] = "defender" AND date_to_[h_] = "1938" | What is Appearances, when Postion [F ] is "Defender", and when Date to [H ] is "1938"? | <s>[INST]What is Appearances, when Postion [F ] is "Defender", and when Date to [H ] is "1938"? Context: CREATE TABLE table_name_18 (appearances VARCHAR, position_ VARCHAR, f_ VARCHAR, date_to_ VARCHAR, h_ VARCHAR)[/INST]SELECT appearances FROM table_name_18 WHERE position_[f_] = "defender" AND date_to_[h_] = "1938"</s... |
CREATE TABLE table_name_54 (pole_position VARCHAR, grand_prix VARCHAR) | SELECT pole_position FROM table_name_54 WHERE grand_prix = "portuguese grand prix" | What is the pole position of the Portuguese Grand Prix? | <s>[INST]What is the pole position of the Portuguese Grand Prix? Context: CREATE TABLE table_name_54 (pole_position VARCHAR, grand_prix VARCHAR)[/INST]SELECT pole_position FROM table_name_54 WHERE grand_prix = "portuguese grand prix"</s> |
CREATE TABLE table_24915964_4 (minutes INTEGER, player VARCHAR) | SELECT MIN(minutes) FROM table_24915964_4 WHERE player = "Sue Bird" | How many minutes were played by Sue Bird? | <s>[INST]How many minutes were played by Sue Bird? Context: CREATE TABLE table_24915964_4 (minutes INTEGER, player VARCHAR)[/INST]SELECT MIN(minutes) FROM table_24915964_4 WHERE player = "Sue Bird"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.