question
stringlengths 17
201
| answer
stringlengths 21
400
| context
stringlengths 32
286
|
---|---|---|
Which Release date has a Director of tom palmer, and a Production Num larger than 5956? | SELECT release_date FROM table_name_92 WHERE director = "tom palmer" AND production_num > 5956 | CREATE TABLE table_name_92 (release_date VARCHAR, director VARCHAR, production_num VARCHAR) |
who is the athlete when the rank is less than 13, time more than 11.13, country is bahamas and the heat more than 2? | SELECT athlete FROM table_name_33 WHERE rank < 13 AND time > 11.13 AND country = "bahamas" AND heat > 2 | CREATE TABLE table_name_33 (athlete VARCHAR, heat VARCHAR, country VARCHAR, rank VARCHAR, time VARCHAR) |
What was the Difference of the Team that had a Position less than 2? | SELECT difference FROM table_name_8 WHERE position < 2 | CREATE TABLE table_name_8 (difference VARCHAR, position INTEGER) |
How many golds have a Total of 11, and a Bronze smaller than 3? | SELECT SUM(gold) FROM table_name_81 WHERE total = 11 AND bronze < 3 | CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, bronze VARCHAR) |
What is the match report for July 10, 2005? | SELECT match_report FROM table_name_91 WHERE date = "july 10, 2005" | CREATE TABLE table_name_91 (match_report VARCHAR, date VARCHAR) |
How many draws did Durham have? | SELECT draws FROM table_name_72 WHERE team = "durham" | CREATE TABLE table_name_72 (draws VARCHAR, team VARCHAR) |
What is the Name of the D Player born on 1983-07-19? | SELECT name FROM table_name_46 WHERE pos = "d" AND date_of_birth = "1983-07-19" | CREATE TABLE table_name_46 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR) |
What is the Game on May 24 with Road Team Seattle? | SELECT game FROM table_name_76 WHERE road_team = "seattle" AND date = "may 24" | CREATE TABLE table_name_76 (game VARCHAR, road_team VARCHAR, date VARCHAR) |
Which player is from Ohio State College? | SELECT player FROM table_name_55 WHERE college = "ohio state" | CREATE TABLE table_name_55 (player VARCHAR, college VARCHAR) |
What championship tournament did Ronald Vink play in with maikel scheffers as his partner in 2007 against stephane houdet nicolas peiffer? | SELECT championship FROM table_name_71 WHERE partnering = "maikel scheffers" AND year > 2007 AND opponents_in_final = "stephane houdet nicolas peiffer" | CREATE TABLE table_name_71 (championship VARCHAR, opponents_in_final VARCHAR, partnering VARCHAR, year VARCHAR) |
I want the fewest Laps for Huub Rothengatter and grid less than 24 | SELECT MIN(laps) FROM table_name_88 WHERE driver = "huub rothengatter" AND grid < 24 | CREATE TABLE table_name_88 (laps INTEGER, driver VARCHAR, grid VARCHAR) |
What season has the champion of Nicolas Kiesa? | SELECT season FROM table_name_84 WHERE champion = "nicolas kiesa" | CREATE TABLE table_name_84 (season VARCHAR, champion VARCHAR) |
How many different lead margins were stated in the poll administered on September 11, 2008? | SELECT COUNT(lead_margin) FROM table_17538810_10 WHERE dates_administered = "September 11, 2008" | CREATE TABLE table_17538810_10 (lead_margin VARCHAR, dates_administered VARCHAR) |
Which country has a score of 70-66=136? | SELECT country FROM table_name_31 WHERE score = 70 - 66 = 136 | CREATE TABLE table_name_31 (country VARCHAR, score VARCHAR) |
What lane did the rank 3 swimmer use? | SELECT MAX(lane) FROM table_name_57 WHERE rank = 3 | CREATE TABLE table_name_57 (lane INTEGER, rank VARCHAR) |
Which Prohibition ticket has a Socialist Labor ticket of joseph smith? | SELECT prohibition_ticket FROM table_name_34 WHERE socialist_labor_ticket = "joseph smith" | CREATE TABLE table_name_34 (prohibition_ticket VARCHAR, socialist_labor_ticket VARCHAR) |
What year had a total of 2 and LA matches of 0? | SELECT year FROM table_name_35 WHERE total = "2" AND la_matches = "0" | CREATE TABLE table_name_35 (year VARCHAR, total VARCHAR, la_matches VARCHAR) |
How many wins did the team with 5 podiums have? | SELECT wins FROM table_name_15 WHERE podiums = "5" | CREATE TABLE table_name_15 (wins VARCHAR, podiums VARCHAR) |
What is the least amount of points when there is 1 win? | SELECT MIN(points) FROM table_name_95 WHERE wins = 1 | CREATE TABLE table_name_95 (points INTEGER, wins VARCHAR) |
What is shown for fri 26 aug when mon 22 aug is —— no time? | SELECT fri_26_aug FROM table_30058355_2 WHERE mon_22_aug = "—— No Time" | CREATE TABLE table_30058355_2 (fri_26_aug VARCHAR, mon_22_aug VARCHAR) |
What was the earliest game with a record of 16–4–3? | SELECT MIN(game) FROM table_name_96 WHERE record = "16–4–3" | CREATE TABLE table_name_96 (game INTEGER, record VARCHAR) |
What engine was in the year of 1961? | SELECT engine FROM table_name_85 WHERE year = 1961 | CREATE TABLE table_name_85 (engine VARCHAR, year VARCHAR) |
What is the medal total when there is 2 gold medals, and Brazil (BRA) is the nation? | SELECT total FROM table_name_2 WHERE gold = 2 AND nation = "brazil (bra)" | CREATE TABLE table_name_2 (total VARCHAR, gold VARCHAR, nation VARCHAR) |
How many totals have andy north as the player? | SELECT SUM(total) FROM table_name_96 WHERE player = "andy north" | CREATE TABLE table_name_96 (total INTEGER, player VARCHAR) |
Which Swimming has a Total larger than 35, and a Volleyball of 1? | SELECT swimming FROM table_name_96 WHERE total > 35 AND volleyball = "1" | CREATE TABLE table_name_96 (swimming VARCHAR, total VARCHAR, volleyball VARCHAR) |
What is the 1st leg where Team 1 is C.D. Plaza Amador? | SELECT 1 AS st_leg FROM table_name_12 WHERE team_1 = "c.d. plaza amador" | CREATE TABLE table_name_12 (team_1 VARCHAR) |
What is the end (UTC) for spacecraft STS-114 Eva 3? | SELECT end__utc_ FROM table_22385461_6 WHERE spacecraft = "STS-114 EVA 3" | CREATE TABLE table_22385461_6 (end__utc_ VARCHAR, spacecraft VARCHAR) |
What round did the match go to when the event was Bars - Moscow vs St. Petersburg? | SELECT round FROM table_name_92 WHERE event = "bars - moscow vs st. petersburg" | CREATE TABLE table_name_92 (round VARCHAR, event VARCHAR) |
Who were the umpires when Paul Medhurst (C) won the Simpson Medal? | SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Medhurst (C)" | CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR) |
Who was the 2nd member of the parliament that was assembled on 3 november 1529? | SELECT 2 AS nd_member FROM table_name_19 WHERE assembled = "3 november 1529" | CREATE TABLE table_name_19 (assembled VARCHAR) |
Who was the winner in 2007? | SELECT winner FROM table_name_49 WHERE date = 2007 | CREATE TABLE table_name_49 (winner VARCHAR, date VARCHAR) |
What were the location and attendance for the game against New Jersey? | SELECT location_attendance FROM table_name_33 WHERE team = "new jersey" | CREATE TABLE table_name_33 (location_attendance VARCHAR, team VARCHAR) |
What was the Area (km²) when the Population (2011) was 8574, and the Population density was larger than 381.4? | SELECT AVG(area__km²_) FROM table_name_21 WHERE population__2011_ = 8574 AND population_density > 381.4 | CREATE TABLE table_name_21 (area__km²_ INTEGER, population__2011_ VARCHAR, population_density VARCHAR) |
When was the attendance 3686? | SELECT date FROM table_name_23 WHERE attendance = 3686 | CREATE TABLE table_name_23 (date VARCHAR, attendance VARCHAR) |
Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244? | SELECT school FROM table_name_67 WHERE ihsaa_class = "a" AND enrollment_08_09 = 244 | CREATE TABLE table_name_67 (school VARCHAR, ihsaa_class VARCHAR, enrollment_08_09 VARCHAR) |
With what type of chambering is the F bolt n (lbf) and the P max (bar) 3900? | SELECT chambering FROM table_26967904_1 WHERE f_bolt = "N (lbf)" AND p_max___bar__ = 3900 | CREATE TABLE table_26967904_1 (chambering VARCHAR, f_bolt VARCHAR, p_max___bar__ VARCHAR) |
In grid 15, how many laps were there before ending with a time of exhaust? | SELECT SUM(laps) FROM table_name_40 WHERE time_retired = "exhaust" AND grid < 15 | CREATE TABLE table_name_40 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) |
Find number of tracks in each genre? | SELECT COUNT(*), T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name | CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR) |
Who was the director of the episode written by Russell T Davies and James Moran? | SELECT director FROM table_name_67 WHERE writer = "russell t davies and james moran" | CREATE TABLE table_name_67 (director VARCHAR, writer VARCHAR) |
What opponent played on 1/13/1974? | SELECT opponent FROM table_name_6 WHERE date = "1/13/1974" | CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR) |
What is the lowest number of Losses when the number of Wins is less than 4, the number of Tie is 2, and the Place is 5? | SELECT MIN(losses) FROM table_name_38 WHERE wins < 4 AND ties = 2 AND place = 5 | CREATE TABLE table_name_38 (losses INTEGER, place VARCHAR, wins VARCHAR, ties VARCHAR) |
Which club plays soccer in the nwsl? | SELECT club FROM table_name_61 WHERE sport = "soccer" AND league = "nwsl" | CREATE TABLE table_name_61 (club VARCHAR, sport VARCHAR, league VARCHAR) |
Name all the candidates vying for Albert Bustamante's seat. | SELECT candidates FROM table_1341586_44 WHERE incumbent = "Albert Bustamante" | CREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR) |
What was the result when the attendance was 12,000? | SELECT result FROM table_name_77 WHERE attendance = "12,000" | CREATE TABLE table_name_77 (result VARCHAR, attendance VARCHAR) |
In what Week is the Rome Tournament? | SELECT week FROM table_name_70 WHERE tournament = "rome" | CREATE TABLE table_name_70 (week VARCHAR, tournament VARCHAR) |
What is the power that belongs to Class A with an Identifier of CBOC-FM? | SELECT power FROM table_name_90 WHERE class = "a" AND identifier = "cboc-fm" | CREATE TABLE table_name_90 (power VARCHAR, class VARCHAR, identifier VARCHAR) |
What location has a home ground of n/a, and position in 2012-13 of 13th, third division? | SELECT location FROM table_name_2 WHERE home_ground = "n/a" AND position_in_2012_13 = "13th, third division" | CREATE TABLE table_name_2 (location VARCHAR, home_ground VARCHAR, position_in_2012_13 VARCHAR) |
What was the result in 1995? | SELECT result FROM table_name_79 WHERE year = 1995 | CREATE TABLE table_name_79 (result VARCHAR, year VARCHAR) |
For club Swansea Uplands RFC, what is the amount of tries against? | SELECT tries_against FROM table_17675675_2 WHERE club = "Swansea Uplands RFC" | CREATE TABLE table_17675675_2 (tries_against VARCHAR, club VARCHAR) |
When Collingwood was the home team who was the opposing away team? | SELECT away_team FROM table_name_52 WHERE home_team = "collingwood" | CREATE TABLE table_name_52 (away_team VARCHAR, home_team VARCHAR) |
What was the score against the team with an 11-3 record against the Hawks? | SELECT score FROM table_23248910_5 WHERE record = "11-3" | CREATE TABLE table_23248910_5 (score VARCHAR, record VARCHAR) |
What game was in 2011? | SELECT game FROM table_name_7 WHERE year = 2011 | CREATE TABLE table_name_7 (game VARCHAR, year VARCHAR) |
When Oscar Míguez had over 107 goals, what was the lowest he ranked? | SELECT MIN(rank) FROM table_name_21 WHERE name = "oscar míguez" AND goals > 107 | CREATE TABLE table_name_21 (rank INTEGER, name VARCHAR, goals VARCHAR) |
Who was the visiting team who played at the hubert h. humphrey metrodome stadium? | SELECT visiting_team FROM table_name_67 WHERE stadium = "hubert h. humphrey metrodome" | CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR) |
What type is locomotive number CTN 46? | SELECT type FROM table_name_26 WHERE locomotive_number = "ctn 46" | CREATE TABLE table_name_26 (type VARCHAR, locomotive_number VARCHAR) |
Name the least silver when gold is less than 0 | SELECT MIN(silver) FROM table_name_41 WHERE gold < 0 | CREATE TABLE table_name_41 (silver INTEGER, gold INTEGER) |
What date did the Ravens play the buffalo bills? | SELECT date FROM table_name_97 WHERE opponent = "buffalo bills" | CREATE TABLE table_name_97 (date VARCHAR, opponent VARCHAR) |
What is the bowling style of chris harris? | SELECT bowling_style FROM table_11950720_4 WHERE player = "Chris Harris" | CREATE TABLE table_11950720_4 (bowling_style VARCHAR, player VARCHAR) |
Which player has a FG Pct less than 45.9, a def reb less than 43, and a total reb of 9? | SELECT player FROM table_name_21 WHERE fg_pct < 45.9 AND def_reb < 43 AND total_reb = 9 | CREATE TABLE table_name_21 (player VARCHAR, total_reb VARCHAR, fg_pct VARCHAR, def_reb VARCHAR) |
What is the second year class following pag-unawa? | SELECT second_year FROM table_12148147_2 WHERE first_year = "Pag-unawa" | CREATE TABLE table_12148147_2 (second_year VARCHAR, first_year VARCHAR) |
On what date were the Ottawa Swans the away team? | SELECT date FROM table_name_25 WHERE away = "ottawa swans" | CREATE TABLE table_name_25 (date VARCHAR, away VARCHAR) |
What is the moving from with a transfer and the nationality of Bra? | SELECT moving_from FROM table_name_22 WHERE type = "transfer" AND nat = "bra" | CREATE TABLE table_name_22 (moving_from VARCHAR, type VARCHAR, nat VARCHAR) |
What's the sales breakdown for Nintendo's Mario Kart DS? | SELECT sales_breakdown FROM table_21458142_1 WHERE publisher = "Nintendo" AND title = "Mario Kart DS" | CREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, title VARCHAR) |
Role of narrator, and a Year larger than 2009, and a Release/Air Date of 7 october 2010 belongs to what author? | SELECT author FROM table_name_62 WHERE role = "narrator" AND year > 2009 AND release_air_date = "7 october 2010" | CREATE TABLE table_name_62 (author VARCHAR, release_air_date VARCHAR, role VARCHAR, year VARCHAR) |
What is the Result of the game after Week 10 against Philadelphia Eagles? | SELECT result FROM table_name_26 WHERE week > 10 AND opponent = "philadelphia eagles" | CREATE TABLE table_name_26 (result VARCHAR, week VARCHAR, opponent VARCHAR) |
What is Australian, when British is "aɪ, ɪ, ə"? | SELECT australian FROM table_name_12 WHERE british = "aɪ, ɪ, ə" | CREATE TABLE table_name_12 (australian VARCHAR, british VARCHAR) |
What was the score when andray blatche , al thornton (20) had the high points? | SELECT score FROM table_27721131_6 WHERE high_points = "Andray Blatche , Al Thornton (20)" | CREATE TABLE table_27721131_6 (score VARCHAR, high_points VARCHAR) |
What was the winning percent of Notre Dame in 1905? | SELECT pct FROM table_name_86 WHERE years = "1905" | CREATE TABLE table_name_86 (pct VARCHAR, years VARCHAR) |
Who is the opponent with a score of 6–5 13? | SELECT opponent FROM table_name_82 WHERE score = "6–5 13" | CREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR) |
What is the retail space of the Stony Point Fashion Park Mall? | SELECT retail_space_sq_feet__m²_ FROM table_name_70 WHERE mall_name = "stony point fashion park" | CREATE TABLE table_name_70 (retail_space_sq_feet__m²_ VARCHAR, mall_name VARCHAR) |
What players have a position of F? | SELECT player FROM table_name_2 WHERE position = "f" | CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR) |
What is the score when the set 3 is 26–28? | SELECT score FROM table_name_5 WHERE set_3 = "26–28" | CREATE TABLE table_name_5 (score VARCHAR, set_3 VARCHAR) |
What is the average number of years for the Houston Rockets 2004-05? | SELECT AVG(no_s_) FROM table_name_14 WHERE years_for_rockets = "2004-05" | CREATE TABLE table_name_14 (no_s_ INTEGER, years_for_rockets VARCHAR) |
Show all ages and corresponding number of students. | SELECT age, COUNT(*) FROM Student GROUP BY age | CREATE TABLE Student (age VARCHAR) |
How many train stations are there? | SELECT COUNT(*) FROM station | CREATE TABLE station (Id VARCHAR) |
How many wins of average has cuts made less than 0? | SELECT AVG(wins) FROM table_name_79 WHERE cuts_made < 0 | CREATE TABLE table_name_79 (wins INTEGER, cuts_made INTEGER) |
Who is the captain in Chaguaramas? | SELECT captain FROM table_24039173_1 WHERE location = "Chaguaramas" | CREATE TABLE table_24039173_1 (captain VARCHAR, location VARCHAR) |
Which player is from Australia, and has a place of t9? | SELECT player FROM table_name_35 WHERE place = "t9" AND country = "australia" | CREATE TABLE table_name_35 (player VARCHAR, place VARCHAR, country VARCHAR) |
What was the date when Steffi Graf was the opponent in the final and the score was 2–6, 0–6? | SELECT date FROM table_name_49 WHERE opponent_in_the_final = "steffi graf" AND score_in_the_final = "2–6, 0–6" | CREATE TABLE table_name_49 (date VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) |
What was the crowd size at Collingwood's match? | SELECT crowd FROM table_name_43 WHERE home_team = "collingwood" | CREATE TABLE table_name_43 (crowd VARCHAR, home_team VARCHAR) |
Who was performer 3 with karen maruyama as performer 2? | SELECT performer_3 FROM table_name_67 WHERE performer_2 = "karen maruyama" | CREATE TABLE table_name_67 (performer_3 VARCHAR, performer_2 VARCHAR) |
what is the unemployment rate where the market income per capita is $16,406? | SELECT unemployment_rate FROM table_22815568_13 WHERE market_income_per_capita = "$16,406" | CREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) |
What is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143? | SELECT COUNT(frequency) FROM table_10333757_1 WHERE market_rank = "Burlington - Plattsburgh , Vermont - New York /143" | CREATE TABLE table_10333757_1 (frequency VARCHAR, market_rank VARCHAR) |
What was the nba draft for al-farouq aminu? | SELECT nba_draft FROM table_name_53 WHERE player = "al-farouq aminu" | CREATE TABLE table_name_53 (nba_draft VARCHAR, player VARCHAR) |
What is the To Par that has Tommy Bolt with a Place of t6? | SELECT to_par FROM table_name_6 WHERE place = "t6" AND player = "tommy bolt" | CREATE TABLE table_name_6 (to_par VARCHAR, place VARCHAR, player VARCHAR) |
I want to see the result for venue of n and attendance more than 20,664 | SELECT result FROM table_name_17 WHERE venue = "n" AND attendance > 20 OFFSET 664 | CREATE TABLE table_name_17 (result VARCHAR, venue VARCHAR, attendance VARCHAR) |
Name the international tourist arrivals for arrivals 2011 for 8.1 million | SELECT international_tourist_arrivals__2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "8.1 million" | CREATE TABLE table_14752049_3 (international_tourist_arrivals__2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR) |
What day in March is the game with a 48-13-11 record and a game number less than 72? | SELECT SUM(march) FROM table_name_12 WHERE record = "48-13-11" AND game < 72 | CREATE TABLE table_name_12 (march INTEGER, record VARCHAR, game VARCHAR) |
What is the name of the episode written by Michael Price? | SELECT title FROM table_2701851_2 WHERE written_by = "Michael Price" | CREATE TABLE table_2701851_2 (title VARCHAR, written_by VARCHAR) |
Who came in 3rd place in Krško , Slovenia Matije Gubca Stadium | SELECT 3 AS rd_placed FROM table_19317584_2 WHERE city_and_venue = "Krško , Slovenia Matije Gubca Stadium" | CREATE TABLE table_19317584_2 (city_and_venue VARCHAR) |
What is the away score with a record of 7-4, win% of 0.637, and 2010 season? | SELECT away FROM table_name_22 WHERE record = "7-4" AND win__percentage = 0.637 AND season = "2010" | CREATE TABLE table_name_22 (away VARCHAR, season VARCHAR, record VARCHAR, win__percentage VARCHAR) |
When aaron brooks (6) had the highest amount of assists what is the date? | SELECT date FROM table_17288825_6 WHERE high_assists = "Aaron Brooks (6)" | CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR) |
Total games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance? | SELECT COUNT(game) FROM table_name_2 WHERE points < 15 AND date = "november 15" AND attendance > 13 OFFSET 722 | CREATE TABLE table_name_2 (game VARCHAR, attendance VARCHAR, points VARCHAR, date VARCHAR) |
What is the Rich Savage percentage in the poll with Jody Wagner at 30%? | SELECT rich_savage FROM table_name_90 WHERE jody_wagner = "30%" | CREATE TABLE table_name_90 (rich_savage VARCHAR, jody_wagner VARCHAR) |
Which player is from the College of Alabama? | SELECT player FROM table_name_97 WHERE college = "alabama" | CREATE TABLE table_name_97 (player VARCHAR, college VARCHAR) |
What is Gold, when Total is 6? | SELECT gold FROM table_name_79 WHERE total = 6 | CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR) |
WWhich rder had a vehicle manufactured by kr211v? | SELECT rider FROM table_name_26 WHERE manufacturer = "kr211v" | CREATE TABLE table_name_26 (rider VARCHAR, manufacturer VARCHAR) |
What was the height of this Freshman with a forward position? | SELECT height FROM table_25177625_1 WHERE position = "Forward" AND year = "Freshman" | CREATE TABLE table_25177625_1 (height VARCHAR, position VARCHAR, year VARCHAR) |
What is the Record with a Leading scorer with maurice williams (25), and a Date with 27 january 2008? | SELECT record FROM table_name_38 WHERE leading_scorer = "maurice williams (25)" AND date = "27 january 2008" | CREATE TABLE table_name_38 (record VARCHAR, leading_scorer VARCHAR, date VARCHAR) |
What episode had a run time of 24:53? | SELECT episode FROM table_2102714_1 WHERE run_time = "24:53" | CREATE TABLE table_2102714_1 (episode VARCHAR, run_time VARCHAR) |
Subsets and Splits