answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT date FROM table_name_40 WHERE game = 81 | CREATE TABLE table_name_40 (date VARCHAR, game VARCHAR) | What was the date of game 81? |
SELECT surface FROM table_name_13 WHERE opponent = "gustavo kuerten" | CREATE TABLE table_name_13 (surface VARCHAR, opponent VARCHAR) | WHich Surface has an Opponent of gustavo kuerten? |
SELECT surface FROM table_name_53 WHERE tournament = "st. petersburg , russia" | CREATE TABLE table_name_53 (surface VARCHAR, tournament VARCHAR) | Which Surface has a Tournament of st. petersburg , russia? |
SELECT date FROM table_name_11 WHERE surface = "hard (i)" AND tournament = "brighton , united kingdom" | CREATE TABLE table_name_11 (date VARCHAR, surface VARCHAR, tournament VARCHAR) | When is the Surface of hard (i), and a Tournament of brighton , united kingdom taken? |
SELECT opponent FROM table_name_52 WHERE score = "3–6, 5–7" | CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR) | Which Opponent has a Score of 3–6, 5–7? |
SELECT date FROM table_name_17 WHERE tournament = "palermo , italy" | CREATE TABLE table_name_17 (date VARCHAR, tournament VARCHAR) | When has a Tournament of palermo , italy? |
SELECT opponent FROM table_name_70 WHERE date = "29 september 1997" | CREATE TABLE table_name_70 (opponent VARCHAR, date VARCHAR) | Which Opponent is on 29 september 1997? |
SELECT constellation FROM table_name_38 WHERE designation_hd = "hd 75732" | CREATE TABLE table_name_38 (constellation VARCHAR, designation_hd VARCHAR) | Which constellation has hd 75732 as a destignation HD? |
SELECT message FROM table_name_75 WHERE designation_hd = "hd 186408" | CREATE TABLE table_name_75 (message VARCHAR, designation_hd VARCHAR) | What message has hd 186408 as a designation HD? |
SELECT date_sent FROM table_name_65 WHERE constellation = "cygnus" AND designation_hd = "hd 190360" | CREATE TABLE table_name_65 (date_sent VARCHAR, constellation VARCHAR, designation_hd VARCHAR) | What date sent has cygnus as a constellation, and hd 190360 as a designation HD? |
SELECT date_sent FROM table_name_63 WHERE constellation = "orion" | CREATE TABLE table_name_63 (date_sent VARCHAR, constellation VARCHAR) | What date sent has orion as the constellation? |
SELECT constellation FROM table_name_27 WHERE message = "cosmic call 1" AND arrival_date = "october 2067" | CREATE TABLE table_name_27 (constellation VARCHAR, message VARCHAR, arrival_date VARCHAR) | Which constellation has cosmic call 1 as the message, and an arrival date of october 2067? |
SELECT date_sent FROM table_name_29 WHERE constellation = "cancer" | CREATE TABLE table_name_29 (date_sent VARCHAR, constellation VARCHAR) | What date sent has cancer as the constellation? |
SELECT MAX(conceded) FROM table_name_39 WHERE points > 17 AND team = "guaraní" AND losses < 6 | CREATE TABLE table_name_39 (conceded INTEGER, losses VARCHAR, points VARCHAR, team VARCHAR) | Which Conceded is the highest one that has Points larger than 17, and a Team of guaraní, and Losses smaller than 6? |
SELECT SUM(conceded) FROM table_name_39 WHERE draws < 5 AND position > 6 | CREATE TABLE table_name_39 (conceded INTEGER, draws VARCHAR, position VARCHAR) | Which Conceded has Draws smaller than 5, and a Position larger than 6? |
SELECT COUNT(points) FROM table_name_65 WHERE played > 18 | CREATE TABLE table_name_65 (points VARCHAR, played INTEGER) | How many Points have a Played larger than 18? |
SELECT SUM(scored) FROM table_name_81 WHERE team = "recoleta" | CREATE TABLE table_name_81 (scored INTEGER, team VARCHAR) | Which Scored has a Team of recoleta? |
SELECT notes FROM table_name_21 WHERE date = "2008-01-27" | CREATE TABLE table_name_21 (notes VARCHAR, date VARCHAR) | Which Notes have a Date of 2008-01-27? |
SELECT date FROM table_name_63 WHERE distance = "3,000 m" | CREATE TABLE table_name_63 (date VARCHAR, distance VARCHAR) | Which Date has a Distance of 3,000 m? |
SELECT distance FROM table_name_46 WHERE time = "men's speed skating" | CREATE TABLE table_name_46 (distance VARCHAR, time VARCHAR) | Which Distance has a Time of men's speed skating? |
SELECT location FROM table_name_89 WHERE "time" = "time" | CREATE TABLE table_name_89 (location VARCHAR) | Which Location has a Time of time? |
SELECT location FROM table_name_59 WHERE distance = "10,000 m" | CREATE TABLE table_name_59 (location VARCHAR, distance VARCHAR) | Which Location has a Distance of 10,000 m? |
SELECT date FROM table_name_3 WHERE distance = "500 m" | CREATE TABLE table_name_3 (date VARCHAR, distance VARCHAR) | Which Date has a Distance of 500 m? |
SELECT score FROM table_name_44 WHERE date = "june 22" AND attendance = 0 | CREATE TABLE table_name_44 (score VARCHAR, date VARCHAR, attendance VARCHAR) | What was the score for the June 22 game with attendance 0? |
SELECT surface FROM table_name_97 WHERE tournament = "carthage" AND date = "august 14, 1994" | CREATE TABLE table_name_97 (surface VARCHAR, tournament VARCHAR, date VARCHAR) | What type of surface was used for the carthage tournament on august 14, 1994? |
SELECT tournament FROM table_name_81 WHERE opponent_in_the_final = "marielle bruens" | CREATE TABLE table_name_81 (tournament VARCHAR, opponent_in_the_final VARCHAR) | Which tournament has marielle bruens for the opponent in the final? |
SELECT surface FROM table_name_19 WHERE date = "may 13, 2007" | CREATE TABLE table_name_19 (surface VARCHAR, date VARCHAR) | What surface was used on may 13, 2007? |
SELECT class FROM table_name_4 WHERE frequency_mhz = 93.7 | CREATE TABLE table_name_4 (class VARCHAR, frequency_mhz VARCHAR) | Frequency MHz of 93.7 has what class? |
SELECT AVG(entre_ríos_municipality) FROM table_name_99 WHERE pojo_municipality < 9 | CREATE TABLE table_name_99 (entre_ríos_municipality INTEGER, pojo_municipality INTEGER) | What is the average Entre Ríos Municipality with less than 9 Pojo Municipalities? |
SELECT COUNT(pocona_municipality) FROM table_name_98 WHERE totora_municipality = 72 AND pojo_municipality > 74 | CREATE TABLE table_name_98 (pocona_municipality VARCHAR, totora_municipality VARCHAR, pojo_municipality VARCHAR) | What is Pocona Municipalities with 72 Totora municipalities and more than 74 pojo municipalities? |
SELECT MAX(chimoré_municipality) FROM table_name_76 WHERE pojo_municipality = 9 AND totora_municipality < 7 | CREATE TABLE table_name_76 (chimoré_municipality INTEGER, pojo_municipality VARCHAR, totora_municipality VARCHAR) | What is the highest chimore municipalities with 9 pojo municipalities and less than 7 totora municipalities? |
SELECT copa_libertadores_1996 FROM table_name_10 WHERE team = "estudiantes" | CREATE TABLE table_name_10 (copa_libertadores_1996 VARCHAR, team VARCHAR) | Which Copa Libertadores 1996 has a Team of estudiantes? |
SELECT conmebol_1995 FROM table_name_86 WHERE supercopa_1995 = "sf" | CREATE TABLE table_name_86 (conmebol_1995 VARCHAR, supercopa_1995 VARCHAR) | which CONMEBOL 1995 has a Supercopa 1995 of sf? |
SELECT copa_libertadores_1996 FROM table_name_10 WHERE supercopa_1995 = "round 1" AND team = "argentinos juniors" | CREATE TABLE table_name_10 (copa_libertadores_1996 VARCHAR, supercopa_1995 VARCHAR, team VARCHAR) | which Copa Libertadores 1996 has round 1 Supercopa 1995 and argentinos juniors team ? |
SELECT conmebol_1995 FROM table_name_61 WHERE team = "river plate" | CREATE TABLE table_name_61 (conmebol_1995 VARCHAR, team VARCHAR) | Which CONMEBOL 1995 has river plate team? |
SELECT team FROM table_name_28 WHERE conmebol_1995 = "round 1" | CREATE TABLE table_name_28 (team VARCHAR, conmebol_1995 VARCHAR) | Which Team has a round 1 CONMEBOL 1995? |
SELECT date FROM table_name_36 WHERE attendance = "57,013" | CREATE TABLE table_name_36 (date VARCHAR, attendance VARCHAR) | Which Date has an Attendance of 57,013? |
SELECT date FROM table_name_7 WHERE tv_time = "cbs 1:00pm" AND game_site = "rca dome" AND opponent = "cincinnati bengals" | CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR, tv_time VARCHAR, game_site VARCHAR) | Which Date has a TV Time of cbs 1:00pm, and a Game Site of rca dome, and an Opponent of cincinnati bengals? |
SELECT tv_time FROM table_name_63 WHERE date = "december 26, 1999" | CREATE TABLE table_name_63 (tv_time VARCHAR, date VARCHAR) | Which TV Time has a Date of december 26, 1999? |
SELECT game_site FROM table_name_1 WHERE date = "october 17, 1999" | CREATE TABLE table_name_1 (game_site VARCHAR, date VARCHAR) | Which Game Site has a Date of october 17, 1999? |
SELECT result FROM table_name_21 WHERE streak = "won 6" | CREATE TABLE table_name_21 (result VARCHAR, streak VARCHAR) | what's the result with streak of won 6? |
SELECT 2 AS nd_leg FROM table_name_88 WHERE aggregate = "4-2" | CREATE TABLE table_name_88 (aggregate VARCHAR) | What was the 2nd leg score having an aggregate score of 4-2? |
SELECT home__2nd_leg_ FROM table_name_59 WHERE aggregate = "2-3" | CREATE TABLE table_name_59 (home__2nd_leg_ VARCHAR, aggregate VARCHAR) | What was the home team for the 2nd leg of the match having an aggregate of 2-3? |
SELECT MIN(played) FROM table_name_58 WHERE drawn < 12 AND against = 41 AND points < 69 | CREATE TABLE table_name_58 (played INTEGER, points VARCHAR, drawn VARCHAR, against VARCHAR) | What is the lowest number of played games of the team with less than 12 drawns, 41 against, and less than 69 points? |
SELECT MAX(played) FROM table_name_9 WHERE lost < 11 AND drawn < 12 | CREATE TABLE table_name_9 (played INTEGER, lost VARCHAR, drawn VARCHAR) | What is the highest number of played of the team with less than 11 losses and less than 12 drawns? |
SELECT SUM(against) FROM table_name_86 WHERE played < 38 | CREATE TABLE table_name_86 (against INTEGER, played INTEGER) | What is the sum of againsts the team with less than 38 played had? |
SELECT AVG(drawn) FROM table_name_30 WHERE difference = "4" AND lost > 13 | CREATE TABLE table_name_30 (drawn INTEGER, difference VARCHAR, lost VARCHAR) | What is the average drawn of the team with a difference of 4 and more than 13 losses? |
SELECT SUM(position) FROM table_name_43 WHERE lost > 16 AND against > 74 | CREATE TABLE table_name_43 (position INTEGER, lost VARCHAR, against VARCHAR) | What is the position of the team with more than 16 losses and an against greater than 74? |
SELECT MAX(points) FROM table_name_92 WHERE team = "vitória" AND played > 38 | CREATE TABLE table_name_92 (points INTEGER, team VARCHAR, played VARCHAR) | What is the highest number of points team vitória, which had more than 38 played, had? |
SELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833 | CREATE TABLE table_name_40 (nation VARCHAR, a_score VARCHAR, total VARCHAR) | When the A Score was larger than 5.933 with a total of 19.833, what nation was this? |
SELECT MAX(total) FROM table_name_35 WHERE e_score > 9.35 AND t_score < 4 | CREATE TABLE table_name_35 (total INTEGER, e_score VARCHAR, t_score VARCHAR) | How large was the total when the E Score was greater than 9.35 and T Score was less than 4? |
SELECT SUM(a_score) FROM table_name_54 WHERE e_score > 9.566 AND nation = "greece" AND t_score > 4 | CREATE TABLE table_name_54 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, nation VARCHAR) | What was the quantity of the A Score when the E Score was larger than 9.566 in the Greece and the T score was more than 4? |
SELECT SUM(a_score) FROM table_name_74 WHERE e_score > 9.383 AND total < 19.716 AND t_score > 4 | CREATE TABLE table_name_74 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, total VARCHAR) | What was the total of A Score when the E Score was greater than 9.383, total was less than 19.716 and the T Score was larger than 4? |
SELECT city_of_license FROM table_name_1 WHERE frequency_mhz = "104.5 fm" | CREATE TABLE table_name_1 (city_of_license VARCHAR, frequency_mhz VARCHAR) | Which city has a frequency of 104.5 fm? |
SELECT frequency_mhz FROM table_name_74 WHERE city_of_license = "walterboro, sc" | CREATE TABLE table_name_74 (frequency_mhz VARCHAR, city_of_license VARCHAR) | What is the frequency of Walterboro, SC? |
SELECT fcc_info FROM table_name_68 WHERE frequency_mhz = "104.5 fm" | CREATE TABLE table_name_68 (fcc_info VARCHAR, frequency_mhz VARCHAR) | What is the FCC information of 104.5 fm frequency? |
SELECT erp_w FROM table_name_2 WHERE city_of_license = "charleston, sc" | CREATE TABLE table_name_2 (erp_w VARCHAR, city_of_license VARCHAR) | What is Charleston, SC ERP W? |
SELECT SUM(erp_w) FROM table_name_66 WHERE frequency_mhz = "105.1 fm" | CREATE TABLE table_name_66 (erp_w INTEGER, frequency_mhz VARCHAR) | What does the ERP W sum equal for 105.1 fm frequency? |
SELECT frequency_mhz FROM table_name_79 WHERE city_of_license = "surfside beach, sc" | CREATE TABLE table_name_79 (frequency_mhz VARCHAR, city_of_license VARCHAR) | What is surfside beach, SC frequency? |
SELECT to_par FROM table_name_30 WHERE country = "japan" | CREATE TABLE table_name_30 (to_par VARCHAR, country VARCHAR) | What is the player from Japan's To Par? |
SELECT to_par FROM table_name_68 WHERE country = "england" | CREATE TABLE table_name_68 (to_par VARCHAR, country VARCHAR) | What is the player from England's To Par? |
SELECT score FROM table_name_98 WHERE country = "england" | CREATE TABLE table_name_98 (score VARCHAR, country VARCHAR) | What is the player from England's score? |
SELECT country FROM table_name_39 WHERE player = "adam scott" | CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR) | Which country does Adam Scott play for? |
SELECT icao FROM table_name_43 WHERE airport = "lilongwe international airport" | CREATE TABLE table_name_43 (icao VARCHAR, airport VARCHAR) | Name the ICAO for lilongwe international airport |
SELECT airport FROM table_name_6 WHERE icao = "flls" | CREATE TABLE table_name_6 (airport VARCHAR, icao VARCHAR) | Name the airport for ICAO of flls |
SELECT icao FROM table_name_74 WHERE airport = "lilongwe international airport" | CREATE TABLE table_name_74 (icao VARCHAR, airport VARCHAR) | Name the ICAO for lilongwe international airport |
SELECT icao FROM table_name_79 WHERE airport = "julius nyerere international airport" | CREATE TABLE table_name_79 (icao VARCHAR, airport VARCHAR) | Name the ICAO for julius nyerere international airport |
SELECT country FROM table_name_35 WHERE city = "johannesburg" | CREATE TABLE table_name_35 (country VARCHAR, city VARCHAR) | Name the country for johannesburg |
SELECT city FROM table_name_32 WHERE iata = "llw" | CREATE TABLE table_name_32 (city VARCHAR, iata VARCHAR) | Name the city for IATA of llw |
SELECT home_team FROM table_name_5 WHERE tie_no = "10" | CREATE TABLE table_name_5 (home_team VARCHAR, tie_no VARCHAR) | What is the name of the home time with a 10 tie no? |
SELECT attendance FROM table_name_7 WHERE away_team = "york city" | CREATE TABLE table_name_7 (attendance VARCHAR, away_team VARCHAR) | What was the date of the game that was played against the away team of York City? |
SELECT group_position FROM table_name_2 WHERE opponents = "juventus" AND attendance > 47 OFFSET 786 | CREATE TABLE table_name_2 (group_position VARCHAR, opponents VARCHAR, attendance VARCHAR) | What group of juventus had an attendance larger than 47,786? |
SELECT AVG(week) FROM table_name_56 WHERE result = "l 28–17" | CREATE TABLE table_name_56 (week INTEGER, result VARCHAR) | Name the average week for result of l 28–17 |
SELECT score FROM table_name_48 WHERE date = "april 12" | CREATE TABLE table_name_48 (score VARCHAR, date VARCHAR) | What was the score on April 12? |
SELECT 2009 FROM table_name_84 WHERE 2008 = "a" AND 2010 = "4r" | CREATE TABLE table_name_84 (Id VARCHAR) | Which 2009 has a 2008 of A, and a 2010 of 4r? |
SELECT 2009 FROM table_name_64 WHERE 2008 = "wta premier mandatory tournaments" | CREATE TABLE table_name_64 (Id VARCHAR) | Which 2009 has a 2008 of wta premier mandatory tournaments? |
SELECT 2010 FROM table_name_80 WHERE tournament = "australian open" | CREATE TABLE table_name_80 (tournament VARCHAR) | Which 2010 has a Tournament of australian open? |
SELECT 2007 FROM table_name_8 WHERE 2006 = "a" AND tournament = "canada" | CREATE TABLE table_name_8 (tournament VARCHAR) | Which 2007 has a 2006 of A, and a Tournament of canada? |
SELECT 2009 FROM table_name_83 WHERE 2006 = "a" AND 2011 = "sf" | CREATE TABLE table_name_83 (Id VARCHAR) | Which 2009 has a 2006 of A, and a 2011 of sf? |
SELECT 2007 FROM table_name_92 WHERE 2010 = "a" | CREATE TABLE table_name_92 (Id VARCHAR) | Which 2007 has a 2010 of A? |
SELECT AVG(adam) FROM table_name_40 WHERE jade > 5 AND peter < 0 | CREATE TABLE table_name_40 (adam INTEGER, jade VARCHAR, peter VARCHAR) | What's Adam's score when Jade's score is greater than 5 and Peter's score is less than 0? |
SELECT SUM(against) FROM table_name_70 WHERE losses < 9 AND ntfa_div_2 = "old scotch" | CREATE TABLE table_name_70 (against INTEGER, losses VARCHAR, ntfa_div_2 VARCHAR) | Old Scotch had less than 9 losses and how much against? |
SELECT COUNT(losses) FROM table_name_54 WHERE byes < 0 | CREATE TABLE table_name_54 (losses VARCHAR, byes INTEGER) | Of the teams that had more than 0 byes, what was the total number of losses? |
SELECT incumbent FROM table_name_16 WHERE district = "20th" | CREATE TABLE table_name_16 (incumbent VARCHAR, district VARCHAR) | Who was the incumbent in the 20th district? |
SELECT party FROM table_name_49 WHERE district = "6th" | CREATE TABLE table_name_49 (party VARCHAR, district VARCHAR) | Which party has the 6th district? |
SELECT party FROM table_name_34 WHERE incumbent = "ken cuccinelli" | CREATE TABLE table_name_34 (party VARCHAR, incumbent VARCHAR) | Which party has Ken Cuccinelli as an incumbent? |
SELECT party FROM table_name_47 WHERE elected = 2003 AND incumbent = "mark obenshain" | CREATE TABLE table_name_47 (party VARCHAR, elected VARCHAR, incumbent VARCHAR) | Which party was elected in 2003 with incumbent Mark Obenshain? |
SELECT incumbent FROM table_name_60 WHERE district = "24th" | CREATE TABLE table_name_60 (incumbent VARCHAR, district VARCHAR) | Which incumbent was in the 24th district? |
SELECT SUM(laps) FROM table_name_19 WHERE team = "mi-jack conquest racing" AND points < 11 | CREATE TABLE table_name_19 (laps INTEGER, team VARCHAR, points VARCHAR) | Name the sum of laps for mi-jack conquest racing and points less than 11 |
SELECT points FROM table_name_74 WHERE grid > 8 AND time_retired = "+47.487 secs" | CREATE TABLE table_name_74 (points VARCHAR, grid VARCHAR, time_retired VARCHAR) | Name the points with grid more than 8 and time/retired of +47.487 secs |
SELECT team FROM table_name_79 WHERE laps = 97 AND grid = 3 | CREATE TABLE table_name_79 (team VARCHAR, laps VARCHAR, grid VARCHAR) | Name the team with laps of 97 and grid of 3 |
SELECT SUM(grid) FROM table_name_82 WHERE laps > 97 | CREATE TABLE table_name_82 (grid INTEGER, laps INTEGER) | Name the sum of grid with laps more than 97 |
SELECT MAX(wins) FROM table_name_11 WHERE class = "250cc" AND year = 1971 | CREATE TABLE table_name_11 (wins INTEGER, class VARCHAR, year VARCHAR) | What are the most wins in 1971 in 250cc class? |
SELECT MIN(year) FROM table_name_49 WHERE points < 45 AND team = "yamaha" AND rank = "21st" | CREATE TABLE table_name_49 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR) | What is the earliest year with less than 45 points for Yamaha team in 21st rank? |
SELECT SUM(ends_won) FROM table_name_58 WHERE blank_ends < 14 AND locale = "manitoba" AND stolen_ends > 13 | CREATE TABLE table_name_58 (ends_won INTEGER, stolen_ends VARCHAR, blank_ends VARCHAR, locale VARCHAR) | How many Ends Won have Blank Ends smaller than 14, and a Locale of manitoba, and Stolen Ends larger than 13? |
SELECT skip FROM table_name_80 WHERE ends_lost > 44 AND blank_ends = 10 | CREATE TABLE table_name_80 (skip VARCHAR, ends_lost VARCHAR, blank_ends VARCHAR) | Which Skip has Ends Lost larger than 44, and Blank Ends of 10? |
SELECT COUNT(stolen_ends) FROM table_name_83 WHERE ends_lost < 44 AND blank_ends < 7 | CREATE TABLE table_name_83 (stolen_ends VARCHAR, ends_lost VARCHAR, blank_ends VARCHAR) | How many Stolen Ends have Ends Lost smaller than 44, and Blank Ends smaller than 7? |
SELECT current_status FROM table_name_64 WHERE make = "gm advanced design" AND number_of_seats > 41 | CREATE TABLE table_name_64 (current_status VARCHAR, make VARCHAR, number_of_seats VARCHAR) | What is the current status for GM Advanced Design with more than 41 seats? |
SELECT quantity FROM table_name_80 WHERE number_of_seats > 45 AND make = "mci" | CREATE TABLE table_name_80 (quantity VARCHAR, number_of_seats VARCHAR, make VARCHAR) | What is the quantity with more than 45 seats and MCI make? |
SELECT MAX(number_of_seats) FROM table_name_24 WHERE make = "mci" AND quantity > 32 | CREATE TABLE table_name_24 (number_of_seats INTEGER, make VARCHAR, quantity VARCHAR) | What is the largest number of seats with more than 32 of a MCI make? |
Subsets and Splits