context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_1057316_1 (wheel_arrangement___whyte_notation__ VARCHAR, disposition VARCHAR) | SELECT wheel_arrangement___whyte_notation__ FROM table_1057316_1 WHERE disposition = "Riverdale, Georgia" | What is the wheel arrangement for the train in Riverdale, Georgia? | <s>[INST]What is the wheel arrangement for the train in Riverdale, Georgia? Context: CREATE TABLE table_1057316_1 (wheel_arrangement___whyte_notation__ VARCHAR, disposition VARCHAR)[/INST]SELECT wheel_arrangement___whyte_notation__ FROM table_1057316_1 WHERE disposition = "Riverdale, Georgia"</s> |
CREATE TABLE table_1342249_35 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1342249_35 WHERE district = "Ohio 18" | What is the first electedfor district ohio 18 | <s>[INST]What is the first electedfor district ohio 18 Context: CREATE TABLE table_1342249_35 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT first_elected FROM table_1342249_35 WHERE district = "Ohio 18"</s> |
CREATE TABLE table_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR) | SELECT performance_order FROM table_26267849_11 WHERE percentage_of_votes = "2.15%" | Name the performance order for 2.15% | <s>[INST]Name the performance order for 2.15% Context: CREATE TABLE table_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR)[/INST]SELECT performance_order FROM table_26267849_11 WHERE percentage_of_votes = "2.15%"</s> |
CREATE TABLE table_10953197_4 (title VARCHAR, production_code VARCHAR) | SELECT COUNT(title) FROM table_10953197_4 WHERE production_code = "2395113A" | What's the total number of episodes with the production code 2395113A? | <s>[INST]What's the total number of episodes with the production code 2395113A? Context: CREATE TABLE table_10953197_4 (title VARCHAR, production_code VARCHAR)[/INST]SELECT COUNT(title) FROM table_10953197_4 WHERE production_code = "2395113A"</s> |
CREATE TABLE table_name_17 (attendance INTEGER, date VARCHAR, points VARCHAR) | SELECT MAX(attendance) FROM table_name_17 WHERE date = "february 7, 2009" AND points > 49 | What was the highest attendance of February 7, 2009 and more than 49 points? | <s>[INST]What was the highest attendance of February 7, 2009 and more than 49 points? Context: CREATE TABLE table_name_17 (attendance INTEGER, date VARCHAR, points VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_17 WHERE date = "february 7, 2009" AND points > 49</s> |
CREATE TABLE table_name_46 (car_no VARCHAR, team VARCHAR, driver VARCHAR) | SELECT car_no FROM table_name_46 WHERE team = "rahal letterman" AND driver = "jeff simmons" | What is the car number for Jeff Simmons on the Rahal Letterman team? | <s>[INST]What is the car number for Jeff Simmons on the Rahal Letterman team? Context: CREATE TABLE table_name_46 (car_no VARCHAR, team VARCHAR, driver VARCHAR)[/INST]SELECT car_no FROM table_name_46 WHERE team = "rahal letterman" AND driver = "jeff simmons"</s> |
CREATE TABLE table_name_94 (time VARCHAR, rank VARCHAR, country VARCHAR) | SELECT time FROM table_name_94 WHERE rank > 2 AND country = "france" | When france had a rank larger than 2, what was their time? | <s>[INST]When france had a rank larger than 2, what was their time? Context: CREATE TABLE table_name_94 (time VARCHAR, rank VARCHAR, country VARCHAR)[/INST]SELECT time FROM table_name_94 WHERE rank > 2 AND country = "france"</s> |
CREATE TABLE table_name_43 (birth_state VARCHAR, election_year INTEGER) | SELECT birth_state FROM table_name_43 WHERE election_year < 1848 | What state was the president who was elected earlier than 1848 born in? | <s>[INST]What state was the president who was elected earlier than 1848 born in? Context: CREATE TABLE table_name_43 (birth_state VARCHAR, election_year INTEGER)[/INST]SELECT birth_state FROM table_name_43 WHERE election_year < 1848</s> |
CREATE TABLE table_name_34 (total INTEGER, gold VARCHAR, silver VARCHAR) | SELECT SUM(total) FROM table_name_34 WHERE gold > 97 AND silver < 332 | What nation had more than 97 Gold Medals and fewer than 332 Silver Medals? | <s>[INST]What nation had more than 97 Gold Medals and fewer than 332 Silver Medals? Context: CREATE TABLE table_name_34 (total INTEGER, gold VARCHAR, silver VARCHAR)[/INST]SELECT SUM(total) FROM table_name_34 WHERE gold > 97 AND silver < 332</s> |
CREATE TABLE table_name_58 (sign_of_zodiac VARCHAR, in_malayalam VARCHAR) | SELECT sign_of_zodiac FROM table_name_58 WHERE in_malayalam = "മീനം" | WHAT IS THE SIGN OF ZODIAC OF മീനം? | <s>[INST]WHAT IS THE SIGN OF ZODIAC OF മീനം? Context: CREATE TABLE table_name_58 (sign_of_zodiac VARCHAR, in_malayalam VARCHAR)[/INST]SELECT sign_of_zodiac FROM table_name_58 WHERE in_malayalam = "മീനം"</s> |
CREATE TABLE table_name_13 (first_title INTEGER, amateur_era VARCHAR, all_time VARCHAR, country VARCHAR) | SELECT MIN(first_title) FROM table_name_13 WHERE all_time > 1 AND country = "united states (usa)" AND amateur_era > 17 | What is the lowest First Title, when All-Time is greater than 1, when Country is "United States (USA)", and when Amateur Era is greater than 17? | <s>[INST]What is the lowest First Title, when All-Time is greater than 1, when Country is "United States (USA)", and when Amateur Era is greater than 17? Context: CREATE TABLE table_name_13 (first_title INTEGER, amateur_era VARCHAR, all_time VARCHAR, country VARCHAR)[/INST]SELECT MIN(first_title) FROM table_name_13 WHERE all_time > 1 AND country = "united states (usa)" AND amateur_era > 17</s> |
CREATE TABLE table_11602313_4 (release_date VARCHAR, sspec_number VARCHAR) | SELECT release_date FROM table_11602313_4 WHERE sspec_number = "SLA4H(M0)" | What is the release date for the model with sspec number sla4h(m0)? | <s>[INST]What is the release date for the model with sspec number sla4h(m0)? Context: CREATE TABLE table_11602313_4 (release_date VARCHAR, sspec_number VARCHAR)[/INST]SELECT release_date FROM table_11602313_4 WHERE sspec_number = "SLA4H(M0)"</s> |
CREATE TABLE table_name_99 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_99 WHERE place = "t3" AND score = 71 - 76 - 71 = 218 | What is the Country with the T3 Place Player with a Score of 71-76-71=218? | <s>[INST]What is the Country with the T3 Place Player with a Score of 71-76-71=218? Context: CREATE TABLE table_name_99 (country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_99 WHERE place = "t3" AND score = 71 - 76 - 71 = 218</s> |
CREATE TABLE table_name_47 (mccain_number INTEGER, obama_number VARCHAR, others_percentage VARCHAR, mccain_percentage VARCHAR) | SELECT MAX(mccain_number) FROM table_name_47 WHERE others_percentage = "1.6%" AND mccain_percentage = "40.5%" AND obama_number < 256 OFFSET 299 | What is the highest number of votes for McCain in a county that voted 1.6% for other, 40.5% for McCain, and fewer than 256,299 votes for Obama? | <s>[INST]What is the highest number of votes for McCain in a county that voted 1.6% for other, 40.5% for McCain, and fewer than 256,299 votes for Obama? Context: CREATE TABLE table_name_47 (mccain_number INTEGER, obama_number VARCHAR, others_percentage VARCHAR, mccain_percentage VARCHAR)[/INST]SELECT MAX(mccain_number) FROM table_name_47 WHERE others_percentage = "1.6%" AND mccain_percentage = "40.5%" AND obama_number < 256 OFFSET 299</s> |
CREATE TABLE table_16278349_1 (un_region VARCHAR, population VARCHAR) | SELECT un_region FROM table_16278349_1 WHERE population = 378000 | Name the un region for 378000 population | <s>[INST]Name the un region for 378000 population Context: CREATE TABLE table_16278349_1 (un_region VARCHAR, population VARCHAR)[/INST]SELECT un_region FROM table_16278349_1 WHERE population = 378000</s> |
CREATE TABLE table_1473672_2 (position VARCHAR, player VARCHAR) | SELECT COUNT(position) FROM table_1473672_2 WHERE player = "Rene Villemure" | How many positions does rene villemure play? | <s>[INST]How many positions does rene villemure play? Context: CREATE TABLE table_1473672_2 (position VARCHAR, player VARCHAR)[/INST]SELECT COUNT(position) FROM table_1473672_2 WHERE player = "Rene Villemure"</s> |
CREATE TABLE table_name_38 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_38 WHERE opponent = "denver broncos" | Who won when the Patriots played the Denver Broncos? | <s>[INST]Who won when the Patriots played the Denver Broncos? Context: CREATE TABLE table_name_38 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_38 WHERE opponent = "denver broncos"</s> |
CREATE TABLE table_name_57 (games_played INTEGER, team VARCHAR, wins VARCHAR) | SELECT AVG(games_played) FROM table_name_57 WHERE team = "ottawa hockey club" AND wins > 5 | Which average games played number has the Ottawa Hockey Club as a team and a number of wins bigger than 5? | <s>[INST]Which average games played number has the Ottawa Hockey Club as a team and a number of wins bigger than 5? Context: CREATE TABLE table_name_57 (games_played INTEGER, team VARCHAR, wins VARCHAR)[/INST]SELECT AVG(games_played) FROM table_name_57 WHERE team = "ottawa hockey club" AND wins > 5</s> |
CREATE TABLE table_name_72 (att_cmp_int VARCHAR, effic VARCHAR) | SELECT att_cmp_int FROM table_name_72 WHERE effic = 117.4 | What is the Att-Cmp-Int for the player with a efficiency of 117.4? | <s>[INST]What is the Att-Cmp-Int for the player with a efficiency of 117.4? Context: CREATE TABLE table_name_72 (att_cmp_int VARCHAR, effic VARCHAR)[/INST]SELECT att_cmp_int FROM table_name_72 WHERE effic = 117.4</s> |
CREATE TABLE table_name_71 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_71 WHERE loss = "weaver (1-2)" | Who was the opponent at the game with a loss of Weaver (1-2)? | <s>[INST]Who was the opponent at the game with a loss of Weaver (1-2)? Context: CREATE TABLE table_name_71 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_71 WHERE loss = "weaver (1-2)"</s> |
CREATE TABLE table_name_95 (total VARCHAR, player VARCHAR) | SELECT total FROM table_name_95 WHERE player = "robbie winters" | What is the Total with a Player named robbie winters? | <s>[INST]What is the Total with a Player named robbie winters? Context: CREATE TABLE table_name_95 (total VARCHAR, player VARCHAR)[/INST]SELECT total FROM table_name_95 WHERE player = "robbie winters"</s> |
CREATE TABLE table_17323529_5 (score VARCHAR, location_attendance VARCHAR) | SELECT COUNT(score) FROM table_17323529_5 WHERE location_attendance = "Staples Center 13,266" | Name the total number of score for staples center 13,266 | <s>[INST]Name the total number of score for staples center 13,266 Context: CREATE TABLE table_17323529_5 (score VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(score) FROM table_17323529_5 WHERE location_attendance = "Staples Center 13,266"</s> |
CREATE TABLE table_name_29 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_29 WHERE score = "w 112-107 (ot)" | What is the Date of the Game with a Score of w 112-107 (ot)? | <s>[INST]What is the Date of the Game with a Score of w 112-107 (ot)? Context: CREATE TABLE table_name_29 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_29 WHERE score = "w 112-107 (ot)"</s> |
CREATE TABLE table_name_15 (modern_equivalent VARCHAR, pre_1009_province VARCHAR, province_of_silla VARCHAR) | SELECT modern_equivalent FROM table_name_15 WHERE pre_1009_province = "sakbang -do" AND province_of_silla = "sakju" | What kind of Modern equivalent that has a Pre-1009 province of sakbang -do, and a Province of Silla of sakju? | <s>[INST]What kind of Modern equivalent that has a Pre-1009 province of sakbang -do, and a Province of Silla of sakju? Context: CREATE TABLE table_name_15 (modern_equivalent VARCHAR, pre_1009_province VARCHAR, province_of_silla VARCHAR)[/INST]SELECT modern_equivalent FROM table_name_15 WHERE pre_1009_province = "sakbang -do" AND province_of_silla = "sakju"</s> |
CREATE TABLE table_name_96 (last_match VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR) | SELECT last_match FROM table_name_96 WHERE manner_of_departure = "resigned" AND date_of_vacancy = "round 1" | What is the last match with a resigned manner of departure and a round 1 date of vacancy? | <s>[INST]What is the last match with a resigned manner of departure and a round 1 date of vacancy? Context: CREATE TABLE table_name_96 (last_match VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)[/INST]SELECT last_match FROM table_name_96 WHERE manner_of_departure = "resigned" AND date_of_vacancy = "round 1"</s> |
CREATE TABLE table_name_77 (website VARCHAR, language VARCHAR, frequency VARCHAR) | SELECT website FROM table_name_77 WHERE language = "english" AND frequency = "online newspaper" | Which website is in english and has the frequency of an online newspaper ? | <s>[INST]Which website is in english and has the frequency of an online newspaper ? Context: CREATE TABLE table_name_77 (website VARCHAR, language VARCHAR, frequency VARCHAR)[/INST]SELECT website FROM table_name_77 WHERE language = "english" AND frequency = "online newspaper"</s> |
CREATE TABLE table_name_68 (goals_for VARCHAR, points_1 VARCHAR) | SELECT COUNT(goals_for) FROM table_name_68 WHERE points_1 = "41" | What is the total number of Goals For, when Points 1 is "41"? | <s>[INST]What is the total number of Goals For, when Points 1 is "41"? Context: CREATE TABLE table_name_68 (goals_for VARCHAR, points_1 VARCHAR)[/INST]SELECT COUNT(goals_for) FROM table_name_68 WHERE points_1 = "41"</s> |
CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR) | SELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = "Chris Barnes" | When chris barnes is on team usa how many europe teams are there? | <s>[INST]When chris barnes is on team usa how many europe teams are there? Context: CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR)[/INST]SELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = "Chris Barnes"</s> |
CREATE TABLE table_name_80 (judge_e VARCHAR, judge_c VARCHAR, rider VARCHAR) | SELECT judge_e FROM table_name_80 WHERE judge_c = "56.67" AND rider = "dag albert" | what is the judge e when judge c is 56.67 and the rider is dag albert? | <s>[INST]what is the judge e when judge c is 56.67 and the rider is dag albert? Context: CREATE TABLE table_name_80 (judge_e VARCHAR, judge_c VARCHAR, rider VARCHAR)[/INST]SELECT judge_e FROM table_name_80 WHERE judge_c = "56.67" AND rider = "dag albert"</s> |
CREATE TABLE table_22916979_2 (census_designated_place VARCHAR, population__2000_census_ VARCHAR) | SELECT COUNT(census_designated_place) FROM table_22916979_2 WHERE population__2000_census_ = 10581 | what is the total number of census designated places with a population of 10581? | <s>[INST]what is the total number of census designated places with a population of 10581? Context: CREATE TABLE table_22916979_2 (census_designated_place VARCHAR, population__2000_census_ VARCHAR)[/INST]SELECT COUNT(census_designated_place) FROM table_22916979_2 WHERE population__2000_census_ = 10581</s> |
CREATE TABLE table_name_51 (stage VARCHAR, winner VARCHAR, points_classification VARCHAR) | SELECT stage FROM table_name_51 WHERE winner = "bernard hinault" AND points_classification = "francesco moser" | Which stage was won by Bernard Hinault and had a Points classification of Francesco Moser? | <s>[INST]Which stage was won by Bernard Hinault and had a Points classification of Francesco Moser? Context: CREATE TABLE table_name_51 (stage VARCHAR, winner VARCHAR, points_classification VARCHAR)[/INST]SELECT stage FROM table_name_51 WHERE winner = "bernard hinault" AND points_classification = "francesco moser"</s> |
CREATE TABLE table_10706879_3 (fastest_lap VARCHAR, rd VARCHAR) | SELECT COUNT(fastest_lap) FROM table_10706879_3 WHERE rd = 10 | How many fastest laps were there for a rd that equals 10? | <s>[INST]How many fastest laps were there for a rd that equals 10? Context: CREATE TABLE table_10706879_3 (fastest_lap VARCHAR, rd VARCHAR)[/INST]SELECT COUNT(fastest_lap) FROM table_10706879_3 WHERE rd = 10</s> |
CREATE TABLE table_name_50 (overall INTEGER, round VARCHAR, college VARCHAR) | SELECT SUM(overall) FROM table_name_50 WHERE round < 24 AND college = "north carolina state" | What is the sum of Overall, when Round is less than 24, and when College is North Carolina State? | <s>[INST]What is the sum of Overall, when Round is less than 24, and when College is North Carolina State? Context: CREATE TABLE table_name_50 (overall INTEGER, round VARCHAR, college VARCHAR)[/INST]SELECT SUM(overall) FROM table_name_50 WHERE round < 24 AND college = "north carolina state"</s> |
CREATE TABLE table_name_22 (lane VARCHAR, name VARCHAR) | SELECT lane FROM table_name_22 WHERE name = "rhiannon leier" | What is Rhiannon Leier's lane? | <s>[INST]What is Rhiannon Leier's lane? Context: CREATE TABLE table_name_22 (lane VARCHAR, name VARCHAR)[/INST]SELECT lane FROM table_name_22 WHERE name = "rhiannon leier"</s> |
CREATE TABLE table_name_88 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_88 WHERE away_team = "carlton" | When did the away team carlton play? | <s>[INST]When did the away team carlton play? Context: CREATE TABLE table_name_88 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_88 WHERE away_team = "carlton"</s> |
CREATE TABLE table_2725949_6 (podiums VARCHAR, starts VARCHAR) | SELECT podiums FROM table_2725949_6 WHERE starts = 22 | name the podiums for start of 22 | <s>[INST]name the podiums for start of 22 Context: CREATE TABLE table_2725949_6 (podiums VARCHAR, starts VARCHAR)[/INST]SELECT podiums FROM table_2725949_6 WHERE starts = 22</s> |
CREATE TABLE table_name_25 (record VARCHAR, time___et__ VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_25 WHERE time___et__ = "1:00pm" AND opponent = "kansas city chiefs" | Which Record has a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs? | <s>[INST]Which Record has a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs? Context: CREATE TABLE table_name_25 (record VARCHAR, time___et__ VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_25 WHERE time___et__ = "1:00pm" AND opponent = "kansas city chiefs"</s> |
CREATE TABLE table_name_51 (owner VARCHAR, frequency VARCHAR) | SELECT owner FROM table_name_51 WHERE frequency = "103.3 fm" | Which owner has the frequency of 103.3 FM? | <s>[INST]Which owner has the frequency of 103.3 FM? Context: CREATE TABLE table_name_51 (owner VARCHAR, frequency VARCHAR)[/INST]SELECT owner FROM table_name_51 WHERE frequency = "103.3 fm"</s> |
CREATE TABLE table_name_80 (gold VARCHAR, nation VARCHAR) | SELECT COUNT(gold) FROM table_name_80 WHERE nation = "australia" | How many total gold medals did Australia receive? | <s>[INST]How many total gold medals did Australia receive? Context: CREATE TABLE table_name_80 (gold VARCHAR, nation VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_80 WHERE nation = "australia"</s> |
CREATE TABLE table_name_69 (number_of_dances VARCHAR, place VARCHAR, total_points VARCHAR) | SELECT number_of_dances FROM table_name_69 WHERE place > 1 AND total_points = 40 | How many dances placed below 1 with a point total of 40? | <s>[INST]How many dances placed below 1 with a point total of 40? Context: CREATE TABLE table_name_69 (number_of_dances VARCHAR, place VARCHAR, total_points VARCHAR)[/INST]SELECT number_of_dances FROM table_name_69 WHERE place > 1 AND total_points = 40</s> |
CREATE TABLE table_15319684_1 (won VARCHAR, difference VARCHAR) | SELECT won FROM table_15319684_1 WHERE difference = "33" | Name the won for difference being 33 | <s>[INST]Name the won for difference being 33 Context: CREATE TABLE table_15319684_1 (won VARCHAR, difference VARCHAR)[/INST]SELECT won FROM table_15319684_1 WHERE difference = "33"</s> |
CREATE TABLE table_25374338_1 (song_choice VARCHAR, episode VARCHAR) | SELECT song_choice FROM table_25374338_1 WHERE episode = "Live Show 1" | What is the song choice where the episode is Live Show 1? | <s>[INST]What is the song choice where the episode is Live Show 1? Context: CREATE TABLE table_25374338_1 (song_choice VARCHAR, episode VARCHAR)[/INST]SELECT song_choice FROM table_25374338_1 WHERE episode = "Live Show 1"</s> |
CREATE TABLE table_name_82 (date VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_82 WHERE outcome = "winner" AND opponent = "noppawan lertcheewakarn jessica moore" | Name the date with winner outcome and opponent of noppawan lertcheewakarn jessica moore | <s>[INST]Name the date with winner outcome and opponent of noppawan lertcheewakarn jessica moore Context: CREATE TABLE table_name_82 (date VARCHAR, outcome VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_82 WHERE outcome = "winner" AND opponent = "noppawan lertcheewakarn jessica moore"</s> |
CREATE TABLE table_name_79 (drawn VARCHAR, points_against VARCHAR) | SELECT drawn FROM table_name_79 WHERE points_against = "542" | What is the drawn by the club with 542 points against? | <s>[INST]What is the drawn by the club with 542 points against? Context: CREATE TABLE table_name_79 (drawn VARCHAR, points_against VARCHAR)[/INST]SELECT drawn FROM table_name_79 WHERE points_against = "542"</s> |
CREATE TABLE Student (advisor VARCHAR); CREATE TABLE Faculty (rank VARCHAR, FacID VARCHAR) | SELECT T1.rank, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.rank | Show all the faculty ranks and the number of students advised by each rank. | <s>[INST]Show all the faculty ranks and the number of students advised by each rank. Context: CREATE TABLE Student (advisor VARCHAR); CREATE TABLE Faculty (rank VARCHAR, FacID VARCHAR)[/INST]SELECT T1.rank, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.rank</s> |
CREATE TABLE table_name_87 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_87 WHERE home_team = "fitzroy" | What was the venue where Fitzroy played as the home team? | <s>[INST]What was the venue where Fitzroy played as the home team? Context: CREATE TABLE table_name_87 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_87 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_name_11 (height VARCHAR, player VARCHAR) | SELECT height FROM table_name_11 WHERE player = "nerlens noel" | How tall is nerlens noel? | <s>[INST]How tall is nerlens noel? Context: CREATE TABLE table_name_11 (height VARCHAR, player VARCHAR)[/INST]SELECT height FROM table_name_11 WHERE player = "nerlens noel"</s> |
CREATE TABLE table_name_56 (median_household_income VARCHAR, median_family_income VARCHAR) | SELECT median_household_income FROM table_name_56 WHERE median_family_income = "$46,616" | What is the Median household income associated with a median family income of $46,616? | <s>[INST]What is the Median household income associated with a median family income of $46,616? Context: CREATE TABLE table_name_56 (median_household_income VARCHAR, median_family_income VARCHAR)[/INST]SELECT median_household_income FROM table_name_56 WHERE median_family_income = "$46,616"</s> |
CREATE TABLE table_2523809_1 (coverage VARCHAR, branding VARCHAR) | SELECT coverage FROM table_2523809_1 WHERE branding = "Estrella TV 62" | Which area did estrella tv 62 provide coverage for? | <s>[INST]Which area did estrella tv 62 provide coverage for? Context: CREATE TABLE table_2523809_1 (coverage VARCHAR, branding VARCHAR)[/INST]SELECT coverage FROM table_2523809_1 WHERE branding = "Estrella TV 62"</s> |
CREATE TABLE table_14346950_1 (season__number VARCHAR, teleplay_by VARCHAR, directed_by VARCHAR) | SELECT season__number FROM table_14346950_1 WHERE teleplay_by = "Richard Price" AND directed_by = "Steve Shill" | What is the season # for a teleplay by Richard Price and the director is Steve Shill? | <s>[INST]What is the season # for a teleplay by Richard Price and the director is Steve Shill? Context: CREATE TABLE table_14346950_1 (season__number VARCHAR, teleplay_by VARCHAR, directed_by VARCHAR)[/INST]SELECT season__number FROM table_14346950_1 WHERE teleplay_by = "Richard Price" AND directed_by = "Steve Shill"</s> |
CREATE TABLE user_profiles (name VARCHAR, email VARCHAR, followers VARCHAR) | SELECT name, email FROM user_profiles ORDER BY followers LIMIT 1 | Find the name and email of the user followed by the least number of people. | <s>[INST]Find the name and email of the user followed by the least number of people. Context: CREATE TABLE user_profiles (name VARCHAR, email VARCHAR, followers VARCHAR)[/INST]SELECT name, email FROM user_profiles ORDER BY followers LIMIT 1</s> |
CREATE TABLE ALBUM (Title VARCHAR, AlbumId VARCHAR); CREATE TABLE TRACK (AlbumID VARCHAR, AlbumId VARCHAR, UnitPrice INTEGER) | SELECT T1.Title, T2.AlbumID FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 GROUP BY T2.AlbumID | Show the album names and ids for albums that contain tracks with unit price bigger than 1. | <s>[INST]Show the album names and ids for albums that contain tracks with unit price bigger than 1. Context: CREATE TABLE ALBUM (Title VARCHAR, AlbumId VARCHAR); CREATE TABLE TRACK (AlbumID VARCHAR, AlbumId VARCHAR, UnitPrice INTEGER)[/INST]SELECT T1.Title, T2.AlbumID FROM ALBUM AS T1 JOIN TRACK AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 GROUP BY T2.AlbumID</s> |
CREATE TABLE table_name_13 (crowd INTEGER, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_13 WHERE away_team = "geelong" | What is geelong's aberage crowd as Away Team? | <s>[INST]What is geelong's aberage crowd as Away Team? Context: CREATE TABLE table_name_13 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_13 WHERE away_team = "geelong"</s> |
CREATE TABLE table_name_84 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_84 WHERE venue = "rome" | The venue of Rome has which date? | <s>[INST]The venue of Rome has which date? Context: CREATE TABLE table_name_84 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_84 WHERE venue = "rome"</s> |
CREATE TABLE table_name_89 (place VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT place FROM table_name_89 WHERE to_par = "–10" AND score = 67 - 67 - 66 = 200 | What is the Place of the Player with a To par of –10 and a Score of 67-67-66=200? | <s>[INST]What is the Place of the Player with a To par of –10 and a Score of 67-67-66=200? Context: CREATE TABLE table_name_89 (place VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_89 WHERE to_par = "–10" AND score = 67 - 67 - 66 = 200</s> |
CREATE TABLE table_name_29 (award VARCHAR, nominee VARCHAR) | SELECT award FROM table_name_29 WHERE nominee = "matthew warchus" | What was Matthew Warchus' Award? | <s>[INST]What was Matthew Warchus' Award? Context: CREATE TABLE table_name_29 (award VARCHAR, nominee VARCHAR)[/INST]SELECT award FROM table_name_29 WHERE nominee = "matthew warchus"</s> |
CREATE TABLE table_name_61 (lost VARCHAR, points VARCHAR) | SELECT lost FROM table_name_61 WHERE points = "dissolved" | What is the Lost when the points were dissolved? | <s>[INST]What is the Lost when the points were dissolved? Context: CREATE TABLE table_name_61 (lost VARCHAR, points VARCHAR)[/INST]SELECT lost FROM table_name_61 WHERE points = "dissolved"</s> |
CREATE TABLE table_name_89 (rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_89 WHERE laps < 24 AND grid < 12 AND manufacturer = "aprilia" | Which Rider has Laps smaller than 24, and a Grid smaller than 12, and a Manufacturer of aprilia? | <s>[INST]Which Rider has Laps smaller than 24, and a Grid smaller than 12, and a Manufacturer of aprilia? Context: CREATE TABLE table_name_89 (rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT rider FROM table_name_89 WHERE laps < 24 AND grid < 12 AND manufacturer = "aprilia"</s> |
CREATE TABLE table_name_11 (places INTEGER, nation VARCHAR, points VARCHAR) | SELECT MIN(places) FROM table_name_11 WHERE nation = "norway" AND points < 1524.9 | What is the fewest number of places for a skater from Norway with fewer than 1524.9 points? | <s>[INST]What is the fewest number of places for a skater from Norway with fewer than 1524.9 points? Context: CREATE TABLE table_name_11 (places INTEGER, nation VARCHAR, points VARCHAR)[/INST]SELECT MIN(places) FROM table_name_11 WHERE nation = "norway" AND points < 1524.9</s> |
CREATE TABLE budget (budgeted VARCHAR, YEAR VARCHAR) | SELECT COUNT(*) FROM budget WHERE budgeted > 3000 AND YEAR <= 2001 | How many budgets are above 3000 in year 2001 or before? | <s>[INST]How many budgets are above 3000 in year 2001 or before? Context: CREATE TABLE budget (budgeted VARCHAR, YEAR VARCHAR)[/INST]SELECT COUNT(*) FROM budget WHERE budgeted > 3000 AND YEAR <= 2001</s> |
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, next_entry_id INTEGER) | SELECT catalog_entry_name FROM catalog_contents WHERE next_entry_id > 8 | Name all the products with next entry ID greater than 8. | <s>[INST]Name all the products with next entry ID greater than 8. Context: CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, next_entry_id INTEGER)[/INST]SELECT catalog_entry_name FROM catalog_contents WHERE next_entry_id > 8</s> |
CREATE TABLE table_name_65 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_65 WHERE away_team = "fitzroy" | What date was fitzroy the away team? | <s>[INST]What date was fitzroy the away team? Context: CREATE TABLE table_name_65 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_65 WHERE away_team = "fitzroy"</s> |
CREATE TABLE table_12919003_2 (director VARCHAR, episode VARCHAR) | SELECT director FROM table_12919003_2 WHERE episode = "episode 5" | Who directed Episode 5? | <s>[INST]Who directed Episode 5? Context: CREATE TABLE table_12919003_2 (director VARCHAR, episode VARCHAR)[/INST]SELECT director FROM table_12919003_2 WHERE episode = "episode 5"</s> |
CREATE TABLE table_name_66 (overall INTEGER, college VARCHAR) | SELECT AVG(overall) FROM table_name_66 WHERE college = "stanford" | What is stanford's average overall? | <s>[INST]What is stanford's average overall? Context: CREATE TABLE table_name_66 (overall INTEGER, college VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_66 WHERE college = "stanford"</s> |
CREATE TABLE table_10842344_1 (no_in_season INTEGER, production_code VARCHAR) | SELECT MAX(no_in_season) FROM table_10842344_1 WHERE production_code = "E4423" | What episode number had production code e4423? | <s>[INST]What episode number had production code e4423? Context: CREATE TABLE table_10842344_1 (no_in_season INTEGER, production_code VARCHAR)[/INST]SELECT MAX(no_in_season) FROM table_10842344_1 WHERE production_code = "E4423"</s> |
CREATE TABLE table_26824484_1 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_26824484_1 WHERE directed_by = "Jessica Landaw" | What was the original air date of the episode that was directed by Jessica Landaw? | <s>[INST]What was the original air date of the episode that was directed by Jessica Landaw? Context: CREATE TABLE table_26824484_1 (original_air_date VARCHAR, directed_by VARCHAR)[/INST]SELECT original_air_date FROM table_26824484_1 WHERE directed_by = "Jessica Landaw"</s> |
CREATE TABLE table_name_72 (number_of_people_1991 VARCHAR, village__german_ VARCHAR) | SELECT COUNT(number_of_people_1991) FROM table_name_72 WHERE village__german_ = "rupertiberg" | How many people in 1991 have a Village (German) of rupertiberg? | <s>[INST]How many people in 1991 have a Village (German) of rupertiberg? Context: CREATE TABLE table_name_72 (number_of_people_1991 VARCHAR, village__german_ VARCHAR)[/INST]SELECT COUNT(number_of_people_1991) FROM table_name_72 WHERE village__german_ = "rupertiberg"</s> |
CREATE TABLE table_29619494_2 (sake_tuyas VARCHAR, denim_demons VARCHAR) | SELECT sake_tuyas FROM table_29619494_2 WHERE denim_demons = "4th" | What place did the Sake Tuyas come in when the Denim Demons were 4th? | <s>[INST]What place did the Sake Tuyas come in when the Denim Demons were 4th? Context: CREATE TABLE table_29619494_2 (sake_tuyas VARCHAR, denim_demons VARCHAR)[/INST]SELECT sake_tuyas FROM table_29619494_2 WHERE denim_demons = "4th"</s> |
CREATE TABLE table_name_33 (name VARCHAR, games VARCHAR) | SELECT name FROM table_name_33 WHERE games = "2008 beijing" | Who won a medal at the 2008 Beijing Olympics? | <s>[INST]Who won a medal at the 2008 Beijing Olympics? Context: CREATE TABLE table_name_33 (name VARCHAR, games VARCHAR)[/INST]SELECT name FROM table_name_33 WHERE games = "2008 beijing"</s> |
CREATE TABLE table_name_71 (spouse VARCHAR, name VARCHAR) | SELECT spouse FROM table_name_71 WHERE name = "margaret of brabant" | Who was Margaret of Brabant's spouse? | <s>[INST]Who was Margaret of Brabant's spouse? Context: CREATE TABLE table_name_71 (spouse VARCHAR, name VARCHAR)[/INST]SELECT spouse FROM table_name_71 WHERE name = "margaret of brabant"</s> |
CREATE TABLE table_name_94 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_94 WHERE catalog = "alca-9201" | What is the date for Catalog Alca-9201? | <s>[INST]What is the date for Catalog Alca-9201? Context: CREATE TABLE table_name_94 (date VARCHAR, catalog VARCHAR)[/INST]SELECT date FROM table_name_94 WHERE catalog = "alca-9201"</s> |
CREATE TABLE table_name_67 (pick__number INTEGER, overall VARCHAR, name VARCHAR, round VARCHAR, position VARCHAR) | SELECT AVG(pick__number) FROM table_name_67 WHERE round > 5 AND position = "wide receiver" AND name = "gregory spann" AND overall > 228 | Which Pick # has a Round larger than 5, and a Position of wide receiver, and a Name of gregory spann, and an Overall larger than 228? | <s>[INST]Which Pick # has a Round larger than 5, and a Position of wide receiver, and a Name of gregory spann, and an Overall larger than 228? Context: CREATE TABLE table_name_67 (pick__number INTEGER, overall VARCHAR, name VARCHAR, round VARCHAR, position VARCHAR)[/INST]SELECT AVG(pick__number) FROM table_name_67 WHERE round > 5 AND position = "wide receiver" AND name = "gregory spann" AND overall > 228</s> |
CREATE TABLE table_name_1 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_1 WHERE player = "drew callander" | What position does Drew Callander play? | <s>[INST]What position does Drew Callander play? Context: CREATE TABLE table_name_1 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_1 WHERE player = "drew callander"</s> |
CREATE TABLE table_name_4 (election INTEGER, municipality VARCHAR) | SELECT MIN(election) FROM table_name_4 WHERE municipality = "cinisello balsamo" | What is the lowest election that has cinisello balsamo as the municipality? | <s>[INST]What is the lowest election that has cinisello balsamo as the municipality? Context: CREATE TABLE table_name_4 (election INTEGER, municipality VARCHAR)[/INST]SELECT MIN(election) FROM table_name_4 WHERE municipality = "cinisello balsamo"</s> |
CREATE TABLE table_name_75 (shooter VARCHAR, total VARCHAR) | SELECT shooter FROM table_name_75 WHERE total = "olympic bronze medalist" | Which shooter was the olympic bronze medalist? | <s>[INST]Which shooter was the olympic bronze medalist? Context: CREATE TABLE table_name_75 (shooter VARCHAR, total VARCHAR)[/INST]SELECT shooter FROM table_name_75 WHERE total = "olympic bronze medalist"</s> |
CREATE TABLE table_name_3 (pick INTEGER, college VARCHAR, round VARCHAR) | SELECT SUM(pick) FROM table_name_3 WHERE college = "texas a&i" AND round > 1 | What is the sum of the pick from texas a&i college with a round greater than 1? | <s>[INST]What is the sum of the pick from texas a&i college with a round greater than 1? Context: CREATE TABLE table_name_3 (pick INTEGER, college VARCHAR, round VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_3 WHERE college = "texas a&i" AND round > 1</s> |
CREATE TABLE table_name_53 (english VARCHAR, german VARCHAR) | SELECT english FROM table_name_53 WHERE german = "apfel" | What's the English word for apfel? | <s>[INST]What's the English word for apfel? Context: CREATE TABLE table_name_53 (english VARCHAR, german VARCHAR)[/INST]SELECT english FROM table_name_53 WHERE german = "apfel"</s> |
CREATE TABLE table_name_16 (club VARCHAR, points_for VARCHAR) | SELECT club FROM table_name_16 WHERE points_for = "275" | Which club has 275 points? | <s>[INST]Which club has 275 points? Context: CREATE TABLE table_name_16 (club VARCHAR, points_for VARCHAR)[/INST]SELECT club FROM table_name_16 WHERE points_for = "275"</s> |
CREATE TABLE table_19149550_7 (other_black_population INTEGER, black_african_population VARCHAR) | SELECT MIN(other_black_population) FROM table_19149550_7 WHERE black_african_population = 37811 | How much is the other black population when the black African population is 37811? | <s>[INST]How much is the other black population when the black African population is 37811? Context: CREATE TABLE table_19149550_7 (other_black_population INTEGER, black_african_population VARCHAR)[/INST]SELECT MIN(other_black_population) FROM table_19149550_7 WHERE black_african_population = 37811</s> |
CREATE TABLE table_name_80 (game INTEGER, date VARCHAR) | SELECT SUM(game) FROM table_name_80 WHERE date = "december 5" | How many games were on December 5? | <s>[INST]How many games were on December 5? Context: CREATE TABLE table_name_80 (game INTEGER, date VARCHAR)[/INST]SELECT SUM(game) FROM table_name_80 WHERE date = "december 5"</s> |
CREATE TABLE table_1949994_8 (format VARCHAR, local_title VARCHAR) | SELECT format FROM table_1949994_8 WHERE local_title = "Fort Boyard: Ultimate Challenge" | What was the production format for the series with the local title Fort Boyard: Ultimate Challenge? | <s>[INST]What was the production format for the series with the local title Fort Boyard: Ultimate Challenge? Context: CREATE TABLE table_1949994_8 (format VARCHAR, local_title VARCHAR)[/INST]SELECT format FROM table_1949994_8 WHERE local_title = "Fort Boyard: Ultimate Challenge"</s> |
CREATE TABLE table_name_53 (year VARCHAR, result VARCHAR, location VARCHAR, winner VARCHAR) | SELECT COUNT(year) FROM table_name_53 WHERE location = "lincoln financial field" AND winner = "new york giants" AND result = "15-7" | How many years did the new york giants win with a result of 15-7 at lincoln financial field? | <s>[INST]How many years did the new york giants win with a result of 15-7 at lincoln financial field? Context: CREATE TABLE table_name_53 (year VARCHAR, result VARCHAR, location VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_53 WHERE location = "lincoln financial field" AND winner = "new york giants" AND result = "15-7"</s> |
CREATE TABLE table_name_70 (llws VARCHAR, city VARCHAR) | SELECT llws FROM table_name_70 WHERE city = "parsippany" | Which Little League World Series took place in Parsippany? | <s>[INST]Which Little League World Series took place in Parsippany? Context: CREATE TABLE table_name_70 (llws VARCHAR, city VARCHAR)[/INST]SELECT llws FROM table_name_70 WHERE city = "parsippany"</s> |
CREATE TABLE table_26591309_3 (official_barb_ratings VARCHAR, episode VARCHAR) | SELECT official_barb_ratings FROM table_26591309_3 WHERE episode = 6 | What is the BARB ratings of episode 6? | <s>[INST]What is the BARB ratings of episode 6? Context: CREATE TABLE table_26591309_3 (official_barb_ratings VARCHAR, episode VARCHAR)[/INST]SELECT official_barb_ratings FROM table_26591309_3 WHERE episode = 6</s> |
CREATE TABLE table_name_69 (opponent VARCHAR, surface VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_69 WHERE surface = "clay" AND score = "6–3, 2–6, [10–8]" | With the score of 6–3, 2–6, [10–8] and played on clay who was the opponent? | <s>[INST]With the score of 6–3, 2–6, [10–8] and played on clay who was the opponent? Context: CREATE TABLE table_name_69 (opponent VARCHAR, surface VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_69 WHERE surface = "clay" AND score = "6–3, 2–6, [10–8]"</s> |
CREATE TABLE table_23248869_10 (record VARCHAR, team VARCHAR) | SELECT record FROM table_23248869_10 WHERE team = "Boston" | What is every record for the team Boston? | <s>[INST]What is every record for the team Boston? Context: CREATE TABLE table_23248869_10 (record VARCHAR, team VARCHAR)[/INST]SELECT record FROM table_23248869_10 WHERE team = "Boston"</s> |
CREATE TABLE table_name_35 (q1 VARCHAR, q2_time VARCHAR, q1_order VARCHAR) | SELECT q1 + q2_time FROM table_name_35 WHERE q1_order = 13 | What is the Q1+Q2 time for the driver whose Q1 order was 13? | <s>[INST]What is the Q1+Q2 time for the driver whose Q1 order was 13? Context: CREATE TABLE table_name_35 (q1 VARCHAR, q2_time VARCHAR, q1_order VARCHAR)[/INST]SELECT q1 + q2_time FROM table_name_35 WHERE q1_order = 13</s> |
CREATE TABLE table_name_12 (score VARCHAR, country VARCHAR, player VARCHAR) | SELECT score FROM table_name_12 WHERE country = "united states" AND player = "mike reid" | Mike Reid from the United States has what score? | <s>[INST]Mike Reid from the United States has what score? Context: CREATE TABLE table_name_12 (score VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_12 WHERE country = "united states" AND player = "mike reid"</s> |
CREATE TABLE table_name_31 (to_par VARCHAR, year VARCHAR) | SELECT to_par FROM table_name_31 WHERE year = 2003 | What was 2003's To Par? | <s>[INST]What was 2003's To Par? Context: CREATE TABLE table_name_31 (to_par VARCHAR, year VARCHAR)[/INST]SELECT to_par FROM table_name_31 WHERE year = 2003</s> |
CREATE TABLE table_name_64 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_64 WHERE country = "scotland" | Name the score for scotland | <s>[INST]Name the score for scotland Context: CREATE TABLE table_name_64 (score VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_64 WHERE country = "scotland"</s> |
CREATE TABLE table_name_81 (drawn VARCHAR, team VARCHAR, lost VARCHAR) | SELECT COUNT(drawn) FROM table_name_81 WHERE team = "corinthians" AND lost > 5 | How many draws took place for team Corinthians with more than 5 losses? | <s>[INST]How many draws took place for team Corinthians with more than 5 losses? Context: CREATE TABLE table_name_81 (drawn VARCHAR, team VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(drawn) FROM table_name_81 WHERE team = "corinthians" AND lost > 5</s> |
CREATE TABLE table_name_10 (decision VARCHAR, record VARCHAR) | SELECT decision FROM table_name_10 WHERE record = "31-43-2" | For the game ending with a record of 31-43-2, what was the decision? | <s>[INST]For the game ending with a record of 31-43-2, what was the decision? Context: CREATE TABLE table_name_10 (decision VARCHAR, record VARCHAR)[/INST]SELECT decision FROM table_name_10 WHERE record = "31-43-2"</s> |
CREATE TABLE table_name_51 (runner_up_skip VARCHAR, event VARCHAR) | SELECT runner_up_skip FROM table_name_51 WHERE event = "mac ice classic" | Who was the runner-up during the Mac Ice Classic? | <s>[INST]Who was the runner-up during the Mac Ice Classic? Context: CREATE TABLE table_name_51 (runner_up_skip VARCHAR, event VARCHAR)[/INST]SELECT runner_up_skip FROM table_name_51 WHERE event = "mac ice classic"</s> |
CREATE TABLE table_name_96 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_96 WHERE grid < 22 AND laps < 33 AND driver = "john surtees" | I want the time/retired with grid less than 22 and Laps less than 33 for john surtees | <s>[INST]I want the time/retired with grid less than 22 and Laps less than 33 for john surtees Context: CREATE TABLE table_name_96 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT time_retired FROM table_name_96 WHERE grid < 22 AND laps < 33 AND driver = "john surtees"</s> |
CREATE TABLE table_name_67 (date VARCHAR, status VARCHAR, opposing_teams VARCHAR) | SELECT date FROM table_name_67 WHERE status = "five nations" AND opposing_teams = "ireland" | On which date was the opponent ireland and the status Five Nations? | <s>[INST]On which date was the opponent ireland and the status Five Nations? Context: CREATE TABLE table_name_67 (date VARCHAR, status VARCHAR, opposing_teams VARCHAR)[/INST]SELECT date FROM table_name_67 WHERE status = "five nations" AND opposing_teams = "ireland"</s> |
CREATE TABLE table_name_79 (season VARCHAR, rating VARCHAR) | SELECT season FROM table_name_79 WHERE rating = "+33" | Which season was one of the players rated +33? | <s>[INST]Which season was one of the players rated +33? Context: CREATE TABLE table_name_79 (season VARCHAR, rating VARCHAR)[/INST]SELECT season FROM table_name_79 WHERE rating = "+33"</s> |
CREATE TABLE table_name_4 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_4 WHERE home_team = "geelong" | Where did Geelong play as the home team? | <s>[INST]Where did Geelong play as the home team? Context: CREATE TABLE table_name_4 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_4 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_34 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_34 WHERE school_club_team = "mcmaster" | What is Position, when School/Club Team is McMaster? | <s>[INST]What is Position, when School/Club Team is McMaster? Context: CREATE TABLE table_name_34 (position VARCHAR, school_club_team VARCHAR)[/INST]SELECT position FROM table_name_34 WHERE school_club_team = "mcmaster"</s> |
CREATE TABLE table_25714995_2 (Ends VARCHAR, stolen_ends VARCHAR) | SELECT COUNT(Ends) AS won FROM table_25714995_2 WHERE stolen_ends = 8 | How many ends won catagories are listed when there are 8 stolen ends? | <s>[INST]How many ends won catagories are listed when there are 8 stolen ends? Context: CREATE TABLE table_25714995_2 (Ends VARCHAR, stolen_ends VARCHAR)[/INST]SELECT COUNT(Ends) AS won FROM table_25714995_2 WHERE stolen_ends = 8</s> |
CREATE TABLE table_name_69 (release_price___usd__ VARCHAR, release_date VARCHAR) | SELECT release_price___usd__ FROM table_name_69 WHERE release_date = "2008 q3" | Release date of 2008 q3 has what release price? | <s>[INST]Release date of 2008 q3 has what release price? Context: CREATE TABLE table_name_69 (release_price___usd__ VARCHAR, release_date VARCHAR)[/INST]SELECT release_price___usd__ FROM table_name_69 WHERE release_date = "2008 q3"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.