answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT club FROM table_name_35 WHERE runners_up = 1 AND last_final_won = "1999" | CREATE TABLE table_name_35 (club VARCHAR, runners_up VARCHAR, last_final_won VARCHAR) | what is the club when the runners-up is 1 and the last final won is 1999? |
SELECT last_final_won FROM table_name_13 WHERE runners_up = 1 AND club = "rijeka" | CREATE TABLE table_name_13 (last_final_won VARCHAR, runners_up VARCHAR, club VARCHAR) | what is the last final won when runners-up is 1 and club is rijeka? |
SELECT COUNT(winners) FROM table_name_11 WHERE runners_up < 0 | CREATE TABLE table_name_11 (winners VARCHAR, runners_up INTEGER) | How many times is runners-up less than 0? |
SELECT COUNT(game) FROM table_name_29 WHERE result = "4–0" AND attendance > 12 OFFSET 256 | CREATE TABLE table_name_29 (game VARCHAR, result VARCHAR, attendance VARCHAR) | How many games have a Result of 4–0, and an Attendance larger than 12,256? |
SELECT result FROM table_name_22 WHERE venue = "away" AND game < 43 AND opponent = "bournemouth" | CREATE TABLE table_name_22 (result VARCHAR, opponent VARCHAR, venue VARCHAR, game VARCHAR) | Which Result has a Venue of away, and a Game smaller than 43, and an Opponent of bournemouth? |
SELECT result FROM table_name_54 WHERE venue = "home" AND date = "3 october 1987" | CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, date VARCHAR) | Which Result has a Venue of home, and a Date of 3 october 1987? |
SELECT score FROM table_name_91 WHERE year = "1993" | CREATE TABLE table_name_91 (score VARCHAR, year VARCHAR) | What is the score of 1993? |
SELECT name FROM table_name_77 WHERE runner_up = "sania mirza elena vesnina" | CREATE TABLE table_name_77 (name VARCHAR, runner_up VARCHAR) | What is the Name when the runner-up was Sania Mirza Elena Vesnina? |
SELECT name FROM table_name_97 WHERE score = "6–3, 6–3" | CREATE TABLE table_name_97 (name VARCHAR, score VARCHAR) | What is the name with a Score of 6–3, 6–3? |
SELECT location FROM table_name_50 WHERE year = "2009" | CREATE TABLE table_name_50 (location VARCHAR, year VARCHAR) | What was the location in 2009? |
SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)" | CREATE TABLE table_name_28 (railway_number_s_ VARCHAR, class VARCHAR) | What's the railway number of a D(rebuild) class? |
SELECT MIN(quantity_rebuilt) FROM table_name_50 WHERE class = "t2a" | CREATE TABLE table_name_50 (quantity_rebuilt INTEGER, class VARCHAR) | What the least quantity having a T2A class? |
SELECT SUM(lane) FROM table_name_15 WHERE react = 0.185 AND time < 20.9 | CREATE TABLE table_name_15 (lane INTEGER, react VARCHAR, time VARCHAR) | Which lane did the swimmer who had a Reaction time of 0.185 and a time of 20.9 swim in? |
SELECT COUNT(time) FROM table_name_15 WHERE nationality = "slovenia" AND lane < 9 | CREATE TABLE table_name_15 (time VARCHAR, nationality VARCHAR, lane VARCHAR) | What was the 200-metre time for the swimmer from Slovenia in lane 9? |
SELECT athlete FROM table_name_49 WHERE time < 21.2 AND lane < 7 AND nationality = "dominica" | CREATE TABLE table_name_49 (athlete VARCHAR, nationality VARCHAR, time VARCHAR, lane VARCHAR) | Who was the swimmer from Dominica who had a time of 21.2 and swam in lane 7? |
SELECT player FROM table_name_35 WHERE pick > 53 AND position = "defensive tackle" | CREATE TABLE table_name_35 (player VARCHAR, pick VARCHAR, position VARCHAR) | What player had a pick higher than 53, and a position of defensive tackle? |
SELECT team FROM table_name_95 WHERE player = "jim garcia category:articles with hcards" | CREATE TABLE table_name_95 (team VARCHAR, player VARCHAR) | What team is Jim Garcia category:Articles with Hcards on? |
SELECT pick FROM table_name_90 WHERE college = "purdue" | CREATE TABLE table_name_90 (pick VARCHAR, college VARCHAR) | Who is the pick from the Purdue College? |
SELECT marcin_dołęga___pol__ FROM table_name_76 WHERE world_record = "olympic record" AND snatch = "total" | CREATE TABLE table_name_76 (marcin_dołęga___pol__ VARCHAR, world_record VARCHAR, snatch VARCHAR) | What shows for Marcin Dołęga ( POL )when the world record shows olympic record, and a Snatch of total? |
SELECT snatch FROM table_name_1 WHERE marcin_dołęga___pol__ = "430kg" | CREATE TABLE table_name_1 (snatch VARCHAR, marcin_dołęga___pol__ VARCHAR) | What is the snatch when Marcin Dołęga ( POL ) was 430kg? |
SELECT władysławowo_, _poland FROM table_name_85 WHERE world_record = "clean & jerk" | CREATE TABLE table_name_85 (władysławowo_ VARCHAR, _poland VARCHAR, world_record VARCHAR) | What shows for Władysławowo, Poland when the world record was clean & jerk? |
SELECT władysławowo_, _poland FROM table_name_83 WHERE world_record = "olympic record" AND marcin_dołęga___pol__ = "olympic standard" AND snatch = "clean & jerk" | CREATE TABLE table_name_83 (władysławowo_ VARCHAR, _poland VARCHAR, snatch VARCHAR, world_record VARCHAR, marcin_dołęga___pol__ VARCHAR) | What shows for Władysławowo, Poland when the world record shows olympic record, a Marcin Dołęga (POL) is olympic standard, and Snatch is clean & jerk? |
SELECT date FROM table_name_88 WHERE catalog = "0-6700-30838-2-9" | CREATE TABLE table_name_88 (date VARCHAR, catalog VARCHAR) | What date has 0-6700-30838-2-9 for a catalog? |
SELECT date FROM table_name_3 WHERE catalog = "reveal50cd/lp" AND region = "united kingdom" | CREATE TABLE table_name_3 (date VARCHAR, catalog VARCHAR, region VARCHAR) | What's the date in the United Kingdom having a catalog of reveal50cd/lp? |
SELECT date FROM table_name_49 WHERE competition = "king's cup 1996" | CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR) | What day was king's cup 1996? |
SELECT score FROM table_name_50 WHERE competition = "king's cup 1996" | CREATE TABLE table_name_50 (score VARCHAR, competition VARCHAR) | What was the score for king's cup 1996? |
SELECT result FROM table_name_61 WHERE score = "5-1" | CREATE TABLE table_name_61 (result VARCHAR, score VARCHAR) | What was the result when the score was 5-1? |
SELECT tournament FROM table_name_4 WHERE 2012 = "a" AND 2010 = "q2" | CREATE TABLE table_name_4 (tournament VARCHAR) | What tournament had an A in 2012 and Q2 in 2010? |
SELECT 2010 FROM table_name_10 WHERE 2009 = "q2" | CREATE TABLE table_name_10 (Id VARCHAR) | What's the 2010 when they had a Q2 in 2009? |
SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon" | CREATE TABLE table_name_83 (tournament VARCHAR) | What's the 2012 during Wimbledon and had a Q3 in 2008? |
SELECT tournament FROM table_name_74 WHERE 2012 = "a" AND 2011 = "a" | CREATE TABLE table_name_74 (tournament VARCHAR) | What's the tournament name when they had an A in 2011 & 2012? |
SELECT 2012 FROM table_name_22 WHERE 2009 = "205" | CREATE TABLE table_name_22 (Id VARCHAR) | What's the 2012 when 2009 was 205? |
SELECT COUNT(col__m_) FROM table_name_15 WHERE prominence__m_ = 2 OFFSET 344 | CREATE TABLE table_name_15 (col__m_ VARCHAR, prominence__m_ VARCHAR) | How much Col (m) has a Prominence (m) of 2,344? |
SELECT AVG(prominence__m_) FROM table_name_21 WHERE col__m_ = 350 | CREATE TABLE table_name_21 (prominence__m_ INTEGER, col__m_ VARCHAR) | Which Prominence (m) has a Col (m) of 350? |
SELECT athlete FROM table_name_87 WHERE country = "lithuania" | CREATE TABLE table_name_87 (athlete VARCHAR, country VARCHAR) | Who was the athlete from Lithuania? |
SELECT votes FROM table_name_90 WHERE opponent = "jeannemarie devolites davis" AND year = "1995-special" | CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR) | How many votes did Jeannemarie Devolites Davis get in 1995-Special? |
SELECT subject FROM table_name_35 WHERE year = "2007" | CREATE TABLE table_name_35 (subject VARCHAR, year VARCHAR) | Who was the subject for the year of 2007? |
SELECT party FROM table_name_51 WHERE votes > 4 OFFSET 478 | CREATE TABLE table_name_51 (party VARCHAR, votes INTEGER) | Which party has a voting total greater than 4,478? |
SELECT type FROM table_name_58 WHERE nat = "geo" | CREATE TABLE table_name_58 (type VARCHAR, nat VARCHAR) | Which Type has a Nat of geo? |
SELECT moving_from FROM table_name_26 WHERE nat = "ned" | CREATE TABLE table_name_26 (moving_from VARCHAR, nat VARCHAR) | Which Moving from has a Nat of ned? |
SELECT MAX(ends) FROM table_name_41 WHERE name = "zambrano" | CREATE TABLE table_name_41 (ends INTEGER, name VARCHAR) | Which Ends have a Name of zambrano? |
SELECT transfer_fee FROM table_name_10 WHERE moving_from = "youth system" AND nat = "mar" | CREATE TABLE table_name_10 (transfer_fee VARCHAR, moving_from VARCHAR, nat VARCHAR) | Which Transfer fee has a Moving from of youth system, and a Nat of mar? |
SELECT transfer_fee FROM table_name_27 WHERE ends > 2011 AND moving_from = "psv" | CREATE TABLE table_name_27 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR) | Which Transfer fee has Ends larger than 2011, and a Moving from of psv? |
SELECT result FROM table_name_60 WHERE horse = "toscane" AND event = "freestyle test" | CREATE TABLE table_name_60 (result VARCHAR, horse VARCHAR, event VARCHAR) | What is the result for the Toscane Horse in the freestyle test? |
SELECT horse FROM table_name_69 WHERE result = "66.452" | CREATE TABLE table_name_69 (horse VARCHAR, result VARCHAR) | What horse has a 66.452 result? |
SELECT event FROM table_name_57 WHERE athlete = "sjerstin vermeulen" AND result = "66.452" | CREATE TABLE table_name_57 (event VARCHAR, athlete VARCHAR, result VARCHAR) | What event did Sjerstin Vermeulen receive a 66.452 result? |
SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516" | CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR) | What class had a Championship Test event with a 62.516 result? |
SELECT horse FROM table_name_18 WHERE result = "65.863" | CREATE TABLE table_name_18 (horse VARCHAR, result VARCHAR) | What horse has a 65.863 result? |
SELECT displacement FROM table_name_88 WHERE model = "1400" | CREATE TABLE table_name_88 (displacement VARCHAR, model VARCHAR) | What is the displacement for the model 1400? |
SELECT displacement FROM table_name_20 WHERE fuel_system = "carburettor" AND power = "ps (kw; hp)" AND model = "2000" | CREATE TABLE table_name_20 (displacement VARCHAR, model VARCHAR, fuel_system VARCHAR, power VARCHAR) | What is the displacement when the fuel system is carburettor, and a power of ps (kw; hp), and also has a model of 2000? |
SELECT engine FROM table_name_29 WHERE model = "1600" AND years = "1975-84" | CREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR) | What engine with the years of 1975-84 has a model of 1600? |
SELECT displacement FROM table_name_78 WHERE model = "2000" | CREATE TABLE table_name_78 (displacement VARCHAR, model VARCHAR) | What displacement has a model of 2000? |
SELECT engine FROM table_name_9 WHERE years = "1975-84" AND displacement = "1585cc" | CREATE TABLE table_name_9 (engine VARCHAR, years VARCHAR, displacement VARCHAR) | What engine with years of 1975-84 has a displacement of 1585cc? |
SELECT power FROM table_name_40 WHERE years = "1975-84" | CREATE TABLE table_name_40 (power VARCHAR, years VARCHAR) | What is the power for the years 1975-84? |
SELECT 2 AS nd_leg FROM table_name_92 WHERE team_2 = "teram" | CREATE TABLE table_name_92 (team_2 VARCHAR) | What is the 2nd leg in match with team 2 of Teram? |
SELECT result FROM table_name_66 WHERE date = "december 15, 2002" | CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR) | What was the result of the December 15, 2002 game? |
SELECT date FROM table_name_52 WHERE attendance = "69,024" | CREATE TABLE table_name_52 (date VARCHAR, attendance VARCHAR) | What date was the game that was attended by 69,024? |
SELECT date FROM table_name_37 WHERE week = 17 | CREATE TABLE table_name_37 (date VARCHAR, week VARCHAR) | On what date was the week 17 game? |
SELECT model FROM table_name_85 WHERE seats = 29 AND built = "1941–1942" | CREATE TABLE table_name_85 (model VARCHAR, seats VARCHAR, built VARCHAR) | What is the Model of the Engine with 29 Seats Built in 1941–1942? |
SELECT quantity FROM table_name_65 WHERE model = "pg-2901" | CREATE TABLE table_name_65 (quantity VARCHAR, model VARCHAR) | What is the Quantity of the engine Model PG-2901? |
SELECT reason_of_departure FROM table_name_69 WHERE date_outgoing = "august 1, 2008" | CREATE TABLE table_name_69 (reason_of_departure VARCHAR, date_outgoing VARCHAR) | Why did the manager who departed on August 1, 2008 leave? |
SELECT date_of_replacement FROM table_name_54 WHERE reason_of_departure = "sacked" AND team = "psis semarang" | CREATE TABLE table_name_54 (date_of_replacement VARCHAR, reason_of_departure VARCHAR, team VARCHAR) | On what date did the manager for PSIS Semarang take over for the manager that was sacked? |
SELECT reason_of_departure FROM table_name_84 WHERE date_outgoing = "august 1, 2008" | CREATE TABLE table_name_84 (reason_of_departure VARCHAR, date_outgoing VARCHAR) | Why did the manager who departed on August 1, 2008 leave? |
SELECT date_outgoing FROM table_name_12 WHERE outgoing_manager = "peter butler" | CREATE TABLE table_name_12 (date_outgoing VARCHAR, outgoing_manager VARCHAR) | When did Peter Butler leave his team? |
SELECT date_of_replacement FROM table_name_98 WHERE date_outgoing = "august 20, 2008" | CREATE TABLE table_name_98 (date_of_replacement VARCHAR, date_outgoing VARCHAR) | When did the manager take over for the manager that left on August 20, 2008? |
SELECT competition FROM table_name_99 WHERE notes = "1.90 m" | CREATE TABLE table_name_99 (competition VARCHAR, notes VARCHAR) | In which competition(s) did Iljuštšenko jump 1.90 m? |
SELECT position FROM table_name_48 WHERE year < 2008 AND competition = "european championships" | CREATE TABLE table_name_48 (position VARCHAR, year VARCHAR, competition VARCHAR) | In which position did Iljuštšenko finish in the European Championships held prior to 2008? |
SELECT year FROM table_name_70 WHERE venue = "barcelona, spain" | CREATE TABLE table_name_70 (year VARCHAR, venue VARCHAR) | In what year did Iljuštšenko compete in Barcelona, Spain? |
SELECT SUM(number_of_electorates__2009_) FROM table_name_56 WHERE constituency_number = "56" | CREATE TABLE table_name_56 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR) | What's the number of electorates for constituency number 56? |
SELECT tour_apps FROM table_name_57 WHERE career_caps = 15 | CREATE TABLE table_name_57 (tour_apps VARCHAR, career_caps VARCHAR) | What is the tour Apps when the career caps show 15? |
SELECT COUNT(career_caps) FROM table_name_78 WHERE position = "full back" AND tour_apps < 29 | CREATE TABLE table_name_78 (career_caps VARCHAR, position VARCHAR, tour_apps VARCHAR) | What is the number of career caps for a full back, when tour Apps is smaller than 29? |
SELECT career_caps FROM table_name_73 WHERE position = "half-back" AND tests > 3 | CREATE TABLE table_name_73 (career_caps VARCHAR, position VARCHAR, tests VARCHAR) | What is the career caps for half-back, when tests is more than 3? |
SELECT name FROM table_name_22 WHERE tour_apps > 7 AND tests > 4 AND career_caps = 20 | CREATE TABLE table_name_22 (name VARCHAR, career_caps VARCHAR, tour_apps VARCHAR, tests VARCHAR) | What name has tour Apps larger than 7, tests larger than 4, and a Career caps of 20? |
SELECT constructor FROM table_name_64 WHERE grid < 21 AND time_retired = "engine" | CREATE TABLE table_name_64 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) | What constructor has a grid less than 21, and time/retired of engine? |
SELECT driver FROM table_name_11 WHERE entrant = "fred saunders" | CREATE TABLE table_name_11 (driver VARCHAR, entrant VARCHAR) | When the entrant is fred saunders what is the driver? |
SELECT MIN(grid) FROM table_name_47 WHERE entrant = "fred saunders" | CREATE TABLE table_name_47 (grid INTEGER, entrant VARCHAR) | What's the lowest grid with and entrant of fred saunders? |
SELECT time_retired FROM table_name_55 WHERE driver = "emerson fittipaldi" | CREATE TABLE table_name_55 (time_retired VARCHAR, driver VARCHAR) | What is the time/retired for the driver emerson fittipaldi? |
SELECT artist FROM table_name_86 WHERE label = "columbia" AND standard_number = "cocc-72073" | CREATE TABLE table_name_86 (artist VARCHAR, label VARCHAR, standard_number VARCHAR) | Which Artist has the Label of Columbia and the Standard number of COCC-72073? |
SELECT type FROM table_name_42 WHERE artist = "hiroyuki takami" | CREATE TABLE table_name_42 (type VARCHAR, artist VARCHAR) | What Type has the Artist of Hiroyuki Takami? |
SELECT title FROM table_name_27 WHERE label = "columbia" AND standard_number = "codc-8760" | CREATE TABLE table_name_27 (title VARCHAR, label VARCHAR, standard_number VARCHAR) | What Title has the Label of Columbia and Standard number of CODC-8760? |
SELECT type FROM table_name_71 WHERE name__wade_giles_ = "kuang-hsing" | CREATE TABLE table_name_71 (type VARCHAR, name__wade_giles_ VARCHAR) | What is the type of Kuang-Hsing? |
SELECT type FROM table_name_25 WHERE characters = "廣丙" | CREATE TABLE table_name_25 (type VARCHAR, characters VARCHAR) | What type has the characters 廣丙? |
SELECT name__wade_giles_ FROM table_name_87 WHERE characters = "廣亨" | CREATE TABLE table_name_87 (name__wade_giles_ VARCHAR, characters VARCHAR) | What's the name that has the characters 廣亨? |
SELECT type FROM table_name_48 WHERE characters = "廣利" | CREATE TABLE table_name_48 (type VARCHAR, characters VARCHAR) | What type has the characters 廣利? |
SELECT type FROM table_name_50 WHERE name__pinyin_ = "guangjia" | CREATE TABLE table_name_50 (type VARCHAR, name__pinyin_ VARCHAR) | What is the type of Guangjia? |
SELECT soap_opera FROM table_name_81 WHERE rank > 1 AND character = "emily bishop" | CREATE TABLE table_name_81 (soap_opera VARCHAR, rank VARCHAR, character VARCHAR) | What soap opera has a rank larger than 1, and a Character named Emily Bishop? |
SELECT MAX(rank) FROM table_name_81 WHERE years = "1960—" | CREATE TABLE table_name_81 (rank INTEGER, years VARCHAR) | What is the highest Rank 1960—? |
SELECT actor FROM table_name_84 WHERE duration = "61 years" | CREATE TABLE table_name_84 (actor VARCHAR, duration VARCHAR) | What is the name of the actor with a duration of 61 years? |
SELECT years FROM table_name_4 WHERE duration = "52 years" AND actor = "eileen derbyshire" | CREATE TABLE table_name_4 (years VARCHAR, duration VARCHAR, actor VARCHAR) | What are the years for Eileen Derbyshire with a duration of 52 years? |
SELECT soap_opera FROM table_name_33 WHERE years = "1960–1965, 1965–1983, 1984–2010" | CREATE TABLE table_name_33 (soap_opera VARCHAR, years VARCHAR) | What soap opera was on 1960–1965, 1965–1983, 1984–2010? |
SELECT rowers FROM table_name_54 WHERE country = "australia" | CREATE TABLE table_name_54 (rowers VARCHAR, country VARCHAR) | Who are the rowers for Australia? |
SELECT SUM(rank) FROM table_name_36 WHERE country = "italy" | CREATE TABLE table_name_36 (rank INTEGER, country VARCHAR) | What's Italy's rank? |
SELECT visitor FROM table_name_89 WHERE home = "linköpings hc" AND round > 20 AND date = "saturday, november 22" | CREATE TABLE table_name_89 (visitor VARCHAR, date VARCHAR, home VARCHAR, round VARCHAR) | Who is the visitor team on Saturday, November 22 when linköpings hc was the home team and there were more than 20 rounds? |
SELECT MIN(attendance) FROM table_name_30 WHERE home = "linköpings hc" AND date = "monday, november 10" AND round > 18 | CREATE TABLE table_name_30 (attendance INTEGER, round VARCHAR, home VARCHAR, date VARCHAR) | What is the lowest attendance on Monday, November 10 when linköpings hc was the home team and there were more than 18 rounds? |
SELECT visitor FROM table_name_6 WHERE venue = "axa sports center" AND round = 20 | CREATE TABLE table_name_6 (visitor VARCHAR, venue VARCHAR, round VARCHAR) | Who is the visitor at the axa sports center in round 20? |
SELECT attendance FROM table_name_7 WHERE date = "november 6, 1966" | CREATE TABLE table_name_7 (attendance VARCHAR, date VARCHAR) | What is the Attendance of the game on November 6, 1966? |
SELECT result FROM table_name_78 WHERE date = "november 6, 1966" | CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR) | What is the Result of the game on November 6, 1966? |
SELECT club FROM table_name_91 WHERE time = "4:03.63" | CREATE TABLE table_name_91 (club VARCHAR, time VARCHAR) | Who is the club with a 4:03.63 time? |
SELECT green_communist FROM table_name_59 WHERE socialist = "41.0%" | CREATE TABLE table_name_59 (green_communist VARCHAR, socialist VARCHAR) | What was the Green-Communist percentage in the poll in which the Socialist Party earned 41.0%? |
SELECT green_communist FROM table_name_1 WHERE lead = "9.7%" | CREATE TABLE table_name_1 (green_communist VARCHAR, lead VARCHAR) | What is the Green-Communist percentage in the poll showing a 9.7% lead? |
Subsets and Splits