answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT record FROM table_name_36 WHERE game = 9 | What is game 9's record? | CREATE TABLE table_name_36 (record VARCHAR, game VARCHAR) |
SELECT COUNT(round) FROM table_20079931_4 WHERE circuit_location = "Karlskoga Motorstadion" AND pole_position = "Roger Eriksson" | How many rounds were there in Karlskoga Motorstadion with Roger Eriksson at the pole position? | CREATE TABLE table_20079931_4 (round VARCHAR, circuit_location VARCHAR, pole_position VARCHAR) |
SELECT director FROM table_name_50 WHERE year = 1957 | Name the director for 1957 | CREATE TABLE table_name_50 (director VARCHAR, year VARCHAR) |
SELECT wine_style FROM table_13981938_1 WHERE village = "Puligny-Montrachet [d ]" | what's the wine style with village being puligny-montrachet [d ] | CREATE TABLE table_13981938_1 (wine_style VARCHAR, village VARCHAR) |
SELECT season FROM table_name_28 WHERE points < 301 AND races = 17 | What season had less than 301 points and 17 races? | CREATE TABLE table_name_28 (season VARCHAR, points VARCHAR, races VARCHAR) |
SELECT years_at_club FROM table_name_10 WHERE games < 7 AND goals > 2 AND player = "john frazer" | Which Years at club have Games smaller than 7, and Goals larger than 2, and a Player of john frazer? | CREATE TABLE table_name_10 (years_at_club VARCHAR, player VARCHAR, games VARCHAR, goals VARCHAR) |
SELECT month, _year FROM table_name_73 WHERE sunk_by_aircraft < 106005 AND sunk_by_warship_or_raider = 61857 | What is the month and year less than 106005 were sunk by aircraft and 61857 were sunk by warship or raider? | CREATE TABLE table_name_73 (month VARCHAR, _year VARCHAR, sunk_by_aircraft VARCHAR, sunk_by_warship_or_raider VARCHAR) |
SELECT regular_season_winner FROM table_22645714_5 WHERE tournament_winner = "Arkansas-Pine Bluff" | Who had the best regular season in the contest won by Arkansas-Pine Bluff? | CREATE TABLE table_22645714_5 (regular_season_winner VARCHAR, tournament_winner VARCHAR) |
SELECT MIN(game) FROM table_17118657_8 WHERE record = "5-11" | What number was the game resulting in a 5-11 record? | CREATE TABLE table_17118657_8 (game INTEGER, record VARCHAR) |
SELECT MIN(crowd) FROM table_name_13 WHERE venue = "corio oval" | What was the smallest crowd in games at the corio oval? | CREATE TABLE table_name_13 (crowd INTEGER, venue VARCHAR) |
SELECT StuID FROM Student EXCEPT SELECT StuID FROM Plays_games | Show ids of students who don't play video game. | CREATE TABLE Plays_games (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR) |
SELECT MIN(gold) FROM table_name_68 WHERE total < 3 AND silver > 1 | what is the gold count with total less than 3 and more than 1 silver? | CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR) |
SELECT jockey FROM table_name_52 WHERE horse = "guadalcanal" | Who is the Jockey for guadalcanal? | CREATE TABLE table_name_52 (jockey VARCHAR, horse VARCHAR) |
SELECT el_canal_de_las_estrellas FROM table_18498743_1 WHERE mañana_es_para_siempre = "Impreuna pentru totdeauna" | state el canal de las estrellas where mañana es para siempre is impreuna pentru totdeauna | CREATE TABLE table_18498743_1 (el_canal_de_las_estrellas VARCHAR, mañana_es_para_siempre VARCHAR) |
SELECT county FROM table_20453681_1 WHERE mccain_percentage = "60.6%" AND obama_percentage = "37.3%" | What's the county where McCain got 60.6% and Obama got 37.3%? | CREATE TABLE table_20453681_1 (county VARCHAR, mccain_percentage VARCHAR, obama_percentage VARCHAR) |
SELECT record FROM table_name_87 WHERE date = "july 28" | What was the record on July 28? | CREATE TABLE table_name_87 (record VARCHAR, date VARCHAR) |
SELECT current_manager FROM table_name_15 WHERE location = "tubize" | Who is the current manager of the team located in tubize? | CREATE TABLE table_name_15 (current_manager VARCHAR, location VARCHAR) |
SELECT points_for FROM table_name_12 WHERE drawn = "2" AND losing_bonus = "5" | How many points drew 2 with a losing bonus of 5? | CREATE TABLE table_name_12 (points_for VARCHAR, drawn VARCHAR, losing_bonus VARCHAR) |
SELECT overall_record FROM table_16201038_5 WHERE at_opponents_venue = "UF, 1-0" | What is the record of wins/losses that were played at opponents venue (uf, 1-0) | CREATE TABLE table_16201038_5 (overall_record VARCHAR, at_opponents_venue VARCHAR) |
SELECT printer_ports FROM table_1300080_1 WHERE model_number = "EX Plus3" | What's the type of printer ports in the model number EX Plus3? | CREATE TABLE table_1300080_1 (printer_ports VARCHAR, model_number VARCHAR) |
SELECT winner FROM table_name_31 WHERE winter_olympics = "1968" | Which Winner has a Winter Olympics of 1968? | CREATE TABLE table_name_31 (winner VARCHAR, winter_olympics VARCHAR) |
SELECT method FROM table_name_35 WHERE opponent = "joe kielur" | What ws the method of resolution for the fight against joe kielur? | CREATE TABLE table_name_35 (method VARCHAR, opponent VARCHAR) |
SELECT country FROM table_name_28 WHERE to_par = "+2" | Name the country with +2 to par | CREATE TABLE table_name_28 (country VARCHAR, to_par VARCHAR) |
SELECT john_oxendine FROM table_name_75 WHERE karen_handel = "38%" | What is John Oxendine at in the poll where Karen Handel is at 38%? | CREATE TABLE table_name_75 (john_oxendine VARCHAR, karen_handel VARCHAR) |
SELECT type FROM table_2076595_1 WHERE enrollment__2009_ = 224 | What type of school had an enrollment in 2009 of 224? | CREATE TABLE table_2076595_1 (type VARCHAR, enrollment__2009_ VARCHAR) |
SELECT score FROM table_name_2 WHERE opponent = "philadelphia 76ers" | What is the Score of the game against Philadelphia 76ers? | CREATE TABLE table_name_2 (score VARCHAR, opponent VARCHAR) |
SELECT venue FROM table_name_82 WHERE goal > 9 AND result = "4-1" | Which venue had more than 9 goals and a final result of 4-1? | CREATE TABLE table_name_82 (venue VARCHAR, goal VARCHAR, result VARCHAR) |
SELECT COUNT(silver) FROM table_name_9 WHERE rank = "3" AND gold < 2 | What kind of Silver has a Rank of 3, and a Gold smaller than 2? | CREATE TABLE table_name_9 (silver VARCHAR, rank VARCHAR, gold VARCHAR) |
SELECT studio_analysts FROM table_name_36 WHERE studio_host = "gary tanguay" AND year = "2009-10" | WHich Studio analysts has a Studio host of gary tanguay in 2009-10? | CREATE TABLE table_name_36 (studio_analysts VARCHAR, studio_host VARCHAR, year VARCHAR) |
SELECT position FROM table_name_78 WHERE college = "notre dame" | What is the position of the player who went to college of notre dame? | CREATE TABLE table_name_78 (position VARCHAR, college VARCHAR) |
SELECT heat FROM table_name_62 WHERE time = "57.97" | What is the heat for the time 57.97? | CREATE TABLE table_name_62 (heat VARCHAR, time VARCHAR) |
SELECT MIN(first_elected) FROM table_1342198_17 WHERE incumbent = "Noble Jones Gregory" | How many results for minimum first elected incumbent Noble Jones Gregory? | CREATE TABLE table_1342198_17 (first_elected INTEGER, incumbent VARCHAR) |
SELECT SUM(duration), MAX(duration) FROM trip WHERE bike_id = 636 | What is the total and maximum duration of trips with bike id 636? | CREATE TABLE trip (duration INTEGER, bike_id VARCHAR) |
SELECT COUNT(totals) FROM table_2066296_5 WHERE interior_roof = "Parchment/black" | How many different total results are there for the model with parchment/black interior/roof? | CREATE TABLE table_2066296_5 (totals VARCHAR, interior_roof VARCHAR) |
SELECT MAX(game) FROM table_28768469_5 | What is the most amount of games played this season? | CREATE TABLE table_28768469_5 (game INTEGER) |
SELECT position FROM table_name_78 WHERE elected = 2011 AND country_of_origin = "algeria" | What is the position elected in 2011 from the Country of Algeria? | CREATE TABLE table_name_78 (position VARCHAR, elected VARCHAR, country_of_origin VARCHAR) |
SELECT AVG(enr) FROM College | What is the average enrollment number? | CREATE TABLE College (enr INTEGER) |
SELECT home_team AS score FROM table_name_8 WHERE away_team = "fitzroy" | What did the home team score when playing Fitzroy as the away team? | CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR) |
SELECT player FROM table_name_65 WHERE finish = "t57" | What player has a t57 as the finish? | CREATE TABLE table_name_65 (player VARCHAR, finish VARCHAR) |
SELECT season FROM table_name_43 WHERE club = "renova" | Which season has the Renova Club? | CREATE TABLE table_name_43 (season VARCHAR, club VARCHAR) |
SELECT T1.first_name, T1.last_name FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T2.city = "Lockmanfurt" | List first name and last name of customers lived in city Lockmanfurt. | CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR, customer_address_id VARCHAR); CREATE TABLE Addresses (address_id VARCHAR, city VARCHAR) |
SELECT route_via FROM table_29770377_1 WHERE destination = "Guruvayur" | What is the route for the destination of guruvayur? | CREATE TABLE table_29770377_1 (route_via VARCHAR, destination VARCHAR) |
SELECT COUNT(area__acres__) FROM table_30120560_1 WHERE townland = "Brittas" | what is the number of areas where the townland is brittas? | CREATE TABLE table_30120560_1 (area__acres__ VARCHAR, townland VARCHAR) |
SELECT MAX(blocks) FROM table_22824324_2 WHERE player = "Kendall Gill" | What is the most number of blocks kendall gill had? | CREATE TABLE table_22824324_2 (blocks INTEGER, player VARCHAR) |
SELECT date FROM table_name_96 WHERE winner = "new york giants" AND year > 2011 | What date did the new york giants win after 2011? | CREATE TABLE table_name_96 (date VARCHAR, winner VARCHAR, year VARCHAR) |
SELECT opponent FROM table_name_97 WHERE round = "sf" AND result = "0-0" | Who was the opponent of the match in round sf with a result of 0-0? | CREATE TABLE table_name_97 (opponent VARCHAR, round VARCHAR, result VARCHAR) |
SELECT partner FROM table_name_31 WHERE opponents_in_the_final = "roy emerson rod laver" AND date < 1975 | What is the Partner with Opponents in the final with roy emerson rod laver, with Date smaller than 1975? | CREATE TABLE table_name_31 (partner VARCHAR, opponents_in_the_final VARCHAR, date VARCHAR) |
SELECT republican_ticket FROM table_name_63 WHERE workers_ticket = "edward lindgren" | What is the name on the Republican ticket when the Workers ticket is edward lindgren? | CREATE TABLE table_name_63 (republican_ticket VARCHAR, workers_ticket VARCHAR) |
SELECT MIN(touchdowns) FROM table_25711913_2 WHERE position = "Fullback" | What was the minimum touchdowns of the Fullback player? | CREATE TABLE table_25711913_2 (touchdowns INTEGER, position VARCHAR) |
SELECT points FROM table_name_38 WHERE wins = "0" AND final_placing = "21st" | Which Points have Wins of 0, and a Final Placing of 21st? | CREATE TABLE table_name_38 (points VARCHAR, wins VARCHAR, final_placing VARCHAR) |
SELECT celebrity FROM table_14345690_5 WHERE finished = "5th" | what is the celebrity where the finished is 5th? | CREATE TABLE table_14345690_5 (celebrity VARCHAR, finished VARCHAR) |
SELECT candidates FROM table_2668199_2 WHERE district = "Pennsylvania 12" | Who were the candidates in districk Pennsylvania 12? | CREATE TABLE table_2668199_2 (candidates VARCHAR, district VARCHAR) |
SELECT opponent FROM table_name_17 WHERE result = "loss" AND venue = "mosaic stadium" | What is Opponent, when Result is Loss, and when Venue is Mosaic Stadium? | CREATE TABLE table_name_17 (opponent VARCHAR, result VARCHAR, venue VARCHAR) |
SELECT bike FROM table_name_18 WHERE grid < 9 AND time = "+7.764" | What is the name of the bike that has a grid number smaller than 9 with a time of +7.764? | CREATE TABLE table_name_18 (bike VARCHAR, grid VARCHAR, time VARCHAR) |
SELECT SUM(apps) FROM table_name_51 WHERE rank < 6 AND goals < 61 | What are the apps for less than 61 goals and before rank 6? | CREATE TABLE table_name_51 (apps INTEGER, rank VARCHAR, goals VARCHAR) |
SELECT date FROM table_name_91 WHERE race = "swiss grand prix" | When was the swiss grand prix? | CREATE TABLE table_name_91 (date VARCHAR, race VARCHAR) |
SELECT record FROM table_name_36 WHERE game = "17" | What is the Record for Game 17? | CREATE TABLE table_name_36 (record VARCHAR, game VARCHAR) |
SELECT driver FROM table_name_3 WHERE grid = 10 | Who drove the grid 10 car? | CREATE TABLE table_name_3 (driver VARCHAR, grid VARCHAR) |
SELECT AVG(total) FROM table_name_36 WHERE rank = "4" AND silver < 4 | Which Total has a Rank of 4, and a Silver smaller than 4? | CREATE TABLE table_name_36 (total INTEGER, rank VARCHAR, silver VARCHAR) |
SELECT opponent FROM table_name_2 WHERE game > 26 AND record = "23-4" | Who was the opponent when they played after Game 26 and their record was 23-4? | CREATE TABLE table_name_2 (opponent VARCHAR, game VARCHAR, record VARCHAR) |
SELECT line FROM table_name_8 WHERE ship = "lucania" AND year = "1894" | What is the line that has lucania as the ship and 1894 as the date? | CREATE TABLE table_name_8 (line VARCHAR, ship VARCHAR, year VARCHAR) |
SELECT opponent_number FROM table_name_78 WHERE result = "w27-16" | What is the opponent number of the match with a w27-16 result? | CREATE TABLE table_name_78 (opponent_number VARCHAR, result VARCHAR) |
SELECT performance_order FROM table_26267849_11 WHERE percentage_of_votes = "2.15%" | Name the performance order for 2.15% | CREATE TABLE table_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR) |
SELECT res FROM table_name_32 WHERE round = "3" AND opponent = "keith wisniewski" | What is the result with a Round of 3, and an Opponent of keith wisniewski? | CREATE TABLE table_name_32 (res VARCHAR, round VARCHAR, opponent VARCHAR) |
SELECT emit__nm_ FROM table_name_86 WHERE mass__g_mol_ = "1078" | Which Emission (in nanometers) that has a molar mass of 1078 g/mol? | CREATE TABLE table_name_86 (emit__nm_ VARCHAR, mass__g_mol_ VARCHAR) |
SELECT dept_address FROM department WHERE dept_name = 'History' | what is the address of history department? | CREATE TABLE department (dept_address VARCHAR, dept_name VARCHAR) |
SELECT report FROM table_name_8 WHERE date = "september 3, 2005" | What Report has the Date September 3, 2005? | CREATE TABLE table_name_8 (report VARCHAR, date VARCHAR) |
SELECT MIN(position) FROM table_name_12 WHERE name = "esv türkheim" AND drawn > 0 | what is the lowest position when the name is esv türkheim, and Drawn more than 0? | CREATE TABLE table_name_12 (position INTEGER, name VARCHAR, drawn VARCHAR) |
SELECT COUNT(written_by) FROM table_17482534_1 WHERE production_code = "5008" | How many writers are listed for the episode with a production code of 5008? | CREATE TABLE table_17482534_1 (written_by VARCHAR, production_code VARCHAR) |
SELECT name FROM table_name_34 WHERE born_died = "1873–1933" | What is the Name of the Prime Minister with a Born-Died of 1873–1933? | CREATE TABLE table_name_34 (name VARCHAR, born_died VARCHAR) |
SELECT team FROM table_23285761_11 WHERE game = 5 | Which team has 5 as a game? | CREATE TABLE table_23285761_11 (team VARCHAR, game VARCHAR) |
SELECT original_air_date FROM table_24425976_2 WHERE production_code = "110" | What date did the episode with code 110 originally air? | CREATE TABLE table_24425976_2 (original_air_date VARCHAR, production_code VARCHAR) |
SELECT series FROM table_name_39 WHERE game > 1 AND date = "april 18" | Which Series has a Game larger than 1, and a Date of april 18? | CREATE TABLE table_name_39 (series VARCHAR, game VARCHAR, date VARCHAR) |
SELECT winning_constructor FROM table_name_16 WHERE fastest_lap = "damon hill" | When the fastest lap was driven by damon hill who was the winning constructor? | CREATE TABLE table_name_16 (winning_constructor VARCHAR, fastest_lap VARCHAR) |
SELECT MAX(pick) FROM table_name_30 WHERE player = "lonnie brockman" AND round < 9 | What was the highest Pick for Lonnie Brockman before round 9? | CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR, round VARCHAR) |
SELECT secr_numbers FROM table_name_31 WHERE year_made = "1861" | What was the SECR number of the item made in 1861? | CREATE TABLE table_name_31 (secr_numbers VARCHAR, year_made VARCHAR) |
SELECT COUNT(valid_votes) FROM table_27274222_2 WHERE province = "Denizli" | When Denizli was the province, what was the total number of valid votes? | CREATE TABLE table_27274222_2 (valid_votes VARCHAR, province VARCHAR) |
SELECT score FROM table_name_41 WHERE visitor = "philadelphia" AND date = "december 1" | What's the score on December 1 when Philadelphia visited? | CREATE TABLE table_name_41 (score VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT 2009 AS _season FROM table_name_21 WHERE city = "panama city" AND group = "group b" | WHat kind of 2009 season has a City of panama city, and a Group of group b? | CREATE TABLE table_name_21 (city VARCHAR, group VARCHAR) |
SELECT home_team AS score FROM table_name_6 WHERE venue = "princes park" | What was the home team's score at Princes Park? | CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) |
SELECT MIN(total) FROM table_name_80 WHERE country = "united states" AND silver > 11 | What is the lowest total medals for the united states who had more than 11 silver medals? | CREATE TABLE table_name_80 (total INTEGER, country VARCHAR, silver VARCHAR) |
SELECT * FROM Student_Addresses ORDER BY monthly_rental DESC | Find all information about student addresses, and sort by monthly rental in descending order. | CREATE TABLE Student_Addresses (monthly_rental VARCHAR) |
SELECT gold_coast FROM table_name_24 WHERE auckland = "no" AND adelaide = "yes" AND melbourne = "no" | Which Gold Coast has Auckland no, Adelaide yes, and Melbourne no? | CREATE TABLE table_name_24 (gold_coast VARCHAR, melbourne VARCHAR, auckland VARCHAR, adelaide VARCHAR) |
SELECT league FROM table_name_59 WHERE playoffs = "did not qualify" AND the_year > 2008 | Which league did not qualify for the Playoffs, and had a Year larger than 2008? | CREATE TABLE table_name_59 (league VARCHAR, playoffs VARCHAR, the_year VARCHAR) |
SELECT to_par FROM table_name_27 WHERE player = "bob tway" | What is Bob Tway's To par? | CREATE TABLE table_name_27 (to_par VARCHAR, player VARCHAR) |
SELECT result FROM table_22118197_1 WHERE english_title = "Morning Undersea" | What was the result for the film with the English name of Morning Undersea? | CREATE TABLE table_22118197_1 (result VARCHAR, english_title VARCHAR) |
SELECT SUM(round) FROM table_name_37 WHERE pick = 109 | What is the total round with pick of 109? | CREATE TABLE table_name_37 (round INTEGER, pick VARCHAR) |
SELECT COUNT(pick) FROM table_2840500_3 WHERE college_junior_club_team = "HC Dukla Trenčín (Slovakia)" | what is the number of the chosen club where the hc dukla trenčín (slovakia) is from | CREATE TABLE table_2840500_3 (pick VARCHAR, college_junior_club_team VARCHAR) |
SELECT fri_4_june FROM table_25220821_3 WHERE wed_2_june = "20' 11.98 112.071mph" | What is Friday 4 June if Wednesday 2 June is 20' 11.98 112.071mph? | CREATE TABLE table_25220821_3 (fri_4_june VARCHAR, wed_2_june VARCHAR) |
SELECT score FROM table_name_33 WHERE game = 40 | Can you tell me the Score that has the Game of 40? | CREATE TABLE table_name_33 (score VARCHAR, game VARCHAR) |
SELECT distance FROM table_name_48 WHERE venue = "atlanta motor speedway" | What is the distance of the race at the Atlanta Motor Speedway? | CREATE TABLE table_name_48 (distance VARCHAR, venue VARCHAR) |
SELECT median_family_income FROM table_name_76 WHERE median_household_income = "$50,717" | What is Median Family Income, when Median Household Income is "$50,717"? | CREATE TABLE table_name_76 (median_family_income VARCHAR, median_household_income VARCHAR) |
SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country | 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 to_par FROM table_name_44 WHERE country = "united states" AND player = "hal sutton" | What to par is located in the united states and has a player by the name of hal sutton? | CREATE TABLE table_name_44 (to_par VARCHAR, country VARCHAR, player VARCHAR) |
SELECT kitmaker FROM table_name_38 WHERE team = "fc augsburg" | Who is the kitmaker for Fc Augsburg? | CREATE TABLE table_name_38 (kitmaker VARCHAR, team VARCHAR) |
SELECT country FROM table_name_44 WHERE place = "t9" AND score = 72 - 72 = 144 AND player = "tom watson" | Which country watch Tom Watson at t9 score 72-72=144? | CREATE TABLE table_name_44 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) |
SELECT gp_gs FROM table_name_96 WHERE total_points = "did not play" AND year = "2003" | what was the gp/gs in 2003 when the total points was "did not play"? | CREATE TABLE table_name_96 (gp_gs VARCHAR, total_points VARCHAR, year VARCHAR) |
SELECT MIN(bronze) FROM table_name_75 WHERE nation = "switzerland" AND silver < 3 | How many Bronze medals did Switzerland with less than 3 Silver medals receive? | CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, silver VARCHAR) |
SELECT directed_by FROM table_26136228_3 WHERE series_no = 11 | Who directed episode 11 in the series? | CREATE TABLE table_26136228_3 (directed_by VARCHAR, series_no VARCHAR) |
SELECT date FROM table_name_61 WHERE tournament = "u.s. women's open" | What is the date of the U.S. Women's open? | CREATE TABLE table_name_61 (date VARCHAR, tournament VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.