question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the earliest week on September 26, 1965?
CREATE TABLE table_name_3 (week INTEGER, date VARCHAR)
SELECT MIN(week) FROM table_name_3 WHERE date = "september 26, 1965"
What was the previous school for the forward with a height of ft5in (m)?
CREATE TABLE table_29050051_3 (previous_school VARCHAR, height VARCHAR, position VARCHAR)
SELECT previous_school FROM table_29050051_3 WHERE height = "ft5in (m)" AND position = "Forward"
What is Team, when Game is 73?
CREATE TABLE table_name_21 (team VARCHAR, game VARCHAR)
SELECT team FROM table_name_21 WHERE game = 73
Which Score has a Place of t6, and a Player of raymond floyd?
CREATE TABLE table_name_43 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_43 WHERE place = "t6" AND player = "raymond floyd"
Who was the opponent at the game with a result of w 20-17?
CREATE TABLE table_name_69 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_69 WHERE result = "w 20-17"
What is the position for Jani Lajunen?
CREATE TABLE table_name_78 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_78 WHERE player = "jani lajunen"
Which school is the player who is headed to Duke from?
CREATE TABLE table_name_68 (school VARCHAR, college VARCHAR)
SELECT school FROM table_name_68 WHERE college = "duke"
What years did the player with a total larger than 157 have wins?
CREATE TABLE table_name_75 (year_s__won VARCHAR, total INTEGER)
SELECT year_s__won FROM table_name_75 WHERE total > 157
What is the lowest Pick #, when College is "Louisville", and when Round is less than 10?
CREATE TABLE table_name_6 (pick__number INTEGER, college VARCHAR, round VARCHAR)
SELECT MIN(pick__number) FROM table_name_6 WHERE college = "louisville" AND round < 10
Name the 3 where weightlifter is m. van der goten ( bel )
CREATE TABLE table_16779068_5 (weightlifter VARCHAR)
SELECT 3 FROM table_16779068_5 WHERE weightlifter = "M. Van der Goten ( BEL )"
What is the date of game 23?
CREATE TABLE table_name_27 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_27 WHERE game = 23
List all before numbers when Geoff Ogilvy was playing.
CREATE TABLE table_24108789_4 (before VARCHAR, player VARCHAR)
SELECT before FROM table_24108789_4 WHERE player = "Geoff Ogilvy"
What are all the acreages of the townlands in the Macroom poor law union and Macroom civil parish?
CREATE TABLE table_30120761_1 (area__acres__ VARCHAR, poor_law_union VARCHAR, civil_parish VARCHAR)
SELECT area__acres__ FROM table_30120761_1 WHERE poor_law_union = "Macroom" AND civil_parish = "Macroom"
What is the duration of the flight with end time of 21:06?
CREATE TABLE table_name_61 (duration VARCHAR, end_time VARCHAR)
SELECT duration FROM table_name_61 WHERE end_time = "21:06"
What kind of type is бока?
CREATE TABLE table_2562572_39 (type VARCHAR, cyrillic_name_other_names VARCHAR)
SELECT type FROM table_2562572_39 WHERE cyrillic_name_other_names = "Бока"
How many draws did Mortlake have when the losses were more than 5?
CREATE TABLE table_name_94 (draws VARCHAR, losses VARCHAR, club VARCHAR)
SELECT COUNT(draws) FROM table_name_94 WHERE losses > 5 AND club = "mortlake"
What is the lowest enrollment for Eastern Michigan University?
CREATE TABLE table_26351260_1 (enrollment INTEGER, institution VARCHAR)
SELECT MIN(enrollment) FROM table_26351260_1 WHERE institution = "Eastern Michigan University"
What is the lowest Week when the result was l 6–0?
CREATE TABLE table_name_19 (week INTEGER, result VARCHAR)
SELECT MIN(week) FROM table_name_19 WHERE result = "l 6–0"
what team played on may 11
CREATE TABLE table_name_1 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_1 WHERE date = "may 11"
What was the home teams score at Junction Oval?
CREATE TABLE table_name_71 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_71 WHERE venue = "junction oval"
What position does the player from malvern prep play?
CREATE TABLE table_name_40 (position VARCHAR, high_school VARCHAR)
SELECT position FROM table_name_40 WHERE high_school = "malvern prep"
What is the sum of all the years that Landon Donovan won the ESPY award?
CREATE TABLE table_name_32 (year VARCHAR, player VARCHAR)
SELECT COUNT(year) FROM table_name_32 WHERE player = "landon donovan"
What is the area of the city with a density of 955.6?
CREATE TABLE table_name_72 (area_km² VARCHAR, density__hab_km²_ VARCHAR)
SELECT area_km² FROM table_name_72 WHERE density__hab_km²_ = "955.6"
Which outcomes have a final score of 6–3, 6–2?
CREATE TABLE table_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR)
SELECT outcome FROM table_22834834_3 WHERE score_in_the_final = "6–3, 6–2"
In game 34 Curtis Borchardt played on which team with less than 275 rebounds?
CREATE TABLE table_name_70 (team VARCHAR, name VARCHAR, rebounds VARCHAR, games VARCHAR)
SELECT team FROM table_name_70 WHERE rebounds < 275 AND games < 34 AND name = "curtis borchardt"
Which highest Points has a Score of 1–1 ot?
CREATE TABLE table_name_49 (points INTEGER, score VARCHAR)
SELECT MAX(points) FROM table_name_49 WHERE score = "1–1 ot"
What was the name of the driver that won the Lakeside race?
CREATE TABLE table_name_44 (winner VARCHAR, race_title VARCHAR)
SELECT winner FROM table_name_44 WHERE race_title = "lakeside"
Who did the high rebounds for the team Minnesota?
CREATE TABLE table_27734769_9 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_27734769_9 WHERE team = "Minnesota"
What was the US Peak position of the film that peaked at #21 in the UK?
CREATE TABLE table_name_83 (us_peak_position VARCHAR, uk_peak_position VARCHAR)
SELECT us_peak_position FROM table_name_83 WHERE uk_peak_position = "21"
What's the record after week 12 with a game site of bye?
CREATE TABLE table_name_26 (record VARCHAR, week VARCHAR, game_site VARCHAR)
SELECT record FROM table_name_26 WHERE week > 12 AND game_site = "bye"
Which Year is the highest one that has a Record label of supertone melodies?
CREATE TABLE table_name_69 (year INTEGER, record_label VARCHAR)
SELECT MAX(year) FROM table_name_69 WHERE record_label = "supertone melodies"
Name the least tied
CREATE TABLE table_15829930_5 (tied INTEGER)
SELECT MIN(tied) FROM table_15829930_5
Where is Lafayette T. Jefferson School in 79 Tippecanoe county?
CREATE TABLE table_name_26 (location VARCHAR, county VARCHAR, school VARCHAR)
SELECT location FROM table_name_26 WHERE county = "79 tippecanoe" AND school = "lafayette t. jefferson"
What is the date where the attendance was 31,220?
CREATE TABLE table_name_62 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_62 WHERE attendance = "31,220"
Name the fate in 1832 for pembrokeshire
CREATE TABLE table_24329520_4 (fate_in_1832 VARCHAR, county VARCHAR)
SELECT fate_in_1832 FROM table_24329520_4 WHERE county = "Pembrokeshire"
What is Tournament, when Opponent In The Final is "Andre Agassi"?
CREATE TABLE table_name_49 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_49 WHERE opponent_in_the_final = "andre agassi"
What is the Status when Henry I is the Monarch and the Reason is succession unclear 1100-1103?
CREATE TABLE table_name_11 (status VARCHAR, monarch VARCHAR, reason VARCHAR)
SELECT status FROM table_name_11 WHERE monarch = "henry i" AND reason = "succession unclear 1100-1103"
What is the lowest number of points scored when there were 1,500 in attendance?
CREATE TABLE table_name_50 (points INTEGER, attendance VARCHAR)
SELECT MIN(points) FROM table_name_50 WHERE attendance = "1,500"
How many Points have a Position larger than 3, and a Played smaller than 14?
CREATE TABLE table_name_42 (points VARCHAR, position VARCHAR, played VARCHAR)
SELECT COUNT(points) FROM table_name_42 WHERE position > 3 AND played < 14
List the final score of Wimbledon (2/2).
CREATE TABLE table_2201724_1 (score_in_the_final VARCHAR, championship VARCHAR)
SELECT score_in_the_final FROM table_2201724_1 WHERE championship = "Wimbledon (2/2)"
What is the Date with an Opponent that is hearts?
CREATE TABLE table_name_51 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_51 WHERE opponent = "hearts"
What team won the regular season when georgia state won the tournament?
CREATE TABLE table_24348134_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR)
SELECT regular_season_winner FROM table_24348134_3 WHERE tournament_winner = "Georgia State"
Who gave the play by play commentary with studio host Ward Cornell?
CREATE TABLE table_name_89 (play_by_play VARCHAR, studio_host VARCHAR)
SELECT play_by_play FROM table_name_89 WHERE studio_host = "ward cornell"
What team with a Game smaller than 18 has the lowest Goal Gain?
CREATE TABLE table_name_31 (goal_gain INTEGER, game INTEGER)
SELECT MIN(goal_gain) FROM table_name_31 WHERE game < 18
Which number plays the skaters position?
CREATE TABLE table_name_22 (number VARCHAR, position VARCHAR)
SELECT number FROM table_name_22 WHERE position = "skaters"
How many seasons was Dave Reid treasurer?
CREATE TABLE table_16446652_1 (season VARCHAR, treasurer VARCHAR)
SELECT COUNT(season) FROM table_16446652_1 WHERE treasurer = "Dave Reid"
Which mean rank had a silver number smaller than 0?
CREATE TABLE table_name_60 (rank INTEGER, silver INTEGER)
SELECT AVG(rank) FROM table_name_60 WHERE silver < 0
Which Rank has a Total of 12?
CREATE TABLE table_name_72 (rank INTEGER, total VARCHAR)
SELECT AVG(rank) FROM table_name_72 WHERE total = 12
What was the record after the fight that lasted 8:17?
CREATE TABLE table_name_35 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_35 WHERE time = "8:17"
Which Tournament has an Opponent of meike babel?
CREATE TABLE table_name_92 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_92 WHERE opponent = "meike babel"
What years did Bobby Moore play?
CREATE TABLE table_237757_9 (nasl_years VARCHAR, player VARCHAR)
SELECT nasl_years FROM table_237757_9 WHERE player = "Bobby Moore"
WHAT IS THE HIGHEST 2012 ENROLLMENT FOR école mathieu-martin, AFTER 1972?
CREATE TABLE table_name_5 (school_name VARCHAR, year_open VARCHAR)
SELECT MAX(2012 AS _enrolment) FROM table_name_5 WHERE school_name = "école mathieu-martin" AND year_open > 1972
What player is ranked 2 and played in the seasons of 1982–83, 1983–84, 1984–85?
CREATE TABLE table_name_10 (player VARCHAR, rank VARCHAR, seasons VARCHAR)
SELECT player FROM table_name_10 WHERE rank = 2 AND seasons = "1982–83, 1983–84, 1984–85"
List the name of staff who has been assigned multiple jobs.
CREATE TABLE staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (staff_id VARCHAR)
SELECT T1.staff_name FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id GROUP BY T2.staff_id HAVING COUNT(*) > 1
What is listed for the High rebounds on the Date of March 31?
CREATE TABLE table_name_34 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_34 WHERE date = "march 31"
Which Opponent has a Record of 38–20–12–2?
CREATE TABLE table_name_20 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_20 WHERE record = "38–20–12–2"
what is the venue when the competition is 1996 afc asian cup group stage?
CREATE TABLE table_name_66 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_66 WHERE competition = "1996 afc asian cup group stage"
What is the sum of Wins, when Played is less than 5?
CREATE TABLE table_name_42 (wins INTEGER, played INTEGER)
SELECT SUM(wins) FROM table_name_42 WHERE played < 5
WHAT PICK HAD STEVE HAMILTON IN ROUND LARGER THAN 2?
CREATE TABLE table_name_30 (pick VARCHAR, name VARCHAR, round VARCHAR)
SELECT COUNT(pick) FROM table_name_30 WHERE name = "steve hamilton" AND round > 2
What player played on 04/05/1999 with a conv of 0?
CREATE TABLE table_name_36 (player VARCHAR, conv VARCHAR, date VARCHAR)
SELECT player FROM table_name_36 WHERE conv = "0" AND date = "04/05/1999"
What are the scores in matches against Tony Roche?
CREATE TABLE table_2201724_1 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR)
SELECT score_in_the_final FROM table_2201724_1 WHERE opponent_in_the_final = "Tony Roche"
What is the statue of the aat gene, which has an intramuscular route of administration?
CREATE TABLE table_name_98 (status VARCHAR, route_of_administration VARCHAR, gene VARCHAR)
SELECT status FROM table_name_98 WHERE route_of_administration = "intramuscular" AND gene = "aat"
Find the number of female students (with F sex) living in Smith Hall
CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' AND T1.sex = 'F'
What are the highest number of laps for grid 8?
CREATE TABLE table_name_95 (laps INTEGER, grid VARCHAR)
SELECT MAX(laps) FROM table_name_95 WHERE grid = 8
What Country is Gene Littler from?
CREATE TABLE table_name_60 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_60 WHERE player = "gene littler"
What country had a film in 1993?
CREATE TABLE table_name_31 (country VARCHAR, year VARCHAR)
SELECT country FROM table_name_31 WHERE year = 1993
Which Wins has Podiums of 0, and a Series of masters of formula 3?
CREATE TABLE table_name_40 (wins VARCHAR, podiums VARCHAR, series VARCHAR)
SELECT wins FROM table_name_40 WHERE podiums = "0" AND series = "masters of formula 3"
How many U.S Viewers, in millions, were for series # 26?
CREATE TABLE table_12159115_3 (us_viewers__millions_ VARCHAR, series__number VARCHAR)
SELECT us_viewers__millions_ FROM table_12159115_3 WHERE series__number = 26
Name the number of region for 경상남도
CREATE TABLE table_160510_5 (region VARCHAR, hangul_chosongul VARCHAR)
SELECT COUNT(region) FROM table_160510_5 WHERE hangul_chosongul = "경상남도"
Which Features have Yes listed under Datacenter?
CREATE TABLE table_name_18 (features VARCHAR, datacenter VARCHAR)
SELECT features FROM table_name_18 WHERE datacenter = "yes"
How many total songs has the order #1
CREATE TABLE table_21501518_1 (song_choice VARCHAR, order__number VARCHAR)
SELECT COUNT(song_choice) FROM table_21501518_1 WHERE order__number = "1"
What was the Home team Carlton's Ground?
CREATE TABLE table_name_55 (ground VARCHAR, home_team VARCHAR)
SELECT ground FROM table_name_55 WHERE home_team = "carlton"
Find the name of organizations whose names contain "Party".
CREATE TABLE organizations (organization_name VARCHAR)
SELECT organization_name FROM organizations WHERE organization_name LIKE "%Party%"
What is the highest amount of plays for fluminense?
CREATE TABLE table_name_97 (played INTEGER, team VARCHAR)
SELECT MAX(played) FROM table_name_97 WHERE team = "fluminense"
What is Opponent, when Location is "Tokyo , Japan", when Method is "Decision (unanimous)", and when Record is "4-1"?
CREATE TABLE table_name_43 (opponent VARCHAR, record VARCHAR, location VARCHAR, method VARCHAR)
SELECT opponent FROM table_name_43 WHERE location = "tokyo , japan" AND method = "decision (unanimous)" AND record = "4-1"
Which rank took place prior to 2000 when the bike was bsl?
CREATE TABLE table_name_71 (rank VARCHAR, year VARCHAR, bike VARCHAR)
SELECT rank FROM table_name_71 WHERE year < 2000 AND bike = "bsl"
When is the earliest year founded for houses named after the river benue?
CREATE TABLE table_name_56 (founded INTEGER, named_after VARCHAR)
SELECT MIN(founded) FROM table_name_56 WHERE named_after = "river benue"
Which Round has a Nationality of united states, and a College/Junior/Club Team (League) of breck school (ushs)?
CREATE TABLE table_name_19 (round INTEGER, nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT MIN(round) FROM table_name_19 WHERE nationality = "united states" AND college_junior_club_team__league_ = "breck school (ushs)"
What is the total points listed that includes P listed Tyres after 1986?
CREATE TABLE table_name_76 (points INTEGER, tyres VARCHAR, year VARCHAR)
SELECT SUM(points) FROM table_name_76 WHERE tyres = "p" AND year > 1986
What is the total number of losses for entries that have 12 wins and a goal difference smaller than -14?
CREATE TABLE table_name_37 (losses VARCHAR, wins VARCHAR, goal_difference VARCHAR)
SELECT COUNT(losses) FROM table_name_37 WHERE wins = 12 AND goal_difference < -14
What is the lowest number of top 10 finishes
CREATE TABLE table_1875157_1 (top_10 INTEGER)
SELECT MIN(top_10) FROM table_1875157_1
Which region had a label of Central Station?
CREATE TABLE table_name_2 (region VARCHAR, label VARCHAR)
SELECT region FROM table_name_2 WHERE label = "central station"
On which date were the 2003 Toronto Blue Jays 54-55?
CREATE TABLE table_name_5 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_5 WHERE record = "54-55"
Who is the rector of the residence hall who's mascot is the phoxes?
CREATE TABLE table_15873547_1 (rector VARCHAR, mascot VARCHAR)
SELECT rector FROM table_15873547_1 WHERE mascot = "Phoxes"
What are the grades served at Manchester Junior-Senior High School?
CREATE TABLE table_1984697_85 (grades VARCHAR, school VARCHAR)
SELECT grades FROM table_1984697_85 WHERE school = "Manchester Junior-Senior High school"
When was Tree Cornered Tweety, directed by Friz Freleng, released?
CREATE TABLE table_name_35 (release_date VARCHAR, director VARCHAR, title VARCHAR)
SELECT release_date FROM table_name_35 WHERE director = "friz freleng" AND title = "tree cornered tweety"
What is the smallest crowd with the away team of North Melbourne?
CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "north melbourne"
What is the weight of the shell that reached its maximum height at 40° in 12.6 seconds?
CREATE TABLE table_name_6 (shell__lb_ VARCHAR, time_to_ft__m__at_40°__seconds_ VARCHAR)
SELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40°__seconds_ = 12.6
If the population is 1858, what is the maximum ansi code?
CREATE TABLE table_18600760_7 (ansi_code INTEGER, pop__2010_ VARCHAR)
SELECT MAX(ansi_code) FROM table_18600760_7 WHERE pop__2010_ = 1858
When there are 10.02 million viewers what is the rating (18-49)?
CREATE TABLE table_28980706_4 (rating__18_49_ VARCHAR, viewers__millions_ VARCHAR)
SELECT rating__18_49_ FROM table_28980706_4 WHERE viewers__millions_ = "10.02"
What is the lowest episode number where john bird was the 4th performer?
CREATE TABLE table_name_48 (episode INTEGER, performer_4 VARCHAR)
SELECT MIN(episode) FROM table_name_48 WHERE performer_4 = "john bird"
On what date did Aymo Maggi win the Rome Grand Prix ?
CREATE TABLE table_name_6 (date VARCHAR, winning_driver VARCHAR, name VARCHAR)
SELECT date FROM table_name_6 WHERE winning_driver = "aymo maggi" AND name = "rome grand prix"
The record of 11-1 used what method?
CREATE TABLE table_name_35 (method VARCHAR, record VARCHAR)
SELECT method FROM table_name_35 WHERE record = "11-1"
How many years does Team wal-mart / tide participate?
CREATE TABLE table_name_94 (year VARCHAR, team VARCHAR)
SELECT COUNT(year) FROM table_name_94 WHERE team = "wal-mart / tide"
What is the average crowd size for Brunswick street oval?
CREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR)
SELECT AVG(crowd) FROM table_name_32 WHERE venue = "brunswick street oval"
Which years had a rank of more than 6 and involved Oleksandr Kosyrin?
CREATE TABLE table_name_7 (years VARCHAR, rank VARCHAR, name VARCHAR)
SELECT years FROM table_name_7 WHERE rank > 6 AND name = "oleksandr kosyrin"
What movie won with a date of 12/11/03
CREATE TABLE table_name_78 (recipient VARCHAR, date VARCHAR)
SELECT recipient FROM table_name_78 WHERE date = "12/11/03"
What is Position, when College is "Houston"?
CREATE TABLE table_name_97 (position VARCHAR, college VARCHAR)
SELECT position FROM table_name_97 WHERE college = "houston"
What is the evening gown number when the average is more than 8.984 in Louisiana and the preliminary is more than 8.597?
CREATE TABLE table_name_60 (evening_gown VARCHAR, preliminary VARCHAR, average VARCHAR, country VARCHAR)
SELECT COUNT(evening_gown) FROM table_name_60 WHERE average > 8.984 AND country = "louisiana" AND preliminary > 8.597
Which Team has a Score of 108-105 (ot)?
CREATE TABLE table_name_9 (team VARCHAR, score VARCHAR)
SELECT team FROM table_name_9 WHERE score = "108-105 (ot)"