question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What is the record for a game lower than 79? | CREATE TABLE table_name_90 (record VARCHAR, game INTEGER) | SELECT record FROM table_name_90 WHERE game < 79 |
Which manager has Manchester City as the team? | CREATE TABLE table_name_14 (manager VARCHAR, team VARCHAR) | SELECT manager FROM table_name_14 WHERE team = "manchester city" |
Name the commissioned-decommissioned for oakland and NVR page of aor-1 | CREATE TABLE table_name_62 (commissioned__decommissioned VARCHAR, home_port VARCHAR, nvr_page VARCHAR) | SELECT commissioned__decommissioned FROM table_name_62 WHERE home_port = "oakland" AND nvr_page = "aor-1" |
What is the total number of Season(s), when Original Airdate is January 24, 1999, and when Year is less than 1999? | CREATE TABLE table_name_67 (season VARCHAR, original_airdate VARCHAR, year VARCHAR) | SELECT COUNT(season) FROM table_name_67 WHERE original_airdate = "january 24, 1999" AND year < 1999 |
How many points did shahar pe'er score? | CREATE TABLE table_20855452_4 (points VARCHAR, player VARCHAR) | SELECT points AS won FROM table_20855452_4 WHERE player = "Shahar Pe'er" |
How many performers are 29 that made it to the semi finals? | CREATE TABLE table_28180840_15 (semifinal__week_ VARCHAR, age_s_ VARCHAR) | SELECT semifinal__week_ FROM table_28180840_15 WHERE age_s_ = "29" |
At what tournament did pete sampras begin his lead? | CREATE TABLE table_23408094_14 (tournament_at_which_lead_began VARCHAR, player VARCHAR) | SELECT tournament_at_which_lead_began FROM table_23408094_14 WHERE player = "Pete Sampras" |
How many rounds did Honester Davidson play? | CREATE TABLE table_name_95 (round VARCHAR, player VARCHAR) | SELECT COUNT(round) FROM table_name_95 WHERE player = "honester davidson" |
What location and how many people were in attendance where the record was 9-4 for the season? | CREATE TABLE table_23285849_5 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_23285849_5 WHERE record = "9-4" |
Who is the player in 20th place? | CREATE TABLE table_name_65 (player VARCHAR, placing VARCHAR) | SELECT player FROM table_name_65 WHERE placing = "20th place" |
Which Country has a Height (m) larger than 4100, and a Range of arsi mountains, and a Mountain of bada? | CREATE TABLE table_name_15 (country VARCHAR, mountain VARCHAR, height__m_ VARCHAR, range VARCHAR) | SELECT country FROM table_name_15 WHERE height__m_ > 4100 AND range = "arsi mountains" AND mountain = "bada" |
Who was the Hessen the year that Saar was FK Pirmasens? | CREATE TABLE table_name_23 (hessen VARCHAR, saar VARCHAR) | SELECT hessen FROM table_name_23 WHERE saar = "fk pirmasens" |
What is the Removal that has a Trim of xe (2009)? | CREATE TABLE table_name_32 (transmission VARCHAR, trim VARCHAR) | SELECT transmission FROM table_name_32 WHERE trim = "xe (2009)" |
What is the mintage for a location of Sion and a denomination of 00500 500 Francs? | CREATE TABLE table_26336060_19 (mintage VARCHAR, location VARCHAR, denomination VARCHAR) | SELECT mintage FROM table_26336060_19 WHERE location = "Sion" AND denomination = "00500 500 francs" |
What is Championship, when Outcome is "runner-up", and when Opponents In Final is "Gigi Fernández Natalia Zvereva"? | CREATE TABLE table_name_55 (championship VARCHAR, outcome VARCHAR, opponents_in_final VARCHAR) | SELECT championship FROM table_name_55 WHERE outcome = "runner-up" AND opponents_in_final = "gigi fernández natalia zvereva" |
What was the date for the Sepang International circuit, round 3? | CREATE TABLE table_name_40 (date VARCHAR, circuit VARCHAR, round VARCHAR) | SELECT date FROM table_name_40 WHERE circuit = "sepang international circuit" AND round = "3" |
Who directed the episode that was written by Jonathan Fener? | CREATE TABLE table_23242968_1 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_23242968_1 WHERE written_by = "Jonathan Fener" |
What's the Result listed that has a Date of June 12, 1997? | CREATE TABLE table_name_76 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_76 WHERE date = "june 12, 1997" |
Which event had a time of 2:34? | CREATE TABLE table_name_86 (event VARCHAR, time VARCHAR) | SELECT event FROM table_name_86 WHERE time = "2:34" |
Name the rank for thomas morgenstern | CREATE TABLE table_24489942_10 (rank VARCHAR, name VARCHAR) | SELECT rank FROM table_24489942_10 WHERE name = "Thomas Morgenstern" |
When was the incumbent in the Tennessee 4 district first elected? | CREATE TABLE table_1341453_44 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1341453_44 WHERE district = "Tennessee 4" |
Who was the opponent with a record of 14-4-1 and has a round of 1? | CREATE TABLE table_name_45 (opponent VARCHAR, round VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_45 WHERE round = "1" AND record = "14-4-1" |
Which tie did Huddersfield Town play as an away team? | CREATE TABLE table_name_87 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_87 WHERE away_team = "huddersfield town" |
Who had the high assist in the game where the record is 13-11? | CREATE TABLE table_18813011_6 (high_assists VARCHAR, record VARCHAR) | SELECT high_assists FROM table_18813011_6 WHERE record = "13-11" |
Who is Runner(s)-up that has a Date of may 24, 1999? | CREATE TABLE table_name_37 (runner_s__up VARCHAR, date VARCHAR) | SELECT runner_s__up FROM table_name_37 WHERE date = "may 24, 1999" |
List all singer names in concerts in year 2014. | CREATE TABLE singer_in_concert (singer_id VARCHAR, concert_id VARCHAR); CREATE TABLE concert (concert_id VARCHAR, year VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR) | SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014 |
WHAT IS THE SOCIAL SOFTWARE WITH NO DISCUSSION, NO TIME TRACKING, AND NO CHARTING? | CREATE TABLE table_name_18 (social_software VARCHAR, charting VARCHAR, discussion VARCHAR, time_tracking VARCHAR) | SELECT social_software FROM table_name_18 WHERE discussion = "no" AND time_tracking = "no" AND charting = "no" |
What is the couple that received a total score of 38? | CREATE TABLE table_28677723_16 (couple VARCHAR, total VARCHAR) | SELECT couple FROM table_28677723_16 WHERE total = 38 |
What is the Tamil Name of சந்திர புத்தாண்டு (தினம் 2)? | CREATE TABLE table_name_80 (type VARCHAR, tamil_name VARCHAR) | SELECT type FROM table_name_80 WHERE tamil_name = "சந்திர புத்தாண்டு (தினம் 2)" |
What is the greatest first elected for Pennsylvania 10? | CREATE TABLE table_name_56 (first_elected INTEGER, district VARCHAR) | SELECT MAX(first_elected) FROM table_name_56 WHERE district = "pennsylvania 10" |
Home for away of hispano? | CREATE TABLE table_name_4 (home VARCHAR, away VARCHAR) | SELECT home FROM table_name_4 WHERE away = "hispano" |
What is the result when the time was 5:00 and a record of 14-4? | CREATE TABLE table_name_43 (res VARCHAR, time VARCHAR, record VARCHAR) | SELECT res FROM table_name_43 WHERE time = "5:00" AND record = "14-4" |
What Band number has a Power (W) of 400 or less? | CREATE TABLE table_name_46 (band INTEGER, power__w_ INTEGER) | SELECT SUM(band) FROM table_name_46 WHERE power__w_ < 400 |
Which kind of part has the least number of faults? List the part name. | CREATE TABLE Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Part_Faults (part_id VARCHAR) | SELECT T1.part_name FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_name ORDER BY COUNT(*) LIMIT 1 |
The gayfield park stadium had a highest attendance of what? | CREATE TABLE table_11206916_1 (highest INTEGER, stadium VARCHAR) | SELECT MAX(highest) FROM table_11206916_1 WHERE stadium = "Gayfield Park" |
what's the notes where number range is 17 | CREATE TABLE table_1181375_1 (notes VARCHAR, number_range VARCHAR) | SELECT notes FROM table_1181375_1 WHERE number_range = "17" |
How many product # have episode 1? | CREATE TABLE table_2289806_1 (prod__number INTEGER, episode__number VARCHAR) | SELECT MAX(prod__number) FROM table_2289806_1 WHERE episode__number = 1 |
What is Geelong's home team score? | CREATE TABLE table_name_89 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_89 WHERE home_team = "geelong" |
What years did jersey number 55 play? | CREATE TABLE table_name_81 (years VARCHAR, jersey_number_s_ VARCHAR) | SELECT years FROM table_name_81 WHERE jersey_number_s_ = "55" |
When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps? | CREATE TABLE table_name_30 (apps INTEGER, goals VARCHAR, club VARCHAR, season VARCHAR) | SELECT SUM(apps) FROM table_name_30 WHERE club = "flamengo" AND season = "2009" AND goals > 0 |
What is the name of the non mammal of the unit vyazniki assemblage? | CREATE TABLE table_name_3 (name VARCHAR, unit VARCHAR) | SELECT name FROM table_name_3 WHERE unit = "vyazniki assemblage" |
what is the school in michigantown? | CREATE TABLE table_name_93 (school VARCHAR, location VARCHAR) | SELECT school FROM table_name_93 WHERE location = "michigantown" |
What is the range (varies by payload weight) for the unknown player? | CREATE TABLE table_name_34 (range__varies_with_payload_weight_ VARCHAR, payload VARCHAR) | SELECT range__varies_with_payload_weight_ FROM table_name_34 WHERE payload = "unknown" |
What is the day 1 when day 5 is math? | CREATE TABLE table_name_35 (day_1 VARCHAR, day_5 VARCHAR) | SELECT day_1 FROM table_name_35 WHERE day_5 = "math" |
Who placed t5 and had a score of 70-72=142? | CREATE TABLE table_name_45 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_45 WHERE place = "t5" AND score = 70 - 72 = 142 |
Which Against is the highest one that has a Drawn larger than 1, and a Team of corinthians, and a Played smaller than 7? | CREATE TABLE table_name_31 (against INTEGER, played VARCHAR, drawn VARCHAR, team VARCHAR) | SELECT MAX(against) FROM table_name_31 WHERE drawn > 1 AND team = "corinthians" AND played < 7 |
What event type had BODY CMAS in 1980 and underwater hockey? | CREATE TABLE table_name_57 (event_type VARCHAR, sport VARCHAR, body VARCHAR, year VARCHAR) | SELECT event_type FROM table_name_57 WHERE body = "cmas" AND year = "1980" AND sport = "underwater hockey" |
Name the became consort for christian ix spouse | CREATE TABLE table_name_31 (became_consort VARCHAR, spouse VARCHAR) | SELECT became_consort FROM table_name_31 WHERE spouse = "christian ix" |
What is the total number of Rounds held in Nevada, United States in which the time was 1:55? | CREATE TABLE table_name_5 (round VARCHAR, location VARCHAR, time VARCHAR) | SELECT COUNT(round) FROM table_name_5 WHERE location = "nevada, united states" AND time = "1:55" |
What is the rank for the team that had a time of 6:41.45 and note FA? | CREATE TABLE table_name_26 (rank INTEGER, notes VARCHAR, time VARCHAR) | SELECT SUM(rank) FROM table_name_26 WHERE notes = "fa" AND time = "6:41.45" |
Which team had a driver with a finish position of 7? | CREATE TABLE table_name_85 (team VARCHAR, fin_pos VARCHAR) | SELECT team FROM table_name_85 WHERE fin_pos = "7" |
What race did Meo Constantini win at the circuit of monza ? | CREATE TABLE table_name_36 (name VARCHAR, winning_driver VARCHAR, circuit VARCHAR) | SELECT name FROM table_name_36 WHERE winning_driver = "meo constantini" AND circuit = "monza" |
What's the earliest year anybody joined the hockey league? | CREATE TABLE table_16384648_2 (joined_tschl INTEGER) | SELECT MIN(joined_tschl) FROM table_16384648_2 |
When did episode number 6 air? | CREATE TABLE table_24399615_5 (airdate VARCHAR, episode_no VARCHAR) | SELECT airdate FROM table_24399615_5 WHERE episode_no = 6 |
In seris episode 11-04, what is the B segment titled? | CREATE TABLE table_15187735_11 (segment_b VARCHAR, series_ep VARCHAR) | SELECT segment_b FROM table_15187735_11 WHERE series_ep = "11-04" |
When was land of the midnight fun in the mm series released? | CREATE TABLE table_name_54 (release_date VARCHAR, series VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_54 WHERE series = "mm" AND title = "land of the midnight fun" |
What site in the RCA Del Caribe was deleted? | CREATE TABLE table_name_8 (deleted VARCHAR, name VARCHAR) | SELECT deleted FROM table_name_8 WHERE name = "rca del caribe" |
What Chassis ranked 18th? | CREATE TABLE table_name_18 (chassis VARCHAR, rank VARCHAR) | SELECT chassis FROM table_name_18 WHERE rank = "18th" |
What batting partners were the most successful in 2004? | CREATE TABLE table_1670921_2 (batting_partners VARCHAR, season VARCHAR) | SELECT batting_partners FROM table_1670921_2 WHERE season = "2004" |
What date was the episode that aired at 7:30 pm ET? | CREATE TABLE table_name_26 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_26 WHERE time = "7:30 pm et" |
Which tournament had a hard surface? | CREATE TABLE table_name_22 (tournament VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_22 WHERE surface = "hard" |
Show the studios that have not produced films with director "Walter Hill". | CREATE TABLE film (Studio VARCHAR, Director VARCHAR) | SELECT Studio FROM film EXCEPT SELECT Studio FROM film WHERE Director = "Walter Hill" |
Which Round is the highest one that has a College of arizona, and an Overall larger than 120? | CREATE TABLE table_name_25 (round INTEGER, college VARCHAR, overall VARCHAR) | SELECT MAX(round) FROM table_name_25 WHERE college = "arizona" AND overall > 120 |
What is the total number of Silver, when Gold is less than 34, when Rank is "6", and when Total is greater than 10? | CREATE TABLE table_name_81 (silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT COUNT(silver) FROM table_name_81 WHERE gold < 34 AND rank = "6" AND total > 10 |
In which venue was North Melbourne the Away team? | CREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_14 WHERE away_team = "north melbourne" |
Which engine is responsible for the USAC Championship Car? | CREATE TABLE table_name_72 (engine VARCHAR, series VARCHAR) | SELECT engine FROM table_name_72 WHERE series = "usac championship car" |
What is the name of the player that is pick #69? | CREATE TABLE table_name_51 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_name_51 WHERE pick__number = "69" |
What was the latest number in series that was directed by Skip Sudduth? | CREATE TABLE table_27491610_2 (no_in_series INTEGER, directed_by VARCHAR) | SELECT MAX(no_in_series) FROM table_27491610_2 WHERE directed_by = "Skip Sudduth" |
Name the score for december 28 | CREATE TABLE table_15872814_4 (score VARCHAR, date VARCHAR) | SELECT score FROM table_15872814_4 WHERE date = "December 28" |
What year has an issue price over 15.95, and a special notes from edmonton oilers gift set? | CREATE TABLE table_name_10 (year VARCHAR, issue_price VARCHAR, special_notes VARCHAR) | SELECT COUNT(year) FROM table_name_10 WHERE issue_price > 15.95 AND special_notes = "from edmonton oilers gift set" |
What was the result for Pennsylvania 8? | CREATE TABLE table_2668401_12 (result VARCHAR, district VARCHAR) | SELECT result FROM table_2668401_12 WHERE district = "Pennsylvania 8" |
Name the class for boten | CREATE TABLE table_1745843_9 (class VARCHAR, part_3 VARCHAR) | SELECT class FROM table_1745843_9 WHERE part_3 = "boten" |
What years are listed for analogue cable with 35 channels? | CREATE TABLE table_name_27 (years VARCHAR, transmission VARCHAR, no_of_channels VARCHAR) | SELECT years FROM table_name_27 WHERE transmission = "analogue cable" AND no_of_channels = "35" |
What is L2 Cache, when Model Number is Pentium II 350? | CREATE TABLE table_name_54 (l2_cache VARCHAR, model_number VARCHAR) | SELECT l2_cache FROM table_name_54 WHERE model_number = "pentium ii 350" |
Which home team competed against the away team of Melbourne? | CREATE TABLE table_name_56 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_56 WHERE away_team = "melbourne" |
What is the Fri 3 June time for the rider with a Weds 1 June time of 18' 22.66 123.182mph? | CREATE TABLE table_29218221_2 (fri_3_june VARCHAR, wed_1_june VARCHAR) | SELECT fri_3_june FROM table_29218221_2 WHERE wed_1_june = "18' 22.66 123.182mph" |
Which Wednesday has a Saturday of གཟའ་སྤེན་པ།? | CREATE TABLE table_name_23 (wednesday VARCHAR, saturday VARCHAR) | SELECT wednesday FROM table_name_23 WHERE saturday = "གཟའ་སྤེན་པ།" |
What Region is the MHCL-20004 Catalog? | CREATE TABLE table_name_39 (region VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_39 WHERE catalog = "mhcl-20004" |
How many million people in the US saw the episode with production code 105? | CREATE TABLE table_29569969_2 (us_viewers__millions_ VARCHAR, production_code VARCHAR) | SELECT us_viewers__millions_ FROM table_29569969_2 WHERE production_code = 105 |
What is the news frequency for the show Locker Room? | CREATE TABLE table_name_73 (news_freq VARCHAR, show_name VARCHAR) | SELECT news_freq FROM table_name_73 WHERE show_name = "locker room" |
What is the total number of positions having 1 loss and more than 9 conceded? | CREATE TABLE table_name_7 (position VARCHAR, losses VARCHAR, conceded VARCHAR) | SELECT COUNT(position) FROM table_name_7 WHERE losses = 1 AND conceded > 9 |
How many votes were tallied in 1956 with a % of national vote larger than 11.47? | CREATE TABLE table_name_66 (votes INTEGER, date VARCHAR, _percentage_of_national_vote VARCHAR) | SELECT SUM(votes) FROM table_name_66 WHERE date = "1956" AND _percentage_of_national_vote > 11.47 |
What was the result of the election where william f. goodling was the incumbent? | CREATE TABLE table_1341522_41 (status VARCHAR, incumbent VARCHAR) | SELECT status FROM table_1341522_41 WHERE incumbent = "William F. Goodling" |
What is the number of rank of peak fresvikbreen? | CREATE TABLE table_12280396_1 (rank VARCHAR, peak VARCHAR) | SELECT COUNT(rank) FROM table_12280396_1 WHERE peak = "Fresvikbreen" |
What round has 3-4 as the record? | CREATE TABLE table_name_49 (round VARCHAR, record VARCHAR) | SELECT round FROM table_name_49 WHERE record = "3-4" |
Was it a win or a loss for Wanganui in Paeroa? | CREATE TABLE table_26847237_1 (win_loss VARCHAR, location VARCHAR) | SELECT win_loss FROM table_26847237_1 WHERE location = "Paeroa" |
What country has t4 place and a 67-71-73=211 score? | CREATE TABLE table_name_16 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_16 WHERE place = "t4" AND score = 67 - 71 - 73 = 211 |
What player had less than 6 appearances at the FA cup, 33 at the premier league, and more than 5 at the UEFA cup? | CREATE TABLE table_name_62 (player VARCHAR, UEfa_cup VARCHAR, fa_cup VARCHAR, premier_league VARCHAR) | SELECT player FROM table_name_62 WHERE fa_cup < 6 AND premier_league = 33 AND UEfa_cup > 5 |
Which exaltation has a domicile of Saturn and a fall of Jupiter? | CREATE TABLE table_name_98 (exaltation VARCHAR, domicile VARCHAR, fall VARCHAR) | SELECT exaltation FROM table_name_98 WHERE domicile = "saturn" AND fall = "jupiter" |
When did joão souza play? | CREATE TABLE table_name_11 (date VARCHAR, opponen VARCHAR) | SELECT date FROM table_name_11 WHERE opponen = "joão souza" |
List the names of climbers whose country is not Switzerland. | CREATE TABLE climber (Name VARCHAR, Country VARCHAR) | SELECT Name FROM climber WHERE Country <> "Switzerland" |
What is the total number of opponents for the game recorded as 1-3? | CREATE TABLE table_16710971_2 (opponent VARCHAR, record VARCHAR) | SELECT COUNT(opponent) FROM table_16710971_2 WHERE record = "1-3" |
name the civil parish for garryduff | CREATE TABLE table_30120664_1 (civil_parish VARCHAR, townland VARCHAR) | SELECT civil_parish FROM table_30120664_1 WHERE townland = "Garryduff" |
What is the Label of the Original CD release? | CREATE TABLE table_name_40 (label VARCHAR, format VARCHAR, version VARCHAR) | SELECT label FROM table_name_40 WHERE format = "cd" AND version = "original" |
What venue did the parntership of shoaib malik / misbah-ul-haq occur? | CREATE TABLE table_name_79 (venue VARCHAR, partnerships VARCHAR) | SELECT venue FROM table_name_79 WHERE partnerships = "shoaib malik / misbah-ul-haq" |
What was the total number of votes for Tom Connally | CREATE TABLE table_1342393_42 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1342393_42 WHERE incumbent = "Tom Connally" |
Which Drew has a Rank of 5, and a Played larger than 30? | CREATE TABLE table_name_55 (drew VARCHAR, rank VARCHAR, played VARCHAR) | SELECT COUNT(drew) FROM table_name_55 WHERE rank = 5 AND played > 30 |
What was the result for the time of 1-26.21? | CREATE TABLE table_20626467_1 (result VARCHAR, time VARCHAR) | SELECT result FROM table_20626467_1 WHERE time = "1-26.21" |
For the game with team of @ Chicago, what was the final score? | CREATE TABLE table_name_19 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_19 WHERE team = "@ chicago" |
Which NIR number is for the tso (ex-br class 488 unit 488305) type that has a 6082 / 72605 BR number? | CREATE TABLE table_name_87 (nir_number VARCHAR, type VARCHAR, br_number_s_ VARCHAR) | SELECT nir_number FROM table_name_87 WHERE type = "tso (ex-br class 488 unit 488305)" AND br_number_s_ = "6082 / 72605" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.