question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
How did the team place when they did not qualify for the Concaf Champions Cup but made it to Round of 16 in the U.S. Open Cup?
CREATE TABLE table_16857_2 (mls_cup_playoffs VARCHAR, concacaf_champions_cup___champions_league VARCHAR, us_open_cup VARCHAR)
SELECT mls_cup_playoffs FROM table_16857_2 WHERE concacaf_champions_cup___champions_league = "Did not qualify" AND us_open_cup = "Round of 16"
When Kansas State had a pick of over 35, what's the highest Overall pick found?
CREATE TABLE table_name_71 (overall INTEGER, college VARCHAR, pick VARCHAR)
SELECT MAX(overall) FROM table_name_71 WHERE college = "kansas state" AND pick > 35
What place did russia finish in?
CREATE TABLE table_name_26 (placing VARCHAR, team VARCHAR)
SELECT COUNT(placing) FROM table_name_26 WHERE team = "russia"
What catalogue has a length of 2:10?
CREATE TABLE table_name_82 (catalogue VARCHAR, time VARCHAR)
SELECT catalogue FROM table_name_82 WHERE time = "2:10"
The country, competing in the Mr. International competition, that holds a rank of 3, has how many 2nd runners up?
CREATE TABLE table_20325360_2 (rank VARCHAR)
SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 WHERE rank = 3
What is the sum of pick# for Don Majkowski?3
CREATE TABLE table_name_26 (pick__number INTEGER, player VARCHAR)
SELECT SUM(pick__number) FROM table_name_26 WHERE player = "don majkowski"
How many dorms are there?
CREATE TABLE dorm (Id VARCHAR)
SELECT COUNT(*) FROM dorm
Name the most number of pyewipe
CREATE TABLE table_15608800_2 (number_at_pyewipe INTEGER)
SELECT MAX(number_at_pyewipe) FROM table_15608800_2
Who is the lead of the nation with Juha Pekaristo as the alternate?
CREATE TABLE table_name_46 (lead VARCHAR, alternate VARCHAR)
SELECT lead FROM table_name_46 WHERE alternate = "juha pekaristo"
Which club team was the player from who was selected in a round under 4?
CREATE TABLE table_name_12 (club_team VARCHAR, round INTEGER)
SELECT club_team FROM table_name_12 WHERE round < 4
who is featuring when the title is energy of the daleks?
CREATE TABLE table_name_18 (featuring VARCHAR, title VARCHAR)
SELECT featuring FROM table_name_18 WHERE title = "energy of the daleks"
How was the competition in which 6 goals were made?
CREATE TABLE table_name_22 (competition VARCHAR, goal VARCHAR)
SELECT competition FROM table_name_22 WHERE goal = 6
What player is from Fiji?
CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_67 WHERE country = "fiji"
Which Rank has a Name of thomas morgenstern, and Points larger than 368.9?
CREATE TABLE table_name_38 (rank INTEGER, name VARCHAR, points VARCHAR)
SELECT AVG(rank) FROM table_name_38 WHERE name = "thomas morgenstern" AND points > 368.9
What player plays for the Dakota Wizards?
CREATE TABLE table_name_73 (player VARCHAR, team VARCHAR)
SELECT player FROM table_name_73 WHERE team = "dakota wizards"
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?
CREATE TABLE table_name_45 (award VARCHAR, category VARCHAR, result VARCHAR, year VARCHAR, work VARCHAR)
SELECT award FROM table_name_45 WHERE year < 2004 AND work = "the clone" AND result = "won" AND category = "favourite actress"
List the total points for the 1st place team.
CREATE TABLE table_25561038_1 (points VARCHAR, position VARCHAR)
SELECT points FROM table_25561038_1 WHERE position = "1st"
what are the event details of the services that have the type code 'Marriage'?
CREATE TABLE EVENTS (event_details VARCHAR, Service_ID VARCHAR); CREATE TABLE Services (Service_ID VARCHAR, Service_Type_Code VARCHAR)
SELECT T1.event_details FROM EVENTS AS T1 JOIN Services AS T2 ON T1.Service_ID = T2.Service_ID WHERE T2.Service_Type_Code = 'Marriage'
What is the low draw total for yarragon teams with over 3 wins, and under 966 against?
CREATE TABLE table_name_98 (draws INTEGER, against VARCHAR, wins VARCHAR, mid_gippsland_fl VARCHAR)
SELECT MIN(draws) FROM table_name_98 WHERE wins > 3 AND mid_gippsland_fl = "yarragon" AND against < 966
What is essendon's away team score?
CREATE TABLE table_name_1 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_1 WHERE away_team = "essendon"
With a 2008 result of 153 what is the result for 2007?
CREATE TABLE table_name_23 (Id VARCHAR)
SELECT 2007 FROM table_name_23 WHERE 2008 = "153"
Which TV network has a country of origin of Iran?
CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, country VARCHAR)
SELECT tv_network_s_ FROM table_29799700_2 WHERE country = "Iran"
What is Package/Option, when Television Service is Sky Inside?
CREATE TABLE table_name_63 (package_option VARCHAR, television_service VARCHAR)
SELECT package_option FROM table_name_63 WHERE television_service = "sky inside"
what is the display size for the calculator released in 1997?
CREATE TABLE table_11703336_1 (display_size VARCHAR, year_released VARCHAR)
SELECT display_size FROM table_11703336_1 WHERE year_released = "1997"
Which driver had a grid of 2?
CREATE TABLE table_name_63 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_63 WHERE grid = 2
What model has de vaux continental as the make?
CREATE TABLE table_name_50 (model VARCHAR, make VARCHAR)
SELECT model FROM table_name_50 WHERE make = "de vaux continental"
Name the date when bye was opponent
CREATE TABLE table_name_15 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_15 WHERE opponent = "bye"
What is the total of rebound averages with more than 98 games and a rank of 7?
CREATE TABLE table_name_16 (reb_avg INTEGER, games VARCHAR, rank VARCHAR)
SELECT SUM(reb_avg) FROM table_name_16 WHERE games > 98 AND rank = 7
What is the Venue where the Result is 5–1?
CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_2 WHERE result = "5–1"
For what Japanese title is there less than 11 episodes and the Romaji title is Regatta~Kimi to Ita Eien~?
CREATE TABLE table_name_89 (japanese_title VARCHAR, episodes VARCHAR, romaji_title VARCHAR)
SELECT japanese_title FROM table_name_89 WHERE episodes < 11 AND romaji_title = "regatta~kimi to ita eien~"
Which 2007 is the lowest one that has a 2004 of 78, and a 2006 smaller than 80?
CREATE TABLE table_name_91 (Id VARCHAR)
SELECT MIN(2007) FROM table_name_91 WHERE 2004 = 78 AND 2006 < 80
What is the amount of snow where the days for storms are 31?
CREATE TABLE table_name_61 (snow__days_year_ INTEGER, storms__days_year_ VARCHAR)
SELECT SUM(snow__days_year_) FROM table_name_61 WHERE storms__days_year_ = 31
What is the total attendance of the game with Toronto as the visitor team?
CREATE TABLE table_name_82 (attendance VARCHAR, visitor VARCHAR)
SELECT COUNT(attendance) FROM table_name_82 WHERE visitor = "toronto"
Name the highest FIPS code for coordinates of 41.827547, -74.118478 and land less than 1.196
CREATE TABLE table_name_58 (fips_code INTEGER, coordinates VARCHAR, land___sq_mi__ VARCHAR)
SELECT MAX(fips_code) FROM table_name_58 WHERE coordinates = "41.827547, -74.118478" AND land___sq_mi__ < 1.196
On what date did Fleetcenter have a game lower than 9 with a score of 104-94?
CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)
SELECT date FROM table_name_59 WHERE location = "fleetcenter" AND game < 9 AND score = "104-94"
Whose reign ended in Afghanistan after 3 days?
CREATE TABLE table_name_2 (reign_ended VARCHAR, length VARCHAR, country VARCHAR)
SELECT reign_ended FROM table_name_2 WHERE length = "3 days" AND country = "afghanistan"
When did the Indians play a game with a record of 28-41?
CREATE TABLE table_name_66 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_66 WHERE record = "28-41"
How many different nationalities do conductors have?
CREATE TABLE conductor (Nationality VARCHAR)
SELECT COUNT(DISTINCT Nationality) FROM conductor
Which Nebraska has 2004 year?
CREATE TABLE table_name_25 (nebraska VARCHAR, year VARCHAR)
SELECT nebraska FROM table_name_25 WHERE year = "2004"
Which Opponents in the final have a Date of june 10, 1996?
CREATE TABLE table_name_51 (opponents_in_the_final VARCHAR, date VARCHAR)
SELECT opponents_in_the_final FROM table_name_51 WHERE date = "june 10, 1996"
Name the spectators for 11 november 2011
CREATE TABLE table_name_57 (spectators VARCHAR, date VARCHAR)
SELECT spectators FROM table_name_57 WHERE date = "11 november 2011"
What is the Frequency, when the Voltage is 3.3 V?
CREATE TABLE table_name_47 (frequency VARCHAR, voltage VARCHAR)
SELECT frequency FROM table_name_47 WHERE voltage = "3.3 v"
What is the lowest points for a match before 14?
CREATE TABLE table_name_88 (points INTEGER, match INTEGER)
SELECT MIN(points) FROM table_name_88 WHERE match > 14
what is the gold when the bronze is 1, total is 6 and silver is less than 3?
CREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_2 WHERE bronze = 1 AND total = "6" AND silver < 3
What is the number of podiums with 0 wins, 0 F.L. and 35 points?
CREATE TABLE table_name_87 (podiums VARCHAR, points VARCHAR, wins VARCHAR, fl VARCHAR)
SELECT podiums FROM table_name_87 WHERE wins = "0" AND fl = "0" AND points = "35"
Which New/Returning/Same Network has a Retitled as/Same of same, and a Last Aired larger than 1984?
CREATE TABLE table_name_8 (new_returning_same_network VARCHAR, retitled_as_same VARCHAR, last_aired VARCHAR)
SELECT new_returning_same_network FROM table_name_8 WHERE retitled_as_same = "same" AND last_aired > 1984
What is Timo Lehkonen's highest pick number?
CREATE TABLE table_2850912_5 (pick__number INTEGER, player VARCHAR)
SELECT MAX(pick__number) FROM table_2850912_5 WHERE player = "Timo Lehkonen"
What is the kind of Democratic ticket has a Office of comptroller?
CREATE TABLE table_name_14 (democratic_ticket VARCHAR, office VARCHAR)
SELECT democratic_ticket FROM table_name_14 WHERE office = "comptroller"
What was the final score when the game was @ roughriders?
CREATE TABLE table_21761882_4 (final_score VARCHAR, opponent VARCHAR)
SELECT final_score FROM table_21761882_4 WHERE opponent = "@ Roughriders"
What is the player with the no. 14?
CREATE TABLE table_name_41 (player VARCHAR, no_s_ VARCHAR)
SELECT player FROM table_name_41 WHERE no_s_ = "14"
What was the home team score with an away team of Melbourne?
CREATE TABLE table_name_65 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_65 WHERE away_team = "melbourne"
Tell me the chip with frequency larger than 10
CREATE TABLE table_name_63 (chip VARCHAR, frequency_ VARCHAR, mhz VARCHAR)
SELECT chip FROM table_name_63 WHERE frequency_[mhz] > 10
Who was the visiting team when the record was 51–12–4?
CREATE TABLE table_name_26 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_26 WHERE record = "51–12–4"
What time was the kickoff when the miami dolphins were the opponent?
CREATE TABLE table_name_31 (kickoff___et__ VARCHAR, opponent VARCHAR)
SELECT kickoff___et__ FROM table_name_31 WHERE opponent = "miami dolphins"
What competitions record a date and time of 17.04.1920 at 15:00?
CREATE TABLE table_1233808_2 (competition VARCHAR, date_and_time VARCHAR)
SELECT competition FROM table_1233808_2 WHERE date_and_time = "17.04.1920 at 15:00"
When did the episode originally air with a nick production number of 945?
CREATE TABLE table_2655016_10 (original_air_date VARCHAR, nick_prod__number VARCHAR)
SELECT original_air_date FROM table_2655016_10 WHERE nick_prod__number = 945
How many points per game have the tournament 2005 eurobasket?
CREATE TABLE table_2387461_1 (points_per_game VARCHAR, tournament VARCHAR)
SELECT points_per_game FROM table_2387461_1 WHERE tournament = "2005 EuroBasket"
What is the height for the Oakville Gymnastics Club?
CREATE TABLE table_name_96 (height VARCHAR, club VARCHAR)
SELECT height FROM table_name_96 WHERE club = "oakville gymnastics club"
Which Field goals is the highest one that has Touchdowns of 0, and Points larger than 4?
CREATE TABLE table_name_76 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR)
SELECT MAX(field_goals) FROM table_name_76 WHERE touchdowns = 0 AND points > 4
Whom did they play on game number 25?
CREATE TABLE table_11964154_7 (team VARCHAR, game VARCHAR)
SELECT team FROM table_11964154_7 WHERE game = 25
Find the team names of the universities whose enrollments are smaller than the average enrollment size.
CREATE TABLE university (school_id VARCHAR); CREATE TABLE basketball_match (team_name VARCHAR, school_id VARCHAR); CREATE TABLE university (enrollment INTEGER)
SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE enrollment < (SELECT AVG(enrollment) FROM university)
Name the total number for material collected for 978-1401221935
CREATE TABLE table_19534677_1 (material_collected VARCHAR, isbn VARCHAR)
SELECT COUNT(material_collected) FROM table_19534677_1 WHERE isbn = "978-1401221935"
In 2011 which sport had the year award?
CREATE TABLE table_name_92 (sport VARCHAR, year_of_award VARCHAR)
SELECT sport FROM table_name_92 WHERE year_of_award = 2011
If the mountains classification is Mathias Frank, and the General Classification is Fabian Cancellara, what is the Points classification?
CREATE TABLE table_27573848_18 (points_classification VARCHAR, general_classification VARCHAR, mountains_classification VARCHAR)
SELECT points_classification FROM table_27573848_18 WHERE general_classification = "Fabian Cancellara" AND mountains_classification = "Mathias Frank"
how many times is the nhl team the winnipeg jets?
CREATE TABLE table_2679061_2 (player VARCHAR, nhl_team VARCHAR)
SELECT COUNT(player) FROM table_2679061_2 WHERE nhl_team = "Winnipeg Jets"
What is the minimum number of 50s scored?
CREATE TABLE table_27922491_24 (Id VARCHAR)
SELECT MIN(50 AS s) FROM table_27922491_24
What is the total number of overall figures when duke was the college and the round was higher than 7?
CREATE TABLE table_name_99 (overall INTEGER, college VARCHAR, round VARCHAR)
SELECT SUM(overall) FROM table_name_99 WHERE college = "duke" AND round > 7
Which Investing Dragon(s) belong to Episode 9 with the Entrepreneur Ashley Sayed?
CREATE TABLE table_name_82 (investing_dragon_s_ VARCHAR, episode VARCHAR, entrepreneur_s_ VARCHAR)
SELECT investing_dragon_s_ FROM table_name_82 WHERE episode = "episode 9" AND entrepreneur_s_ = "ashley sayed"
Who replaced on the date of appointment 2 november 2010?
CREATE TABLE table_24231638_3 (replaced_by VARCHAR, date_of_appointment VARCHAR)
SELECT replaced_by FROM table_24231638_3 WHERE date_of_appointment = "2 November 2010"
What teams have 1/2/2011 as the streak end?
CREATE TABLE table_name_35 (teams VARCHAR, streak_end VARCHAR)
SELECT teams FROM table_name_35 WHERE streak_end = "1/2/2011"
What was the venue of the match where team 2 was pea and the score was 1:3?
CREATE TABLE table_name_59 (venue VARCHAR, team_2 VARCHAR, score VARCHAR)
SELECT venue FROM table_name_59 WHERE team_2 = "pea" AND score = "1:3"
Which Record has a Points smaller than 62 and a February larger than 16, and a Score of 8–7?
CREATE TABLE table_name_81 (record VARCHAR, score VARCHAR, points VARCHAR, february VARCHAR)
SELECT record FROM table_name_81 WHERE points < 62 AND february > 16 AND score = "8–7"
What date was the visiting team of Los Angeles Rams, earlier than 1958?
CREATE TABLE table_name_58 (date VARCHAR, visiting_team VARCHAR, year VARCHAR)
SELECT date FROM table_name_58 WHERE visiting_team = "los angeles rams" AND year < 1958
What year was Robert Skibniewski born?
CREATE TABLE table_12962773_16 (year_born VARCHAR, player VARCHAR)
SELECT year_born FROM table_12962773_16 WHERE player = "Robert Skibniewski"
What is the muzzle device with a 1:7 barrel twist and a stock 4th generation?
CREATE TABLE table_name_47 (muzzle_device VARCHAR, barrel_twist VARCHAR, stock VARCHAR)
SELECT muzzle_device FROM table_name_47 WHERE barrel_twist = "1:7" AND stock = "4th generation"
what is the venue when the result is 2nd and extra is 4 x 100 m relay?
CREATE TABLE table_name_30 (venue VARCHAR, result VARCHAR, extra VARCHAR)
SELECT venue FROM table_name_30 WHERE result = "2nd" AND extra = "4 x 100 m relay"
What year had an edition of 115th?
CREATE TABLE table_name_21 (year INTEGER, edition VARCHAR)
SELECT AVG(year) FROM table_name_21 WHERE edition = "115th"
What was the score of the game where the adelaide 36ers were the home team?
CREATE TABLE table_name_39 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_39 WHERE home_team = "adelaide 36ers"
What is the pick for the player with 2 years in the NBA and who plays for the Utah Jazz?
CREATE TABLE table_name_68 (pick VARCHAR, previous_team VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)
SELECT pick FROM table_name_68 WHERE nba_years_[a_] = "2" AND previous_team = "utah jazz"
Which IHSAA Football Class has a Location of wabash, and a School of wabash?
CREATE TABLE table_name_50 (ihsaa_football_class VARCHAR, location VARCHAR, school VARCHAR)
SELECT ihsaa_football_class FROM table_name_50 WHERE location = "wabash" AND school = "wabash"
How many goals scored entries are listed when the year is verano 2001?
CREATE TABLE table_28848697_4 (goals_scored VARCHAR, year VARCHAR)
SELECT COUNT(goals_scored) FROM table_28848697_4 WHERE year = "Verano 2001"
Name the Try bonus with lost of 10
CREATE TABLE table_name_92 (try_bonus VARCHAR, lost VARCHAR)
SELECT try_bonus FROM table_name_92 WHERE lost = "10"
What is the date Listed of the B & O Bridge in Washington?
CREATE TABLE table_name_77 (listed VARCHAR, county VARCHAR, name VARCHAR)
SELECT listed FROM table_name_77 WHERE county = "washington" AND name = "b & o bridge"
How many events did nigel mansell drive the fastest and a mclaren - honda win?
CREATE TABLE table_1139087_2 (grand_prix VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)
SELECT COUNT(grand_prix) FROM table_1139087_2 WHERE constructor = "McLaren - Honda" AND fastest_lap = "Nigel Mansell"
Which Long has redshirt for its Avg/G?
CREATE TABLE table_name_97 (long VARCHAR, avg_g VARCHAR)
SELECT long FROM table_name_97 WHERE avg_g = "redshirt"
How many championships have there been with Steffi Graf?
CREATE TABLE table_22858557_1 (championship VARCHAR, opponent_in_final VARCHAR)
SELECT championship FROM table_22858557_1 WHERE opponent_in_final = "Steffi Graf"
What are the full name (first and last name) and salary for all employees who does not have any value for commission?
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary VARCHAR, commission_pct VARCHAR)
SELECT first_name, last_name, salary FROM employees WHERE commission_pct = "null"
Name the segment c for pottery
CREATE TABLE table_15187735_3 (segment_c VARCHAR, segment_b VARCHAR)
SELECT segment_c FROM table_15187735_3 WHERE segment_b = "Pottery"
What is the Competition where the Score was 3–0, and the was Goal larger than 4?
CREATE TABLE table_name_59 (competition VARCHAR, score VARCHAR, goal VARCHAR)
SELECT competition FROM table_name_59 WHERE score = "3–0" AND goal > 4
Who was the cyclist from Belgium?
CREATE TABLE table_name_85 (cyclist VARCHAR, nation VARCHAR)
SELECT cyclist FROM table_name_85 WHERE nation = "belgium"
Tyne and Wear County has what total membership for their metropolitan area?
CREATE TABLE table_2273738_1 (metropolitan_area VARCHAR, county VARCHAR)
SELECT metropolitan_area FROM table_2273738_1 WHERE county = "Tyne and Wear"
Which days were presented by Andreas Mikroutsikos and were launched on March 10, 2003?
CREATE TABLE table_name_48 (days VARCHAR, the_presenter VARCHAR, launch_date VARCHAR)
SELECT days FROM table_name_48 WHERE the_presenter = "andreas mikroutsikos" AND launch_date = "march 10, 2003"
What is the highest rank of a player from Ethiopia?
CREATE TABLE table_name_8 (rank INTEGER, country VARCHAR)
SELECT MAX(rank) FROM table_name_8 WHERE country = "ethiopia"
What date was the game played on the hard surface at the Tournament of Sweden f2?
CREATE TABLE table_name_77 (date VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_77 WHERE surface = "hard" AND tournament = "sweden f2"
What was the score for the game with a record of 11-22 and a H/A/N of A?
CREATE TABLE table_name_60 (score VARCHAR, h_a_n VARCHAR, record VARCHAR)
SELECT score FROM table_name_60 WHERE h_a_n = "a" AND record = "11-22"
What lane has a time of 24.83 and a heat less than 11?
CREATE TABLE table_name_73 (lane INTEGER, time VARCHAR, heat VARCHAR)
SELECT SUM(lane) FROM table_name_73 WHERE time = "24.83" AND heat < 11
what is the grid when the driver is pierre levegh?
CREATE TABLE table_name_11 (grid VARCHAR, driver VARCHAR)
SELECT grid FROM table_name_11 WHERE driver = "pierre levegh"
Who was the opponent when the city was Louisville?
CREATE TABLE table_name_44 (opponent VARCHAR, city VARCHAR)
SELECT opponent FROM table_name_44 WHERE city = "louisville"
what's the result with district illinois 15
CREATE TABLE table_1341472_15 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1341472_15 WHERE district = "Illinois 15"
Lost of 42, and a Goalsfor larger than 195 contains how many number of games?
CREATE TABLE table_name_43 (games VARCHAR, lost VARCHAR, goalsfor VARCHAR)
SELECT COUNT(games) FROM table_name_43 WHERE lost = 42 AND goalsfor > 195