question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which rider has the time of +31.426?
CREATE TABLE table_name_10 (rider VARCHAR, time_retired VARCHAR)
SELECT rider FROM table_name_10 WHERE time_retired = "+31.426"
Which Round is the lowest one that has a Circuit of donington?
CREATE TABLE table_name_18 (round INTEGER, circuit VARCHAR)
SELECT MIN(round) FROM table_name_18 WHERE circuit = "donington"
What Country scored 70-68-70=208?
CREATE TABLE table_name_67 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_67 WHERE score = 70 - 68 - 70 = 208
Where was the istanbul marathon?
CREATE TABLE table_26166836_1 (location VARCHAR, road_race VARCHAR)
SELECT location FROM table_26166836_1 WHERE road_race = "Istanbul Marathon"
What time did the game featuring the Detroit Lions at Three Rivers Stadium occur?
CREATE TABLE table_name_38 (time___et__ VARCHAR, location VARCHAR, opponent VARCHAR)
SELECT time___et__ FROM table_name_38 WHERE location = "three rivers stadium" AND opponent = "detroit lions"
What was the population in Stanthorpe in the year when the population in Rosenthal was 1548?
CREATE TABLE table_12584173_1 (population__stanthorpe_ INTEGER, population__rosenthal_ VARCHAR)
SELECT MAX(population__stanthorpe_) FROM table_12584173_1 WHERE population__rosenthal_ = 1548
Tell me the wkts for econ of 4.23
CREATE TABLE table_name_13 (wkts VARCHAR, econ VARCHAR)
SELECT wkts FROM table_name_13 WHERE econ = "4.23"
Which Partial thromboplastin time has a Prothrombin time of prolonged, and a Bleeding time of unaffected, and a Condition of vitamin k deficiency or warfarin? Question 6
CREATE TABLE table_name_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)
SELECT partial_thromboplastin_time FROM table_name_1 WHERE prothrombin_time = "prolonged" AND bleeding_time = "unaffected" AND condition = "vitamin k deficiency or warfarin"
What is Attendance, when Home is Cleveland, and when Date is January 30?
CREATE TABLE table_name_74 (attendance VARCHAR, home VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_74 WHERE home = "cleveland" AND date = "january 30"
What was the Score in 2002?
CREATE TABLE table_name_25 (score VARCHAR, year VARCHAR)
SELECT score FROM table_name_25 WHERE year = 2002
Which Attendance has an Opponent of @ oilers, and a Date of may 25?
CREATE TABLE table_name_25 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
SELECT MAX(attendance) FROM table_name_25 WHERE opponent = "@ oilers" AND date = "may 25"
Where was the final game played in 2007
CREATE TABLE table_11214772_2 (location VARCHAR, year VARCHAR)
SELECT location FROM table_11214772_2 WHERE year = 2007
What is the name of the actress that was nominated for best actress in a leading role in the film Chopin: Desire for love?
CREATE TABLE table_10236830_6 (actors_name VARCHAR, film_name VARCHAR, nomination VARCHAR)
SELECT actors_name FROM table_10236830_6 WHERE film_name = "Chopin: Desire for Love" AND nomination = "Best Actress in a Leading Role"
What is Episodes (TV+extra) 2, when Broadcasts (TV) 1 is less than 13, and when Directors is "Shigehito Takayanagi"?
CREATE TABLE table_name_26 (episodes__tv VARCHAR, extra__2 VARCHAR, broadcasts__tv__1 VARCHAR, directors VARCHAR)
SELECT episodes__tv + extra__2 FROM table_name_26 WHERE broadcasts__tv__1 < 13 AND directors = "shigehito takayanagi"
Which Royal house is named Elah?
CREATE TABLE table_name_34 (royal_house VARCHAR, name VARCHAR)
SELECT royal_house FROM table_name_34 WHERE name = "elah"
Name the mixed doubles for zhu lin
CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, womens_singles VARCHAR)
SELECT mixed_doubles FROM table_14496232_2 WHERE womens_singles = "Zhu Lin"
What is the original NFL team of the College of Oregon DT Player?
CREATE TABLE table_name_51 (original_nfl_team VARCHAR, college VARCHAR, pos VARCHAR)
SELECT original_nfl_team FROM table_name_51 WHERE college = "oregon" AND pos = "dt"
What is the average price of the products for each category?
CREATE TABLE products (product_category_code VARCHAR, product_price INTEGER)
SELECT AVG(product_price), product_category_code FROM products GROUP BY product_category_code
WHAT IS NO TIE FROM brighton & hove albion?
CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_52 WHERE home_team = "brighton & hove albion"
What was the incumbent for missouri 1?
CREATE TABLE table_1341640_26 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1341640_26 WHERE district = "Missouri 1"
Which player was pick 2 later than 2010?
CREATE TABLE table_name_23 (player VARCHAR, year VARCHAR, pick VARCHAR)
SELECT player FROM table_name_23 WHERE year > 2010 AND pick = 2
Which School/Club Team did Andre Wakefield play for?
CREATE TABLE table_name_34 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_34 WHERE player = "andre wakefield"
Who was the winner from the United States the year Kimberly Kim was runner-up?
CREATE TABLE table_name_59 (winner VARCHAR, runner_up VARCHAR, country VARCHAR)
SELECT winner FROM table_name_59 WHERE runner_up = "kimberly kim" AND country = "united states"
What is the average Byes for the losses of 15, and before 1874?
CREATE TABLE table_name_46 (byes INTEGER, losses VARCHAR, against VARCHAR)
SELECT AVG(byes) FROM table_name_46 WHERE losses = 15 AND against < 1874
How many apps when the rank was after 13 and having more than 73 goals?
CREATE TABLE table_name_96 (apps INTEGER, goals VARCHAR, rank VARCHAR)
SELECT AVG(apps) FROM table_name_96 WHERE goals > 73 AND rank > 13
What is the name of team with Palmeiras 4-2 portuguesa as the last match?
CREATE TABLE table_name_47 (team VARCHAR, last_match VARCHAR)
SELECT team FROM table_name_47 WHERE last_match = "palmeiras 4-2 portuguesa"
What country has an ICAO of ypph?
CREATE TABLE table_name_67 (country VARCHAR, icao VARCHAR)
SELECT country FROM table_name_67 WHERE icao = "ypph"
Who directed the film originally named Bye Bye Brazil in Portuguese?
CREATE TABLE table_name_4 (director VARCHAR, language VARCHAR, original_name VARCHAR)
SELECT director FROM table_name_4 WHERE language = "portuguese" AND original_name = "bye bye brazil"
Who wrote the title with production code 7acx14?
CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_22269839_1 WHERE production_code = "7ACX14"
Which 2013 has a 2007 of A, and a Tournament of french open?
CREATE TABLE table_name_49 (tournament VARCHAR)
SELECT 2013 FROM table_name_49 WHERE 2007 = "a" AND tournament = "french open"
Who was the winner in stage 3?
CREATE TABLE table_name_49 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_49 WHERE stage = "3"
What is the average crowd size when North Melbourne is the away team?
CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_33 WHERE away_team = "north melbourne"
Marcell Jansen of the nation GER has what for the type?
CREATE TABLE table_name_2 (type VARCHAR, nat VARCHAR, name VARCHAR)
SELECT type FROM table_name_2 WHERE nat = "ger" AND name = "marcell jansen"
What are the years that the new classification was MCLA division i?
CREATE TABLE table_26476336_2 (years VARCHAR, new_classification VARCHAR)
SELECT years FROM table_26476336_2 WHERE new_classification = "MCLA Division I"
What is the score on 5 October 2004?
CREATE TABLE table_name_1 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_1 WHERE date = "5 october 2004"
Which system introduced earlier than 1981 has an internal hard disk of 11 megabytes and less than 21 s-100 slots?
CREATE TABLE table_name_47 (system VARCHAR, internal_hard_disk VARCHAR, s_100_slots VARCHAR, year_introduced VARCHAR)
SELECT system FROM table_name_47 WHERE s_100_slots < 21 AND year_introduced < 1981 AND internal_hard_disk = "11 megabytes"
Which 2nd (m) is the highest one that has a Nationality of sui, and a Rank smaller than 3?
CREATE TABLE table_name_78 (nationality VARCHAR, rank VARCHAR)
SELECT MAX(2 AS nd__m_) FROM table_name_78 WHERE nationality = "sui" AND rank < 3
What is the class when the frequency is 560 AM?
CREATE TABLE table_name_57 (class VARCHAR, frequency VARCHAR)
SELECT class FROM table_name_57 WHERE frequency = "560 am"
How many mixed doubles were there in the year that Olga Koseli won the women's singles?
CREATE TABLE table_15002177_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
SELECT COUNT(mixed_doubles) FROM table_15002177_1 WHERE womens_singles = "Olga Koseli"
On November 20, 1994, what was the result of the game?
CREATE TABLE table_name_65 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_65 WHERE date = "november 20, 1994"
Name the frequency for community purpose and callsign of 1vfm
CREATE TABLE table_name_79 (frequency VARCHAR, purpose VARCHAR, callsign VARCHAR)
SELECT frequency FROM table_name_79 WHERE purpose = "community" AND callsign = "1vfm"
What is the Street Address of the Building with 17 Floors?
CREATE TABLE table_name_70 (street_address VARCHAR, floors VARCHAR)
SELECT street_address FROM table_name_70 WHERE floors = 17
Which venue hosted an away team of Footscray?
CREATE TABLE table_name_22 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_22 WHERE away_team = "footscray"
How many years did notre dame participate?
CREATE TABLE table_1571238_2 (years_participated INTEGER, team VARCHAR)
SELECT MAX(years_participated) FROM table_1571238_2 WHERE team = "Notre Dame"
Which venue had an against smaller than 7?
CREATE TABLE table_name_15 (venue VARCHAR, against INTEGER)
SELECT venue FROM table_name_15 WHERE against < 7
What is the result for Steve Gonzalez?
CREATE TABLE table_22603701_1 (result VARCHAR, name VARCHAR)
SELECT result FROM table_22603701_1 WHERE name = "Steve Gonzalez"
What is the IHSAA Class for football for the team joining in 1968?
CREATE TABLE table_name_15 (ihsaa_class VARCHAR, year_joined VARCHAR)
SELECT ihsaa_class AS Football FROM table_name_15 WHERE year_joined = 1968
On What Date is the Competition Semifinal that has a result of 2-1 aet?
CREATE TABLE table_name_63 (date VARCHAR, competition VARCHAR, result VARCHAR)
SELECT date FROM table_name_63 WHERE competition = "semifinal" AND result = "2-1 aet"
What was the average speed of Tony Stewart's winning Chevrolet Impala?
CREATE TABLE table_name_47 (avg_speed VARCHAR, winning_driver VARCHAR, make VARCHAR)
SELECT avg_speed FROM table_name_47 WHERE winning_driver = "tony stewart" AND make = "chevrolet impala"
When 3 is the position what is the sail number?
CREATE TABLE table_1858574_2 (sail_number VARCHAR, position VARCHAR)
SELECT sail_number FROM table_1858574_2 WHERE position = 3
Which vehicle has a Grid of 13?
CREATE TABLE table_name_5 (constructor VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_5 WHERE grid = 13
Name the Gold which has a Nation of australia, and a Bronze smaller than 1?
CREATE TABLE table_name_64 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MIN(gold) FROM table_name_64 WHERE nation = "australia" AND bronze < 1
Which driver has 210 as entries?
CREATE TABLE table_name_40 (driver VARCHAR, entries VARCHAR)
SELECT driver FROM table_name_40 WHERE entries = 210
What Country is Rocco Mediate from?
CREATE TABLE table_name_49 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_49 WHERE player = "rocco mediate"
Which Record has a Match Report of recap, and a Result of l 30–20?
CREATE TABLE table_name_92 (record VARCHAR, match_report VARCHAR, result VARCHAR)
SELECT record FROM table_name_92 WHERE match_report = "recap" AND result = "l 30–20"
who directed with original air date being november18,1995
CREATE TABLE table_14637853_3 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT directed_by FROM table_14637853_3 WHERE original_air_date = "November18,1995"
What is the Date of Birth of the Player from the CSK VMF Moscow Club?
CREATE TABLE table_name_50 (date_of_birth VARCHAR, club VARCHAR)
SELECT date_of_birth FROM table_name_50 WHERE club = "csk vmf moscow"
When was the game with the loss of Moore (0-1)?
CREATE TABLE table_name_82 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_82 WHERE loss = "moore (0-1)"
What is the attendance for week 11?
CREATE TABLE table_name_59 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_59 WHERE week = 11
Name the high rebounds for march 17
CREATE TABLE table_15780049_8 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_15780049_8 WHERE date = "March 17"
What is the result of Waldemar 27´s freestyle test?
CREATE TABLE table_name_99 (result VARCHAR, horse VARCHAR, event VARCHAR)
SELECT COUNT(result) FROM table_name_99 WHERE horse = "waldemar 27" AND event = "freestyle test"
Tell me the average Laps for grid larger than 12 and bikes of ducati 999rs for dean ellison
CREATE TABLE table_name_74 (laps INTEGER, rider VARCHAR, grid VARCHAR, bike VARCHAR)
SELECT AVG(laps) FROM table_name_74 WHERE grid > 12 AND bike = "ducati 999rs" AND rider = "dean ellison"
Name the final place for july 25, 2009
CREATE TABLE table_23819979_3 (final_place VARCHAR, last_match VARCHAR)
SELECT final_place FROM table_23819979_3 WHERE last_match = "July 25, 2009"
Which Attendance has a Date of november 18, 1951?
CREATE TABLE table_name_22 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_22 WHERE date = "november 18, 1951"
What's the position of the player from Germantown, TN?
CREATE TABLE table_11677100_3 (position VARCHAR, hometown VARCHAR)
SELECT position FROM table_11677100_3 WHERE hometown = "Germantown, TN"
What was the crowd size when st kilda played home?
CREATE TABLE table_name_54 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_54 WHERE home_team = "st kilda"
What shows for Scorers when the Opponent was west germany on October 7?
CREATE TABLE table_name_31 (scorers VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT scorers FROM table_name_31 WHERE opponent = "west germany" AND date = "october 7"
On what track is the Argent mortgage Indy 300 held?
CREATE TABLE table_2454550_1 (track VARCHAR, race_name VARCHAR)
SELECT track FROM table_2454550_1 WHERE race_name = "Argent Mortgage Indy 300"
Which Pop/Area (1/km²) has a No P. larger than 1, and a Name of albergaria-a-velha?
CREATE TABLE table_name_84 (pop_area__1_km²_ INTEGER, no_p VARCHAR, name VARCHAR)
SELECT AVG(pop_area__1_km²_) FROM table_name_84 WHERE no_p > 1 AND name = "albergaria-a-velha"
What's the Loss for the game that had a 22-24 record?
CREATE TABLE table_name_24 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_24 WHERE record = "22-24"
Name the goals for mauricio pochettino
CREATE TABLE table_24565004_17 (goals¹ VARCHAR, name VARCHAR)
SELECT goals¹ FROM table_24565004_17 WHERE name = "Mauricio Pochettino"
Which Producer(s) has a Track smaller than 8, and a Songwriter(s) of hadise açıkgöz, yves jongen, and a Length of 3:08?
CREATE TABLE table_name_46 (producer_s_ VARCHAR, length VARCHAR, track VARCHAR, songwriter_s_ VARCHAR)
SELECT producer_s_ FROM table_name_46 WHERE track < 8 AND songwriter_s_ = "hadise açıkgöz, yves jongen" AND length = "3:08"
What are the name of the countries where there is not a single car maker?
CREATE TABLE countries (CountryName VARCHAR, countryId VARCHAR); CREATE TABLE countries (CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR)
SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country
What is the position when the channel shows channel 4?
CREATE TABLE table_name_42 (position VARCHAR, channel VARCHAR)
SELECT position FROM table_name_42 WHERE channel = "channel 4"
What is the highest drawn for points over 545?
CREATE TABLE table_name_81 (drawn INTEGER, points_for INTEGER)
SELECT MAX(drawn) FROM table_name_81 WHERE points_for > 545
What was the Loss when the opponent was the Rangers and the attendance was greater than 43,211?
CREATE TABLE table_name_57 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR)
SELECT loss FROM table_name_57 WHERE opponent = "rangers" AND attendance > 43 OFFSET 211
Name the Against of Venue of brewery field , bridgend?
CREATE TABLE table_name_31 (against VARCHAR, venue VARCHAR)
SELECT against FROM table_name_31 WHERE venue = "brewery field , bridgend"
What are the notes regarding the scout x-4 vehicle which ceased operation in June 1971?
CREATE TABLE table_name_82 (notes VARCHAR, vehicle VARCHAR, ceased_operation VARCHAR)
SELECT notes FROM table_name_82 WHERE vehicle = "scout x-4" AND ceased_operation = "june 1971"
What is the number of failure for the country of Russia, and a Family of r14 r-14, and a Partial failures smaller than 0?
CREATE TABLE table_name_76 (failures VARCHAR, partial_failures VARCHAR, country VARCHAR, family VARCHAR)
SELECT COUNT(failures) FROM table_name_76 WHERE country = "russia" AND family = "r14 r-14" AND partial_failures < 0
What date was the game played when it was located at bells beach?
CREATE TABLE table_name_8 (date VARCHAR, location VARCHAR)
SELECT date FROM table_name_8 WHERE location = "bells beach"
What's the Call sign with a Frequency MHz thats smaller than 95.9 and an ERP W of 10?
CREATE TABLE table_name_26 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT call_sign FROM table_name_26 WHERE frequency_mhz < 95.9 AND erp_w = 10
Name the college that has 7 rounds and boston celtics team
CREATE TABLE table_name_86 (college VARCHAR, team VARCHAR, round VARCHAR)
SELECT college FROM table_name_86 WHERE team = "boston celtics" AND round = "7"
What is the License when the Platform is windows and the Name is Altirra?
CREATE TABLE table_name_98 (license VARCHAR, platform VARCHAR, name VARCHAR)
SELECT license FROM table_name_98 WHERE platform = "windows" AND name = "altirra"
What is the run time for the episode with 7.9 million viewers?
CREATE TABLE table_2108684_1 (run_time VARCHAR, viewers__in_millions_ VARCHAR)
SELECT run_time FROM table_2108684_1 WHERE viewers__in_millions_ = "7.9"
What is the district for 1952?
CREATE TABLE table_1341577_22 (district VARCHAR, first_elected VARCHAR)
SELECT district FROM table_1341577_22 WHERE first_elected = 1952
Who was the Coat of Cash Wearing Celebrity in Episode 6?
CREATE TABLE table_name_81 (coat_of_cash_wearing_celebrity VARCHAR, episode_number VARCHAR)
SELECT coat_of_cash_wearing_celebrity FROM table_name_81 WHERE episode_number = 6
Where was the game that the Indianapolis Colts lost 24-14?
CREATE TABLE table_name_23 (location VARCHAR, loser VARCHAR, result VARCHAR)
SELECT location FROM table_name_23 WHERE loser = "indianapolis colts" AND result = "24-14"
When did tavárez lose?
CREATE TABLE table_name_64 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_64 WHERE loss = "tavárez"
What is the sum of against in Ballarat FL of East Point and wins less than 16?
CREATE TABLE table_name_75 (against INTEGER, ballarat_fl VARCHAR, wins VARCHAR)
SELECT SUM(against) FROM table_name_75 WHERE ballarat_fl = "east point" AND wins < 16
what pitcher scored 4
CREATE TABLE table_name_63 (ret_number VARCHAR, records VARCHAR)
SELECT ret_number FROM table_name_63 WHERE records = "4"
What was the latest year that had a 100m freestyle?
CREATE TABLE table_name_67 (year_set INTEGER, event VARCHAR)
SELECT MAX(year_set) FROM table_name_67 WHERE event = "100m freestyle"
What is the number of players that played 1987-89?
CREATE TABLE table_11545282_17 (no VARCHAR, years_for_jazz VARCHAR)
SELECT no FROM table_11545282_17 WHERE years_for_jazz = "1987-89"
which channel will have play by play commentator Paul Sunderland, Studio Host Bill Macdonald and Studi Analysty Jack Haley?
CREATE TABLE table_name_82 (channel VARCHAR, studio_analysts VARCHAR, play_by_play VARCHAR, studio_host VARCHAR)
SELECT channel FROM table_name_82 WHERE play_by_play = "paul sunderland" AND studio_host = "bill macdonald" AND studio_analysts = "jack haley"
How many of the episodes in the top 50 rankings were originally aired on June 28, 2010?
CREATE TABLE table_22170495_7 (top_50_ranking VARCHAR, original_airing VARCHAR)
SELECT COUNT(top_50_ranking) FROM table_22170495_7 WHERE original_airing = "June 28, 2010"
What was the Candlelight Records Catalog of Candle053tin format?
CREATE TABLE table_name_93 (format VARCHAR, label VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_93 WHERE label = "candlelight records" AND catalog = "candle053tin"
How many lost when goals for is 43 and the position number is higher than 15?
CREATE TABLE table_name_31 (lost INTEGER, goals_for VARCHAR, position VARCHAR)
SELECT AVG(lost) FROM table_name_31 WHERE goals_for = 43 AND position > 15
What was the total number of rebounds on november 27?
CREATE TABLE table_22822559_4 (high_rebounds VARCHAR, date VARCHAR)
SELECT COUNT(high_rebounds) FROM table_22822559_4 WHERE date = "November 27"
Which Round has a Position of lw, and a College/Junior/Club Team (League) of swift current broncos (wchl)?
CREATE TABLE table_name_11 (round INTEGER, position VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT AVG(round) FROM table_name_11 WHERE position = "lw" AND college_junior_club_team__league_ = "swift current broncos (wchl)"
What is the original title where Paul Verhoeven is the director?
CREATE TABLE table_name_42 (original_title VARCHAR, director VARCHAR)
SELECT original_title FROM table_name_42 WHERE director = "paul verhoeven"
What is the hometown of contestants who are from the province of Huesca?
CREATE TABLE table_23476629_2 (hometown VARCHAR, province VARCHAR)
SELECT hometown FROM table_23476629_2 WHERE province = "Huesca"