question
stringlengths
17
201
answer
stringlengths
21
400
context
stringlengths
32
286
What is the most recent year with a position of 3rd?
SELECT MAX(year) FROM table_name_68 WHERE position = "3rd"
CREATE TABLE table_name_68 (year INTEGER, position VARCHAR)
What is the result for Brent Spiner?
SELECT result FROM table_name_46 WHERE nominee = "brent spiner"
CREATE TABLE table_name_46 (result VARCHAR, nominee VARCHAR)
Who is the composer of the song with a length of 6:24?
SELECT composer_s_ FROM table_name_85 WHERE length = "6:24"
CREATE TABLE table_name_85 (composer_s_ VARCHAR, length VARCHAR)
What is the highest Bronze, when Nation is "South Africa", and when Total is less than 20?
SELECT MAX(bronze) FROM table_name_73 WHERE nation = "south africa" AND total < 20
CREATE TABLE table_name_73 (bronze INTEGER, nation VARCHAR, total VARCHAR)
Ben Hogan with a score larger than 66 had a place listed of what?
SELECT place FROM table_name_77 WHERE score > 66 AND player = "ben hogan"
CREATE TABLE table_name_77 (place VARCHAR, score VARCHAR, player VARCHAR)
Which player had 50 balls?
SELECT player FROM table_name_21 WHERE balls = 50
CREATE TABLE table_name_21 (player VARCHAR, balls VARCHAR)
When was the game that had a first prize of $161,480?
SELECT date FROM table_name_64 WHERE first_prize = "$161,480"
CREATE TABLE table_name_64 (date VARCHAR, first_prize VARCHAR)
Who is the player with a score of 68-71=139?
SELECT player FROM table_name_84 WHERE score = 68 - 71 = 139
CREATE TABLE table_name_84 (player VARCHAR, score VARCHAR)
What was the average money when the score was 68-69-68-72=277?
SELECT AVG(money___) AS $__ FROM table_name_97 WHERE score = 68 - 69 - 68 - 72 = 277
CREATE TABLE table_name_97 (money___ INTEGER, score VARCHAR)
Name the became consort for marriage of 4 april 1721
SELECT became_consort FROM table_name_92 WHERE marriage = "4 april 1721"
CREATE TABLE table_name_92 (became_consort VARCHAR, marriage VARCHAR)
Which number plays the skaters position?
SELECT number FROM table_name_22 WHERE position = "skaters"
CREATE TABLE table_name_22 (number VARCHAR, position VARCHAR)
What is Date, when Region is Yugoslavia?
SELECT date FROM table_name_33 WHERE region = "yugoslavia"
CREATE TABLE table_name_33 (date VARCHAR, region VARCHAR)
Which term had a Democratic representative from district 7?
SELECT term FROM table_name_22 WHERE district = "7" AND party = "democratic"
CREATE TABLE table_name_22 (term VARCHAR, district VARCHAR, party VARCHAR)
Name the opponent in the final for 3–6, 1–6
SELECT opponent_in_the_final FROM table_23284597_3 WHERE score_in_the_final = "3–6, 1–6"
CREATE TABLE table_23284597_3 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
What is the listed Location with a # found of 4?
SELECT location FROM table_name_47 WHERE _number_found = "4"
CREATE TABLE table_name_47 (location VARCHAR, _number_found VARCHAR)
What is the prothrombin time of von willebrand disease?
SELECT COUNT(prothrombin_time) FROM table_238124_1 WHERE condition = "Von Willebrand disease"
CREATE TABLE table_238124_1 (prothrombin_time VARCHAR, condition VARCHAR)
What is the Tally in Kerry County?
SELECT tally FROM table_name_36 WHERE county = "kerry"
CREATE TABLE table_name_36 (tally VARCHAR, county VARCHAR)
Name the head of household that has married filing separately of $104,426–$186,475
SELECT head_of_household FROM table_name_89 WHERE married_filing_separately = "$104,426–$186,475"
CREATE TABLE table_name_89 (head_of_household VARCHAR, married_filing_separately VARCHAR)
Where are the london borough with the black caribbean population of 17974?
SELECT london_borough FROM table_19149550_7 WHERE black_caribbean_population = 17974
CREATE TABLE table_19149550_7 (london_borough VARCHAR, black_caribbean_population VARCHAR)
Which December has a Record of 21–7–2, and a Game larger than 30?
SELECT MAX(december) FROM table_name_59 WHERE record = "21–7–2" AND game > 30
CREATE TABLE table_name_59 (december INTEGER, record VARCHAR, game VARCHAR)
What is the Venue of the Competition on 2001-05-05?
SELECT venue FROM table_name_38 WHERE date = "2001-05-05"
CREATE TABLE table_name_38 (venue VARCHAR, date VARCHAR)
In what Election year was Adalberto Mosaner the Mayor with less than 16,170 Inhabitants?
SELECT SUM(election) FROM table_name_64 WHERE mayor = "adalberto mosaner" AND inhabitants < 16 OFFSET 170
CREATE TABLE table_name_64 (election INTEGER, mayor VARCHAR, inhabitants VARCHAR)
What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner?
SELECT city___state FROM table_name_87 WHERE winner = "russell ingall larry perkins"
CREATE TABLE table_name_87 (city___state VARCHAR, winner VARCHAR)
When 15 is the number in season what is the highest number in series?
SELECT MAX(no_in_series) FROM table_2468961_7 WHERE no_in_season = 15
CREATE TABLE table_2468961_7 (no_in_series INTEGER, no_in_season VARCHAR)
What was the final score in game 15?
SELECT score FROM table_17001658_5 WHERE game = 15
CREATE TABLE table_17001658_5 (score VARCHAR, game VARCHAR)
What's the total earnings ($) with more than two wins and a rank less than 2?
SELECT COUNT(earnings___) AS $__ FROM table_name_1 WHERE wins > 2 AND rank < 2
CREATE TABLE table_name_1 (earnings___ VARCHAR, wins VARCHAR, rank VARCHAR)
If the just ratio is 11:8 and the cents size is 560, what is the interval name?
SELECT interval_name FROM table_18955077_1 WHERE size__cents_ = 560 AND just_ratio = "11:8"
CREATE TABLE table_18955077_1 (interval_name VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR)
Who had the most assists and how many did they have on January 5?
SELECT high_assists FROM table_29556461_7 WHERE date = "January 5"
CREATE TABLE table_29556461_7 (high_assists VARCHAR, date VARCHAR)
What is the total End term with a Title of prince regent of bavaria?
SELECT SUM(end_term) FROM table_name_88 WHERE title = "prince regent of bavaria"
CREATE TABLE table_name_88 (end_term INTEGER, title VARCHAR)
What's the genre of developer(s) Lionhead Studios?
SELECT genre FROM table_name_41 WHERE developer_s_ = "lionhead studios"
CREATE TABLE table_name_41 (genre VARCHAR, developer_s_ VARCHAR)
Which socket goes with the item with release price of $378 and turbo of 6/6/8/9?
SELECT socket FROM table_name_75 WHERE release_price___usd__ = "$378" AND turbo = "6/6/8/9"
CREATE TABLE table_name_75 (socket VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR)
Which Manufacturer has a Time of accident and a Grid greater than 15?
SELECT manufacturer FROM table_name_61 WHERE time = "accident" AND grid > 15
CREATE TABLE table_name_61 (manufacturer VARCHAR, time VARCHAR, grid VARCHAR)
What was the stadium in Adelaide, South Australia built for?
SELECT built_for FROM table_28885977_1 WHERE location = "Adelaide, South Australia"
CREATE TABLE table_28885977_1 (built_for VARCHAR, location VARCHAR)
What method was there in round 1 when the location was Aruba?
SELECT method FROM table_name_25 WHERE round = "1" AND location = "aruba"
CREATE TABLE table_name_25 (method VARCHAR, round VARCHAR, location VARCHAR)
What is the average silver medals a team ranked 12 with less than 2 bronze has?
SELECT AVG(silver) FROM table_name_28 WHERE rank = 12 AND bronze < 2
CREATE TABLE table_name_28 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
What is the overall of the running back player?
SELECT overall FROM table_name_91 WHERE position = "running back"
CREATE TABLE table_name_91 (overall VARCHAR, position VARCHAR)
What is the first class team of the player born on 23 February 1973?
SELECT first_class_team FROM table_name_70 WHERE date_of_birth = "23 february 1973"
CREATE TABLE table_name_70 (first_class_team VARCHAR, date_of_birth VARCHAR)
On what date was the Blue Jays record 60-56?
SELECT date FROM table_name_25 WHERE record = "60-56"
CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR)
What team is from terni?
SELECT team FROM table_name_59 WHERE home_city = "terni"
CREATE TABLE table_name_59 (team VARCHAR, home_city VARCHAR)
What school did Alexander Korobolin go to?
SELECT college_junior_club_team__league_ FROM table_name_27 WHERE player = "alexander korobolin"
CREATE TABLE table_name_27 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
Name the position for 0 podiums and carlin team
SELECT position FROM table_24587026_1 WHERE podiums = 0 AND team = "Carlin"
CREATE TABLE table_24587026_1 (position VARCHAR, podiums VARCHAR, team VARCHAR)
Score of 122–105 had what record?
SELECT record FROM table_name_68 WHERE score = "122–105"
CREATE TABLE table_name_68 (record VARCHAR, score VARCHAR)
Who were the children of Benjamin Harrison?
SELECT children_together FROM table_24143253_5 WHERE name = "Benjamin Harrison"
CREATE TABLE table_24143253_5 (children_together VARCHAR, name VARCHAR)
What average Wins has Losses 2, and Draws less than 0?
SELECT AVG(wins) FROM table_name_92 WHERE loses = 2 AND draws < 0
CREATE TABLE table_name_92 (wins INTEGER, loses VARCHAR, draws VARCHAR)
The local title "Live to Dance" was aired in which channel?
SELECT channel FROM table_24598274_20 WHERE local_title = "Live to Dance"
CREATE TABLE table_24598274_20 (channel VARCHAR, local_title VARCHAR)
Who one bronze in the event where Choi Jun-Sang won gold, and Suh Jung-Kyun won silver?
SELECT bronze FROM table_name_27 WHERE gold = "choi jun-sang" AND silver = "suh jung-kyun"
CREATE TABLE table_name_27 (bronze VARCHAR, gold VARCHAR, silver VARCHAR)
What is the minimum number of starts for the players having a best finish of T18?
SELECT MIN(starts) FROM table_24747844_2 WHERE best_finish = "T18"
CREATE TABLE table_24747844_2 (starts INTEGER, best_finish VARCHAR)
What is the final weight for contestant Chris?
SELECT final_weight__kg_ FROM table_24370270_10 WHERE contestant = "Chris"
CREATE TABLE table_24370270_10 (final_weight__kg_ VARCHAR, contestant VARCHAR)
What language is used when the service is sky primafila 10 and the package/option is qualsiasi?
SELECT language FROM table_name_19 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 10"
CREATE TABLE table_name_19 (language VARCHAR, package_option VARCHAR, television_service VARCHAR)
What is the result of judge 6?
SELECT result FROM table_19744915_16 WHERE judges = 6
CREATE TABLE table_19744915_16 (result VARCHAR, judges VARCHAR)
What is the original air date of the episode "Another Happy Day"?
SELECT original_air_date__uk_ FROM table_2570269_3 WHERE episode_title = "Another Happy Day"
CREATE TABLE table_2570269_3 (original_air_date__uk_ VARCHAR, episode_title VARCHAR)
Which competition was played on 8 June 2005?
SELECT competition FROM table_name_90 WHERE date = "8 june 2005"
CREATE TABLE table_name_90 (competition VARCHAR, date VARCHAR)
What is the USD price for Tealeaf?
SELECT price_in_usd FROM table_name_79 WHERE company = "tealeaf"
CREATE TABLE table_name_79 (price_in_usd VARCHAR, company VARCHAR)
what couple had a vote percentage of 5.8%?
SELECT couple FROM table_26375386_20 WHERE vote_percentage = "5.8%"
CREATE TABLE table_26375386_20 (couple VARCHAR, vote_percentage VARCHAR)
What was the away team that played against Melbourne?
SELECT away_team FROM table_name_96 WHERE home_team = "melbourne"
CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR)
Which Team has the Player of A.J. Moye?
SELECT team FROM table_name_81 WHERE player = "a.j. moye"
CREATE TABLE table_name_81 (team VARCHAR, player VARCHAR)
Which people had the best 10-year period when Fischer had best 15-year period?
SELECT best_10_year_period FROM table_1710426_2 WHERE best_15_year_period = "Fischer"
CREATE TABLE table_1710426_2 (best_10_year_period VARCHAR, best_15_year_period VARCHAR)
What is the total number of Silver, when Gold is less than 34, when Rank is "6", and when Total is greater than 10?
SELECT COUNT(silver) FROM table_name_81 WHERE gold < 34 AND rank = "6" AND total > 10
CREATE TABLE table_name_81 (silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)
How many silver medals did Estonia, which won more than 1 gold and less than 97 medals total, win?
SELECT silver FROM table_name_20 WHERE gold > 1 AND total < 97 AND nation = "estonia"
CREATE TABLE table_name_20 (silver VARCHAR, nation VARCHAR, gold VARCHAR, total VARCHAR)
Which player played for years 2000-02
SELECT player FROM table_11545282_18 WHERE years_for_jazz = "2000-02"
CREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)
Who was the opponent when the city was Louisville?
SELECT opponent FROM table_name_44 WHERE city = "louisville"
CREATE TABLE table_name_44 (opponent VARCHAR, city VARCHAR)
what is the highest rank for east germany with points of 128.98 and places less than 70?
SELECT MAX(rank) FROM table_name_40 WHERE nation = "east germany" AND points = 128.98 AND places < 70
CREATE TABLE table_name_40 (rank INTEGER, places VARCHAR, nation VARCHAR, points VARCHAR)
In what division will you find the team nicknamed the Silver Eagles
SELECT division FROM table_15475116_1 WHERE nickname = "Silver Eagles"
CREATE TABLE table_15475116_1 (division VARCHAR, nickname VARCHAR)
How many wins did team Kolles & Heinz union, with f/laps of 0, have in the Formula Three Euroseries?
SELECT wins FROM table_name_16 WHERE f_laps = "0" AND series = "formula three euroseries" AND team = "kolles & heinz union"
CREATE TABLE table_name_16 (wins VARCHAR, team VARCHAR, f_laps VARCHAR, series VARCHAR)
What is the date with the distance of km (mi) at the course of roccaraso to san giorgio del sannio?
SELECT date FROM table_name_20 WHERE distance = "km (mi)" AND course = "roccaraso to san giorgio del sannio"
CREATE TABLE table_name_20 (date VARCHAR, distance VARCHAR, course VARCHAR)
What is the Romanization of the Mandarin word whose Rōmaji is ūroncha
SELECT romanization FROM table_name_81 WHERE source_language = "mandarin" AND rōmaji = "ūroncha"
CREATE TABLE table_name_81 (romanization VARCHAR, source_language VARCHAR, rōmaji VARCHAR)
Name the pronunciation for 傳
SELECT pronunciation_a FROM table_name_83 WHERE word = "傳"
CREATE TABLE table_name_83 (pronunciation_a VARCHAR, word VARCHAR)
What is the average number of runner-up that National University, which has more than 2 total championships, has?
SELECT AVG(runner_up) FROM table_name_62 WHERE university = "national university" AND total_championships > 2
CREATE TABLE table_name_62 (runner_up INTEGER, university VARCHAR, total_championships VARCHAR)
What Tournament of the french open had 2004 that has a 1998 of 2r?
SELECT 2004 FROM table_name_58 WHERE 1998 = "2r" AND tournament = "french open"
CREATE TABLE table_name_58 (tournament VARCHAR)
How many overall in the year 2010-2011?
SELECT COUNT(overall) FROM table_21756039_1 WHERE year = "2010-2011"
CREATE TABLE table_21756039_1 (overall VARCHAR, year VARCHAR)
What is the Date with a game with a Record of 2–1–1?
SELECT date FROM table_name_68 WHERE record = "2–1–1"
CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR)
What are the total amount of Goals Conceded when the Points are less than 26, and when the value for Played is less than 18?
SELECT SUM(goals_conceded) FROM table_name_86 WHERE points < 26 AND played < 18
CREATE TABLE table_name_86 (goals_conceded INTEGER, points VARCHAR, played VARCHAR)
What is the longitude of Carmenta Farra in 1994?
SELECT longitude FROM table_name_74 WHERE year_named = 1994 AND name = "carmenta farra"
CREATE TABLE table_name_74 (longitude VARCHAR, year_named VARCHAR, name VARCHAR)
What is the pole position of the Belgian Grand Prix?
SELECT pole_position FROM table_name_27 WHERE grand_prix = "belgian grand prix"
CREATE TABLE table_name_27 (pole_position VARCHAR, grand_prix VARCHAR)
Which method was used in round 1 with a record of 1-0?
SELECT method FROM table_name_89 WHERE round = 1 AND record = "1-0"
CREATE TABLE table_name_89 (method VARCHAR, round VARCHAR, record VARCHAR)
What is District, when Incumbent is "Richard Neal"?
SELECT district FROM table_name_8 WHERE incumbent = "richard neal"
CREATE TABLE table_name_8 (district VARCHAR, incumbent VARCHAR)
Name the sum of votes % more than 19.5
SELECT SUM(votes) FROM table_name_26 WHERE vote__percentage > 19.5
CREATE TABLE table_name_26 (votes INTEGER, vote__percentage INTEGER)
Show all team names.
SELECT Name FROM Team
CREATE TABLE Team (Name VARCHAR)
What's the 1881 when 1871 had 1017?
SELECT 1881 FROM table_name_38 WHERE 1871 = "1017"
CREATE TABLE table_name_38 (Id VARCHAR)
How many opponents were in North Carolina state game?
SELECT COUNT(opponents) FROM table_20928649_1 WHERE opponent = "North Carolina State"
CREATE TABLE table_20928649_1 (opponents VARCHAR, opponent VARCHAR)
What is the year that Dewi Claire Schreefel is the champion?
SELECT year FROM table_12243817_1 WHERE champion = "Dewi Claire Schreefel"
CREATE TABLE table_12243817_1 (year VARCHAR, champion VARCHAR)
What was the date for the 130-56 game?
SELECT date FROM table_name_26 WHERE score = "130-56"
CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR)
Which country has the player Johnny Miller?
SELECT country FROM table_name_58 WHERE player = "johnny miller"
CREATE TABLE table_name_58 (country VARCHAR, player VARCHAR)
How many kinds of enzymes are there?
SELECT COUNT(*) FROM enzyme
CREATE TABLE enzyme (Id VARCHAR)
What is the time with fewer than 5 lanes for the United States?
SELECT SUM(time) FROM table_name_82 WHERE lane < 5 AND nationality = "united states"
CREATE TABLE table_name_82 (time INTEGER, lane VARCHAR, nationality VARCHAR)
What event had a time of 6:37.73?
SELECT event FROM table_name_42 WHERE time = "6:37.73"
CREATE TABLE table_name_42 (event VARCHAR, time VARCHAR)
What is the score of the game where real espana was the home team?
SELECT score FROM table_name_90 WHERE home = "real espana"
CREATE TABLE table_name_90 (score VARCHAR, home VARCHAR)
How many Games for the Player from Lietuvos Rytas Vilnius with less the 43 Rebounds?
SELECT SUM(games) FROM table_name_68 WHERE team = "lietuvos rytas vilnius" AND rebounds < 43
CREATE TABLE table_name_68 (games INTEGER, team VARCHAR, rebounds VARCHAR)
what was the number of candidates when Leon Sacks was incumbent?
SELECT COUNT(candidates) FROM table_1342256_38 WHERE incumbent = "Leon Sacks"
CREATE TABLE table_1342256_38 (candidates VARCHAR, incumbent VARCHAR)
Which Land (sqmi) has a GEO ID smaller than 3800587900?
SELECT MIN(land___sqmi__) FROM table_name_49 WHERE geo_id < 3800587900
CREATE TABLE table_name_49 (land___sqmi__ INTEGER, geo_id INTEGER)
What is the smallest number of silver medals for a nation with fewer than 1 bronze?
SELECT MIN(silver) FROM table_name_51 WHERE bronze < 1
CREATE TABLE table_name_51 (silver INTEGER, bronze INTEGER)
Name the ICAO for julius nyerere international airport
SELECT icao FROM table_name_79 WHERE airport = "julius nyerere international airport"
CREATE TABLE table_name_79 (icao VARCHAR, airport VARCHAR)
What is the number of the tax supervising and conservation bill?
SELECT MIN(meas_num) FROM table_256286_23 WHERE description = "Tax Supervising and Conservation Bill"
CREATE TABLE table_256286_23 (meas_num INTEGER, description VARCHAR)
What was the score when Flavia Pennetta won the championship?
SELECT score FROM table_name_67 WHERE champion = "flavia pennetta"
CREATE TABLE table_name_67 (score VARCHAR, champion VARCHAR)
What is the average crowd at victoria park?
SELECT AVG(crowd) FROM table_name_1 WHERE venue = "victoria park"
CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR)
Who was the opponent when there was 117 rushing yards?
SELECT opponent FROM table_26108103_2 WHERE rushing_yards = 117
CREATE TABLE table_26108103_2 (opponent VARCHAR, rushing_yards VARCHAR)
Which Best Actor has a Best Director of takeshi kitano for outrage beyond?
SELECT best_actor FROM table_name_44 WHERE best_director = "takeshi kitano for outrage beyond"
CREATE TABLE table_name_44 (best_actor VARCHAR, best_director VARCHAR)
What is the current map designation of the feature which was named for discovery rupes?
SELECT current_map FROM table_name_63 WHERE namesake = "discovery rupes"
CREATE TABLE table_name_63 (current_map VARCHAR, namesake VARCHAR)
Which Result has a Round of 6?
SELECT result FROM table_name_88 WHERE round = "6"
CREATE TABLE table_name_88 (result VARCHAR, round VARCHAR)
What shows for notes when rank is more than 4, and country is South Korea?
SELECT notes FROM table_name_31 WHERE rank > 4 AND country = "south korea"
CREATE TABLE table_name_31 (notes VARCHAR, rank VARCHAR, country VARCHAR)