question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What is the average rank of Elise Matthysen in lanes under 8? | CREATE TABLE table_name_46 (rank INTEGER, name VARCHAR, lane VARCHAR) | SELECT AVG(rank) FROM table_name_46 WHERE name = "elise matthysen" AND lane < 8 |
Name the poles for avg finish is 26.8 | CREATE TABLE table_1671401_2 (poles VARCHAR, avg_finish VARCHAR) | SELECT poles FROM table_1671401_2 WHERE avg_finish = "26.8" |
What is the oldest year that the location was at Guangzhou? | CREATE TABLE table_name_1 (year INTEGER, location VARCHAR) | SELECT MIN(year) FROM table_name_1 WHERE location = "guangzhou" |
What is the smallest number of cuts when there were more than 0 wins? | CREATE TABLE table_name_59 (cuts_made INTEGER, wins INTEGER) | SELECT MIN(cuts_made) FROM table_name_59 WHERE wins > 0 |
What is the condition of the platelet counts in hemophilia? | CREATE TABLE table_1557752_1 (platelet_count VARCHAR, condition VARCHAR) | SELECT platelet_count FROM table_1557752_1 WHERE condition = "Hemophilia" |
Who was the interview subject in the 2-86 issue? | CREATE TABLE table_1566848_7 (interview_subject VARCHAR, date VARCHAR) | SELECT interview_subject FROM table_1566848_7 WHERE date = "2-86" |
How many subsidiaries of company F M Media Limited? | CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR) | SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "F M MEDIA LIMITED" |
What was the tries against when they had 32 tries for? | CREATE TABLE table_name_14 (tries_against VARCHAR, tries_for VARCHAR) | SELECT tries_against FROM table_name_14 WHERE tries_for = "32" |
What date was the Madonie Circuit? | CREATE TABLE table_name_22 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_22 WHERE circuit = "madonie" |
If the games played are smaller than 18, what are the lowest goals conceded? | CREATE TABLE table_name_72 (goals_conceded INTEGER, played INTEGER) | SELECT MIN(goals_conceded) FROM table_name_72 WHERE played < 18 |
What is the car number that has less than 369 laps for a Dodge with more than 49 points? | CREATE TABLE table_name_62 (car__number INTEGER, points VARCHAR, laps VARCHAR, make VARCHAR) | SELECT SUM(car__number) FROM table_name_62 WHERE laps < 369 AND make = "dodge" AND points > 49 |
What is the highest number of votes for the French Professor? | CREATE TABLE table_name_20 (votes INTEGER, occupation VARCHAR) | SELECT MAX(votes) FROM table_name_20 WHERE occupation = "french professor" |
what is the sum of wins for the ottawa hockey club when the games played is less than 10? | CREATE TABLE table_name_53 (wins INTEGER, team VARCHAR, games_played VARCHAR) | SELECT SUM(wins) FROM table_name_53 WHERE team = "ottawa hockey club" AND games_played < 10 |
What is the abbreviation of the district of Mahbubnagar? | CREATE TABLE table_1610301_1 (code VARCHAR, district VARCHAR) | SELECT code FROM table_1610301_1 WHERE district = "Mahbubnagar" |
What is shown for ends lost when pa is 44? | CREATE TABLE table_25689740_2 (Ends VARCHAR, pa VARCHAR) | SELECT Ends AS lost FROM table_25689740_2 WHERE pa = 44 |
At what stadium was the game with the final score of 26-24 played? | CREATE TABLE table_name_29 (stadium VARCHAR, final_score VARCHAR) | SELECT stadium FROM table_name_29 WHERE final_score = "26-24" |
Which Year of Issue has a Thickness of 1.42mm? | CREATE TABLE table_name_52 (year_of_issue INTEGER, thickness VARCHAR) | SELECT MAX(year_of_issue) FROM table_name_52 WHERE thickness = "1.42mm" |
What vote passed for the measure with the description, authorizing state acceptance of certain gifts? | CREATE TABLE table_256286_40 (passed VARCHAR, description VARCHAR) | SELECT passed FROM table_256286_40 WHERE description = "Authorizing State Acceptance of Certain Gifts" |
Who was the skip when the stolen ends against was 13? | CREATE TABLE table_16684420_2 (skip VARCHAR, stolen_ends_against VARCHAR) | SELECT skip FROM table_16684420_2 WHERE stolen_ends_against = 13 |
Who did the Raptors play when their record was 45-36? | CREATE TABLE table_13619135_8 (team VARCHAR, record VARCHAR) | SELECT team FROM table_13619135_8 WHERE record = "45-36" |
What is the winners Share ($) in the year 2004? | CREATE TABLE table_12243817_1 (winners_share__ INTEGER, year VARCHAR) | SELECT MIN(winners_share__) AS $_ FROM table_12243817_1 WHERE year = "2004" |
what is the league cup apps when the total goals is less than 2 and the total apps is 12? | CREATE TABLE table_name_54 (league_cup_apps VARCHAR, total_goals VARCHAR, total_apps VARCHAR) | SELECT league_cup_apps FROM table_name_54 WHERE total_goals < 2 AND total_apps = "12" |
What is the time/retired if the driver is Marco Andretti? | CREATE TABLE table_17693171_1 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_17693171_1 WHERE driver = "Marco Andretti" |
What engine does Chip Mead of Parts Washer Service use? | CREATE TABLE table_name_36 (engine VARCHAR, team VARCHAR, drivers VARCHAR) | SELECT engine FROM table_name_36 WHERE team = "parts washer service" AND drivers = "chip mead" |
What is the label for catalogue 7200222? | CREATE TABLE table_name_77 (label VARCHAR, catalogue VARCHAR) | SELECT label FROM table_name_77 WHERE catalogue = "7200222" |
What is the 2011 value of the paris masters, which had A in 2008, A in 2012, A in 2009? | CREATE TABLE table_name_34 (tournament VARCHAR) | SELECT 2011 FROM table_name_34 WHERE 2008 = "a" AND 2012 = "a" AND 2009 = "a" AND tournament = "paris masters" |
Among the cars that do not have the minimum horsepower , what are the make ids and names of all those with less than 4 cylinders ? | CREATE TABLE cars_data (horsepower INTEGER); CREATE TABLE car_names (makeid VARCHAR, make VARCHAR); CREATE TABLE cars_data (id VARCHAR, horsepower INTEGER, cylinders VARCHAR) | SELECT t2.makeid, t2.make FROM cars_data AS t1 JOIN car_names AS t2 ON t1.id = t2.makeid WHERE t1.horsepower > (SELECT MIN(horsepower) FROM cars_data) AND t1.cylinders < 4 |
How many ties were there for game 36 started? | CREATE TABLE table_14389782_2 (ties VARCHAR, games_started VARCHAR) | SELECT COUNT(ties) FROM table_14389782_2 WHERE games_started = 36 |
How many countries does honoree Roberto de Vicenzo represent? | CREATE TABLE table_1515346_2 (country VARCHAR, honoree_s_ VARCHAR) | SELECT COUNT(country) FROM table_1515346_2 WHERE honoree_s_ = "Roberto De Vicenzo" |
What is the number of cores associated with model name e2xxx? | CREATE TABLE table_24099628_1 (cores VARCHAR, model__list_ VARCHAR) | SELECT cores FROM table_24099628_1 WHERE model__list_ = "E2xxx" |
What is the Medal for the Player in the Light Heavyweight event? | CREATE TABLE table_name_25 (medal VARCHAR, event VARCHAR) | SELECT medal FROM table_name_25 WHERE event = "light heavyweight" |
what is the least silver for germany when gold is more than 4? | CREATE TABLE table_name_94 (silver INTEGER, nation VARCHAR, gold VARCHAR) | SELECT MIN(silver) FROM table_name_94 WHERE nation = "germany" AND gold > 4 |
What is the Week of the game against Green Bay Packers? | CREATE TABLE table_name_71 (week INTEGER, opponent VARCHAR) | SELECT AVG(week) FROM table_name_71 WHERE opponent = "green bay packers" |
What is the home team of the game with Warriors as the visitor team? | CREATE TABLE table_name_35 (home VARCHAR, visitor VARCHAR) | SELECT home FROM table_name_35 WHERE visitor = "warriors" |
Who was the driver for crew chief Nick Carlson? | CREATE TABLE table_name_34 (driver_s_ VARCHAR, crew_chief VARCHAR) | SELECT driver_s_ FROM table_name_34 WHERE crew_chief = "nick carlson" |
What is the title of the episode wtih 10.34 million U.S viewers? | CREATE TABLE table_10749143_2 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_10749143_2 WHERE us_viewers__millions_ = "10.34" |
Tell me the sum of total for rank of 1 | CREATE TABLE table_name_35 (total INTEGER, rank VARCHAR) | SELECT SUM(total) FROM table_name_35 WHERE rank = 1 |
Round of first had what opponent? | CREATE TABLE table_name_75 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_75 WHERE round = "first" |
What is the largest base pair with a Strain of unspecified? | CREATE TABLE table_name_2 (base_pairs INTEGER, strain VARCHAR) | SELECT MAX(base_pairs) FROM table_name_2 WHERE strain = "unspecified" |
what is the borough or A[βΊ] Census area when the Name A[βΊ] is jerome lake dam? | CREATE TABLE table_name_81 (borough_or_a VARCHAR, βΊ_ VARCHAR, name_a VARCHAR) | SELECT borough_or_a[βΊ_] AS _census_area FROM table_name_81 WHERE name_a[βΊ_] = "jerome lake dam" |
How many throws did james get? | CREATE TABLE table_name_39 (throws VARCHAR, first VARCHAR) | SELECT throws FROM table_name_39 WHERE first = "james" |
Who was the opponent with a score of 141β102? | CREATE TABLE table_name_97 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_97 WHERE score = "141β102" |
What is the earliest year on the chart? | CREATE TABLE table_26609690_1 (year INTEGER) | SELECT MIN(year) FROM table_26609690_1 |
What is the highest score for candidate Mohsen Rezaee when candidate mir-hossein mousavi scored 837858 votes? | CREATE TABLE table_23390604_1 (mohsen_rezaee INTEGER, mir_hossein_mousavi VARCHAR) | SELECT MAX(mohsen_rezaee) FROM table_23390604_1 WHERE mir_hossein_mousavi = 837858 |
What position was drafted by the Hamilton Tiger-Cats? | CREATE TABLE table_21321804_5 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_21321804_5 WHERE cfl_team = "Hamilton Tiger-Cats" |
What is the rank of the athletes that have Notes of fb, and a Time of 6:47.30? | CREATE TABLE table_name_36 (rank INTEGER, notes VARCHAR, time VARCHAR) | SELECT SUM(rank) FROM table_name_36 WHERE notes = "fb" AND time = "6:47.30" |
How many drivers did not participate in the races held in 2009? | CREATE TABLE races (driverId VARCHAR, raceId VARCHAR, YEAR VARCHAR); CREATE TABLE results (driverId VARCHAR, raceId VARCHAR, YEAR VARCHAR) | SELECT COUNT(DISTINCT driverId) FROM results WHERE NOT raceId IN (SELECT raceId FROM races WHERE YEAR <> 2009) |
What is the D 49 β when D 47 β is d 67 +? | CREATE TABLE table_name_37 (d_49_β VARCHAR, d_47_β VARCHAR) | SELECT d_49_β FROM table_name_37 WHERE d_47_β = "d 67 +" |
What is the total number of titles written by Casey Johnson? | CREATE TABLE table_12419515_4 (title VARCHAR, written_by VARCHAR) | SELECT COUNT(title) FROM table_12419515_4 WHERE written_by = "Casey Johnson" |
What district has Riley Joseph Wilson as the incumbent? | CREATE TABLE table_1342331_18 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342331_18 WHERE incumbent = "Riley Joseph Wilson" |
Name the number which has language of other | CREATE TABLE table_name_73 (number VARCHAR, language VARCHAR) | SELECT number FROM table_name_73 WHERE language = "other" |
What is the 2nd leg for the team #2 junior? | CREATE TABLE table_name_18 (team__number2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_18 WHERE team__number2 = "junior" |
What's the lowest team 1 number that had asolo fonte (veneto b) as the Agg.? | CREATE TABLE table_name_89 (team_1 INTEGER, agg VARCHAR) | SELECT MIN(team_1) FROM table_name_89 WHERE agg = "asolo fonte (veneto b)" |
Who had the high assists when the score was l 85β118 (ot) | CREATE TABLE table_23248869_8 (high_assists VARCHAR, score VARCHAR) | SELECT high_assists FROM table_23248869_8 WHERE score = "L 85β118 (OT)" |
Which away team goes against the home team Mauritius? | CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_94 WHERE home_team = "mauritius" |
Name the musical guest where guest host is elle macpherson | CREATE TABLE table_1590967_6 (musical_guest__song_performed_ VARCHAR, guest_host VARCHAR) | SELECT musical_guest__song_performed_ FROM table_1590967_6 WHERE guest_host = "Elle Macpherson" |
What is the Win % in the Span of 2011β2013 with a Lost of less than 1? | CREATE TABLE table_name_91 (win__percentage INTEGER, span VARCHAR, lost VARCHAR) | SELECT AVG(win__percentage) FROM table_name_91 WHERE span = "2011β2013" AND lost < 1 |
What is the NFL club of the cornerback player with a pick greater than 63? | CREATE TABLE table_name_34 (nfl_club VARCHAR, pick VARCHAR, position VARCHAR) | SELECT nfl_club FROM table_name_34 WHERE pick > 63 AND position = "cornerback" |
What is the Team, when the Year is 2011? | CREATE TABLE table_name_14 (team VARCHAR, year VARCHAR) | SELECT team FROM table_name_14 WHERE year = "2011" |
Show all destinations and the number of flights to each destination. | CREATE TABLE Flight (destination VARCHAR) | SELECT destination, COUNT(*) FROM Flight GROUP BY destination |
What is Agg., when Team 1 is CD ElΓ‘ Nguema? | CREATE TABLE table_name_63 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_63 WHERE team_1 = "cd elΓ‘ nguema" |
What is the status of the institution that was founded in 1996? | CREATE TABLE table_name_64 (status VARCHAR, founded VARCHAR) | SELECT status FROM table_name_64 WHERE founded = 1996 |
What date has aus by 382 runs as the result? | CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_25 WHERE result = "aus by 382 runs" |
What was the date of the game for the HartlePool United team? | CREATE TABLE table_name_27 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_27 WHERE home_team = "hartlepool united" |
On what date did congressman joseph tydings enter take his seat? | CREATE TABLE table_24415627_2 (entered_senate VARCHAR, senator VARCHAR) | SELECT entered_senate FROM table_24415627_2 WHERE senator = "Joseph Tydings" |
What were the years the building with 44 floors was tallest? | CREATE TABLE table_name_53 (years_as_tallest VARCHAR, floors VARCHAR) | SELECT years_as_tallest FROM table_name_53 WHERE floors = "44" |
Who led the score on April 9? | CREATE TABLE table_name_54 (leading_scorer VARCHAR, date VARCHAR) | SELECT leading_scorer FROM table_name_54 WHERE date = "april 9" |
What is Score, when Player is "David Toms"? | CREATE TABLE table_name_64 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_64 WHERE player = "david toms" |
Which team has a 1:10.998 best? | CREATE TABLE table_name_87 (team VARCHAR, best VARCHAR) | SELECT team FROM table_name_87 WHERE best = "1:10.998" |
Which Result has a Date of 9 october 2009? | CREATE TABLE table_name_77 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_77 WHERE date = "9 october 2009" |
How many Podiums where their total for the Series of Macau grand prix, as well as being a season before 2008? | CREATE TABLE table_name_94 (podiums INTEGER, series VARCHAR, season VARCHAR) | SELECT SUM(podiums) FROM table_name_94 WHERE series = "macau grand prix" AND season < 2008 |
Which city has a school of North Vernon and a county of 40 Jennings? | CREATE TABLE table_name_48 (city VARCHAR, county VARCHAR, school VARCHAR) | SELECT city FROM table_name_48 WHERE county = "40 jennings" AND school = "north vernon" |
What is the lowest rank of Ukraine with fewer than 14 silver medals, fewer than 3 bronze medals, and a total of 4 medals? | CREATE TABLE table_name_95 (rank INTEGER, nation VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT MIN(rank) FROM table_name_95 WHERE silver < 14 AND bronze < 3 AND total = 4 AND nation = "ukraine" |
when is the venue nikos goumas stadium and the score is 2β2 4β4 a.e.t. 6β5 pso? | CREATE TABLE table_name_44 (year VARCHAR, venue VARCHAR, score VARCHAR) | SELECT year FROM table_name_44 WHERE venue = "nikos goumas stadium" AND score = "2β2 4β4 a.e.t. 6β5 pso" |
Which episode had bbc ranking and canle ranking of n/a? | CREATE TABLE table_24399615_10 (episode_no VARCHAR, bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR) | SELECT COUNT(episode_no) FROM table_24399615_10 WHERE bbc_three_weekly_ranking = "N/A" AND cable_rank = "N/A" |
What is the IUCN for the Cockscomb Basin reserve when the Est. is less than 1998? | CREATE TABLE table_name_98 (iucn VARCHAR, est VARCHAR, reserve VARCHAR) | SELECT iucn FROM table_name_98 WHERE est < 1998 AND reserve = "cockscomb basin" |
What was #7 BMW's speed? | CREATE TABLE table_name_27 (speed VARCHAR, team VARCHAR, rank VARCHAR) | SELECT speed FROM table_name_27 WHERE team = "bmw" AND rank = 7 |
What is the report for the race that Mike Spence won. | CREATE TABLE table_1140099_6 (report VARCHAR, winning_driver VARCHAR) | SELECT report FROM table_1140099_6 WHERE winning_driver = "Mike Spence" |
What is points diff when points against is 123? | CREATE TABLE table_name_73 (points_diff VARCHAR, points_against VARCHAR) | SELECT points_diff FROM table_name_73 WHERE points_against = "123" |
What is Score, when Player is "Vijay Singh"? | CREATE TABLE table_name_81 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_81 WHERE player = "vijay singh" |
Name the most high schools for 31851 | CREATE TABLE table_2367847_2 (high_schools INTEGER, district_wide VARCHAR) | SELECT MAX(high_schools) FROM table_2367847_2 WHERE district_wide = 31851 |
What team plays at Spartak, Mogilev? | CREATE TABLE table_name_26 (team VARCHAR, venue VARCHAR) | SELECT team FROM table_name_26 WHERE venue = "spartak, mogilev" |
What is the race in the 8th position? | CREATE TABLE table_name_43 (races VARCHAR, position VARCHAR) | SELECT races FROM table_name_43 WHERE position = "8th" |
Name the nation for abdon pamich category:articles with hcards | CREATE TABLE table_22355_44 (nation VARCHAR, athlete VARCHAR) | SELECT nation FROM table_22355_44 WHERE athlete = "Abdon Pamich Category:Articles with hCards" |
What is the year that the Roughriders left the conference? | CREATE TABLE table_name_25 (year_left INTEGER, mascot VARCHAR) | SELECT MAX(year_left) FROM table_name_25 WHERE mascot = "roughriders" |
Name the date of vacancy for fabio brini | CREATE TABLE table_17275810_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR) | SELECT date_of_vacancy FROM table_17275810_7 WHERE replaced_by = "Fabio Brini" |
Name the number of location attendance for 36-29 record | CREATE TABLE table_27902171_8 (location_attendance VARCHAR, record VARCHAR) | SELECT COUNT(location_attendance) FROM table_27902171_8 WHERE record = "36-29" |
What is the average pick of the kansas city chiefs? | CREATE TABLE table_name_12 (pick INTEGER, team VARCHAR) | SELECT AVG(pick) FROM table_name_12 WHERE team = "kansas city chiefs" |
What name is listed under representative for the 112th congress? | CREATE TABLE table_2841865_2 (representative VARCHAR, congress VARCHAR) | SELECT representative FROM table_2841865_2 WHERE congress = "112th" |
What is the date of birth of the goalkeeper from the 1st season? | CREATE TABLE table_name_13 (date_of_birth VARCHAR, position_s_ VARCHAR, seasons VARCHAR) | SELECT date_of_birth FROM table_name_13 WHERE position_s_ = "goalkeeper" AND seasons = "1st" |
What are the average apps for the Major League Soccer team club for the Seattle Sounders FC that has goals less than 0? | CREATE TABLE table_name_43 (apps INTEGER, goals VARCHAR, league VARCHAR, club VARCHAR) | SELECT AVG(apps) FROM table_name_43 WHERE league = "major league soccer" AND club = "seattle sounders fc" AND goals < 0 |
Name the high rebounds for 17-33 | CREATE TABLE table_23274514_7 (high_rebounds VARCHAR, record VARCHAR) | SELECT high_rebounds FROM table_23274514_7 WHERE record = "17-33" |
Which league cup apps has FA as the cup apps of 5? | CREATE TABLE table_name_83 (league_cup_apps VARCHAR, fa_cup_apps VARCHAR) | SELECT league_cup_apps FROM table_name_83 WHERE fa_cup_apps = "5" |
Who did they lose to on may 9? | CREATE TABLE table_name_83 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_83 WHERE date = "may 9" |
What is the Western Division of Wins with a 4th Finish? | CREATE TABLE table_name_95 (wins VARCHAR, division VARCHAR, finish VARCHAR) | SELECT wins FROM table_name_95 WHERE division = "western" AND finish = "4th" |
Which movies have 'Deleted Scenes' as a substring in the special feature? | CREATE TABLE film (title VARCHAR, special_features VARCHAR) | SELECT title FROM film WHERE special_features LIKE '%Deleted Scenes%' |
Who was in third place when Guy Sebastian was the winning mentor and Andrew Wishart was the runner-up? | CREATE TABLE table_name_59 (third_place VARCHAR, winning_mentor VARCHAR, runner_up VARCHAR) | SELECT third_place FROM table_name_59 WHERE winning_mentor = "guy sebastian" AND runner_up = "andrew wishart" |
How many courses are located in carmel, indiana? | CREATE TABLE table_275162_1 (course VARCHAR, location VARCHAR) | SELECT COUNT(course) FROM table_275162_1 WHERE location = "Carmel, Indiana" |
If length is ft (m) with numbers of 6600-6684 (84 buses) for 2003, what is the engine type? | CREATE TABLE table_name_77 (engine_type VARCHAR, numbers VARCHAR, length VARCHAR, year VARCHAR) | SELECT engine_type FROM table_name_77 WHERE length = "ft (m)" AND year = "2003" AND numbers = "6600-6684 (84 buses)" |
Which Country that has 600? | CREATE TABLE table_name_43 (country VARCHAR, money___$__ VARCHAR) | SELECT country FROM table_name_43 WHERE money___$__ = 600 |