answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT runners_up FROM table_name_39 WHERE last_final_lost = "1985" | CREATE TABLE table_name_39 (runners_up VARCHAR, last_final_lost VARCHAR) | How many runners-up did the club with the last final lost in 1985 have? |
SELECT last_final_lost FROM table_name_70 WHERE last_win = "1959" | CREATE TABLE table_name_70 (last_final_lost VARCHAR, last_win VARCHAR) | When was the last final lost of the club with a last win in 1959? |
SELECT last_win FROM table_name_89 WHERE club = "celtic" | CREATE TABLE table_name_89 (last_win VARCHAR, club VARCHAR) | When was the last win of Celtic? |
SELECT club FROM table_name_27 WHERE runners_up = "13" | CREATE TABLE table_name_27 (club VARCHAR, runners_up VARCHAR) | Which club had 13 runners-up? |
SELECT visitor FROM table_name_41 WHERE home = "philadelphia" AND date = "march 6" | CREATE TABLE table_name_41 (visitor VARCHAR, home VARCHAR, date VARCHAR) | Who is the visitor in Philadelphia on March 6? |
SELECT date FROM table_name_17 WHERE away_team = "hawthorn" | CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR) | what date were they playing in hawthorn |
SELECT report FROM table_name_48 WHERE home_team = "geelong" | CREATE TABLE table_name_48 (report VARCHAR, home_team VARCHAR) | what report was in geelong |
SELECT town_city FROM table_name_45 WHERE name = "nana museum of the arctic" | CREATE TABLE table_name_45 (town_city VARCHAR, name VARCHAR) | In what Town/City is Nana Museum of The Arctic located? |
SELECT name FROM table_name_54 WHERE town_city = "anchorage" AND type = "multiple" | CREATE TABLE table_name_54 (name VARCHAR, town_city VARCHAR, type VARCHAR) | What is the Name of the Multiple Type museum in Anchorage? |
SELECT name FROM table_name_31 WHERE borough = "anchorage" AND type = "natural history" | CREATE TABLE table_name_31 (name VARCHAR, borough VARCHAR, type VARCHAR) | In what Borough is the Anchorage museum of Natural History? |
SELECT region FROM table_name_8 WHERE type = "native american" AND town_city = "anchorage" | CREATE TABLE table_name_8 (region VARCHAR, type VARCHAR, town_city VARCHAR) | In what Region is the Native American museum in Anchorage? |
SELECT type FROM table_name_73 WHERE name = "valdez museum" | CREATE TABLE table_name_73 (type VARCHAR, name VARCHAR) | What Type of museum is the Valdez museum? |
SELECT borough FROM table_name_82 WHERE type = "history" AND name = "fairbanks community museum" | CREATE TABLE table_name_82 (borough VARCHAR, type VARCHAR, name VARCHAR) | In what Borough is the History Type Fairbanks Community Museum? |
SELECT zip_code_prefix_es_ FROM table_name_39 WHERE county_seat = "boonville" | CREATE TABLE table_name_39 (zip_code_prefix_es_ VARCHAR, county_seat VARCHAR) | what is the zip code of boonville |
SELECT tournament FROM table_name_57 WHERE date = "9 jun 2002" | CREATE TABLE table_name_57 (tournament VARCHAR, date VARCHAR) | Which tournament was held on 9 Jun 2002? |
SELECT winning_score FROM table_name_93 WHERE margin_of_victory = "4 strokes" AND tournament = "nec invitational" | CREATE TABLE table_name_93 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | What is the winning score with a margin of victory of 4 strokes for the NEC Invitational tournament? |
SELECT runner_s__up FROM table_name_45 WHERE winning_score = β8(71 - 69 - 67 - 73 = 280) | CREATE TABLE table_name_45 (runner_s__up VARCHAR, winning_score VARCHAR) | Who is the runner-up where the winning score is β8 (71-69-67-73=280)? |
SELECT winning_score FROM table_name_67 WHERE margin_of_victory = "1 stroke" AND tournament = "linde german masters" | CREATE TABLE table_name_67 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | What is the winning score for Tournament of linde german masters with a margin of victory of 1 stroke? |
SELECT runner_s__up FROM table_name_19 WHERE margin_of_victory = "3 strokes" AND winning_score = β6(65 - 70 - 70 - 69 = 274) | CREATE TABLE table_name_19 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) | Who is runner-up where the winning score is β6 (65-70-70-69=274) and the margin of victory is 3 strokes? |
SELECT winning_score FROM table_name_27 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "robert-jan derksen" | CREATE TABLE table_name_27 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR) | What is the winning score where the runner-up is Robert-Jan Derksen and the margin of victory is 1 stroke? |
SELECT high_rebounds FROM table_name_17 WHERE team = "@ charlotte" | CREATE TABLE table_name_17 (high_rebounds VARCHAR, team VARCHAR) | What are the high rebounds of team @ Charlotte? |
SELECT high_rebounds FROM table_name_46 WHERE game = 68 | CREATE TABLE table_name_46 (high_rebounds VARCHAR, game VARCHAR) | What is the high rebounds of game 68? |
SELECT score FROM table_name_63 WHERE game < 61 AND team = "new york" | CREATE TABLE table_name_63 (score VARCHAR, game VARCHAR, team VARCHAR) | What is the score of New York team before game 61? |
SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "david mcnamara" | CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR) | When David McNamara was the opponent in the final, what was the tier? |
SELECT international_tourist_arrivals__2011_ FROM table_name_6 WHERE international_tourist_arrivals__2012_ = "23.4 million" | CREATE TABLE table_name_6 (international_tourist_arrivals__2011_ VARCHAR, international_tourist_arrivals__2012_ VARCHAR) | In 2011, how many tourists visited the country that had 23.4 million tourists in 2012? |
SELECT international_tourist_arrivals__2012_ FROM table_name_38 WHERE international_tourist_arrivals__2011_ = "2.5 million" | CREATE TABLE table_name_38 (international_tourist_arrivals__2012_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) | How many tourists visited the country that had 2.5 million tourists in 2011? |
SELECT distance FROM table_name_6 WHERE venue = "seoul, south korea" | CREATE TABLE table_name_6 (distance VARCHAR, venue VARCHAR) | How far Venue of seoul, south korea is? |
SELECT venue FROM table_name_33 WHERE tournament = "olympic games" AND result = "4th" | CREATE TABLE table_name_33 (venue VARCHAR, tournament VARCHAR, result VARCHAR) | Which Venue has a Tournament of olympic games with a Result of 4th? |
SELECT result FROM table_name_54 WHERE venue = "edmonton, canada" | CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR) | What is the Result of Venue of edmonton, canada? |
SELECT 1 AS st_leg FROM table_name_21 WHERE team_2 = "psv eindhoven" | CREATE TABLE table_name_21 (team_2 VARCHAR) | What is the 1st leg of Team 2 PSV Eindhoven? |
SELECT opponent FROM table_name_76 WHERE game_site = "forbes field" AND week > 4 | CREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) | Which opponent was played at Forbes Field after week 4? |
SELECT opponent FROM table_name_46 WHERE week = 9 | CREATE TABLE table_name_46 (opponent VARCHAR, week VARCHAR) | Which opponent was played on week 9? |
SELECT date FROM table_name_28 WHERE game_site = "fenway park" | CREATE TABLE table_name_28 (date VARCHAR, game_site VARCHAR) | What was the date of the game played at Fenway Park? |
SELECT opponents FROM table_name_23 WHERE year = "1998β99" AND team = "aston villa" | CREATE TABLE table_name_23 (opponents VARCHAR, year VARCHAR, team VARCHAR) | Which Opponents have a Year of 1998β99, and a Team of aston villa? |
SELECT score FROM table_name_21 WHERE opponents = "valencia" AND year = "2011β12" | CREATE TABLE table_name_21 (score VARCHAR, opponents VARCHAR, year VARCHAR) | Which Score has Opponents of valencia, and a Year of 2011β12? |
SELECT opponents FROM table_name_49 WHERE team = "arsenal" AND year = "1963β64" | CREATE TABLE table_name_49 (opponents VARCHAR, team VARCHAR, year VARCHAR) | Which Opponents have a Team of arsenal, and a Year of 1963β64? |
SELECT opponents FROM table_name_78 WHERE year = "1999β2000" AND team = "leeds united" | CREATE TABLE table_name_78 (opponents VARCHAR, year VARCHAR, team VARCHAR) | Which Opponents have a Year of 1999β2000, and a Team of leeds united? |
SELECT opponents FROM table_name_82 WHERE score = "1β2" AND team = "arsenal" AND progress = "first round" | CREATE TABLE table_name_82 (opponents VARCHAR, progress VARCHAR, score VARCHAR, team VARCHAR) | Which Opponents have a Score of 1β2, and a Team of arsenal, and Progress of first round? |
SELECT COUNT(rank) FROM table_name_11 WHERE points > 282.5 | CREATE TABLE table_name_11 (rank VARCHAR, points INTEGER) | How much Rank has Points larger than 282.5? |
SELECT MAX(rank) FROM table_name_98 WHERE points < 256.6 | CREATE TABLE table_name_98 (rank INTEGER, points INTEGER) | Which Rank is the highest one that has Points smaller than 256.6? |
SELECT MAX(2 AS nd__m_) FROM table_name_78 WHERE nationality = "sui" AND rank < 3 | CREATE TABLE table_name_78 (nationality VARCHAR, rank VARCHAR) | Which 2nd (m) is the highest one that has a Nationality of sui, and a Rank smaller than 3? |
SELECT uk_broadcast_date FROM table_name_72 WHERE presenter = "chris bonington" | CREATE TABLE table_name_72 (uk_broadcast_date VARCHAR, presenter VARCHAR) | What is the UK broadcast date of the episode where Chris Bonington was the presenter? |
SELECT episode_title FROM table_name_74 WHERE presenter = "ben okri" | CREATE TABLE table_name_74 (episode_title VARCHAR, presenter VARCHAR) | What is the episode title of the episode with Ben Okri as the presenter? |
SELECT presenter FROM table_name_45 WHERE uk_broadcast_date = "1996-09-25" | CREATE TABLE table_name_45 (presenter VARCHAR, uk_broadcast_date VARCHAR) | Who is the presenter of the episode broadcast in the UK on 1996-09-25? |
SELECT uk_broadcast_date FROM table_name_87 WHERE presenter = "ben okri" | CREATE TABLE table_name_87 (uk_broadcast_date VARCHAR, presenter VARCHAR) | What is the UK broadcast date of the episode with Ben Okri as the presenter? |
SELECT score FROM table_name_92 WHERE home = "bobcats" | CREATE TABLE table_name_92 (score VARCHAR, home VARCHAR) | What was the score when the team played at the bobcats? |
SELECT score FROM table_name_72 WHERE record = "43-13" | CREATE TABLE table_name_72 (score VARCHAR, record VARCHAR) | What was the score when the Spurs' record was 43-13? |
SELECT country_name FROM table_name_63 WHERE numeric_code < 246 AND latin_3_letter_code = "slv" | CREATE TABLE table_name_63 (country_name VARCHAR, numeric_code VARCHAR, latin_3_letter_code VARCHAR) | What is the country's name with a numeric code less than 246 and a Latin 3-letter code of slv? |
SELECT russian_name FROM table_name_86 WHERE latin_3_letter_code = "lbr" | CREATE TABLE table_name_86 (russian_name VARCHAR, latin_3_letter_code VARCHAR) | What is the Russian name with lbr as the Latin 3-letter code? |
SELECT country_name FROM table_name_4 WHERE numeric_code < 580 AND latin_2_letter_code = "dk" | CREATE TABLE table_name_4 (country_name VARCHAR, numeric_code VARCHAR, latin_2_letter_code VARCHAR) | What is the country name with a numeric code less than 580 and a dk Latin 2-letter code? |
SELECT cyrillic_code FROM table_name_68 WHERE latin_2_letter_code = "cu" | CREATE TABLE table_name_68 (cyrillic_code VARCHAR, latin_2_letter_code VARCHAR) | What is the Cyrillic code with a cu Latin 2-letter code? |
SELECT MIN(place) FROM table_name_47 WHERE draw > 3 AND points = 8 | CREATE TABLE table_name_47 (place INTEGER, draw VARCHAR, points VARCHAR) | Name the least place for draw more than 3 and points of 8 |
SELECT song FROM table_name_99 WHERE points < 16 AND draw < 3 | CREATE TABLE table_name_99 (song VARCHAR, points VARCHAR, draw VARCHAR) | Name the song for points less than 16 and draw less than 3 |
SELECT single FROM table_name_67 WHERE artist = "queen" | CREATE TABLE table_name_67 (single VARCHAR, artist VARCHAR) | what is the single of the queen |
SELECT artist FROM table_name_41 WHERE year = "1953" | CREATE TABLE table_name_41 (artist VARCHAR, year VARCHAR) | what artist won in 1953 |
SELECT year FROM table_name_14 WHERE artist = "david whitfield" | CREATE TABLE table_name_14 (year VARCHAR, artist VARCHAR) | what year did david whitfield win |
SELECT AVG(rank) FROM table_name_41 WHERE points < 274.4 AND name = "roman koudelka" | CREATE TABLE table_name_41 (rank INTEGER, points VARCHAR, name VARCHAR) | What is the average rank of Roman Koudelka, who has less than 274.4 points? |
SELECT SUM(points) FROM table_name_82 WHERE game < 14 | CREATE TABLE table_name_82 (points INTEGER, game INTEGER) | How many points was before game 14? |
SELECT AVG(points) FROM table_name_8 WHERE november = 6 | CREATE TABLE table_name_8 (points INTEGER, november VARCHAR) | What is the average points on November 6? |
SELECT AVG(against) FROM table_name_34 WHERE difference = "2" AND lost = 5 | CREATE TABLE table_name_34 (against INTEGER, difference VARCHAR, lost VARCHAR) | Which average's against score has 2 as a difference and a lost of 5? |
SELECT COUNT(position) FROM table_name_75 WHERE difference = "- 4" AND against < 24 | CREATE TABLE table_name_75 (position VARCHAR, difference VARCHAR, against VARCHAR) | How many positions had a difference of - 4 and an against of less than 24? |
SELECT MIN(lost) FROM table_name_85 WHERE position > 6 AND drawn = 7 AND points < 15 | CREATE TABLE table_name_85 (lost INTEGER, points VARCHAR, position VARCHAR, drawn VARCHAR) | What is the smallest lost when position is larger than 6, drawn is 7, and the points stat is less than 15? |
SELECT MAX(played) FROM table_name_42 WHERE difference = "- 8" AND position > 8 | CREATE TABLE table_name_42 (played INTEGER, difference VARCHAR, position VARCHAR) | What is the largest played number when the difference is - 8 and position is more than 8? |
SELECT AVG(drawn) FROM table_name_34 WHERE difference = "0" AND against > 31 | CREATE TABLE table_name_34 (drawn INTEGER, difference VARCHAR, against VARCHAR) | What is the mean drawn when the difference is 0 and the against stat is more than 31? |
SELECT owner FROM table_name_35 WHERE winner = "meridiana" | CREATE TABLE table_name_35 (owner VARCHAR, winner VARCHAR) | what is the winner of meridiana |
SELECT MAX(weight) FROM table_name_44 WHERE number = 13 | CREATE TABLE table_name_44 (weight INTEGER, number VARCHAR) | Number of 13 that has what highest weight? |
SELECT class FROM table_name_5 WHERE weight = 220 | CREATE TABLE table_name_5 (class VARCHAR, weight VARCHAR) | Weight of 220 has what class? |
SELECT AVG(number) FROM table_name_63 WHERE name = "byron geis" AND weight < 195 | CREATE TABLE table_name_63 (number INTEGER, name VARCHAR, weight VARCHAR) | Name of byron geis, and a Weight smaller than 195 involves what average number? |
SELECT record FROM table_name_58 WHERE date = "march 22" | CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR) | What was the record on March 22? |
SELECT AVG(february) FROM table_name_96 WHERE game = 53 | CREATE TABLE table_name_96 (february INTEGER, game VARCHAR) | What day in february was game 53? |
SELECT record FROM table_name_29 WHERE february = 23 | CREATE TABLE table_name_29 (record VARCHAR, february VARCHAR) | What is the team's record on februrary 23? |
SELECT MIN(place) FROM table_name_94 WHERE total < 24 AND draw > 7 | CREATE TABLE table_name_94 (place INTEGER, total VARCHAR, draw VARCHAR) | Which Place is the lowest one that has a Total smaller than 24, and a Draw larger than 7? |
SELECT entrant FROM table_name_87 WHERE points < 7 AND chassis = "lola t86/50" | CREATE TABLE table_name_87 (entrant VARCHAR, points VARCHAR, chassis VARCHAR) | with lola t86/50 chassis and less than 7 points what is the entrant? |
SELECT MAX(points) FROM table_name_69 WHERE entrant = "first racing" AND year > 1987 | CREATE TABLE table_name_69 (points INTEGER, entrant VARCHAR, year VARCHAR) | after 1987 and entrant of first racing what is the highest points? |
SELECT COUNT(points) FROM table_name_62 WHERE year > 1988 | CREATE TABLE table_name_62 (points VARCHAR, year INTEGER) | with year greater than 1988 what is the total number of points? |
SELECT SUM(points) FROM table_name_49 WHERE entrant = "forti corse" | CREATE TABLE table_name_49 (points INTEGER, entrant VARCHAR) | what is the points total for forti corse? |
SELECT parts_per_example FROM table_name_75 WHERE value_of_quantity = "2Γ10 β6" | CREATE TABLE table_name_75 (parts_per_example VARCHAR, value_of_quantity VARCHAR) | What is the Parts-per example of 2Γ10 β6? |
SELECT coefficient FROM table_name_16 WHERE parts_per_example = "2 ppt" | CREATE TABLE table_name_16 (coefficient VARCHAR, parts_per_example VARCHAR) | What is the Coefficient of 2 ppt? |
SELECT format FROM table_name_25 WHERE catalog = "865 821-1" | CREATE TABLE table_name_25 (format VARCHAR, catalog VARCHAR) | what is the format of catalog 865 821-1? |
SELECT season FROM table_name_62 WHERE winner = "kanto gakuin university" AND attendance = "n/a" AND title = "37th" | CREATE TABLE table_name_62 (season VARCHAR, title VARCHAR, winner VARCHAR, attendance VARCHAR) | What season had Kanto Gakuin University as the winner, with an attendance of n/a, and a title of 37th? |
SELECT title FROM table_name_91 WHERE attendance = "n/a" AND runner_up = "waseda" AND season = "1995-6 details" | CREATE TABLE table_name_91 (title VARCHAR, season VARCHAR, attendance VARCHAR, runner_up VARCHAR) | What was the title for the game with an attendance of n/a with the runner-up being Waseda, and a season of 1995-6 details? |
SELECT season FROM table_name_25 WHERE runner_up = "waseda" AND title = "47th" | CREATE TABLE table_name_25 (season VARCHAR, runner_up VARCHAR, title VARCHAR) | What season has a runner-up of waseda, and a title of 47th? |
SELECT winner FROM table_name_94 WHERE runner_up = "teikyo" | CREATE TABLE table_name_94 (winner VARCHAR, runner_up VARCHAR) | Who was the winner in the game that had Teikyo as the runner-up? |
SELECT winner FROM table_name_56 WHERE runner_up = "waseda" AND title = "32nd" | CREATE TABLE table_name_56 (winner VARCHAR, runner_up VARCHAR, title VARCHAR) | Who was the winner in the game that had a title of 32nd, and Waseda as the runner-up? |
SELECT date FROM table_name_97 WHERE week = 6 | CREATE TABLE table_name_97 (date VARCHAR, week VARCHAR) | what is the date on week 6 |
SELECT city FROM table_name_41 WHERE erp__analog__digital_ = "600kw 500kw" | CREATE TABLE table_name_41 (city VARCHAR, erp__analog__digital_ VARCHAR) | Which City has 600kw 500kw ERP (Analog/ Digital)? |
SELECT region_served FROM table_name_43 WHERE haat__analog__digital__1 = "1176 m 1190 m" | CREATE TABLE table_name_43 (region_served VARCHAR, haat__analog__digital__1 VARCHAR) | Which Region served has of 1176 m 1190 m HAAT (Analog/ Digital) 1? |
SELECT city FROM table_name_86 WHERE erp__analog__digital_ = "600kw 500kw" | CREATE TABLE table_name_86 (city VARCHAR, erp__analog__digital_ VARCHAR) | Which City has 600kw 500kw ERP ? |
SELECT city FROM table_name_32 WHERE erp__analog__digital_ = "360kw 90kw" | CREATE TABLE table_name_32 (city VARCHAR, erp__analog__digital_ VARCHAR) | Which City has a 360kw 90kw ERP? |
SELECT series FROM table_name_2 WHERE game > 4 | CREATE TABLE table_name_2 (series VARCHAR, game INTEGER) | What was the series standing for games over 4? |
SELECT AVG(game) FROM table_name_52 WHERE date = "may 20" | CREATE TABLE table_name_52 (game INTEGER, date VARCHAR) | What is the game number held on May 20? |
SELECT score FROM table_name_33 WHERE record = "55-51" | CREATE TABLE table_name_33 (score VARCHAR, record VARCHAR) | What was the score of the game when the Indians ended up with a record of 55-51? |
SELECT date FROM table_name_92 WHERE record = "67-58" | CREATE TABLE table_name_92 (date VARCHAR, record VARCHAR) | On which date did the Indians have a record of 67-58 |
SELECT work FROM table_name_36 WHERE result = "nominated" AND award = "contigo award" AND year < 2002 | CREATE TABLE table_name_36 (work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR) | Which Work has a Result of nominated, and an Award of contigo award, and a Year smaller than 2002? |
SELECT COUNT(year) FROM table_name_47 WHERE award = "press award" | CREATE TABLE table_name_47 (year VARCHAR, award VARCHAR) | How many years have an Award of press award? |
SELECT award FROM table_name_45 WHERE year < 2004 AND work = "the clone" AND result = "won" AND category = "favourite actress" | CREATE TABLE table_name_45 (award VARCHAR, category VARCHAR, result VARCHAR, year VARCHAR, work VARCHAR) | Which Award has a Year smaller than 2004, and a Work of the clone, and a Result of won, and a Category of favourite actress? |
SELECT MAX(year) FROM table_name_8 WHERE work = "the clone" AND award = "contigo award" | CREATE TABLE table_name_8 (year INTEGER, work VARCHAR, award VARCHAR) | Which Year is the highest one that has a Work of the clone, and an Award of contigo award? |
SELECT time_elapsed FROM table_name_11 WHERE destination = "jupiter" AND closest_approach = "4 february 2004" | CREATE TABLE table_name_11 (time_elapsed VARCHAR, destination VARCHAR, closest_approach VARCHAR) | With the Destination of Jupiter and the Closest approach of 4 February 2004, what is the Time elapsed? |
SELECT time_elapsed FROM table_name_52 WHERE launched = "15 october 1997" AND closest_approach = "24 june 1999" | CREATE TABLE table_name_52 (time_elapsed VARCHAR, launched VARCHAR, closest_approach VARCHAR) | What Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999? |
SELECT time_elapsed FROM table_name_11 WHERE closest_approach = "14 february 2011" | CREATE TABLE table_name_11 (time_elapsed VARCHAR, closest_approach VARCHAR) | What Time elapsed has 14 February 2011 as the Closest approach? |
Subsets and Splits