context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_71 (constructor VARCHAR, circuit VARCHAR) | SELECT constructor FROM table_name_71 WHERE circuit = "oulton park" | Who is the constructor whose circuit was Oulton Park? | <s>[INST]Who is the constructor whose circuit was Oulton Park? Context: CREATE TABLE table_name_71 (constructor VARCHAR, circuit VARCHAR)[/INST]SELECT constructor FROM table_name_71 WHERE circuit = "oulton park"</s> |
CREATE TABLE table_name_24 (season VARCHAR, score VARCHAR) | SELECT season FROM table_name_24 WHERE score = "0–2 (a), 3–1 (h)" | What is the Season of the game with a Score of 0–2 (a), 3–1 (h)? | <s>[INST]What is the Season of the game with a Score of 0–2 (a), 3–1 (h)? Context: CREATE TABLE table_name_24 (season VARCHAR, score VARCHAR)[/INST]SELECT season FROM table_name_24 WHERE score = "0–2 (a), 3–1 (h)"</s> |
CREATE TABLE table_name_65 (nation VARCHAR) | SELECT MAX(3 AS rd_place) FROM table_name_65 WHERE nation = "perak fa" | Name the highest 3rd place for nation of perak fa | <s>[INST]Name the highest 3rd place for nation of perak fa Context: CREATE TABLE table_name_65 (nation VARCHAR)[/INST]SELECT MAX(3 AS rd_place) FROM table_name_65 WHERE nation = "perak fa"</s> |
CREATE TABLE table_name_82 (goal_difference VARCHAR, lost VARCHAR, goals_for VARCHAR, drawn VARCHAR, goals_against VARCHAR) | SELECT goal_difference FROM table_name_82 WHERE drawn > 11 AND goals_against < 63 AND goals_for < 87 AND lost > 16 | what is the goal difference when drawn is more than 11, goals against is less than 63, goals for is less than 87 and lost is more than 16? | <s>[INST]what is the goal difference when drawn is more than 11, goals against is less than 63, goals for is less than 87 and lost is more than 16? Context: CREATE TABLE table_name_82 (goal_difference VARCHAR, lost VARCHAR, goals_for VARCHAR, drawn VARCHAR, goals_against VARCHAR)[/INST]SELECT goal_difference FROM table... |
CREATE TABLE table_2241101_1 (team VARCHAR, average_speed__mph_ VARCHAR) | SELECT team FROM table_2241101_1 WHERE average_speed__mph_ = "107.063" | What team had average speed of 107.063 mph? | <s>[INST]What team had average speed of 107.063 mph? Context: CREATE TABLE table_2241101_1 (team VARCHAR, average_speed__mph_ VARCHAR)[/INST]SELECT team FROM table_2241101_1 WHERE average_speed__mph_ = "107.063"</s> |
CREATE TABLE table_name_57 (year INTEGER, position VARCHAR, venue VARCHAR) | SELECT AVG(year) FROM table_name_57 WHERE position = "5th" AND venue = "santiago, chile" | What is the average year they finished 5th in santiago, chile? | <s>[INST]What is the average year they finished 5th in santiago, chile? Context: CREATE TABLE table_name_57 (year INTEGER, position VARCHAR, venue VARCHAR)[/INST]SELECT AVG(year) FROM table_name_57 WHERE position = "5th" AND venue = "santiago, chile"</s> |
CREATE TABLE table_name_93 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR) | SELECT AVG(cuts_made) FROM table_name_93 WHERE top_10 = 11 AND wins < 1 | What is the average number of cuts made in events with fewer than 1 win and exactly 11 top-10s? | <s>[INST]What is the average number of cuts made in events with fewer than 1 win and exactly 11 top-10s? Context: CREATE TABLE table_name_93 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR)[/INST]SELECT AVG(cuts_made) FROM table_name_93 WHERE top_10 = 11 AND wins < 1</s> |
CREATE TABLE table_name_53 (tournament VARCHAR) | SELECT 2007 FROM table_name_53 WHERE 2008 = "1r" AND tournament = "wimbledon" | Which 2007 has a 2008 of 1r, and a Tournament of wimbledon? | <s>[INST]Which 2007 has a 2008 of 1r, and a Tournament of wimbledon? Context: CREATE TABLE table_name_53 (tournament VARCHAR)[/INST]SELECT 2007 FROM table_name_53 WHERE 2008 = "1r" AND tournament = "wimbledon"</s> |
CREATE TABLE table_name_92 (score_in_the_final VARCHAR, championship VARCHAR) | SELECT score_in_the_final FROM table_name_92 WHERE championship = "estoril, portugal" | what was the score of the Championship match played in Estoril, Portugal? | <s>[INST]what was the score of the Championship match played in Estoril, Portugal? Context: CREATE TABLE table_name_92 (score_in_the_final VARCHAR, championship VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_92 WHERE championship = "estoril, portugal"</s> |
CREATE TABLE table_name_77 (tournament VARCHAR) | SELECT 2008 FROM table_name_77 WHERE tournament = "year" | What is the value in 2008 when the value for Tournament is year? | <s>[INST]What is the value in 2008 when the value for Tournament is year? Context: CREATE TABLE table_name_77 (tournament VARCHAR)[/INST]SELECT 2008 FROM table_name_77 WHERE tournament = "year"</s> |
CREATE TABLE table_name_52 (rider VARCHAR, time VARCHAR) | SELECT rider FROM table_name_52 WHERE time = "1:27.37.22" | Who is the rider who had the time of 1:27.37.22? | <s>[INST]Who is the rider who had the time of 1:27.37.22? Context: CREATE TABLE table_name_52 (rider VARCHAR, time VARCHAR)[/INST]SELECT rider FROM table_name_52 WHERE time = "1:27.37.22"</s> |
CREATE TABLE table_26007767_1 (localities VARCHAR, population_density__per_km²_ VARCHAR) | SELECT COUNT(localities) FROM table_26007767_1 WHERE population_density__per_km²_ = "2.5" | How many time is the population density (per km²) is 2.5? | <s>[INST]How many time is the population density (per km²) is 2.5? Context: CREATE TABLE table_26007767_1 (localities VARCHAR, population_density__per_km²_ VARCHAR)[/INST]SELECT COUNT(localities) FROM table_26007767_1 WHERE population_density__per_km²_ = "2.5"</s> |
CREATE TABLE table_name_5 (points INTEGER, year INTEGER) | SELECT MAX(points) FROM table_name_5 WHERE year < 1954 | What is the highest number of points before 1954? | <s>[INST]What is the highest number of points before 1954? Context: CREATE TABLE table_name_5 (points INTEGER, year INTEGER)[/INST]SELECT MAX(points) FROM table_name_5 WHERE year < 1954</s> |
CREATE TABLE table_name_85 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_85 WHERE venue = "princes park" | When was the game that was held at the Princes Park? | <s>[INST]When was the game that was held at the Princes Park? Context: CREATE TABLE table_name_85 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_85 WHERE venue = "princes park"</s> |
CREATE TABLE table_name_44 (balls VARCHAR, runs VARCHAR) | SELECT COUNT(100 AS s) FROM table_name_44 WHERE balls > 325 AND runs < 572 | Can you tell me the total number of 100s that has the Balls larger than 325, and the Runs smaller than 572? | <s>[INST]Can you tell me the total number of 100s that has the Balls larger than 325, and the Runs smaller than 572? Context: CREATE TABLE table_name_44 (balls VARCHAR, runs VARCHAR)[/INST]SELECT COUNT(100 AS s) FROM table_name_44 WHERE balls > 325 AND runs < 572</s> |
CREATE TABLE table_name_47 (tournament VARCHAR, runner_s__up VARCHAR) | SELECT tournament FROM table_name_47 WHERE runner_s__up = "gary mccord" | Which tournament has a Runner(s)-up of Gary McCord? | <s>[INST]Which tournament has a Runner(s)-up of Gary McCord? Context: CREATE TABLE table_name_47 (tournament VARCHAR, runner_s__up VARCHAR)[/INST]SELECT tournament FROM table_name_47 WHERE runner_s__up = "gary mccord"</s> |
CREATE TABLE table_name_15 (bronze INTEGER, rank VARCHAR) | SELECT MAX(bronze) FROM table_name_15 WHERE rank = "12" | What is the high bronze total for nations ranked 12? | <s>[INST]What is the high bronze total for nations ranked 12? Context: CREATE TABLE table_name_15 (bronze INTEGER, rank VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_15 WHERE rank = "12"</s> |
CREATE TABLE table_name_90 (year INTEGER, award VARCHAR, nominated_work VARCHAR) | SELECT MIN(year) FROM table_name_90 WHERE award = "drama desk award" AND nominated_work = "the mineola twins" | What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work? | <s>[INST]What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work? Context: CREATE TABLE table_name_90 (year INTEGER, award VARCHAR, nominated_work VARCHAR)[/INST]SELECT MIN(year) FROM table_name_90 WHERE award = "drama desk award" AND nominated_work = "the mineola twins"</s> |
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR) | SELECT T2.name, COUNT(*) FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id | Show the station name and number of trains in each station. | <s>[INST]Show the station name and number of trains in each station. Context: CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)[/INST]SELECT T2.name, COUNT(*) FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id</s> |
CREATE TABLE table_name_49 (aggregate VARCHAR, club VARCHAR) | SELECT aggregate FROM table_name_49 WHERE club = "ajax" | Which aggregate has ajax as the club? | <s>[INST]Which aggregate has ajax as the club? Context: CREATE TABLE table_name_49 (aggregate VARCHAR, club VARCHAR)[/INST]SELECT aggregate FROM table_name_49 WHERE club = "ajax"</s> |
CREATE TABLE table_name_19 (south_asians_2011 VARCHAR, province VARCHAR, south_asians_2001 VARCHAR) | SELECT COUNT(south_asians_2011) FROM table_name_19 WHERE province = "quebec" AND south_asians_2001 < 59 OFFSET 510 | How many South Asians were there in 2011 in Quebec when there were fewer than 59,510 in 2001? | <s>[INST]How many South Asians were there in 2011 in Quebec when there were fewer than 59,510 in 2001? Context: CREATE TABLE table_name_19 (south_asians_2011 VARCHAR, province VARCHAR, south_asians_2001 VARCHAR)[/INST]SELECT COUNT(south_asians_2011) FROM table_name_19 WHERE province = "quebec" AND south_asians_2001 < 5... |
CREATE TABLE table_name_39 (enrollment INTEGER, school VARCHAR) | SELECT MIN(enrollment) FROM table_name_39 WHERE school = "pioneer" | What is the lowest enrollment at the pioneer school? | <s>[INST]What is the lowest enrollment at the pioneer school? Context: CREATE TABLE table_name_39 (enrollment INTEGER, school VARCHAR)[/INST]SELECT MIN(enrollment) FROM table_name_39 WHERE school = "pioneer"</s> |
CREATE TABLE table_name_49 (location VARCHAR, home_team VARCHAR) | SELECT location FROM table_name_49 WHERE home_team = "japan" | What was the location of the home game for Japan? | <s>[INST]What was the location of the home game for Japan? Context: CREATE TABLE table_name_49 (location VARCHAR, home_team VARCHAR)[/INST]SELECT location FROM table_name_49 WHERE home_team = "japan"</s> |
CREATE TABLE table_name_70 (round INTEGER, record VARCHAR) | SELECT SUM(round) FROM table_name_70 WHERE record = "19-25-5" | What is the sum of Round, when Record is "19-25-5"? | <s>[INST]What is the sum of Round, when Record is "19-25-5"? Context: CREATE TABLE table_name_70 (round INTEGER, record VARCHAR)[/INST]SELECT SUM(round) FROM table_name_70 WHERE record = "19-25-5"</s> |
CREATE TABLE table_27965906_2 (ss_winning_car VARCHAR, circuit VARCHAR, b_winning_car VARCHAR) | SELECT ss_winning_car FROM table_27965906_2 WHERE circuit = "Road Atlanta" AND b_winning_car = "#35 Quantum Engineering #35 Honda CRX-Si" | Name the ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si | <s>[INST]Name the ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si Context: CREATE TABLE table_27965906_2 (ss_winning_car VARCHAR, circuit VARCHAR, b_winning_car VARCHAR)[/INST]SELECT ss_winning_car FROM table_27965906_2 WHERE circuit = "Road Atlanta" AND b_winning_car = "#35 Quantum Enginee... |
CREATE TABLE table_name_74 (chassis VARCHAR, points VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_74 WHERE points > 0 AND entrant = "march engineering" | What was the chassis when the points were greater than 0 and the entrant was March Engineering? | <s>[INST]What was the chassis when the points were greater than 0 and the entrant was March Engineering? Context: CREATE TABLE table_name_74 (chassis VARCHAR, points VARCHAR, entrant VARCHAR)[/INST]SELECT chassis FROM table_name_74 WHERE points > 0 AND entrant = "march engineering"</s> |
CREATE TABLE table_name_76 (termination_of_mission VARCHAR, appointed_by VARCHAR) | SELECT termination_of_mission FROM table_name_76 WHERE appointed_by = "franklin pierce" | Name the termination of mission for appointed by of franklin pierce | <s>[INST]Name the termination of mission for appointed by of franklin pierce Context: CREATE TABLE table_name_76 (termination_of_mission VARCHAR, appointed_by VARCHAR)[/INST]SELECT termination_of_mission FROM table_name_76 WHERE appointed_by = "franklin pierce"</s> |
CREATE TABLE table_name_98 (doctor VARCHAR, format VARCHAR, title VARCHAR) | SELECT doctor FROM table_name_98 WHERE format = "cd" AND title = "the relics of time" | What is Doctor, when Format is CD, and when Title is The Relics Of Time? | <s>[INST]What is Doctor, when Format is CD, and when Title is The Relics Of Time? Context: CREATE TABLE table_name_98 (doctor VARCHAR, format VARCHAR, title VARCHAR)[/INST]SELECT doctor FROM table_name_98 WHERE format = "cd" AND title = "the relics of time"</s> |
CREATE TABLE table_name_8 (title VARCHAR, original_airdate VARCHAR) | SELECT title FROM table_name_8 WHERE original_airdate = "june 13, 1999" | What is the title of the program that was originally aired on June 13, 1999? | <s>[INST]What is the title of the program that was originally aired on June 13, 1999? Context: CREATE TABLE table_name_8 (title VARCHAR, original_airdate VARCHAR)[/INST]SELECT title FROM table_name_8 WHERE original_airdate = "june 13, 1999"</s> |
CREATE TABLE table_name_55 (track VARCHAR, year VARCHAR) | SELECT track FROM table_name_55 WHERE year = "1926" | What track was used in 1926? | <s>[INST]What track was used in 1926? Context: CREATE TABLE table_name_55 (track VARCHAR, year VARCHAR)[/INST]SELECT track FROM table_name_55 WHERE year = "1926"</s> |
CREATE TABLE table_name_12 (fixtures_sec VARCHAR, season VARCHAR) | SELECT fixtures_sec FROM table_name_12 WHERE season = "2009–2010" | Name the Fixtures Sec which has a Season of 2009–2010 | <s>[INST]Name the Fixtures Sec which has a Season of 2009–2010 Context: CREATE TABLE table_name_12 (fixtures_sec VARCHAR, season VARCHAR)[/INST]SELECT fixtures_sec FROM table_name_12 WHERE season = "2009–2010"</s> |
CREATE TABLE table_name_78 (points VARCHAR, game VARCHAR, january VARCHAR) | SELECT COUNT(points) FROM table_name_78 WHERE game = 44 AND january > 15 | Name the total number of points for 44 game and january more than 15 | <s>[INST]Name the total number of points for 44 game and january more than 15 Context: CREATE TABLE table_name_78 (points VARCHAR, game VARCHAR, january VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_78 WHERE game = 44 AND january > 15</s> |
CREATE TABLE table_name_11 (ends_lost INTEGER, locale VARCHAR) | SELECT MAX(ends_lost) FROM table_name_11 WHERE locale = "ontario" | What's Ontario's highest Ends Lost? | <s>[INST]What's Ontario's highest Ends Lost? Context: CREATE TABLE table_name_11 (ends_lost INTEGER, locale VARCHAR)[/INST]SELECT MAX(ends_lost) FROM table_name_11 WHERE locale = "ontario"</s> |
CREATE TABLE table_26358264_2 (fastest_qualifying VARCHAR, country VARCHAR) | SELECT COUNT(fastest_qualifying) FROM table_26358264_2 WHERE country = "United Arab Emirates" | When united arab emirates is the country how many fastest qualifying are there? | <s>[INST]When united arab emirates is the country how many fastest qualifying are there? Context: CREATE TABLE table_26358264_2 (fastest_qualifying VARCHAR, country VARCHAR)[/INST]SELECT COUNT(fastest_qualifying) FROM table_26358264_2 WHERE country = "United Arab Emirates"</s> |
CREATE TABLE table_name_81 (place INTEGER, team VARCHAR, lost VARCHAR) | SELECT AVG(place) FROM table_name_81 WHERE team = "once municipal" AND lost > 3 | What's the place that Once Municipal has a lost greater than 3? | <s>[INST]What's the place that Once Municipal has a lost greater than 3? Context: CREATE TABLE table_name_81 (place INTEGER, team VARCHAR, lost VARCHAR)[/INST]SELECT AVG(place) FROM table_name_81 WHERE team = "once municipal" AND lost > 3</s> |
CREATE TABLE table_name_1 (bronze VARCHAR, nation VARCHAR) | SELECT bronze FROM table_name_1 WHERE nation = "bulgaria" | How many bronze medals did Bulgaria receive? | <s>[INST]How many bronze medals did Bulgaria receive? Context: CREATE TABLE table_name_1 (bronze VARCHAR, nation VARCHAR)[/INST]SELECT bronze FROM table_name_1 WHERE nation = "bulgaria"</s> |
CREATE TABLE table_name_78 (points INTEGER, entrant VARCHAR) | SELECT MAX(points) FROM table_name_78 WHERE entrant = "coloni spa" | What was the most points for Coloni Spa? | <s>[INST]What was the most points for Coloni Spa? Context: CREATE TABLE table_name_78 (points INTEGER, entrant VARCHAR)[/INST]SELECT MAX(points) FROM table_name_78 WHERE entrant = "coloni spa"</s> |
CREATE TABLE table_name_29 (int_percentage VARCHAR, ravg VARCHAR) | SELECT int_percentage FROM table_name_29 WHERE ravg = "2.8" | What is the int percentage that has Ravg of 2.8? | <s>[INST]What is the int percentage that has Ravg of 2.8? Context: CREATE TABLE table_name_29 (int_percentage VARCHAR, ravg VARCHAR)[/INST]SELECT int_percentage FROM table_name_29 WHERE ravg = "2.8"</s> |
CREATE TABLE table_name_21 (total INTEGER, bronze VARCHAR, silver VARCHAR) | SELECT MAX(total) FROM table_name_21 WHERE bronze < 1 AND silver < 0 | What is the highest total number of medals of the nation with less than 1 bronzes and less than 0 silver medals? | <s>[INST]What is the highest total number of medals of the nation with less than 1 bronzes and less than 0 silver medals? Context: CREATE TABLE table_name_21 (total INTEGER, bronze VARCHAR, silver VARCHAR)[/INST]SELECT MAX(total) FROM table_name_21 WHERE bronze < 1 AND silver < 0</s> |
CREATE TABLE table_name_72 (overall VARCHAR, name VARCHAR, pick VARCHAR, college VARCHAR) | SELECT overall FROM table_name_72 WHERE pick < 9 AND college = "michigan state" AND name = "buck mystrom" | What is the overall pick number for a draft pick smaller than 9, named buck mystrom from Michigan State college? | <s>[INST]What is the overall pick number for a draft pick smaller than 9, named buck mystrom from Michigan State college? Context: CREATE TABLE table_name_72 (overall VARCHAR, name VARCHAR, pick VARCHAR, college VARCHAR)[/INST]SELECT overall FROM table_name_72 WHERE pick < 9 AND college = "michigan state" AND name = "b... |
CREATE TABLE table_name_16 (rank INTEGER, lane VARCHAR) | SELECT AVG(rank) FROM table_name_16 WHERE lane = 5 | What is the Rank of the Swimmer in Lane 5? | <s>[INST]What is the Rank of the Swimmer in Lane 5? Context: CREATE TABLE table_name_16 (rank INTEGER, lane VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_16 WHERE lane = 5</s> |
CREATE TABLE table_name_30 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_30 WHERE home_team = "windsor & eton" | Which Score has a Home team of windsor & eton? | <s>[INST]Which Score has a Home team of windsor & eton? Context: CREATE TABLE table_name_30 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_30 WHERE home_team = "windsor & eton"</s> |
CREATE TABLE table_name_46 (polling_institute VARCHAR, lead VARCHAR, labour VARCHAR) | SELECT polling_institute FROM table_name_46 WHERE lead = "12%" AND labour = "40.2%" | Which polling institute showed a lead of 12% and a Labour share of the poll at 40.2%? | <s>[INST]Which polling institute showed a lead of 12% and a Labour share of the poll at 40.2%? Context: CREATE TABLE table_name_46 (polling_institute VARCHAR, lead VARCHAR, labour VARCHAR)[/INST]SELECT polling_institute FROM table_name_46 WHERE lead = "12%" AND labour = "40.2%"</s> |
CREATE TABLE table_name_24 (total VARCHAR, percentage VARCHAR) | SELECT COUNT(total) FROM table_name_24 WHERE percentage = "12.03%" | What is the exact number of Total that has a percentage of precisely 12.03%? | <s>[INST]What is the exact number of Total that has a percentage of precisely 12.03%? Context: CREATE TABLE table_name_24 (total VARCHAR, percentage VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_24 WHERE percentage = "12.03%"</s> |
CREATE TABLE table_name_38 (year INTEGER, title VARCHAR) | SELECT SUM(year) FROM table_name_38 WHERE title = "jotei" | what is the year when the title is jotei? | <s>[INST]what is the year when the title is jotei? Context: CREATE TABLE table_name_38 (year INTEGER, title VARCHAR)[/INST]SELECT SUM(year) FROM table_name_38 WHERE title = "jotei"</s> |
CREATE TABLE table_13399573_3 (losing_bonus VARCHAR, tries_for VARCHAR) | SELECT COUNT(losing_bonus) FROM table_13399573_3 WHERE tries_for = "68" | How many numbers were listed under losing bonus when there were 68 tries for? | <s>[INST]How many numbers were listed under losing bonus when there were 68 tries for? Context: CREATE TABLE table_13399573_3 (losing_bonus VARCHAR, tries_for VARCHAR)[/INST]SELECT COUNT(losing_bonus) FROM table_13399573_3 WHERE tries_for = "68"</s> |
CREATE TABLE table_name_21 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_21 WHERE team_2 = "tours fc (d2)" | Which team 1 played against team 2 of Tours FC (D2)? | <s>[INST]Which team 1 played against team 2 of Tours FC (D2)? Context: CREATE TABLE table_name_21 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_21 WHERE team_2 = "tours fc (d2)"</s> |
CREATE TABLE head (head_id VARCHAR, name VARCHAR) | SELECT head_id, name FROM head WHERE name LIKE '%Ha%' | Which head's name has the substring 'Ha'? List the id and name. | <s>[INST]Which head's name has the substring 'Ha'? List the id and name. Context: CREATE TABLE head (head_id VARCHAR, name VARCHAR)[/INST]SELECT head_id, name FROM head WHERE name LIKE '%Ha%'</s> |
CREATE TABLE table_name_31 (partner VARCHAR, score_in_the_final VARCHAR) | SELECT partner FROM table_name_31 WHERE score_in_the_final = "4–6, 6–7" | Who was the partner for the match with a score in the final of 4–6, 6–7? | <s>[INST]Who was the partner for the match with a score in the final of 4–6, 6–7? Context: CREATE TABLE table_name_31 (partner VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT partner FROM table_name_31 WHERE score_in_the_final = "4–6, 6–7"</s> |
CREATE TABLE table_name_64 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_64 WHERE away_team = "carlton" | What was the largest crowd where Carlton was the away team? | <s>[INST]What was the largest crowd where Carlton was the away team? Context: CREATE TABLE table_name_64 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_64 WHERE away_team = "carlton"</s> |
CREATE TABLE table_name_84 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_84 WHERE tie_no = "replay" AND away_team = "watford" | What was the score of the replay game when watford was the away team? | <s>[INST]What was the score of the replay game when watford was the away team? Context: CREATE TABLE table_name_84 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_84 WHERE tie_no = "replay" AND away_team = "watford"</s> |
CREATE TABLE table_name_19 (coach VARCHAR, year VARCHAR) | SELECT coach FROM table_name_19 WHERE year = "1953" | Who was the coach in 1953? | <s>[INST]Who was the coach in 1953? Context: CREATE TABLE table_name_19 (coach VARCHAR, year VARCHAR)[/INST]SELECT coach FROM table_name_19 WHERE year = "1953"</s> |
CREATE TABLE table_name_68 (constructor VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT constructor FROM table_name_68 WHERE grid < 20 AND laps = 6 | I want the constructor for grid less than 20 and Laps of 6 | <s>[INST]I want the constructor for grid less than 20 and Laps of 6 Context: CREATE TABLE table_name_68 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT constructor FROM table_name_68 WHERE grid < 20 AND laps = 6</s> |
CREATE TABLE table_name_60 (tournament VARCHAR, extra VARCHAR) | SELECT tournament FROM table_name_60 WHERE extra = "3:06.94 s" | What tournament had an extra of 3:06.94 s? | <s>[INST]What tournament had an extra of 3:06.94 s? Context: CREATE TABLE table_name_60 (tournament VARCHAR, extra VARCHAR)[/INST]SELECT tournament FROM table_name_60 WHERE extra = "3:06.94 s"</s> |
CREATE TABLE table_name_13 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_13 WHERE score = 71 - 72 - 66 = 209 | What player has 71-72-66=209 as the score? | <s>[INST]What player has 71-72-66=209 as the score? Context: CREATE TABLE table_name_13 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_13 WHERE score = 71 - 72 - 66 = 209</s> |
CREATE TABLE table_1341586_19 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1341586_19 WHERE district = "Louisiana 2" | what's the result with district being louisiana 2 | <s>[INST]what's the result with district being louisiana 2 Context: CREATE TABLE table_1341586_19 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1341586_19 WHERE district = "Louisiana 2"</s> |
CREATE TABLE table_name_67 (origin VARCHAR, registration VARCHAR) | SELECT origin FROM table_name_67 WHERE registration = "s5-hpb" | What is the country of origin of the aircraft with a registration s5-hpb? | <s>[INST]What is the country of origin of the aircraft with a registration s5-hpb? Context: CREATE TABLE table_name_67 (origin VARCHAR, registration VARCHAR)[/INST]SELECT origin FROM table_name_67 WHERE registration = "s5-hpb"</s> |
CREATE TABLE table_name_58 (replication_site VARCHAR, envelopment VARCHAR, family VARCHAR) | SELECT replication_site FROM table_name_58 WHERE envelopment = "enveloped" AND family = "bunyaviridae" | What is the replication site when the species is enveloped and is of the bunyaviridae family? | <s>[INST]What is the replication site when the species is enveloped and is of the bunyaviridae family? Context: CREATE TABLE table_name_58 (replication_site VARCHAR, envelopment VARCHAR, family VARCHAR)[/INST]SELECT replication_site FROM table_name_58 WHERE envelopment = "enveloped" AND family = "bunyaviridae"</s> |
CREATE TABLE table_11323532_2 (premiere VARCHAR, languages VARCHAR) | SELECT premiere FROM table_11323532_2 WHERE languages = "Danish" | Which premiere had languages in danish? | <s>[INST]Which premiere had languages in danish? Context: CREATE TABLE table_11323532_2 (premiere VARCHAR, languages VARCHAR)[/INST]SELECT premiere FROM table_11323532_2 WHERE languages = "Danish"</s> |
CREATE TABLE table_1342249_42 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342249_42 WHERE incumbent = "Jere Cooper" | How many results have Jere Cooper as incumbent? | <s>[INST]How many results have Jere Cooper as incumbent? Context: CREATE TABLE table_1342249_42 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1342249_42 WHERE incumbent = "Jere Cooper"</s> |
CREATE TABLE table_275023_1 (formed_date VARCHAR, province VARCHAR) | SELECT COUNT(formed_date) FROM table_275023_1 WHERE province = "Wellington" | How many provinces are named Wellington? | <s>[INST]How many provinces are named Wellington? Context: CREATE TABLE table_275023_1 (formed_date VARCHAR, province VARCHAR)[/INST]SELECT COUNT(formed_date) FROM table_275023_1 WHERE province = "Wellington"</s> |
CREATE TABLE matches (YEAR VARCHAR) | SELECT COUNT(*) FROM matches WHERE YEAR = 2013 OR YEAR = 2016 | List the number of all matches who played in years of 2013 or 2016. | <s>[INST]List the number of all matches who played in years of 2013 or 2016. Context: CREATE TABLE matches (YEAR VARCHAR)[/INST]SELECT COUNT(*) FROM matches WHERE YEAR = 2013 OR YEAR = 2016</s> |
CREATE TABLE table_name_6 (bronze VARCHAR, silver VARCHAR, total VARCHAR) | SELECT bronze FROM table_name_6 WHERE silver < 89 AND total = 4 | What is Bronze, when Silver is less than 89, and when Total is "4"? | <s>[INST]What is Bronze, when Silver is less than 89, and when Total is "4"? Context: CREATE TABLE table_name_6 (bronze VARCHAR, silver VARCHAR, total VARCHAR)[/INST]SELECT bronze FROM table_name_6 WHERE silver < 89 AND total = 4</s> |
CREATE TABLE table_name_37 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_37 WHERE away_team = "melbourne" | What was the largest crowd when Melbourne was the away team? | <s>[INST]What was the largest crowd when Melbourne was the away team? Context: CREATE TABLE table_name_37 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_37 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_name_27 (grid INTEGER, driver VARCHAR, time_retired VARCHAR, laps VARCHAR) | SELECT SUM(grid) FROM table_name_27 WHERE time_retired = "engine" AND laps < 45 AND driver = "giancarlo baghetti" | What is the sum of grids with an engine in Time/Retired with less than 45 laps for Giancarlo Baghetti? | <s>[INST]What is the sum of grids with an engine in Time/Retired with less than 45 laps for Giancarlo Baghetti? Context: CREATE TABLE table_name_27 (grid INTEGER, driver VARCHAR, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_27 WHERE time_retired = "engine" AND laps < 45 AND driver = "gianc... |
CREATE TABLE table_name_18 (ansi_code INTEGER, land___sqmi__ VARCHAR, township VARCHAR, longitude VARCHAR, geo_id VARCHAR) | SELECT MIN(ansi_code) FROM table_name_18 WHERE longitude > -101.333926 AND geo_id < 3806700900 AND township = "adler" AND land___sqmi__ > 35.84 | What is the smallest ANSI code for adler township when Longitude is more than -101.333926, GEO ID is less than 3806700900, and Land ( sqmi ) is more than 35.84? | <s>[INST]What is the smallest ANSI code for adler township when Longitude is more than -101.333926, GEO ID is less than 3806700900, and Land ( sqmi ) is more than 35.84? Context: CREATE TABLE table_name_18 (ansi_code INTEGER, land___sqmi__ VARCHAR, township VARCHAR, longitude VARCHAR, geo_id VARCHAR)[/INST]SELECT MIN(a... |
CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_94 WHERE date = "june 18, 2013" | Which tournament took place on June 18, 2013? | <s>[INST]Which tournament took place on June 18, 2013? Context: CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_94 WHERE date = "june 18, 2013"</s> |
CREATE TABLE table_name_59 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_59 WHERE loss = "carman (3-12)" | Name the date with loss of carman (3-12) | <s>[INST]Name the date with loss of carman (3-12) Context: CREATE TABLE table_name_59 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_59 WHERE loss = "carman (3-12)"</s> |
CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE course (crs_code VARCHAR) | SELECT COUNT(*), dept_code FROM CLASS AS T1 JOIN course AS T2 ON T1.crs_code = T2.crs_code GROUP BY dept_code | Find the number of classes in each department. | <s>[INST]Find the number of classes in each department. Context: CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE course (crs_code VARCHAR)[/INST]SELECT COUNT(*), dept_code FROM CLASS AS T1 JOIN course AS T2 ON T1.crs_code = T2.crs_code GROUP BY dept_code</s> |
CREATE TABLE table_name_4 (played INTEGER, points VARCHAR, lost VARCHAR, team VARCHAR) | SELECT SUM(played) FROM table_name_4 WHERE lost > 4 AND team = "américa" AND points < 5 | Which Played has a Lost larger than 4, and a Team of américa, and Points smaller than 5? | <s>[INST]Which Played has a Lost larger than 4, and a Team of américa, and Points smaller than 5? Context: CREATE TABLE table_name_4 (played INTEGER, points VARCHAR, lost VARCHAR, team VARCHAR)[/INST]SELECT SUM(played) FROM table_name_4 WHERE lost > 4 AND team = "américa" AND points < 5</s> |
CREATE TABLE table_name_93 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_93 WHERE to_par = "–4" | Which Player has a To par of –4? | <s>[INST]Which Player has a To par of –4? Context: CREATE TABLE table_name_93 (player VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_93 WHERE to_par = "–4"</s> |
CREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR) | SELECT written_by FROM table_name_71 WHERE original_air_date = "october 9, 2000" | What is the name of the writer for the episode with an Original air date of october 9, 2000? | <s>[INST]What is the name of the writer for the episode with an Original air date of october 9, 2000? Context: CREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR)[/INST]SELECT written_by FROM table_name_71 WHERE original_air_date = "october 9, 2000"</s> |
CREATE TABLE table_name_74 (bronze INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT MAX(bronze) FROM table_name_74 WHERE silver = 1 AND gold = 0 AND rank = "11" AND total > 1 | what is the bronze when silver is 1, gold is 0 the rank is 11 and the total is more than 1? | <s>[INST]what is the bronze when silver is 1, gold is 0 the rank is 11 and the total is more than 1? Context: CREATE TABLE table_name_74 (bronze INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_74 WHERE silver = 1 AND gold = 0 AND rank = "11" AND total > 1</s> |
CREATE TABLE table_1342233_24 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342233_24 WHERE incumbent = "W. Arthur Winstead" | What is the result for w. arthur winstead? | <s>[INST]What is the result for w. arthur winstead? Context: CREATE TABLE table_1342233_24 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1342233_24 WHERE incumbent = "W. Arthur Winstead"</s> |
CREATE TABLE table_name_70 (wins VARCHAR, central_murray VARCHAR, draws VARCHAR) | SELECT COUNT(wins) FROM table_name_70 WHERE central_murray = "koondrook-barham" AND draws > 0 | What is the total number of wins of the central murray of koondrook-barham, which has more than 0 draws? | <s>[INST]What is the total number of wins of the central murray of koondrook-barham, which has more than 0 draws? Context: CREATE TABLE table_name_70 (wins VARCHAR, central_murray VARCHAR, draws VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_70 WHERE central_murray = "koondrook-barham" AND draws > 0</s> |
CREATE TABLE table_name_74 (network VARCHAR, host VARCHAR, viewers VARCHAR) | SELECT network FROM table_name_74 WHERE host = "ken squier" AND viewers = "13.9 million" | Who was the network who had Ken Squier as a host and 13.9 million viewers? | <s>[INST]Who was the network who had Ken Squier as a host and 13.9 million viewers? Context: CREATE TABLE table_name_74 (network VARCHAR, host VARCHAR, viewers VARCHAR)[/INST]SELECT network FROM table_name_74 WHERE host = "ken squier" AND viewers = "13.9 million"</s> |
CREATE TABLE table_17861265_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_17861265_1 WHERE us_viewers__million_ = "3.03" | Who was the episode writer when the viewers reached 3.03 million in the US? | <s>[INST]Who was the episode writer when the viewers reached 3.03 million in the US? Context: CREATE TABLE table_17861265_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT written_by FROM table_17861265_1 WHERE us_viewers__million_ = "3.03"</s> |
CREATE TABLE table_name_26 (tournament VARCHAR) | SELECT tournament FROM table_name_26 WHERE 2009 = "atp masters series" | Tell me the tournament of 2009 of atp masters series | <s>[INST]Tell me the tournament of 2009 of atp masters series Context: CREATE TABLE table_name_26 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_26 WHERE 2009 = "atp masters series"</s> |
CREATE TABLE table_15887683_16 (hdtv VARCHAR, n° VARCHAR) | SELECT hdtv FROM table_15887683_16 WHERE n° = 862 | What values of HDTV correspond to n° of 862? | <s>[INST]What values of HDTV correspond to n° of 862? Context: CREATE TABLE table_15887683_16 (hdtv VARCHAR, n° VARCHAR)[/INST]SELECT hdtv FROM table_15887683_16 WHERE n° = 862</s> |
CREATE TABLE table_15530244_5 (race_2 VARCHAR, driver VARCHAR) | SELECT race_2 FROM table_15530244_5 WHERE driver = "James Winslow" | Name the race 2 for james winslow | <s>[INST]Name the race 2 for james winslow Context: CREATE TABLE table_15530244_5 (race_2 VARCHAR, driver VARCHAR)[/INST]SELECT race_2 FROM table_15530244_5 WHERE driver = "James Winslow"</s> |
CREATE TABLE table_2572788_1 (town_city VARCHAR, station VARCHAR) | SELECT town_city FROM table_2572788_1 WHERE station = "Stratford (Limited service)" | In what city or town is Stratford (limited service)? | <s>[INST]In what city or town is Stratford (limited service)? Context: CREATE TABLE table_2572788_1 (town_city VARCHAR, station VARCHAR)[/INST]SELECT town_city FROM table_2572788_1 WHERE station = "Stratford (Limited service)"</s> |
CREATE TABLE table_1341973_6 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341973_6 WHERE incumbent = "Clyde Doyle" | What was the result of the election of the incumbent clyde doyle? | <s>[INST]What was the result of the election of the incumbent clyde doyle? Context: CREATE TABLE table_1341973_6 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1341973_6 WHERE incumbent = "Clyde Doyle"</s> |
CREATE TABLE table_26986076_6 (sat_21_aug VARCHAR, thurs_26_aug VARCHAR) | SELECT sat_21_aug FROM table_26986076_6 WHERE thurs_26_aug = "20' 56.01 108.143mph" | What was the Sat 21 Aug time for the driver whose Thurs 26 Aug time was 20' 56.01 108.143mph? | <s>[INST]What was the Sat 21 Aug time for the driver whose Thurs 26 Aug time was 20' 56.01 108.143mph? Context: CREATE TABLE table_26986076_6 (sat_21_aug VARCHAR, thurs_26_aug VARCHAR)[/INST]SELECT sat_21_aug FROM table_26986076_6 WHERE thurs_26_aug = "20' 56.01 108.143mph"</s> |
CREATE TABLE ROLES (role_code VARCHAR) | SELECT role_code FROM ROLES | What are all role codes? | <s>[INST]What are all role codes? Context: CREATE TABLE ROLES (role_code VARCHAR)[/INST]SELECT role_code FROM ROLES</s> |
CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, pick__number VARCHAR) | SELECT position FROM table_name_45 WHERE overall > 147 AND pick__number = 21 | Which Position has an Overall larger than 147, and a Pick # of 21? | <s>[INST]Which Position has an Overall larger than 147, and a Pick # of 21? Context: CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, pick__number VARCHAR)[/INST]SELECT position FROM table_name_45 WHERE overall > 147 AND pick__number = 21</s> |
CREATE TABLE table_name_27 (roman VARCHAR, proto_germanic_origin VARCHAR) | SELECT roman FROM table_name_27 WHERE proto_germanic_origin = "/w/" | The Proto-Germanic origin of /w/ is associated with what Roman entry? | <s>[INST]The Proto-Germanic origin of /w/ is associated with what Roman entry? Context: CREATE TABLE table_name_27 (roman VARCHAR, proto_germanic_origin VARCHAR)[/INST]SELECT roman FROM table_name_27 WHERE proto_germanic_origin = "/w/"</s> |
CREATE TABLE table_name_30 (game INTEGER, december VARCHAR, opponent VARCHAR) | SELECT AVG(game) FROM table_name_30 WHERE december > 21 AND opponent = "pittsburgh penguins" | December larger than 21, and a Opponent of Pittsburgh penguins had what average game? | <s>[INST]December larger than 21, and a Opponent of Pittsburgh penguins had what average game? Context: CREATE TABLE table_name_30 (game INTEGER, december VARCHAR, opponent VARCHAR)[/INST]SELECT AVG(game) FROM table_name_30 WHERE december > 21 AND opponent = "pittsburgh penguins"</s> |
CREATE TABLE table_name_72 (opposition VARCHAR, total VARCHAR) | SELECT opposition FROM table_name_72 WHERE total = 10 | Who was the opposition for the player who has a total of 10 points? | <s>[INST]Who was the opposition for the player who has a total of 10 points? Context: CREATE TABLE table_name_72 (opposition VARCHAR, total VARCHAR)[/INST]SELECT opposition FROM table_name_72 WHERE total = 10</s> |
CREATE TABLE table_27969432_2 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_27969432_2 WHERE written_by = "Karina Csolty" | Who directed the episode written by karina csolty | <s>[INST]Who directed the episode written by karina csolty Context: CREATE TABLE table_27969432_2 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT directed_by FROM table_27969432_2 WHERE written_by = "Karina Csolty"</s> |
CREATE TABLE table_name_99 (torque VARCHAR, type VARCHAR, code VARCHAR) | SELECT torque FROM table_name_99 WHERE type = "16 valves dohc" AND code = "k4m hi-flex" | What is the torque of the engine with a type 16 valves dohc and a code k4m hi-flex? | <s>[INST]What is the torque of the engine with a type 16 valves dohc and a code k4m hi-flex? Context: CREATE TABLE table_name_99 (torque VARCHAR, type VARCHAR, code VARCHAR)[/INST]SELECT torque FROM table_name_99 WHERE type = "16 valves dohc" AND code = "k4m hi-flex"</s> |
CREATE TABLE table_1756264_2 (subsidiaries INTEGER, company_name VARCHAR) | SELECT MIN(subsidiaries) FROM table_1756264_2 WHERE company_name = "POSTERMOBILE ADVERTISING LIMITED" | How many subsidiaries are there of Postermobile Advertising Limited? | <s>[INST]How many subsidiaries are there of Postermobile Advertising Limited? Context: CREATE TABLE table_1756264_2 (subsidiaries INTEGER, company_name VARCHAR)[/INST]SELECT MIN(subsidiaries) FROM table_1756264_2 WHERE company_name = "POSTERMOBILE ADVERTISING LIMITED"</s> |
CREATE TABLE table_name_10 (school_club_team VARCHAR, years_for_grizzlies VARCHAR) | SELECT school_club_team FROM table_name_10 WHERE years_for_grizzlies = "1995-1998" | What's the school that played for the Grizzlie from 1995-1998? | <s>[INST]What's the school that played for the Grizzlie from 1995-1998? Context: CREATE TABLE table_name_10 (school_club_team VARCHAR, years_for_grizzlies VARCHAR)[/INST]SELECT school_club_team FROM table_name_10 WHERE years_for_grizzlies = "1995-1998"</s> |
CREATE TABLE table_name_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR) | SELECT AVG(capacity) FROM table_name_14 WHERE stadium = "kadrioru stadium" AND current_manager = "sergei ratnikov" | What is the capacity for the stadium of kadrioru stadium and a current manager of sergei ratnikov? | <s>[INST]What is the capacity for the stadium of kadrioru stadium and a current manager of sergei ratnikov? Context: CREATE TABLE table_name_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR)[/INST]SELECT AVG(capacity) FROM table_name_14 WHERE stadium = "kadrioru stadium" AND current_manager = "sergei ratn... |
CREATE TABLE table_name_33 (date VARCHAR, score VARCHAR, game VARCHAR) | SELECT date FROM table_name_33 WHERE score = "4–5" AND game < 4 | Which Date has a Score of 4–5, and a Game smaller than 4? | <s>[INST]Which Date has a Score of 4–5, and a Game smaller than 4? Context: CREATE TABLE table_name_33 (date VARCHAR, score VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE score = "4–5" AND game < 4</s> |
CREATE TABLE table_26401898_2 (game_site VARCHAR, final_score VARCHAR) | SELECT game_site FROM table_26401898_2 WHERE final_score = "L 26–42" | Name the game site for l 26–42 | <s>[INST]Name the game site for l 26–42 Context: CREATE TABLE table_26401898_2 (game_site VARCHAR, final_score VARCHAR)[/INST]SELECT game_site FROM table_26401898_2 WHERE final_score = "L 26–42"</s> |
CREATE TABLE table_name_34 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_34 WHERE tournament = "u.s. senior open" | Which Margin of victory has a Tournament of u.s. senior open? | <s>[INST]Which Margin of victory has a Tournament of u.s. senior open? Context: CREATE TABLE table_name_34 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_34 WHERE tournament = "u.s. senior open"</s> |
CREATE TABLE table_name_22 (finish VARCHAR, franchise VARCHAR, year VARCHAR, league VARCHAR, percentage VARCHAR) | SELECT finish FROM table_name_22 WHERE league = "nl" AND percentage < 0.726 AND year > 1897 AND franchise = "pittsburgh pirates" | What was the Finish when NL was the League, the Percentage was under 0.726, the Year was larger than 1897, and the Franchies was the Pittsburgh Pirates? | <s>[INST]What was the Finish when NL was the League, the Percentage was under 0.726, the Year was larger than 1897, and the Franchies was the Pittsburgh Pirates? Context: CREATE TABLE table_name_22 (finish VARCHAR, franchise VARCHAR, year VARCHAR, league VARCHAR, percentage VARCHAR)[/INST]SELECT finish FROM table_name_... |
CREATE TABLE table_name_8 (time VARCHAR, heat VARCHAR, rank VARCHAR, athlete VARCHAR) | SELECT COUNT(time) FROM table_name_8 WHERE rank > 29 AND athlete = "barbara pierre" AND heat < 5 | how many times is the rank more than 29, the athlete is barbara pierre and the heat less than 5? | <s>[INST]how many times is the rank more than 29, the athlete is barbara pierre and the heat less than 5? Context: CREATE TABLE table_name_8 (time VARCHAR, heat VARCHAR, rank VARCHAR, athlete VARCHAR)[/INST]SELECT COUNT(time) FROM table_name_8 WHERE rank > 29 AND athlete = "barbara pierre" AND heat < 5</s> |
CREATE TABLE table_2665085_1 (name VARCHAR, park VARCHAR) | SELECT COUNT(name) FROM table_2665085_1 WHERE park = "Mt. Olympus" | How many parks are called mt. olympus | <s>[INST]How many parks are called mt. olympus Context: CREATE TABLE table_2665085_1 (name VARCHAR, park VARCHAR)[/INST]SELECT COUNT(name) FROM table_2665085_1 WHERE park = "Mt. Olympus"</s> |
CREATE TABLE table_name_30 (season VARCHAR, third VARCHAR) | SELECT season FROM table_name_30 WHERE third = "zach jacobson" | Which season has Zach Jacobson in third? | <s>[INST]Which season has Zach Jacobson in third? Context: CREATE TABLE table_name_30 (season VARCHAR, third VARCHAR)[/INST]SELECT season FROM table_name_30 WHERE third = "zach jacobson"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.