question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the record that has the Rose Garden 20,126 as the attendance?
CREATE TABLE table_name_44 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_44 WHERE attendance = "rose garden 20,126"
Who was the player from the United States in T10 place with a score of 67-77=144?
CREATE TABLE table_name_1 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_1 WHERE country = "united states" AND place = "t10" AND score = 67 - 77 = 144
How many clubs have a try bonus value of 5?
CREATE TABLE table_14070062_3 (club VARCHAR, try_bonus VARCHAR)
SELECT COUNT(club) FROM table_14070062_3 WHERE try_bonus = "5"
What nationality is Barry Duench?
CREATE TABLE table_name_6 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_6 WHERE player = "barry duench"
Which years did raymond floyd win?
CREATE TABLE table_name_43 (year_s__won VARCHAR, player VARCHAR)
SELECT year_s__won FROM table_name_43 WHERE player = "raymond floyd"
How many original dance scores are listed in the event where the compulsory dance was 20.03?
CREATE TABLE table_22644589_4 (original_dance__od_ VARCHAR, compulsory_dance__cd_ VARCHAR)
SELECT COUNT(original_dance__od_) FROM table_22644589_4 WHERE compulsory_dance__cd_ = "20.03"
Find the titles of papers whose first author is affiliated with an institution in the country "Japan" and has last name "Ohori"?
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR, instid VARCHAR, authorder VARCHAR); CREATE TABLE authors (authid VARCHAR, lname VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE inst (instid VARCHAR, country VARCHAR)
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = "Japan" AND t2.authorder = 1 AND t1.lname = "Ohori"
What is the LMS class of trains with numbers 14510-5?
CREATE TABLE table_15412381_5 (LMS VARCHAR, lms_nos VARCHAR)
SELECT LMS AS class FROM table_15412381_5 WHERE lms_nos = "14510-5"
Name the team one for preliminary final
CREATE TABLE table_name_74 (team_1 VARCHAR, name VARCHAR)
SELECT team_1 FROM table_name_74 WHERE name = "preliminary final"
What is the lowest against for games played in the stade colombes, paris venue?
CREATE TABLE table_name_51 (against INTEGER, venue VARCHAR)
SELECT MIN(against) FROM table_name_51 WHERE venue = "stade colombes, paris"
What was Bert Yancey's finishing score to par?
CREATE TABLE table_name_21 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_21 WHERE player = "bert yancey"
How many total players came from the school/club team of De La Salle?
CREATE TABLE table_name_62 (number VARCHAR, school_club_team VARCHAR)
SELECT COUNT(number) FROM table_name_62 WHERE school_club_team = "de la salle"
What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision.
CREATE TABLE tryout (cName VARCHAR, decision VARCHAR); CREATE TABLE college (state VARCHAR, enr VARCHAR, cName VARCHAR)
SELECT DISTINCT T1.state, T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
What is the other abbreviation of the constellation that has hydrae /ˈhaɪdriː/ as genitive?
CREATE TABLE table_287159_1 (other_abbreviation VARCHAR, genitive VARCHAR)
SELECT other_abbreviation FROM table_287159_1 WHERE genitive = "Hydrae /ˈhaɪdriː/"
What was the result in 1973 when the surface was clay?
CREATE TABLE table_name_73 (outcome VARCHAR, year VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_73 WHERE year = 1973 AND surface = "clay"
In what Season does the Internazionale Club have more than 2 Apps?
CREATE TABLE table_name_90 (season VARCHAR, apps VARCHAR, club VARCHAR)
SELECT season FROM table_name_90 WHERE apps > 2 AND club = "internazionale"
What is the Date that has a Outcome of winner, and çağla büyükakçay was the opponent in the final?
CREATE TABLE table_name_55 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_55 WHERE outcome = "winner" AND opponent_in_the_final = "çağla büyükakçay"
What's the NO of the standard with HC of 1.23 g/kWh?
CREATE TABLE table_2780146_6 (no_x__g_kwh_ VARCHAR, hc__g_kwh_ VARCHAR)
SELECT no_x__g_kwh_ FROM table_2780146_6 WHERE hc__g_kwh_ = "1.23"
what country has dubai
CREATE TABLE table_name_89 (country VARCHAR, town VARCHAR)
SELECT country FROM table_name_89 WHERE town = "dubai"
Name the championship for clay and corrado barazzutti
CREATE TABLE table_23235767_4 (championship VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT championship FROM table_23235767_4 WHERE surface = "Clay" AND opponent_in_the_final = "Corrado Barazzutti"
Who got 189,524 votes?
CREATE TABLE table_name_21 (queens VARCHAR, manhattan VARCHAR)
SELECT queens FROM table_name_21 WHERE manhattan = "189,524"
Which Opponent has a Game of 63?
CREATE TABLE table_name_33 (opponent VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_33 WHERE game = 63
Which club has Jamie Korab as Lead?
CREATE TABLE table_name_69 (club VARCHAR, lead VARCHAR)
SELECT club FROM table_name_69 WHERE lead = "jamie korab"
Which School/Club Team did not make it to round 2?
CREATE TABLE table_name_5 (school_club_team VARCHAR, round INTEGER)
SELECT school_club_team FROM table_name_5 WHERE round < 2
Who is the opponent of the game with a game number larger than 5 on June 22?
CREATE TABLE table_name_85 (opponent VARCHAR, game VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_85 WHERE game > 5 AND date = "june 22"
Tell me the lowest height for class of hewitt and prom less than 148
CREATE TABLE table_name_37 (height__m_ INTEGER, class VARCHAR, prom__m_ VARCHAR)
SELECT MIN(height__m_) FROM table_name_37 WHERE class = "hewitt" AND prom__m_ < 148
What is the lowest number of fixtures?
CREATE TABLE table_27973624_1 (number_of_fixtures INTEGER)
SELECT MIN(number_of_fixtures) FROM table_27973624_1
What was the result in Pennsylvania 13?
CREATE TABLE table_1342256_38 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1342256_38 WHERE district = "Pennsylvania 13"
Which opponent's game was less than 76 when the march was 10?
CREATE TABLE table_name_45 (opponent VARCHAR, game VARCHAR, march VARCHAR)
SELECT opponent FROM table_name_45 WHERE game < 76 AND march = 10
Which Event has the Opponent, Jason Yee?
CREATE TABLE table_name_3 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_3 WHERE opponent = "jason yee"
What is the place with a to par of E and a score of 69-69-72=210?
CREATE TABLE table_name_59 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_59 WHERE to_par = "e" AND score = 69 - 69 - 72 = 210
What is the Reserved for (SC / ST /None) when the constituency number is 203?
CREATE TABLE table_name_81 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
SELECT reserved_for___sc___st__none_ FROM table_name_81 WHERE constituency_number = "203"
What was the school for the player who was a DL?
CREATE TABLE table_name_53 (school_club_team VARCHAR, position VARCHAR)
SELECT school_club_team FROM table_name_53 WHERE position = "dl"
What is the total number of 3rd place entries that have exactly 8 total placings?
CREATE TABLE table_20823568_2 (third_place_s_ VARCHAR, total_placing_s_ VARCHAR)
SELECT COUNT(third_place_s_) FROM table_20823568_2 WHERE total_placing_s_ = 8
What is the brand of DXRE?
CREATE TABLE table_name_35 (branding VARCHAR, callsign VARCHAR)
SELECT branding FROM table_name_35 WHERE callsign = "dxre"
What is the Date of Tie no 9?
CREATE TABLE table_name_61 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_61 WHERE tie_no = "9"
What is the first year that there was a Satellite Award?
CREATE TABLE table_name_90 (year INTEGER, festival_organization VARCHAR)
SELECT MIN(year) FROM table_name_90 WHERE festival_organization = "satellite award"
Tell me the D 47 for D 46 of r 35
CREATE TABLE table_name_44 (d_47 VARCHAR, d_46 VARCHAR)
SELECT d_47 FROM table_name_44 WHERE d_46 = "r 35"
Who built the conant creek pegram truss railroad bridge?
CREATE TABLE table_name_71 (built VARCHAR, name VARCHAR)
SELECT built FROM table_name_71 WHERE name = "conant creek pegram truss railroad bridge"
Who was the home team when VFL played at Windy Hill?
CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_16 WHERE venue = "windy hill"
what's the naturalisation by marriage with numer of jamaicans granted british citizenship being 3165
CREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, numer_of_jamaicans_granted_british_citizenship VARCHAR)
SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE numer_of_jamaicans_granted_british_citizenship = 3165
Which home team score occurred at Victoria Park?
CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_42 WHERE venue = "victoria park"
What date was the name Coppa Acerbo?
CREATE TABLE table_name_7 (date VARCHAR, name VARCHAR)
SELECT date FROM table_name_7 WHERE name = "coppa acerbo"
What week were there 56,023 people in attendance?
CREATE TABLE table_name_29 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_name_29 WHERE attendance = 56 OFFSET 023
Tell me the record for the date of August 18.
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_55 WHERE date = "august 18"
Which Province has a IATA of aku?
CREATE TABLE table_name_62 (province VARCHAR, iata VARCHAR)
SELECT province FROM table_name_62 WHERE iata = "aku"
What is the Tries against for the team that has 207 points for?
CREATE TABLE table_name_4 (tries_against VARCHAR, points_for VARCHAR)
SELECT tries_against FROM table_name_4 WHERE points_for = "207"
Performer 1 of Stephen Frost, and a Performer 2 of Josie Lawrence, and a Date of 15 September 1995 is what performer 3?
CREATE TABLE table_name_79 (performer_3 VARCHAR, date VARCHAR, performer_1 VARCHAR, performer_2 VARCHAR)
SELECT performer_3 FROM table_name_79 WHERE performer_1 = "stephen frost" AND performer_2 = "josie lawrence" AND date = "15 september 1995"
In what season was the conference record for the Pandas 15-1-1?
CREATE TABLE table_27069503_2 (season VARCHAR, conf_record VARCHAR)
SELECT season FROM table_27069503_2 WHERE conf_record = "15-1-1"
What is the largest crowd when the away team is Hawthorn?
CREATE TABLE table_name_49 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_49 WHERE away_team = "hawthorn"
What's the lowest Code that's got a Most Spoke Language of Xhosa, a Place of Addo Elephant National Park, and an Area (KM 2) that's smaller than 1.08?
CREATE TABLE table_name_92 (code INTEGER, area__km_2__ VARCHAR, most_spoken_language VARCHAR, place VARCHAR)
SELECT MIN(code) FROM table_name_92 WHERE most_spoken_language = "xhosa" AND place = "addo elephant national park" AND area__km_2__ < 1.08
What is Syracuse, when Utica is Solsville Shale And Sandstone?
CREATE TABLE table_name_51 (syracuse VARCHAR, utica VARCHAR)
SELECT syracuse FROM table_name_51 WHERE utica = "solsville shale and sandstone"
Who is the player who's number is 3?
CREATE TABLE table_11734041_11 (player VARCHAR, no_s_ VARCHAR)
SELECT player FROM table_11734041_11 WHERE no_s_ = "3"
How many different degree names are offered?
CREATE TABLE Degree_Programs (degree_summary_name VARCHAR)
SELECT COUNT(DISTINCT degree_summary_name) FROM Degree_Programs
The driver in class A with 125 laps is in what position?
CREATE TABLE table_name_92 (position VARCHAR, class VARCHAR, laps VARCHAR)
SELECT position FROM table_name_92 WHERE class = "a" AND laps = 125
What was the score of the home team when the away team was Geelong?
CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_59 WHERE away_team = "geelong"
Who has the lowest laps with 29 points on 1 grid?
CREATE TABLE table_name_16 (laps INTEGER, points VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_16 WHERE points = 29 AND grid < 1
What is Director, when Season is 1.4?
CREATE TABLE table_name_11 (director VARCHAR, season VARCHAR)
SELECT director FROM table_name_11 WHERE season = 1.4
What album was the song Shimmy Jimmy from the episode titled Toy to the world on?
CREATE TABLE table_23667534_1 (album_s_ VARCHAR, episode_title VARCHAR, song_s__title VARCHAR)
SELECT album_s_ FROM table_23667534_1 WHERE episode_title = "Toy to the World" AND song_s__title = "Shimmy Jimmy"
Show all countries and the number of singers in each country.
CREATE TABLE singer (country VARCHAR)
SELECT country, COUNT(*) FROM singer GROUP BY country
what is the tries fow when losing bonus is losing bonus?
CREATE TABLE table_name_47 (tries_for VARCHAR, losing_bonus VARCHAR)
SELECT tries_for FROM table_name_47 WHERE losing_bonus = "losing bonus"
Name the growth rate for hooghly
CREATE TABLE table_2527063_3 (growth_rate VARCHAR, district VARCHAR)
SELECT growth_rate FROM table_2527063_3 WHERE district = "Hooghly"
What is the enrollment for the school Highland?
CREATE TABLE table_name_30 (enrollment INTEGER, school VARCHAR)
SELECT SUM(enrollment) FROM table_name_30 WHERE school = "highland"
What is the lowest number of bronze medals for teams ranked below 13?
CREATE TABLE table_name_91 (bronze INTEGER, rank INTEGER)
SELECT MIN(bronze) FROM table_name_91 WHERE rank > 13
What is the Length, when the Composer(s) is Sakdatorn, and when the Arranger(s) is Jitrakorn Mongkoltham?
CREATE TABLE table_name_4 (length VARCHAR, composer_s_ VARCHAR, arranger_s_ VARCHAR)
SELECT length FROM table_name_4 WHERE composer_s_ = "sakdatorn" AND arranger_s_ = "jitrakorn mongkoltham"
Find the name of the department that offers the largest number of credits of all classes.
CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR, crs_credit INTEGER)
SELECT T3.dept_name FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T1.dept_code = T3.dept_code GROUP BY T1.dept_code ORDER BY SUM(T1.crs_credit) DESC LIMIT 1
What loss has october 1 as the date?
CREATE TABLE table_name_47 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_47 WHERE date = "october 1"
Who is the minister with a term end on 10 March 1974?
CREATE TABLE table_name_71 (minister VARCHAR, term_end VARCHAR)
SELECT minister FROM table_name_71 WHERE term_end = "10 march 1974"
What were the high points on May 12?
CREATE TABLE table_name_4 (high_points VARCHAR, date VARCHAR)
SELECT high_points FROM table_name_4 WHERE date = "may 12"
What is the 2007 value with 1r in 2009 in the US Open?
CREATE TABLE table_name_26 (tournament VARCHAR)
SELECT 2007 FROM table_name_26 WHERE 2009 = "1r" AND tournament = "us open"
What is the economy when the strike rate is 54.0?
CREATE TABLE table_19662262_6 (economy_rate VARCHAR, strike_rate VARCHAR)
SELECT economy_rate FROM table_19662262_6 WHERE strike_rate = "54.0"
What game did Eoin Holohan play in?
CREATE TABLE table_name_69 (game VARCHAR, player VARCHAR)
SELECT game FROM table_name_69 WHERE player = "eoin holohan"
Result of l 17–20 had what attendance?
CREATE TABLE table_name_31 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_31 WHERE result = "l 17–20"
The Europe listing of 00 0 0 (0) also has what listed as the total?
CREATE TABLE table_name_86 (total VARCHAR, europe VARCHAR)
SELECT total FROM table_name_86 WHERE europe = "00 0 0 (0)"
What is Record, when Opponent is "New York Knicks"?
CREATE TABLE table_name_11 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_11 WHERE opponent = "new york knicks"
Which captain has howard wilkinson as the manager?
CREATE TABLE table_name_52 (captain VARCHAR, manager VARCHAR)
SELECT captain FROM table_name_52 WHERE manager = "howard wilkinson"
Which week was the October 17, 2004 game played?
CREATE TABLE table_name_76 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_76 WHERE date = "october 17, 2004"
What is the round of club bečej?
CREATE TABLE table_name_38 (round VARCHAR, club VARCHAR)
SELECT round FROM table_name_38 WHERE club = "bečej"
What's the to par for england when the score is less than 71?
CREATE TABLE table_name_34 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_34 WHERE country = "england" AND score < 71
Where did steve smith go to school?
CREATE TABLE table_name_53 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_53 WHERE player = "steve smith"
What is the winner in event number 15h?
CREATE TABLE table_22050544_1 (winner VARCHAR, event__number VARCHAR)
SELECT winner FROM table_22050544_1 WHERE event__number = "15H"
What was Nolan Henke's To par when he placed in t3?
CREATE TABLE table_name_96 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_96 WHERE place = "t3" AND player = "nolan henke"
What's the mean number of wins with a rank that's more than 5?
CREATE TABLE table_name_91 (wins INTEGER, rank INTEGER)
SELECT AVG(wins) FROM table_name_91 WHERE rank > 5
What is the runner-up when the total is 5?
CREATE TABLE table_name_51 (runner_up VARCHAR, total VARCHAR)
SELECT runner_up FROM table_name_51 WHERE total = 5
Name the score on october 14
CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_59 WHERE date = "october 14"
What is the max 2010 value for a 1980 gap value is 2.43?
CREATE TABLE table_30133_3 (gap_from_thailand_as_of_1980__times_ VARCHAR)
SELECT MAX(2010) FROM table_30133_3 WHERE gap_from_thailand_as_of_1980__times_ = "2.43"
What is listed as the highest Gold that also has a Silver that's smaller than 1, and has a Total that's smaller than 0?
CREATE TABLE table_name_23 (gold INTEGER, silver VARCHAR, total VARCHAR)
SELECT MAX(gold) FROM table_name_23 WHERE silver < 1 AND total < 0
What is the most wins with 0 byes?
CREATE TABLE table_name_84 (wins INTEGER, byes INTEGER)
SELECT MAX(wins) FROM table_name_84 WHERE byes > 0
What is the minimum number of barangays where the type is component city?
CREATE TABLE table_255602_1 (no_of_barangays INTEGER, type VARCHAR)
SELECT MIN(no_of_barangays) FROM table_255602_1 WHERE type = "Component City"
What was the maximum finish position of the car whose constructor was Joe Gibbs Racing, driven by Denny Hamlin?
CREATE TABLE table_27396005_2 (pos INTEGER, constructor VARCHAR, driver VARCHAR)
SELECT MAX(pos) FROM table_27396005_2 WHERE constructor = "Joe Gibbs Racing" AND driver = "Denny Hamlin"
What is the Nation, when the number of Bronze is less than 17, and when the number of Gold is less than 16?
CREATE TABLE table_name_26 (nation VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT nation FROM table_name_26 WHERE bronze < 17 AND gold < 16
What is the rank when time is 11.15 and lane is bigger than 7 with notes Q, PB?
CREATE TABLE table_name_76 (rank INTEGER, lane VARCHAR, notes VARCHAR, time___sec__ VARCHAR)
SELECT SUM(rank) FROM table_name_76 WHERE notes = "q, pb" AND time___sec__ = 11.15 AND lane > 7
Name the minoru that has a hikaru sato of x and super crazy of yang (8:36)
CREATE TABLE table_name_22 (minoru VARCHAR, hikaru_sato VARCHAR, super_crazy VARCHAR)
SELECT minoru FROM table_name_22 WHERE hikaru_sato = "x" AND super_crazy = "yang (8:36)"
What year was taxidermia nominated?
CREATE TABLE table_14975415_1 (year__ceremony_ VARCHAR, hungarian_title VARCHAR)
SELECT year__ceremony_ FROM table_14975415_1 WHERE hungarian_title = "Taxidermia"
What is the title of series #1?
CREATE TABLE table_14346353_1 (title VARCHAR, series__number VARCHAR)
SELECT title FROM table_14346353_1 WHERE series__number = 1
What F Player was previously with the New York Knicks?
CREATE TABLE table_name_73 (player VARCHAR, pos VARCHAR, previous_team VARCHAR)
SELECT player FROM table_name_73 WHERE pos = "f" AND previous_team = "new york knicks"
Which author is located in Mexico?
CREATE TABLE table_name_73 (authors VARCHAR, location VARCHAR)
SELECT authors FROM table_name_73 WHERE location = "mexico"
Which player is from Ohio State College?
CREATE TABLE table_name_55 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_55 WHERE college = "ohio state"
What is the highest crowd at windy hill?
CREATE TABLE table_name_51 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_51 WHERE venue = "windy hill"
Who were the umpires when Paul Medhurst (C) won the Simpson Medal?
CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Medhurst (C)"