answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT round FROM table_name_92 WHERE opponent = "manny gamburyan" | CREATE TABLE table_name_92 (round VARCHAR, opponent VARCHAR) | What round was the opponent Manny Gamburyan? |
SELECT SUM(week) FROM table_name_75 WHERE date = "december 6, 1964" | CREATE TABLE table_name_75 (week INTEGER, date VARCHAR) | What was the week of the game played December 6, 1964? |
SELECT MIN(losses) FROM table_name_27 WHERE against = 2190 AND draws > 0 | CREATE TABLE table_name_27 (losses INTEGER, against VARCHAR, draws VARCHAR) | What is the fewest losses that had an against score of 2190 and more than 0 draws? |
SELECT MIN(draws) FROM table_name_75 WHERE byes > 0 | CREATE TABLE table_name_75 (draws INTEGER, byes INTEGER) | What is the fewest number of draws for teams with more than 0 byes? |
SELECT SUM(losses) FROM table_name_95 WHERE bellarine_fl = "geelong amateur" AND byes < 0 | CREATE TABLE table_name_95 (losses INTEGER, bellarine_fl VARCHAR, byes VARCHAR) | What is the sum of losses for Geelong Amateur, with 0 byes? |
SELECT SUM(wins) FROM table_name_51 WHERE draws > 0 | CREATE TABLE table_name_51 (wins INTEGER, draws INTEGER) | What is the sum of the number of wins for teams with more than 0 draws? |
SELECT stadium FROM table_name_1 WHERE host_team = "jacksonville jaguars" | CREATE TABLE table_name_1 (stadium VARCHAR, host_team VARCHAR) | What is the Stadium that hosts the team Jacksonville Jaguars? |
SELECT stadium FROM table_name_45 WHERE date = "november 13" | CREATE TABLE table_name_45 (stadium VARCHAR, date VARCHAR) | What stadium was used on November 13? |
SELECT host_team FROM table_name_70 WHERE stadium = "lincoln financial field" | CREATE TABLE table_name_70 (host_team VARCHAR, stadium VARCHAR) | What is the host team with the stadium Lincoln Financial Field? |
SELECT visiting_team FROM table_name_22 WHERE stadium = "cleveland browns stadium" | CREATE TABLE table_name_22 (visiting_team VARCHAR, stadium VARCHAR) | What team visited the Cleveland Browns Stadium? |
SELECT stadium FROM table_name_60 WHERE visiting_team = "denver broncos" | CREATE TABLE table_name_60 (stadium VARCHAR, visiting_team VARCHAR) | What stadium did the Denver Broncos visit? |
SELECT visiting_team FROM table_name_10 WHERE stadium = "jacksonville municipal stadium" | CREATE TABLE table_name_10 (visiting_team VARCHAR, stadium VARCHAR) | What team visited the Jacksonville Municipal Stadium? |
SELECT COUNT(boardings_and_deboardings) FROM table_name_68 WHERE city = "linthicum" | CREATE TABLE table_name_68 (boardings_and_deboardings VARCHAR, city VARCHAR) | How many people boarded and de-boarded the Amtrak in Linthicum? |
SELECT total FROM table_name_86 WHERE europe = "00 0 0 (0)" | CREATE TABLE table_name_86 (total VARCHAR, europe VARCHAR) | The Europe listing of 00 0 0 (0) also has what listed as the total? |
SELECT years FROM table_name_87 WHERE league = "400 (21)" | CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR) | The league of 400 (21) has what years listed? |
SELECT other_[c_] FROM table_name_46 WHERE fa_cup = "0 44 0 (0)" | CREATE TABLE table_name_46 (other_ VARCHAR, c_ VARCHAR, fa_cup VARCHAR) | With a FA Cup of 0 44 0 (0), the other [C] is listed as what? |
SELECT league FROM table_name_5 WHERE europe = "117 0 (8)" | CREATE TABLE table_name_5 (league VARCHAR, europe VARCHAR) | The Europe listing of 117 0 (8) belongs to what league? |
SELECT fa_cup FROM table_name_36 WHERE other_[c_] = "0 12 0 (0)" | CREATE TABLE table_name_36 (fa_cup VARCHAR, other_ VARCHAR, c_ VARCHAR) | The other [C] of 0 12 0 (0) belongs to what FA Cup? |
SELECT MIN(gold) FROM table_name_33 WHERE silver = 4 AND edition = "viii" | CREATE TABLE table_name_33 (gold INTEGER, silver VARCHAR, edition VARCHAR) | What is the lowest VIII Edition Gold with a Silver of 4? |
SELECT MAX(bronze) FROM table_name_22 WHERE silver > 10 AND edition = "i" AND gold > 9 | CREATE TABLE table_name_22 (bronze INTEGER, gold VARCHAR, silver VARCHAR, edition VARCHAR) | What is the highest Edition I Bronze with a Gold higher than 9 and a Silver higher than 10? |
SELECT COUNT(total) FROM table_name_1 WHERE host_city = "mexico city" AND gold < 4 AND bronze < 2 | CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, host_city VARCHAR, gold VARCHAR) | What's the Total for a Mexico City game with a Gold of less than 4 and a Bronze of less than 2? |
SELECT host_city FROM table_name_74 WHERE silver > 6 AND total = 22 | CREATE TABLE table_name_74 (host_city VARCHAR, silver VARCHAR, total VARCHAR) | Which Host City has more than 6 Silver and a Total of 22? |
SELECT time FROM table_name_75 WHERE release_date = "8/26/69" AND track < 19 | CREATE TABLE table_name_75 (time VARCHAR, release_date VARCHAR, track VARCHAR) | What was the time for tracks before 19 on 8/26/69? |
SELECT venue FROM table_name_32 WHERE notes = "am" | CREATE TABLE table_name_32 (venue VARCHAR, notes VARCHAR) | Which venue has a note of AM? |
SELECT time FROM table_name_12 WHERE date = "august 16, 2008" | CREATE TABLE table_name_12 (time VARCHAR, date VARCHAR) | What is the time associated with August 16, 2008? |
SELECT event FROM table_name_44 WHERE venue = "beijing" | CREATE TABLE table_name_44 (event VARCHAR, venue VARCHAR) | Which event was held in Beijing? |
SELECT notes FROM table_name_59 WHERE venue = "rome" AND date = "july 30, 2009" | CREATE TABLE table_name_59 (notes VARCHAR, venue VARCHAR, date VARCHAR) | For a venue of Rome on July 30, 2009, what are the notes? |
SELECT score FROM table_name_35 WHERE date = "october 9" | CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) | Name the score for october 9 |
SELECT loss FROM table_name_90 WHERE series = "2-2" | CREATE TABLE table_name_90 (loss VARCHAR, series VARCHAR) | Name the loss for series 2-2 |
SELECT COUNT(attendance) FROM table_name_52 WHERE date = "october 8" | CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR) | Name the total number of attendance for october 8 |
SELECT engine FROM table_name_74 WHERE points = 0 AND entrant = "élie bayol" | CREATE TABLE table_name_74 (engine VARCHAR, points VARCHAR, entrant VARCHAR) | Which engine did Élie Bayol use when they earned 0 points? |
SELECT MAX(season) FROM table_name_98 WHERE attendance_g < 3 OFFSET 289 | CREATE TABLE table_name_98 (season INTEGER, attendance_g INTEGER) | What season had the highest attendance/g than 3,289? |
SELECT year FROM table_name_23 WHERE pts = 13 | CREATE TABLE table_name_23 (year VARCHAR, pts VARCHAR) | What year had 13 points? |
SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 13 | CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR) | Which chassis has a year later than 1964, a Ford engine, and 13 points? |
SELECT entrant FROM table_name_63 WHERE pts < 12 AND engine = "climax" AND chassis = "lotus 24" | CREATE TABLE table_name_63 (entrant VARCHAR, chassis VARCHAR, pts VARCHAR, engine VARCHAR) | Which entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis? |
SELECT MAX(pts) FROM table_name_41 WHERE engine = "ford" AND entrant = "brooke bond oxo team surtees" AND year = 1972 | CREATE TABLE table_name_41 (pts INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR) | In 1972, what was the highest number of points with a Ford engine and an entrant of Brooke Bond Oxo Team Surtees? |
SELECT year FROM table_name_16 WHERE engine = "ford" AND pts = 13 | CREATE TABLE table_name_16 (year VARCHAR, engine VARCHAR, pts VARCHAR) | What year had a Ford engine and 13 points? |
SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = "rockhampton" | CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR) | What is the ERP for the Rockhampton region? |
SELECT channels___analog___digital__ FROM table_name_91 WHERE first_air_date = "31 december 1990" AND region_served = "southern downs" | CREATE TABLE table_name_91 (channels___analog___digital__ VARCHAR, first_air_date VARCHAR, region_served VARCHAR) | What channels first aired on 31 December 1990 in the Southern Downs region? |
SELECT transmitter_location FROM table_name_95 WHERE city = "maryborough" | CREATE TABLE table_name_95 (transmitter_location VARCHAR, city VARCHAR) | What is the transmitter location for city of Maryborough? |
SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman" | CREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR) | What is the ERP for the Mount Goonaneman transmitter? |
SELECT number FROM table_name_41 WHERE males = "11" | CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR) | Which number has 11 males? |
SELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = "joanne malar" | CREATE TABLE table_name_19 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR) | What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar? |
SELECT MAX(heat) FROM table_name_98 WHERE time = "4:57.90" AND rank > 22 | CREATE TABLE table_name_98 (heat INTEGER, time VARCHAR, rank VARCHAR) | What is the largest heat with a time of 4:57.90, and a Rank larger than 22? |
SELECT time FROM table_name_28 WHERE name = "adi bichman" | CREATE TABLE table_name_28 (time VARCHAR, name VARCHAR) | What is the time for Adi Bichman? |
SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "new york mets" AND record = "18-18" | CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, record VARCHAR) | What is the total attendance at games against the New York Mets with a record of 18-18? |
SELECT COUNT(attendance) FROM table_name_20 WHERE score = "4-2" | CREATE TABLE table_name_20 (attendance VARCHAR, score VARCHAR) | What is the total attendance at games with a score of 4-2? |
SELECT date FROM table_name_42 WHERE host_team = "new york giants" | CREATE TABLE table_name_42 (date VARCHAR, host_team VARCHAR) | On what date did the New York Giants host a game? |
SELECT host_team FROM table_name_55 WHERE date = "december 27" | CREATE TABLE table_name_55 (host_team VARCHAR, date VARCHAR) | Who was the host team for the game on December 27? |
SELECT final_score FROM table_name_26 WHERE stadium = "texas stadium" | CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR) | What was the final score of the game at Texas Stadium? |
SELECT visiting_team FROM table_name_67 WHERE stadium = "hubert h. humphrey metrodome" | CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR) | Who was the visiting team who played at the hubert h. humphrey metrodome stadium? |
SELECT date FROM table_name_23 WHERE visiting_team = "new england patriots" | CREATE TABLE table_name_23 (date VARCHAR, visiting_team VARCHAR) | When did the New England Patriots play as the visiting team? |
SELECT stadium FROM table_name_85 WHERE visiting_team = "los angeles raiders" | CREATE TABLE table_name_85 (stadium VARCHAR, visiting_team VARCHAR) | At which stadium did the Los Angeles Raiders play as the visiting team? |
SELECT player FROM table_name_43 WHERE height = 1.92 AND current_club = "montepaschi siena" | CREATE TABLE table_name_43 (player VARCHAR, height VARCHAR, current_club VARCHAR) | Who is 1.92 m tall and a current club member of Montepaschi Siena |
SELECT date FROM table_name_14 WHERE tournament = "la quinta" | CREATE TABLE table_name_14 (date VARCHAR, tournament VARCHAR) | Which date has a Tournament of la quinta? |
SELECT date FROM table_name_44 WHERE surface = "carpet (i)" | CREATE TABLE table_name_44 (date VARCHAR, surface VARCHAR) | Which date has a Surface of carpet (i)? |
SELECT tournament FROM table_name_21 WHERE date = "april 20, 1987" | CREATE TABLE table_name_21 (tournament VARCHAR, date VARCHAR) | Which tournament has a Date of april 20, 1987? |
SELECT opponent FROM table_name_51 WHERE surface = "hardcourt" AND outcome = "runner-up" AND tournament = "honolulu" | CREATE TABLE table_name_51 (opponent VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) | Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu? |
SELECT tournament FROM table_name_75 WHERE score = "6–4, 6–4" | CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR) | Which Tournament has a Score of 6–4, 6–4? |
SELECT score FROM table_name_39 WHERE surface = "hardcourt" AND date = "september 30, 1984" | CREATE TABLE table_name_39 (score VARCHAR, surface VARCHAR, date VARCHAR) | Which score has a Surface of hardcourt, and a Date of september 30, 1984? |
SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001 | CREATE TABLE table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR) | What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001? |
SELECT date FROM table_name_26 WHERE loss = "wakefield (5-2)" | CREATE TABLE table_name_26 (date VARCHAR, loss VARCHAR) | What was the date of the game with a loss of Wakefield (5-2)? |
SELECT MIN(year) FROM table_name_52 WHERE competition = "european championships" | CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR) | What is the first year of the European Championships competition? |
SELECT position FROM table_name_40 WHERE venue = "helsinki, finland" | CREATE TABLE table_name_40 (position VARCHAR, venue VARCHAR) | Which position has a venue of Helsinki, Finland? |
SELECT date FROM table_name_71 WHERE where_sunk = "east china sea" AND ship_type = "hell ship" | CREATE TABLE table_name_71 (date VARCHAR, where_sunk VARCHAR, ship_type VARCHAR) | What is the date that a hell ship sunk in the East China Sea? |
SELECT nat FROM table_name_39 WHERE ship_type = "battlecruiser" AND estimate = "513" | CREATE TABLE table_name_39 (nat VARCHAR, ship_type VARCHAR, estimate VARCHAR) | Which nation had a battlecruiser with an estimate of 513? |
SELECT date FROM table_name_59 WHERE where_sunk = "south atlantic" | CREATE TABLE table_name_59 (date VARCHAR, where_sunk VARCHAR) | What is the date that a ship sank in the South Atlantic? |
SELECT ship_type FROM table_name_77 WHERE name = "shinano" | CREATE TABLE table_name_77 (ship_type VARCHAR, name VARCHAR) | What type of ship was the Shinano? |
SELECT nat FROM table_name_24 WHERE name = "roma" | CREATE TABLE table_name_24 (nat VARCHAR, name VARCHAR) | What nation had a ship named Roma? |
SELECT score FROM table_name_6 WHERE opponent = "indians" AND record = "21-19" | CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR, record VARCHAR) | What was score of the Blue Jays' game versus the Indians when their record was 21-19? |
SELECT years_as_tallest FROM table_name_95 WHERE floors < 31 AND street_address = "211 union street" | CREATE TABLE table_name_95 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR) | During what years did the tallest building, located at 211 Union Street, have less than 31 floors? |
SELECT AVG(floors) FROM table_name_76 WHERE street_address = "170 fourth avenue north" | CREATE TABLE table_name_76 (floors INTEGER, street_address VARCHAR) | What is the average number of floors at 170 Fourth Avenue North? |
SELECT street_address FROM table_name_94 WHERE name = "life & casualty tower" | CREATE TABLE table_name_94 (street_address VARCHAR, name VARCHAR) | What is the address of the Life & Casualty Tower? |
SELECT tie_no FROM table_name_43 WHERE home_team = "gillingham" | CREATE TABLE table_name_43 (tie_no VARCHAR, home_team VARCHAR) | What is listed as the Tie no for Home team of Gillingham? |
SELECT tie_no FROM table_name_13 WHERE away_team = "barnet" | CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR) | What is the Tie no listed for the Away team of Barnet? |
SELECT attendance FROM table_name_97 WHERE tie_no = "5" | CREATE TABLE table_name_97 (attendance VARCHAR, tie_no VARCHAR) | What is listed for the Attendance that has a Tie no of 5? |
SELECT away_team FROM table_name_38 WHERE tie_no = "4" | CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR) | Which Away team has a Tie no of 4? |
SELECT home_team FROM table_name_14 WHERE attendance = "1,859" | CREATE TABLE table_name_14 (home_team VARCHAR, attendance VARCHAR) | Which Home Team has an Attendance of 1,859? |
SELECT away_team FROM table_name_8 WHERE home_team = "bristol rovers" | CREATE TABLE table_name_8 (away_team VARCHAR, home_team VARCHAR) | What is listed as the Away team for the Home team of the Bristol Rovers? |
SELECT SUM(first_season_of_current_spell_in_segunda_división) FROM table_name_44 WHERE city = "cañete" | CREATE TABLE table_name_44 (first_season_of_current_spell_in_segunda_división INTEGER, city VARCHAR) | What is the total of the first season in Segunda División that has a City of cañete? |
SELECT team FROM table_name_69 WHERE top_division_titles > 0 AND founded > 1927 AND stadium = "miguel grau" | CREATE TABLE table_name_69 (team VARCHAR, stadium VARCHAR, top_division_titles VARCHAR, founded VARCHAR) | Which team has Top division titles larger than 0, a Founded larger than 1927, and a Stadium of miguel grau? |
SELECT city FROM table_name_69 WHERE first_season_of_current_spell_in_segunda_división < 2013 | CREATE TABLE table_name_69 (city VARCHAR, first_season_of_current_spell_in_segunda_división INTEGER) | Which city has a First season of current spell in Segunda División smaller than 2013? |
SELECT MIN(capacity) FROM table_name_11 WHERE first_season_in_segunda_división = 2013 AND top_division_titles > 0 | CREATE TABLE table_name_11 (capacity INTEGER, first_season_in_segunda_división VARCHAR, top_division_titles VARCHAR) | What is the smallest capacity for a First season in Segunda División of 2013, and Top division titles larger than 0? |
SELECT COUNT(enrollment) FROM table_name_99 WHERE institution = "mcgill university" AND capacity < 25 OFFSET 012 | CREATE TABLE table_name_99 (enrollment VARCHAR, institution VARCHAR, capacity VARCHAR) | What's the total enrollment ofr Mcgill University that has a capacity less than 25,012? |
SELECT MIN(first_season) FROM table_name_8 WHERE city = "montreal" AND capacity > 5 OFFSET 100 | CREATE TABLE table_name_8 (first_season INTEGER, city VARCHAR, capacity VARCHAR) | What's the smallest season for Montreal that's greater than 5,100 for capacity? |
SELECT city FROM table_name_32 WHERE first_season = 1996 | CREATE TABLE table_name_32 (city VARCHAR, first_season VARCHAR) | What's the name of the city whose first season was in 1996? |
SELECT football_stadium FROM table_name_55 WHERE team = "carabins" | CREATE TABLE table_name_55 (football_stadium VARCHAR, team VARCHAR) | What's the name of the carabins stadium? |
SELECT best FROM table_name_9 WHERE qual_2 = "1:44.050" | CREATE TABLE table_name_9 (best VARCHAR, qual_2 VARCHAR) | what team has the qual 2 of 1:44.050? |
SELECT name FROM table_name_87 WHERE team = "forsythe racing" AND qual_2 = "1:47.132" | CREATE TABLE table_name_87 (name VARCHAR, team VARCHAR, qual_2 VARCHAR) | what name goes along with the team of forsythe racing, and a Qual 2 of 1:47.132? |
SELECT team FROM table_name_82 WHERE qual_2 = "1:44.027" | CREATE TABLE table_name_82 (team VARCHAR, qual_2 VARCHAR) | what team had the 1:44.027 qual 2? |
SELECT qual_1 FROM table_name_25 WHERE name = "alex tagliani" | CREATE TABLE table_name_25 (qual_1 VARCHAR, name VARCHAR) | what is the qual 1 for alex tagliani? |
SELECT team FROM table_name_75 WHERE best = "1:43.134" | CREATE TABLE table_name_75 (team VARCHAR, best VARCHAR) | what is the team with the best of 1:43.134? |
SELECT visiting_team FROM table_name_99 WHERE stadium = "rca dome" | CREATE TABLE table_name_99 (visiting_team VARCHAR, stadium VARCHAR) | Who was the visiting team at the matchup at the RCA Dome? |
SELECT final_score FROM table_name_11 WHERE host_team = "detroit lions" | CREATE TABLE table_name_11 (final_score VARCHAR, host_team VARCHAR) | What was the final score in the game in which the Detroit Lions were the home team? |
SELECT stadium FROM table_name_11 WHERE date = "november 20" | CREATE TABLE table_name_11 (stadium VARCHAR, date VARCHAR) | Which stadium hosted the November 20 game? |
SELECT visiting_team FROM table_name_13 WHERE host_team = "minnesota vikings" | CREATE TABLE table_name_13 (visiting_team VARCHAR, host_team VARCHAR) | Who was the visiting team against the Minnesota Vikings? |
SELECT host_team FROM table_name_22 WHERE stadium = "candlestick park" | CREATE TABLE table_name_22 (host_team VARCHAR, stadium VARCHAR) | Who was the host team at Candlestick Park? |
SELECT date FROM table_name_58 WHERE final_score = "20-27" | CREATE TABLE table_name_58 (date VARCHAR, final_score VARCHAR) | Which date had a final score of 20-27? |
SELECT COUNT(year) FROM table_name_66 WHERE position = "2nd" | CREATE TABLE table_name_66 (year VARCHAR, position VARCHAR) | How many years have had the position of 2nd? |
SELECT position FROM table_name_29 WHERE notes = "20km" AND year < 2002 | CREATE TABLE table_name_29 (position VARCHAR, notes VARCHAR, year VARCHAR) | What position had notes of 20km and a year earlier than 2002? |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.