context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_28 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_28 WHERE away_team = "altrincham" | Which Tie no that has an Away team of altrincham? | <s>[INST]Which Tie no that has an Away team of altrincham? Context: CREATE TABLE table_name_28 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_28 WHERE away_team = "altrincham"</s> |
CREATE TABLE table_name_96 (champion VARCHAR, runner_up VARCHAR, score VARCHAR) | SELECT champion FROM table_name_96 WHERE runner_up = "florian mayer" AND score = "7–6(6), 4–6, 7–5" | Which Champion has a Runner-up of florian mayer, and a Score of 7–6(6), 4–6, 7–5? | <s>[INST]Which Champion has a Runner-up of florian mayer, and a Score of 7–6(6), 4–6, 7–5? Context: CREATE TABLE table_name_96 (champion VARCHAR, runner_up VARCHAR, score VARCHAR)[/INST]SELECT champion FROM table_name_96 WHERE runner_up = "florian mayer" AND score = "7–6(6), 4–6, 7–5"</s> |
CREATE TABLE table_name_21 (entrants VARCHAR, year VARCHAR) | SELECT COUNT(entrants) FROM table_name_21 WHERE year = 2011 | How many entrants were there in 2011? | <s>[INST]How many entrants were there in 2011? Context: CREATE TABLE table_name_21 (entrants VARCHAR, year VARCHAR)[/INST]SELECT COUNT(entrants) FROM table_name_21 WHERE year = 2011</s> |
CREATE TABLE table_name_71 (countries_sampled INTEGER, ranking_in_latin_america__2_ VARCHAR, year_of_publication VARCHAR, world_ranking__1_ VARCHAR) | SELECT SUM(countries_sampled) FROM table_name_71 WHERE year_of_publication = "2010" AND world_ranking__1_ = "33" AND ranking_in_latin_america__2_ < 3 | How many countries sampled has a world ranking of 33 in 2010 and less than 3 ranking in Latin America? | <s>[INST]How many countries sampled has a world ranking of 33 in 2010 and less than 3 ranking in Latin America? Context: CREATE TABLE table_name_71 (countries_sampled INTEGER, ranking_in_latin_america__2_ VARCHAR, year_of_publication VARCHAR, world_ranking__1_ VARCHAR)[/INST]SELECT SUM(countries_sampled) FROM table_nam... |
CREATE TABLE table_name_21 (class VARCHAR, facility_id VARCHAR) | SELECT class FROM table_name_21 WHERE facility_id = 150935 | What is the class of facility ID 150935? | <s>[INST]What is the class of facility ID 150935? Context: CREATE TABLE table_name_21 (class VARCHAR, facility_id VARCHAR)[/INST]SELECT class FROM table_name_21 WHERE facility_id = 150935</s> |
CREATE TABLE table_name_29 (team VARCHAR, high_assists VARCHAR) | SELECT team FROM table_name_29 WHERE high_assists = "alvin williams (6)" | What is the team when alvin williams (6) has the high assists? | <s>[INST]What is the team when alvin williams (6) has the high assists? Context: CREATE TABLE table_name_29 (team VARCHAR, high_assists VARCHAR)[/INST]SELECT team FROM table_name_29 WHERE high_assists = "alvin williams (6)"</s> |
CREATE TABLE table_name_38 (tournament VARCHAR) | SELECT tournament FROM table_name_38 WHERE 2013 = "1r" AND 2012 = "1r" | Which tournament has a 2013 of 1r, and a 2012 of 1r? | <s>[INST]Which tournament has a 2013 of 1r, and a 2012 of 1r? Context: CREATE TABLE table_name_38 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_38 WHERE 2013 = "1r" AND 2012 = "1r"</s> |
CREATE TABLE table_name_34 (winner VARCHAR, fis_nordic_world_ski_championships VARCHAR) | SELECT winner FROM table_name_34 WHERE fis_nordic_world_ski_championships = "1980" | Who won the men's ski jump when the FIS Nordic World Ski Championships was 1980? | <s>[INST]Who won the men's ski jump when the FIS Nordic World Ski Championships was 1980? Context: CREATE TABLE table_name_34 (winner VARCHAR, fis_nordic_world_ski_championships VARCHAR)[/INST]SELECT winner FROM table_name_34 WHERE fis_nordic_world_ski_championships = "1980"</s> |
CREATE TABLE table_225200_4 (district VARCHAR, reason_for_change VARCHAR) | SELECT district FROM table_225200_4 WHERE reason_for_change = "Rep. Warren R. Davis died during previous congress" | Name the district for rep. warren r. davis died during previous congress | <s>[INST]Name the district for rep. warren r. davis died during previous congress Context: CREATE TABLE table_225200_4 (district VARCHAR, reason_for_change VARCHAR)[/INST]SELECT district FROM table_225200_4 WHERE reason_for_change = "Rep. Warren R. Davis died during previous congress"</s> |
CREATE TABLE table_name_72 (react INTEGER, time VARCHAR, lane VARCHAR, rank VARCHAR) | SELECT AVG(react) FROM table_name_72 WHERE lane < 4 AND rank > 4 AND time > 23.22 | Which React has a Lane smaller than 4, and a Rank larger than 4, and a Time larger than 23.22? | <s>[INST]Which React has a Lane smaller than 4, and a Rank larger than 4, and a Time larger than 23.22? Context: CREATE TABLE table_name_72 (react INTEGER, time VARCHAR, lane VARCHAR, rank VARCHAR)[/INST]SELECT AVG(react) FROM table_name_72 WHERE lane < 4 AND rank > 4 AND time > 23.22</s> |
CREATE TABLE table_name_49 (studio VARCHAR, title VARCHAR) | SELECT studio FROM table_name_49 WHERE title = "do not disturb" | What is Studio, when Title is "Do Not Disturb"? | <s>[INST]What is Studio, when Title is "Do Not Disturb"? Context: CREATE TABLE table_name_49 (studio VARCHAR, title VARCHAR)[/INST]SELECT studio FROM table_name_49 WHERE title = "do not disturb"</s> |
CREATE TABLE table_name_41 (purse___ VARCHAR, champion VARCHAR, venue VARCHAR) | SELECT COUNT(purse___) AS $__ FROM table_name_41 WHERE champion = "sherri steinhauer" AND venue = "woburn golf and country club" | What was the purse when Sherri Steinhauer was champion at Woburn Golf and Country Club? | <s>[INST]What was the purse when Sherri Steinhauer was champion at Woburn Golf and Country Club? Context: CREATE TABLE table_name_41 (purse___ VARCHAR, champion VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(purse___) AS $__ FROM table_name_41 WHERE champion = "sherri steinhauer" AND venue = "woburn golf and country club"<... |
CREATE TABLE table_name_63 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_63 WHERE player = "tom kite" | What was Tom Kite's to par? | <s>[INST]What was Tom Kite's to par? Context: CREATE TABLE table_name_63 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_63 WHERE player = "tom kite"</s> |
CREATE TABLE table_16423070_4 (basketball VARCHAR, cross_country VARCHAR, track_ VARCHAR, _field VARCHAR) | SELECT basketball FROM table_16423070_4 WHERE track_ & _field = "Ashland" AND cross_country = "Ashland" | who won basketball when ashland won track & field and cross country | <s>[INST]who won basketball when ashland won track & field and cross country Context: CREATE TABLE table_16423070_4 (basketball VARCHAR, cross_country VARCHAR, track_ VARCHAR, _field VARCHAR)[/INST]SELECT basketball FROM table_16423070_4 WHERE track_ & _field = "Ashland" AND cross_country = "Ashland"</s> |
CREATE TABLE table_21234111_6 (jason VARCHAR, public_vote__percentage VARCHAR) | SELECT jason FROM table_21234111_6 WHERE public_vote__percentage = "19.20%" | Name the jason for public vote being 19.20% | <s>[INST]Name the jason for public vote being 19.20% Context: CREATE TABLE table_21234111_6 (jason VARCHAR, public_vote__percentage VARCHAR)[/INST]SELECT jason FROM table_21234111_6 WHERE public_vote__percentage = "19.20%"</s> |
CREATE TABLE table_name_5 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_5 WHERE date = "april 22" | On the date of April 22, which city was a visitor? | <s>[INST]On the date of April 22, which city was a visitor? Context: CREATE TABLE table_name_5 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_5 WHERE date = "april 22"</s> |
CREATE TABLE table_name_91 (home_team VARCHAR, attendance VARCHAR) | SELECT home_team FROM table_name_91 WHERE attendance = "160" | Which Home team had attendance 160? | <s>[INST]Which Home team had attendance 160? Context: CREATE TABLE table_name_91 (home_team VARCHAR, attendance VARCHAR)[/INST]SELECT home_team FROM table_name_91 WHERE attendance = "160"</s> |
CREATE TABLE table_221315_3 (usaf_space_flights VARCHAR, max_speed__mph_ VARCHAR) | SELECT usaf_space_flights FROM table_221315_3 WHERE max_speed__mph_ = 3822 | What were all USAF space flights when the aximum speed was 3822? | <s>[INST]What were all USAF space flights when the aximum speed was 3822? Context: CREATE TABLE table_221315_3 (usaf_space_flights VARCHAR, max_speed__mph_ VARCHAR)[/INST]SELECT usaf_space_flights FROM table_221315_3 WHERE max_speed__mph_ = 3822</s> |
CREATE TABLE table_25505246_8 (outcome VARCHAR, partner VARCHAR) | SELECT outcome FROM table_25505246_8 WHERE partner = "Caroline Wozniacki" | How did the match end when she played with caroline wozniacki? | <s>[INST]How did the match end when she played with caroline wozniacki? Context: CREATE TABLE table_25505246_8 (outcome VARCHAR, partner VARCHAR)[/INST]SELECT outcome FROM table_25505246_8 WHERE partner = "Caroline Wozniacki"</s> |
CREATE TABLE table_name_64 (lane INTEGER, rank VARCHAR) | SELECT MIN(lane) FROM table_name_64 WHERE rank = 6 | What is the smallest lane for rank 6? | <s>[INST]What is the smallest lane for rank 6? Context: CREATE TABLE table_name_64 (lane INTEGER, rank VARCHAR)[/INST]SELECT MIN(lane) FROM table_name_64 WHERE rank = 6</s> |
CREATE TABLE table_name_25 (points INTEGER, grid VARCHAR) | SELECT AVG(points) FROM table_name_25 WHERE grid = 4 | What are grid 4's average points? | <s>[INST]What are grid 4's average points? Context: CREATE TABLE table_name_25 (points INTEGER, grid VARCHAR)[/INST]SELECT AVG(points) FROM table_name_25 WHERE grid = 4</s> |
CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR, StagePosition VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR) | SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = "Der Kapitan" AND T1.StagePosition = "back" | Who is performing in the back stage position for the song "Der Kapitan"? Show the first name and last name. | <s>[INST]Who is performing in the back stage position for the song "Der Kapitan"? Show the first name and last name. Context: CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR, StagePosition VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title... |
CREATE TABLE table_name_22 (overall INTEGER, position VARCHAR, round VARCHAR) | SELECT MAX(overall) FROM table_name_22 WHERE position = "center" AND round < 10 | What is the largest overall rank for a center drafted before round 10? | <s>[INST]What is the largest overall rank for a center drafted before round 10? Context: CREATE TABLE table_name_22 (overall INTEGER, position VARCHAR, round VARCHAR)[/INST]SELECT MAX(overall) FROM table_name_22 WHERE position = "center" AND round < 10</s> |
CREATE TABLE table_name_40 (ranking VARCHAR) | SELECT 2009 FROM table_name_40 WHERE ranking = "webometrics" | What was the 2009 ranking for Webometrics? | <s>[INST]What was the 2009 ranking for Webometrics? Context: CREATE TABLE table_name_40 (ranking VARCHAR)[/INST]SELECT 2009 FROM table_name_40 WHERE ranking = "webometrics"</s> |
CREATE TABLE table_name_85 (bronze VARCHAR, nation VARCHAR) | SELECT bronze FROM table_name_85 WHERE nation = "poland" | Which bronze has a Nation of poland? | <s>[INST]Which bronze has a Nation of poland? Context: CREATE TABLE table_name_85 (bronze VARCHAR, nation VARCHAR)[/INST]SELECT bronze FROM table_name_85 WHERE nation = "poland"</s> |
CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_76 WHERE location = "berlin" | What's the date when the location is Berlin? | <s>[INST]What's the date when the location is Berlin? Context: CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE location = "berlin"</s> |
CREATE TABLE table_name_25 (losses INTEGER, club VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_difference VARCHAR) | SELECT MAX(losses) FROM table_name_25 WHERE goals_against < 68 AND goal_difference < 23 AND draws = 10 AND club = "racing de santander" | What losses did racing de santander, that scored less than 68 goals, had a goal difference of less than 23 and 10 draws? | <s>[INST]What losses did racing de santander, that scored less than 68 goals, had a goal difference of less than 23 and 10 draws? Context: CREATE TABLE table_name_25 (losses INTEGER, club VARCHAR, draws VARCHAR, goals_against VARCHAR, goal_difference VARCHAR)[/INST]SELECT MAX(losses) FROM table_name_25 WHERE goals_agai... |
CREATE TABLE table_180802_2 (abbr VARCHAR, zodiac_sign VARCHAR) | SELECT abbr FROM table_180802_2 WHERE zodiac_sign = "Scorpio" | What's the abbreviation of the month in the zodiac sign scorpio? | <s>[INST]What's the abbreviation of the month in the zodiac sign scorpio? Context: CREATE TABLE table_180802_2 (abbr VARCHAR, zodiac_sign VARCHAR)[/INST]SELECT abbr FROM table_180802_2 WHERE zodiac_sign = "Scorpio"</s> |
CREATE TABLE table_22464685_1 (author VARCHAR, english_name VARCHAR) | SELECT author FROM table_22464685_1 WHERE english_name = "Histories and Eulogies of the Sovereigns" | Who is the auther when the english name was histories and eulogies of the sovereigns? | <s>[INST]Who is the auther when the english name was histories and eulogies of the sovereigns? Context: CREATE TABLE table_22464685_1 (author VARCHAR, english_name VARCHAR)[/INST]SELECT author FROM table_22464685_1 WHERE english_name = "Histories and Eulogies of the Sovereigns"</s> |
CREATE TABLE table_name_37 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_37 WHERE score = 67 - 76 - 74 - 67 = 284 | What is the Place of the Player with a Score of 67-76-74-67=284? | <s>[INST]What is the Place of the Player with a Score of 67-76-74-67=284? Context: CREATE TABLE table_name_37 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_37 WHERE score = 67 - 76 - 74 - 67 = 284</s> |
CREATE TABLE table_name_22 (driver VARCHAR, tyre VARCHAR, engine VARCHAR, rounds VARCHAR) | SELECT driver FROM table_name_22 WHERE engine = "ford cosworth dfv 3.0 v8" AND rounds = "3-12" AND tyre = "g" | Who used the Ford Cosworth DFV 3.0 v8 engine in rounds 3-12, with a G tire? | <s>[INST]Who used the Ford Cosworth DFV 3.0 v8 engine in rounds 3-12, with a G tire? Context: CREATE TABLE table_name_22 (driver VARCHAR, tyre VARCHAR, engine VARCHAR, rounds VARCHAR)[/INST]SELECT driver FROM table_name_22 WHERE engine = "ford cosworth dfv 3.0 v8" AND rounds = "3-12" AND tyre = "g"</s> |
CREATE TABLE table_name_21 (round VARCHAR, pick VARCHAR, position VARCHAR) | SELECT COUNT(round) FROM table_name_21 WHERE pick > 303 AND position = "end" | What is the total number of rounds of the end player with a pick number greater than 303? | <s>[INST]What is the total number of rounds of the end player with a pick number greater than 303? Context: CREATE TABLE table_name_21 (round VARCHAR, pick VARCHAR, position VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_21 WHERE pick > 303 AND position = "end"</s> |
CREATE TABLE table_name_79 (wounded VARCHAR, complement VARCHAR) | SELECT wounded FROM table_name_79 WHERE complement = "83 off 9 men" | How many were Wounded while in a Unit with a Complement of 83 off 9 Men? | <s>[INST]How many were Wounded while in a Unit with a Complement of 83 off 9 Men? Context: CREATE TABLE table_name_79 (wounded VARCHAR, complement VARCHAR)[/INST]SELECT wounded FROM table_name_79 WHERE complement = "83 off 9 men"</s> |
CREATE TABLE table_name_45 (date VARCHAR, winner VARCHAR, competition_round VARCHAR, venue VARCHAR, season VARCHAR) | SELECT date FROM table_name_45 WHERE venue = "estadio alejandro villanueva" AND season > 2003 AND competition_round = "torneo apertura" AND winner = "universitario" | On what date did Universitario win the Torneo Apertura round after 2003 at Estadio Alejandro Villanueva? | <s>[INST]On what date did Universitario win the Torneo Apertura round after 2003 at Estadio Alejandro Villanueva? Context: CREATE TABLE table_name_45 (date VARCHAR, winner VARCHAR, competition_round VARCHAR, venue VARCHAR, season VARCHAR)[/INST]SELECT date FROM table_name_45 WHERE venue = "estadio alejandro villanueva"... |
CREATE TABLE table_name_96 (year VARCHAR, attempts VARCHAR) | SELECT year FROM table_name_96 WHERE attempts = "888" | In what year was the number of attempts 888? | <s>[INST]In what year was the number of attempts 888? Context: CREATE TABLE table_name_96 (year VARCHAR, attempts VARCHAR)[/INST]SELECT year FROM table_name_96 WHERE attempts = "888"</s> |
CREATE TABLE table_name_28 (position VARCHAR) | SELECT 2007 FROM table_name_28 WHERE position = 6 | What is the 2007 rating of the channel with a position of 6? | <s>[INST]What is the 2007 rating of the channel with a position of 6? Context: CREATE TABLE table_name_28 (position VARCHAR)[/INST]SELECT 2007 FROM table_name_28 WHERE position = 6</s> |
CREATE TABLE table_name_76 (_number_of_airlines VARCHAR, distance__km_ VARCHAR) | SELECT COUNT(_number_of_airlines) FROM table_name_76 WHERE distance__km_ = 705 | How many Airlines have a total distance of 705 (km)? | <s>[INST]How many Airlines have a total distance of 705 (km)? Context: CREATE TABLE table_name_76 (_number_of_airlines VARCHAR, distance__km_ VARCHAR)[/INST]SELECT COUNT(_number_of_airlines) FROM table_name_76 WHERE distance__km_ = 705</s> |
CREATE TABLE table_name_87 (drawn VARCHAR, points VARCHAR, lost VARCHAR) | SELECT COUNT(drawn) FROM table_name_87 WHERE points < 5 AND lost > 7 | How many Drawns have Points smaller than 5 and a Lost larger than 7? | <s>[INST]How many Drawns have Points smaller than 5 and a Lost larger than 7? Context: CREATE TABLE table_name_87 (drawn VARCHAR, points VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(drawn) FROM table_name_87 WHERE points < 5 AND lost > 7</s> |
CREATE TABLE table_name_44 (original_name VARCHAR, language VARCHAR) | SELECT original_name FROM table_name_44 WHERE language = "portuguese" | Which film was translated from portuguese? | <s>[INST]Which film was translated from portuguese? Context: CREATE TABLE table_name_44 (original_name VARCHAR, language VARCHAR)[/INST]SELECT original_name FROM table_name_44 WHERE language = "portuguese"</s> |
CREATE TABLE table_name_28 (time VARCHAR, away_team VARCHAR) | SELECT time FROM table_name_28 WHERE away_team = "mutual team b" | What was the time for the match with away team Mutual Team B? | <s>[INST]What was the time for the match with away team Mutual Team B? Context: CREATE TABLE table_name_28 (time VARCHAR, away_team VARCHAR)[/INST]SELECT time FROM table_name_28 WHERE away_team = "mutual team b"</s> |
CREATE TABLE table_name_8 (decision VARCHAR, date VARCHAR) | SELECT decision FROM table_name_8 WHERE date = "march 18" | what is the decision on the date march 18? | <s>[INST]what is the decision on the date march 18? Context: CREATE TABLE table_name_8 (decision VARCHAR, date VARCHAR)[/INST]SELECT decision FROM table_name_8 WHERE date = "march 18"</s> |
CREATE TABLE table_1942683_1 (house_colour VARCHAR, house_name VARCHAR) | SELECT house_colour FROM table_1942683_1 WHERE house_name = "Kupe" | What is the house colour associated with the house name of Kupe? | <s>[INST]What is the house colour associated with the house name of Kupe? Context: CREATE TABLE table_1942683_1 (house_colour VARCHAR, house_name VARCHAR)[/INST]SELECT house_colour FROM table_1942683_1 WHERE house_name = "Kupe"</s> |
CREATE TABLE table_name_35 (melbourne VARCHAR, perth VARCHAR, auckland VARCHAR) | SELECT melbourne FROM table_name_35 WHERE perth = "yes" AND auckland = "yes" | Which Melbourne has a Perth of yes, and an Auckland of yes? | <s>[INST]Which Melbourne has a Perth of yes, and an Auckland of yes? Context: CREATE TABLE table_name_35 (melbourne VARCHAR, perth VARCHAR, auckland VARCHAR)[/INST]SELECT melbourne FROM table_name_35 WHERE perth = "yes" AND auckland = "yes"</s> |
CREATE TABLE table_name_94 (notes VARCHAR, year VARCHAR, position VARCHAR) | SELECT notes FROM table_name_94 WHERE year = 2008 AND position = "19th" | What is the note result when the runner finished 19th in 2008? | <s>[INST]What is the note result when the runner finished 19th in 2008? Context: CREATE TABLE table_name_94 (notes VARCHAR, year VARCHAR, position VARCHAR)[/INST]SELECT notes FROM table_name_94 WHERE year = 2008 AND position = "19th"</s> |
CREATE TABLE table_name_22 (lema_sublema VARCHAR, votes VARCHAR, ch_of_deputies VARCHAR) | SELECT lema_sublema FROM table_name_22 WHERE votes < 218656 AND ch_of_deputies = "0" | Which LEMA/SUBLEMA that has Votes smaller than 218656, and a Ch of Deputies of 0? | <s>[INST]Which LEMA/SUBLEMA that has Votes smaller than 218656, and a Ch of Deputies of 0? Context: CREATE TABLE table_name_22 (lema_sublema VARCHAR, votes VARCHAR, ch_of_deputies VARCHAR)[/INST]SELECT lema_sublema FROM table_name_22 WHERE votes < 218656 AND ch_of_deputies = "0"</s> |
CREATE TABLE table_name_35 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_35 WHERE opponent = "torpedo moscow" | What is the Round with an Opponent that is torpedo moscow? | <s>[INST]What is the Round with an Opponent that is torpedo moscow? Context: CREATE TABLE table_name_35 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_35 WHERE opponent = "torpedo moscow"</s> |
CREATE TABLE table_name_96 (city___state VARCHAR, series VARCHAR) | SELECT city___state FROM table_name_96 WHERE series = "atcc round 1" | What city had a series of atcc round 1? | <s>[INST]What city had a series of atcc round 1? Context: CREATE TABLE table_name_96 (city___state VARCHAR, series VARCHAR)[/INST]SELECT city___state FROM table_name_96 WHERE series = "atcc round 1"</s> |
CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT opponent FROM table_name_93 WHERE surface = "clay" AND outcome = "winner" AND championship = "estoril" AND date = "15 april 1996" | who is the opponent when the surface is clay, the outcome is winner and the championship is estoril on 15 april 1996? | <s>[INST]who is the opponent when the surface is clay, the outcome is winner and the championship is estoril on 15 april 1996? Context: CREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR)[/INST]SELECT opponent FROM table_name_93 WHERE surface = "clay" AND ... |
CREATE TABLE table_name_27 (ties VARCHAR, name VARCHAR, lost VARCHAR) | SELECT COUNT(ties) FROM table_name_27 WHERE name = "totals" AND lost > 30 | Tell me the total number of ties for name of totals and lost more than 30 | <s>[INST]Tell me the total number of ties for name of totals and lost more than 30 Context: CREATE TABLE table_name_27 (ties VARCHAR, name VARCHAR, lost VARCHAR)[/INST]SELECT COUNT(ties) FROM table_name_27 WHERE name = "totals" AND lost > 30</s> |
CREATE TABLE table_2896329_1 (handicap VARCHAR, prize_money VARCHAR) | SELECT handicap FROM table_2896329_1 WHERE prize_money = "120s" | What was the handicap when the prize money was 120s? | <s>[INST]What was the handicap when the prize money was 120s? Context: CREATE TABLE table_2896329_1 (handicap VARCHAR, prize_money VARCHAR)[/INST]SELECT handicap FROM table_2896329_1 WHERE prize_money = "120s"</s> |
CREATE TABLE table_name_64 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT AVG(total) FROM table_name_64 WHERE silver > 2 AND bronze = 12 AND gold < 12 | what is the average total when silver is more than 2, bronze is 12 and gold is less than 12? | <s>[INST]what is the average total when silver is more than 2, bronze is 12 and gold is less than 12? Context: CREATE TABLE table_name_64 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(total) FROM table_name_64 WHERE silver > 2 AND bronze = 12 AND gold < 12</s> |
CREATE TABLE table_name_36 (runner_up VARCHAR, week VARCHAR) | SELECT runner_up FROM table_name_36 WHERE week = "april 11" | What is the Runner-up on April 11? | <s>[INST]What is the Runner-up on April 11? Context: CREATE TABLE table_name_36 (runner_up VARCHAR, week VARCHAR)[/INST]SELECT runner_up FROM table_name_36 WHERE week = "april 11"</s> |
CREATE TABLE table_name_66 (baby_gender VARCHAR, congresswoman VARCHAR) | SELECT baby_gender FROM table_name_66 WHERE congresswoman = "jaime herrera beutler" | What is the gender of Congresswoman Jaime Herrera Beutler's baby? | <s>[INST]What is the gender of Congresswoman Jaime Herrera Beutler's baby? Context: CREATE TABLE table_name_66 (baby_gender VARCHAR, congresswoman VARCHAR)[/INST]SELECT baby_gender FROM table_name_66 WHERE congresswoman = "jaime herrera beutler"</s> |
CREATE TABLE table_name_45 (date VARCHAR, site VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_45 WHERE site = "memorial stadium • minneapolis, mn" AND opponent = "northwestern" | What is the Date at memorial stadium • minneapolis, mn, and an Opponent of northwestern? | <s>[INST]What is the Date at memorial stadium • minneapolis, mn, and an Opponent of northwestern? Context: CREATE TABLE table_name_45 (date VARCHAR, site VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_45 WHERE site = "memorial stadium • minneapolis, mn" AND opponent = "northwestern"</s> |
CREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR) | SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505 | What is the first game number that had attendance of 56,505? | <s>[INST]What is the first game number that had attendance of 56,505? Context: CREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR)[/INST]SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505</s> |
CREATE TABLE table_name_57 (rank INTEGER, rider VARCHAR) | SELECT SUM(rank) FROM table_name_57 WHERE rider = "andrew neill" | What was Andrew Neill's rank? | <s>[INST]What was Andrew Neill's rank? Context: CREATE TABLE table_name_57 (rank INTEGER, rider VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_57 WHERE rider = "andrew neill"</s> |
CREATE TABLE table_17432028_1 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_17432028_1 WHERE date = "March 15" | Name the high rebounds for march 15 | <s>[INST]Name the high rebounds for march 15 Context: CREATE TABLE table_17432028_1 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_17432028_1 WHERE date = "March 15"</s> |
CREATE TABLE table_name_8 (denomination VARCHAR, series VARCHAR) | SELECT denomination FROM table_name_8 WHERE series = "iii series" | What is the denomination of the III Series? | <s>[INST]What is the denomination of the III Series? Context: CREATE TABLE table_name_8 (denomination VARCHAR, series VARCHAR)[/INST]SELECT denomination FROM table_name_8 WHERE series = "iii series"</s> |
CREATE TABLE table_name_40 (location VARCHAR, tournament VARCHAR) | SELECT location FROM table_name_40 WHERE tournament = "buick-goodwrench open" | What is the Location for the buick-goodwrench open? | <s>[INST]What is the Location for the buick-goodwrench open? Context: CREATE TABLE table_name_40 (location VARCHAR, tournament VARCHAR)[/INST]SELECT location FROM table_name_40 WHERE tournament = "buick-goodwrench open"</s> |
CREATE TABLE table_22904780_1 (original_air_date VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_22904780_1 WHERE written_by = "Russel Friend & Garrett Lerner" | List the 1st air date for the show where the writers are russel friend & garrett lerner. | <s>[INST]List the 1st air date for the show where the writers are russel friend & garrett lerner. Context: CREATE TABLE table_22904780_1 (original_air_date VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_22904780_1 WHERE written_by = "Russel Friend & Garrett Lerner"</s> |
CREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR) | SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23 | What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points? | <s>[INST]What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points? Context: CREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR)[/INST]SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23</s... |
CREATE TABLE table_name_9 (street_address VARCHAR, floors VARCHAR) | SELECT street_address FROM table_name_9 WHERE floors = "5" | What is the street address of the building with 5 floors? | <s>[INST]What is the street address of the building with 5 floors? Context: CREATE TABLE table_name_9 (street_address VARCHAR, floors VARCHAR)[/INST]SELECT street_address FROM table_name_9 WHERE floors = "5"</s> |
CREATE TABLE table_name_53 (lost INTEGER, matches VARCHAR) | SELECT AVG(lost) FROM table_name_53 WHERE matches = 6 | Name the average lost for matches of 6 | <s>[INST]Name the average lost for matches of 6 Context: CREATE TABLE table_name_53 (lost INTEGER, matches VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_53 WHERE matches = 6</s> |
CREATE TABLE table_14115168_4 (national_titles INTEGER, school VARCHAR) | SELECT MIN(national_titles) FROM table_14115168_4 WHERE school = "Concordia University" | how many overall championships does concordia university have | <s>[INST]how many overall championships does concordia university have Context: CREATE TABLE table_14115168_4 (national_titles INTEGER, school VARCHAR)[/INST]SELECT MIN(national_titles) FROM table_14115168_4 WHERE school = "Concordia University"</s> |
CREATE TABLE table_1341453_34 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1341453_34 WHERE first_elected = "1980" | What were the candidates in the district that first elected in 1980? | <s>[INST]What were the candidates in the district that first elected in 1980? Context: CREATE TABLE table_1341453_34 (candidates VARCHAR, first_elected VARCHAR)[/INST]SELECT candidates FROM table_1341453_34 WHERE first_elected = "1980"</s> |
CREATE TABLE table_name_28 (length_feet VARCHAR, name VARCHAR, mi_from_kingston VARCHAR, length_meters VARCHAR) | SELECT length_feet FROM table_name_28 WHERE mi_from_kingston > 84.5 AND length_meters > 55.5 AND name = "unnamed" | What is Lenth Feet, when Mi From Kingston is greater than 84.5, when Length Meters is greater than 55.5, and when Name is Unnamed? | <s>[INST]What is Lenth Feet, when Mi From Kingston is greater than 84.5, when Length Meters is greater than 55.5, and when Name is Unnamed? Context: CREATE TABLE table_name_28 (length_feet VARCHAR, name VARCHAR, mi_from_kingston VARCHAR, length_meters VARCHAR)[/INST]SELECT length_feet FROM table_name_28 WHERE mi_from_k... |
CREATE TABLE table_256286_20 (yes_votes INTEGER, _percentage_yes VARCHAR) | SELECT MAX(yes_votes) FROM table_256286_20 WHERE _percentage_yes = "43.18%" | how many yes votes made up 43.18% yes? | <s>[INST]how many yes votes made up 43.18% yes? Context: CREATE TABLE table_256286_20 (yes_votes INTEGER, _percentage_yes VARCHAR)[/INST]SELECT MAX(yes_votes) FROM table_256286_20 WHERE _percentage_yes = "43.18%"</s> |
CREATE TABLE table_name_32 (overall INTEGER, college VARCHAR, pick__number VARCHAR) | SELECT MIN(overall) FROM table_name_32 WHERE college = "san diego state" AND pick__number < 30 | College of san diego state, and a Pick # smaller than 30 is what lowest overall? | <s>[INST]College of san diego state, and a Pick # smaller than 30 is what lowest overall? Context: CREATE TABLE table_name_32 (overall INTEGER, college VARCHAR, pick__number VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_32 WHERE college = "san diego state" AND pick__number < 30</s> |
CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR) | SELECT COUNT(*), t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name | Find the number of employees hired in each shop; show the shop name as well. | <s>[INST]Find the number of employees hired in each shop; show the shop name as well. Context: CREATE TABLE shop (name VARCHAR, shop_id VARCHAR); CREATE TABLE hiring (shop_id VARCHAR)[/INST]SELECT COUNT(*), t2.name FROM hiring AS t1 JOIN shop AS t2 ON t1.shop_id = t2.shop_id GROUP BY t2.name</s> |
CREATE TABLE table_name_34 (polish_cup INTEGER, player VARCHAR, ekstraklasa VARCHAR) | SELECT SUM(polish_cup) FROM table_name_34 WHERE player = "maciej iwański" AND ekstraklasa < 1 | What is the sum of Polish Cup, when Player is "Maciej Iwański", and when Ekstraklasa is less than 1? | <s>[INST]What is the sum of Polish Cup, when Player is "Maciej Iwański", and when Ekstraklasa is less than 1? Context: CREATE TABLE table_name_34 (polish_cup INTEGER, player VARCHAR, ekstraklasa VARCHAR)[/INST]SELECT SUM(polish_cup) FROM table_name_34 WHERE player = "maciej iwański" AND ekstraklasa < 1</s> |
CREATE TABLE table_name_9 (lost INTEGER, drawn VARCHAR, against VARCHAR, points VARCHAR) | SELECT MAX(lost) FROM table_name_9 WHERE against > 60 AND points < 61 AND drawn > 18 | What is the highest lost that has an against greater than 60, points less than 61 and an 18 drawn? | <s>[INST]What is the highest lost that has an against greater than 60, points less than 61 and an 18 drawn? Context: CREATE TABLE table_name_9 (lost INTEGER, drawn VARCHAR, against VARCHAR, points VARCHAR)[/INST]SELECT MAX(lost) FROM table_name_9 WHERE against > 60 AND points < 61 AND drawn > 18</s> |
CREATE TABLE documents (document_type_code VARCHAR, document_name VARCHAR) | SELECT document_type_code FROM documents WHERE document_name = "David CV" | What is the type of the document named "David CV"? | <s>[INST]What is the type of the document named "David CV"? Context: CREATE TABLE documents (document_type_code VARCHAR, document_name VARCHAR)[/INST]SELECT document_type_code FROM documents WHERE document_name = "David CV"</s> |
CREATE TABLE film (Studio VARCHAR) | SELECT Studio, COUNT(*) FROM film GROUP BY Studio | List the studios of each film and the number of films produced by that studio. | <s>[INST]List the studios of each film and the number of films produced by that studio. Context: CREATE TABLE film (Studio VARCHAR)[/INST]SELECT Studio, COUNT(*) FROM film GROUP BY Studio</s> |
CREATE TABLE table_26914076_3 (us_viewers__millions_ VARCHAR, story_by VARCHAR) | SELECT us_viewers__millions_ FROM table_26914076_3 WHERE story_by = "David Simon & Mari Kornhauser" | How many viewers watched the episode with a story by david simon & mari kornhauser? | <s>[INST]How many viewers watched the episode with a story by david simon & mari kornhauser? Context: CREATE TABLE table_26914076_3 (us_viewers__millions_ VARCHAR, story_by VARCHAR)[/INST]SELECT us_viewers__millions_ FROM table_26914076_3 WHERE story_by = "David Simon & Mari Kornhauser"</s> |
CREATE TABLE table_name_82 (kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR) | SELECT MAX(kuala_lumpur) FROM table_name_82 WHERE durban < 1 AND mar_del_plata > 0 | What is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del Plata value greater than 0? | <s>[INST]What is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del Plata value greater than 0? Context: CREATE TABLE table_name_82 (kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR)[/INST]SELECT MAX(kuala_lumpur) FROM table_name_82 WHERE durban < 1 AND mar_del_plata > 0</s> |
CREATE TABLE table_14058433_5 (won VARCHAR, tries_for VARCHAR) | SELECT won FROM table_14058433_5 WHERE tries_for = "84" | what's the won with tries for being 84 | <s>[INST]what's the won with tries for being 84 Context: CREATE TABLE table_14058433_5 (won VARCHAR, tries_for VARCHAR)[/INST]SELECT won FROM table_14058433_5 WHERE tries_for = "84"</s> |
CREATE TABLE table_28962227_1 (runners_up VARCHAR, winner VARCHAR) | SELECT COUNT(runners_up) FROM table_28962227_1 WHERE winner = "Joanne Wheatley" | How many runners-up were there when Joanne Wheatley won? | <s>[INST]How many runners-up were there when Joanne Wheatley won? Context: CREATE TABLE table_28962227_1 (runners_up VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(runners_up) FROM table_28962227_1 WHERE winner = "Joanne Wheatley"</s> |
CREATE TABLE table_28037619_2 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(written_by) FROM table_28037619_2 WHERE us_viewers__million_ = "7.26" | How many people wrote the episode that had 7.26 million u.s. viewers? | <s>[INST]How many people wrote the episode that had 7.26 million u.s. viewers? Context: CREATE TABLE table_28037619_2 (written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_28037619_2 WHERE us_viewers__million_ = "7.26"</s> |
CREATE TABLE table_name_89 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_89 WHERE opponent = "ryan bow" | What event had the opponent Ryan Bow? | <s>[INST]What event had the opponent Ryan Bow? Context: CREATE TABLE table_name_89 (event VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_89 WHERE opponent = "ryan bow"</s> |
CREATE TABLE table_2266976_1 (driver VARCHAR, year VARCHAR) | SELECT driver FROM table_2266976_1 WHERE year = "1986" | Who was the driver in 1986? | <s>[INST]Who was the driver in 1986? Context: CREATE TABLE table_2266976_1 (driver VARCHAR, year VARCHAR)[/INST]SELECT driver FROM table_2266976_1 WHERE year = "1986"</s> |
CREATE TABLE table_name_33 (solo VARCHAR, player VARCHAR, yards VARCHAR) | SELECT COUNT(solo) FROM table_name_33 WHERE player = "sean mcinerney" AND yards > 0 | What is the total number of Solo with a Player with sean mcinerney, and Yards larger than 0? | <s>[INST]What is the total number of Solo with a Player with sean mcinerney, and Yards larger than 0? Context: CREATE TABLE table_name_33 (solo VARCHAR, player VARCHAR, yards VARCHAR)[/INST]SELECT COUNT(solo) FROM table_name_33 WHERE player = "sean mcinerney" AND yards > 0</s> |
CREATE TABLE table_11570261_1 (margin VARCHAR, runner_s__up VARCHAR) | SELECT margin FROM table_11570261_1 WHERE runner_s__up = "Phil Mickelson" | what's the margin where runner(s)-up is phil mickelson | <s>[INST] what's the margin where runner(s)-up is phil mickelson Context: CREATE TABLE table_11570261_1 (margin VARCHAR, runner_s__up VARCHAR)[/INST]SELECT margin FROM table_11570261_1 WHERE runner_s__up = "Phil Mickelson"</s> |
CREATE TABLE table_name_1 (grid INTEGER, laps VARCHAR) | SELECT MAX(grid) FROM table_name_1 WHERE laps = 55 | What is the highest grid that has 55 laps? | <s>[INST]What is the highest grid that has 55 laps? Context: CREATE TABLE table_name_1 (grid INTEGER, laps VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_1 WHERE laps = 55</s> |
CREATE TABLE table_name_4 (county VARCHAR, latitude VARCHAR, geo_id VARCHAR) | SELECT county FROM table_name_4 WHERE latitude < 46.935364 AND geo_id = 3801700500 | In what county is the latitude less than 46.935364 and GEO ID is 3801700500? | <s>[INST]In what county is the latitude less than 46.935364 and GEO ID is 3801700500? Context: CREATE TABLE table_name_4 (county VARCHAR, latitude VARCHAR, geo_id VARCHAR)[/INST]SELECT county FROM table_name_4 WHERE latitude < 46.935364 AND geo_id = 3801700500</s> |
CREATE TABLE table_name_68 (status VARCHAR, against VARCHAR) | SELECT status FROM table_name_68 WHERE against = 11 | What is the status when the against is 11? | <s>[INST]What is the status when the against is 11? Context: CREATE TABLE table_name_68 (status VARCHAR, against VARCHAR)[/INST]SELECT status FROM table_name_68 WHERE against = 11</s> |
CREATE TABLE table_name_65 (cuts_made INTEGER, top_25 VARCHAR, top_10 VARCHAR) | SELECT AVG(cuts_made) FROM table_name_65 WHERE top_25 < 10 AND top_10 > 3 | What is the average cuts made at the top 25, less than 10, and at the Top 10 more than 3? | <s>[INST]What is the average cuts made at the top 25, less than 10, and at the Top 10 more than 3? Context: CREATE TABLE table_name_65 (cuts_made INTEGER, top_25 VARCHAR, top_10 VARCHAR)[/INST]SELECT AVG(cuts_made) FROM table_name_65 WHERE top_25 < 10 AND top_10 > 3</s> |
CREATE TABLE table_1342393_17 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342393_17 WHERE incumbent = "James O'Connor" | who is the the candidates with incumbent being james o'connor | <s>[INST]who is the the candidates with incumbent being james o'connor Context: CREATE TABLE table_1342393_17 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342393_17 WHERE incumbent = "James O'Connor"</s> |
CREATE TABLE table_name_48 (class VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR) | SELECT class FROM table_name_48 WHERE wheel_arrangement = "2-8-2" AND quantity_made = "25" | What is the locomotive class that has a wheel arrangement of 2-8-2 and a quantity made of 25? | <s>[INST]What is the locomotive class that has a wheel arrangement of 2-8-2 and a quantity made of 25? Context: CREATE TABLE table_name_48 (class VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)[/INST]SELECT class FROM table_name_48 WHERE wheel_arrangement = "2-8-2" AND quantity_made = "25"</s> |
CREATE TABLE table_2562572_26 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_26 WHERE settlement = "Gornji Tavankut" | What is the dominant religion in Gornji Tavankut? | <s>[INST]What is the dominant religion in Gornji Tavankut? Context: CREATE TABLE table_2562572_26 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)[/INST]SELECT dominant_religion__2002_ FROM table_2562572_26 WHERE settlement = "Gornji Tavankut"</s> |
CREATE TABLE table_name_8 (attenmdance VARCHAR, stadium VARCHAR) | SELECT attenmdance FROM table_name_8 WHERE stadium = "war memorial stadium" | What was the attendance at war memorial stadium? | <s>[INST]What was the attendance at war memorial stadium? Context: CREATE TABLE table_name_8 (attenmdance VARCHAR, stadium VARCHAR)[/INST]SELECT attenmdance FROM table_name_8 WHERE stadium = "war memorial stadium"</s> |
CREATE TABLE table_name_74 (laps INTEGER, rider VARCHAR, grid VARCHAR, bike VARCHAR) | SELECT AVG(laps) FROM table_name_74 WHERE grid > 12 AND bike = "ducati 999rs" AND rider = "dean ellison" | Tell me the average Laps for grid larger than 12 and bikes of ducati 999rs for dean ellison | <s>[INST]Tell me the average Laps for grid larger than 12 and bikes of ducati 999rs for dean ellison Context: CREATE TABLE table_name_74 (laps INTEGER, rider VARCHAR, grid VARCHAR, bike VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_74 WHERE grid > 12 AND bike = "ducati 999rs" AND rider = "dean ellison"</s> |
CREATE TABLE table_name_25 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_name_25 WHERE pick__number = 77 | What is the Position of Pick #77? | <s>[INST]What is the Position of Pick #77? Context: CREATE TABLE table_name_25 (position VARCHAR, pick__number VARCHAR)[/INST]SELECT position FROM table_name_25 WHERE pick__number = 77</s> |
CREATE TABLE table_name_31 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) | SELECT opponent_in_the_final FROM table_name_31 WHERE score_in_the_final = "7–5, 6–2" | What Opponent in the final had a match with a Score in the final of 7–5, 6–2? | <s>[INST]What Opponent in the final had a match with a Score in the final of 7–5, 6–2? Context: CREATE TABLE table_name_31 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_31 WHERE score_in_the_final = "7–5, 6–2"</s> |
CREATE TABLE Employees (role_code VARCHAR) | SELECT role_code FROM Employees GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1 | What is the role code with the largest number of employees? | <s>[INST]What is the role code with the largest number of employees? Context: CREATE TABLE Employees (role_code VARCHAR)[/INST]SELECT role_code FROM Employees GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_41 (particle VARCHAR, isospin_i VARCHAR, commonly_decays_to VARCHAR) | SELECT particle FROM table_name_41 WHERE isospin_i = "1" AND commonly_decays_to = "p + + π 0 or n 0 + π +" | Which Particle has an Isospin I of 1 and Commonly decays to p + + π 0 or n 0 + π +? | <s>[INST]Which Particle has an Isospin I of 1 and Commonly decays to p + + π 0 or n 0 + π +? Context: CREATE TABLE table_name_41 (particle VARCHAR, isospin_i VARCHAR, commonly_decays_to VARCHAR)[/INST]SELECT particle FROM table_name_41 WHERE isospin_i = "1" AND commonly_decays_to = "p + + π 0 or n 0 + π +"</s> |
CREATE TABLE table_name_25 (general_classification VARCHAR, team_classification VARCHAR, stage VARCHAR) | SELECT general_classification FROM table_name_25 WHERE team_classification = "mapei-clas" AND stage = "12" | What is the general classification of Mapei-clas in stage 12? | <s>[INST]What is the general classification of Mapei-clas in stage 12? Context: CREATE TABLE table_name_25 (general_classification VARCHAR, team_classification VARCHAR, stage VARCHAR)[/INST]SELECT general_classification FROM table_name_25 WHERE team_classification = "mapei-clas" AND stage = "12"</s> |
CREATE TABLE elimination (Team VARCHAR) | SELECT Team FROM elimination GROUP BY Team HAVING COUNT(*) > 3 | Show teams that have suffered more than three eliminations. | <s>[INST]Show teams that have suffered more than three eliminations. Context: CREATE TABLE elimination (Team VARCHAR)[/INST]SELECT Team FROM elimination GROUP BY Team HAVING COUNT(*) > 3</s> |
CREATE TABLE table_name_16 (result VARCHAR, week VARCHAR, date VARCHAR) | SELECT result FROM table_name_16 WHERE week > 7 AND date = "november 4, 1979" | what is the result for the week higher than 7 on november 4, 1979? | <s>[INST]what is the result for the week higher than 7 on november 4, 1979? Context: CREATE TABLE table_name_16 (result VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_16 WHERE week > 7 AND date = "november 4, 1979"</s> |
CREATE TABLE table_19982699_1 (_number INTEGER, producer VARCHAR, television_premiere VARCHAR) | SELECT MIN(_number) FROM table_19982699_1 WHERE producer = "Charles Salmon" AND television_premiere = "January 27, 2007" | How many numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere? | <s>[INST]How many numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere? Context: CREATE TABLE table_19982699_1 (_number INTEGER, producer VARCHAR, television_premiere VARCHAR)[/INST]SELECT MIN(_number) FROM table_19982699_1 WHERE producer = "Charles Salmon" AND television_premier... |
CREATE TABLE table_name_69 (construction VARCHAR, name__wade_giles_ VARCHAR) | SELECT construction FROM table_name_69 WHERE name__wade_giles_ = "heng-hai" | which Construction is named heng-hai? | <s>[INST]which Construction is named heng-hai? Context: CREATE TABLE table_name_69 (construction VARCHAR, name__wade_giles_ VARCHAR)[/INST]SELECT construction FROM table_name_69 WHERE name__wade_giles_ = "heng-hai"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.