answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT MIN(laps) FROM table_name_72 WHERE qual = "124.619"
What is Chitwood's lowest completed number of laps with a qualifying time of 124.619?
CREATE TABLE table_name_72 (laps INTEGER, qual VARCHAR)
SELECT notable_for FROM table_name_23 WHERE connection_with_australia = "born in australia" AND name = "rick springfield"
What is the person born in Australia, rick springfield notable for?
CREATE TABLE table_name_23 (notable_for VARCHAR, connection_with_australia VARCHAR, name VARCHAR)
SELECT score FROM table_name_47 WHERE result = "2–2" AND date = "04 dec 2005"
What is the Score that has a Result of 2–2 on 04 Dec 2005?
CREATE TABLE table_name_47 (score VARCHAR, result VARCHAR, date VARCHAR)
SELECT oil_rig FROM table_20183474_1 WHERE place = "7th"
What's the oil rig of the song that ended on 7th place?
CREATE TABLE table_20183474_1 (oil_rig VARCHAR, place VARCHAR)
SELECT score FROM table_name_59 WHERE partner = "ksenia lykina" AND tournament = "kurume"
What was the score of the final in which Melanie South played with partner Ksenia Lykina during the Kurume Cup tournament?
CREATE TABLE table_name_59 (score VARCHAR, partner VARCHAR, tournament VARCHAR)
SELECT purse FROM table_name_33 WHERE date = "january 3, 2010"
What is the Purse on January 3, 2010?
CREATE TABLE table_name_33 (purse VARCHAR, date VARCHAR)
SELECT MAX(draws) FROM table_18607260_6
Name the most draws
CREATE TABLE table_18607260_6 (draws INTEGER)
SELECT construction_start FROM table_name_39 WHERE inauguration_date = "2010 june"
What Construction Start has an Inauguration Date of 2010 june?
CREATE TABLE table_name_39 (construction_start VARCHAR, inauguration_date VARCHAR)
SELECT score FROM table_name_32 WHERE champion = "masahiro kawamura"
What is the score of champion masahiro kawamura?
CREATE TABLE table_name_32 (score VARCHAR, champion VARCHAR)
SELECT to_par FROM table_name_28 WHERE player = "phil mickelson"
What was Phil Mickelson's score to par?
CREATE TABLE table_name_28 (to_par VARCHAR, player VARCHAR)
SELECT COUNT(points) FROM table_name_71 WHERE engine = "judd v8" AND year = 1989
How many points did Judd v8 has in 1989?
CREATE TABLE table_name_71 (points VARCHAR, engine VARCHAR, year VARCHAR)
SELECT d_40 FROM table_name_17 WHERE d_44 = "d 15"
I want the D 40 with D 44 of d 15
CREATE TABLE table_name_17 (d_40 VARCHAR, d_44 VARCHAR)
SELECT tennessee FROM table_name_11 WHERE kentucky = "larry seiple"
What is the Tennessee with a Kentucky of Larry Seiple
CREATE TABLE table_name_11 (tennessee VARCHAR, kentucky VARCHAR)
SELECT COUNT(title) FROM table_10875694_11 WHERE product_no = "SCUS-97330"
How many titles have the product number SCUS-97330?
CREATE TABLE table_10875694_11 (title VARCHAR, product_no VARCHAR)
SELECT candidates FROM table_1341663_19 WHERE incumbent = "Dave Treen"
What other cadidate ran against Dave Treen?
CREATE TABLE table_1341663_19 (candidates VARCHAR, incumbent VARCHAR)
SELECT driver FROM table_name_18 WHERE laps = 58
Tell me the driver for 58 laps
CREATE TABLE table_name_18 (driver VARCHAR, laps VARCHAR)
SELECT location FROM table_16432543_1 WHERE established = 1923
What is the location of the school established in 1923
CREATE TABLE table_16432543_1 (location VARCHAR, established VARCHAR)
SELECT county FROM table_name_98 WHERE location = "st. augustine"
What county is the St. Augustine bridge in?
CREATE TABLE table_name_98 (county VARCHAR, location VARCHAR)
SELECT COUNT(gold_medals) FROM table_name_27 WHERE total_medals = 2 AND bronze_medals < 0
How many gold medals for the school with 2 total medals and under 0 bronzes?
CREATE TABLE table_name_27 (gold_medals VARCHAR, total_medals VARCHAR, bronze_medals VARCHAR)
SELECT MIN(points) FROM table_name_52 WHERE team = "mv agusta" AND rank = "13th" AND wins < 0
Name the least point for mv agusta and rank of 13th for wins less than 0
CREATE TABLE table_name_52 (points INTEGER, wins VARCHAR, team VARCHAR, rank VARCHAR)
SELECT mountains_classification FROM table_name_82 WHERE general_classification = "kim kirchen" AND stage = "7"
What's the mountains classification of Stage 7 when Kim Kirchen was the general classification?
CREATE TABLE table_name_82 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)
SELECT engine FROM table_name_2 WHERE year > 1982 AND points = 11 AND team = "curb motorsports"
What engine was used by Curb Motorsports after 1982 that had 11 points?
CREATE TABLE table_name_2 (engine VARCHAR, team VARCHAR, year VARCHAR, points VARCHAR)
SELECT salary_range FROM table_27257896_2 WHERE indians = "8.2%"
If the Indians are 8.2%, what is the salary range?
CREATE TABLE table_27257896_2 (salary_range VARCHAR, indians VARCHAR)
SELECT form_factor FROM table_name_84 WHERE controller = "sandforce" AND capacities__gb_ = "80/120/180/240/360/480" AND introduced = "july 2013"
Which value for Form factor has Sandforce with Capacity 80/120/180/240/360/480 introduced in July 2013?
CREATE TABLE table_name_84 (form_factor VARCHAR, introduced VARCHAR, controller VARCHAR, capacities__gb_ VARCHAR)
SELECT nickname FROM table_name_34 WHERE division = "division 2"
What is the nickname of the team in division 2?
CREATE TABLE table_name_34 (nickname VARCHAR, division VARCHAR)
SELECT outcome FROM table_2362486_1 WHERE score_in_the_final = "6–7(1), 2–6, 6–4, 7–5, 6–7(2)"
What was the outcome in the championship where the final score was 6–7(1), 2–6, 6–4, 7–5, 6–7(2)?
CREATE TABLE table_2362486_1 (outcome VARCHAR, score_in_the_final VARCHAR)
SELECT opponent_in_the_final FROM table_name_3 WHERE date = "august 14, 2006"
Who is the opponent in the final on August 14, 2006?
CREATE TABLE table_name_3 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT crowd FROM table_name_18 WHERE venue = "victoria park"
What was the crowd size at Victoria Park?
CREATE TABLE table_name_18 (crowd VARCHAR, venue VARCHAR)
SELECT SUM(category_1) FROM table_name_89 WHERE category_3 = "300"
What's the sum of all values in category 1 when category 3 is equal to 300?
CREATE TABLE table_name_89 (category_1 INTEGER, category_3 VARCHAR)
SELECT d_47 FROM table_name_35 WHERE d_48 = "d 49" AND d_42 = "r 42"
Name the D 47 when it has a D 48 of d 49 and D 42 of r 42
CREATE TABLE table_name_35 (d_47 VARCHAR, d_48 VARCHAR, d_42 VARCHAR)
SELECT production_code FROM table_27776266_1 WHERE us_viewers__million_ = "14.79"
What was the production code of the episode with an audience of 14.79 million in the US?
CREATE TABLE table_27776266_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)
SELECT player FROM table_name_97 WHERE money___£__ = "140,000"
Who is the player with £140,000?
CREATE TABLE table_name_97 (player VARCHAR, money___£__ VARCHAR)
SELECT MAX(Ends) AS lost FROM table_1644857_2 WHERE pf = 87
How many ends were lost by the country whose points for (PF) was 87?
CREATE TABLE table_1644857_2 (Ends INTEGER, pf VARCHAR)
SELECT location FROM table_name_14 WHERE date = "11 november"
What is the location of the race on 11 November?
CREATE TABLE table_name_14 (location VARCHAR, date VARCHAR)
SELECT score_composer FROM table_name_5 WHERE year = 1967
Who was the score composer of the film released in 1967?
CREATE TABLE table_name_5 (score_composer VARCHAR, year VARCHAR)
SELECT COUNT(channel) FROM table_14902507_2 WHERE year = "2001-02"
How many channels were the games shown on in 2001-02?
CREATE TABLE table_14902507_2 (channel VARCHAR, year VARCHAR)
SELECT circuit FROM table_name_11 WHERE date = "10/08/86"
For the race held on 10/08/86, what was the circuit?
CREATE TABLE table_name_11 (circuit VARCHAR, date VARCHAR)
SELECT rank FROM table_21109892_1 WHERE value_world_rank = "7"
When the value world rank is 7, what is the rank?
CREATE TABLE table_21109892_1 (rank VARCHAR, value_world_rank VARCHAR)
SELECT fname FROM authors ORDER BY fname
Find the first names of all the authors ordered in alphabetical order.
CREATE TABLE authors (fname VARCHAR)
SELECT SUM(attendance) FROM table_name_68 WHERE date = "april 29"
on april 29, what was the attendance?
CREATE TABLE table_name_68 (attendance INTEGER, date VARCHAR)
SELECT hispanic___percentage_ FROM table_14754471_1 WHERE free_reduced_lunch___percentage_ = "81.4"
What percentage of hispanics are there when the free/reduced lunch percentage is 81.4?
CREATE TABLE table_14754471_1 (hispanic___percentage_ VARCHAR, free_reduced_lunch___percentage_ VARCHAR)
SELECT player FROM table_19018191_5 WHERE l_apps = 27
Name the player for l apps is 27
CREATE TABLE table_19018191_5 (player VARCHAR, l_apps VARCHAR)
SELECT series_premiere FROM table_29487895_2 WHERE source_s_ = "American Disney XD Tron Uprising Site"
What is the premiere date of the american disney xd tron uprising site?
CREATE TABLE table_29487895_2 (series_premiere VARCHAR, source_s_ VARCHAR)
SELECT directed_by FROM table_25740548_2 WHERE written_by = "Matthew Lau"
Who was the director for episodes that were written be Matthew Lau?
CREATE TABLE table_25740548_2 (directed_by VARCHAR, written_by VARCHAR)
SELECT reference FROM table_30011_2 WHERE example = "AF117"
What is every reference for the example of AF117?
CREATE TABLE table_30011_2 (reference VARCHAR, example VARCHAR)
SELECT school_club_team FROM table_name_24 WHERE player = "dahntay jones"
Which school did Dahntay Jones graduate from?
CREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR)
SELECT arrival FROM table_18332845_2 WHERE calling_at = "Wansford, Peterborough East"
What was the arrival for Wansford, Peterborough East?
CREATE TABLE table_18332845_2 (arrival VARCHAR, calling_at VARCHAR)
SELECT COUNT(against) FROM table_name_47 WHERE losses = 13 AND draws > 0
What's the against when the draw was more than 0 and had 13 losses?
CREATE TABLE table_name_47 (against VARCHAR, losses VARCHAR, draws VARCHAR)
SELECT place FROM table_name_71 WHERE score = 69 - 69 = 138 AND player = "fred funk"
What place does Fred Funk, who has a score of 69-69=138, have?
CREATE TABLE table_name_71 (place VARCHAR, player VARCHAR, score VARCHAR)
SELECT AVG(losses) FROM table_name_35 WHERE wimmera_fl = "minyip murtoa"
Which Losses have a Wimmera FL of minyip murtoa?
CREATE TABLE table_name_35 (losses INTEGER, wimmera_fl VARCHAR)
SELECT DISTINCT Major FROM Student
Show all majors.
CREATE TABLE Student (Major VARCHAR)
SELECT pos FROM table_name_29 WHERE driver = "brendan gaughan"
What is Driver Brendan Gaughan's Pos?
CREATE TABLE table_name_29 (pos VARCHAR, driver VARCHAR)
SELECT COUNT(overall) FROM table_name_39 WHERE round > 7 AND pick < 7
How many Overall went in a round larger than 7 with a pick less than 7?
CREATE TABLE table_name_39 (overall VARCHAR, round VARCHAR, pick VARCHAR)
SELECT college FROM table_26996293_1 WHERE position = "DE"
What college did the player who played DE go to?
CREATE TABLE table_26996293_1 (college VARCHAR, position VARCHAR)
SELECT MAX(discs) FROM table_14562722_2
Name the maximum discs
CREATE TABLE table_14562722_2 (discs INTEGER)
SELECT champion FROM table_name_65 WHERE venue = "berlin" AND attendance = "100,000" AND result = "2-0"
Who was the champion at berlin when the result was 2-0 with 100,000 fans in attendance?
CREATE TABLE table_name_65 (champion VARCHAR, result VARCHAR, venue VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_6 WHERE date = "november 22, 1942"
Name the opponent on november 22, 1942
CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR)
SELECT AVG(played) FROM table_name_18 WHERE lost > 9 AND points < 15 AND position < 12 AND drawn < 2
Which Played has a Lost larger than 9, and a Points smaller than 15, and a Position smaller than 12, and a Drawn smaller than 2?
CREATE TABLE table_name_18 (played INTEGER, drawn VARCHAR, position VARCHAR, lost VARCHAR, points VARCHAR)
SELECT college FROM table_12165135_1 WHERE afl_team = "Buffalo Bills"
What is the college of the afl team of buffalo bills?
CREATE TABLE table_12165135_1 (college VARCHAR, afl_team VARCHAR)
SELECT opponents FROM table_name_2 WHERE kick_off = "2007-03-06, 20:45"
WHAT OPPONENT HAD A KICKOFF OF 2007-03-06, 20:45?
CREATE TABLE table_name_2 (opponents VARCHAR, kick_off VARCHAR)
SELECT us_viewers__millions_ FROM table_19401346_1 WHERE no_in_season = 1
How many millions of people in the US saw the episode with season number 1?
CREATE TABLE table_19401346_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
SELECT lost FROM table_name_11 WHERE points_for = "257"
What is Lost, when Points For is "257"?
CREATE TABLE table_name_11 (lost VARCHAR, points_for VARCHAR)
SELECT COUNT(competition_description) FROM table_25143284_1 WHERE score_final = "15.650"
How many competitions had a final score of 15.650?
CREATE TABLE table_25143284_1 (competition_description VARCHAR, score_final VARCHAR)
SELECT team FROM table_11961582_6 WHERE location_attendance = "Philips Arena 18,227"
What is the team located at philips arena 18,227?
CREATE TABLE table_11961582_6 (team VARCHAR, location_attendance VARCHAR)
SELECT Box AS score FROM table_name_20 WHERE score = "86-96"
What was the box score during a game that had a score of 86-96?
CREATE TABLE table_name_20 (Box VARCHAR, score VARCHAR)
SELECT icao FROM table_name_76 WHERE airport = "fiumicino airport"
for fiumicino airport what is the icao?
CREATE TABLE table_name_76 (icao VARCHAR, airport VARCHAR)
SELECT assists FROM table_19722233_5 WHERE points = 251
how many assists did the player who scored 251 points make
CREATE TABLE table_19722233_5 (assists VARCHAR, points VARCHAR)
SELECT COUNT(hometown) FROM table_14966667_19 WHERE position = "FS"
how many hometowns use the position of fs?
CREATE TABLE table_14966667_19 (hometown VARCHAR, position VARCHAR)
SELECT europe FROM table_name_72 WHERE japan = "january 28, 2010"
Tell me europe for japan of january 28, 2010
CREATE TABLE table_name_72 (europe VARCHAR, japan VARCHAR)
SELECT MIN(top_10) FROM table_name_32 WHERE tournament = "the open championship" AND wins > 0
What is the minimum Top-10 when the Open Championship was the tournament and the wins greater than 0?
CREATE TABLE table_name_32 (top_10 INTEGER, tournament VARCHAR, wins VARCHAR)
SELECT position FROM table_11734041_11 WHERE school_club_team_country = "Purdue"
What is the position of the player that came from the school/club team/country of Purdue?
CREATE TABLE table_11734041_11 (position VARCHAR, school_club_team_country VARCHAR)
SELECT control FROM table_2076533_1 WHERE main_location = "Albany"
Name the control for albany
CREATE TABLE table_2076533_1 (control VARCHAR, main_location VARCHAR)
SELECT amenity_name FROM dorm_amenity ORDER BY amenity_name
List in alphabetic order all different amenities.
CREATE TABLE dorm_amenity (amenity_name VARCHAR)
SELECT division_four FROM table_24575253_4 WHERE division_five = "Godstone"
When godstone is in division five who is in division four?
CREATE TABLE table_24575253_4 (division_four VARCHAR, division_five VARCHAR)
SELECT loss FROM table_name_68 WHERE opponent = "indians" AND record = "15-15"
What was the loss of the game against the Indians when the record was 15-15?
CREATE TABLE table_name_68 (loss VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT SUM(round) FROM table_name_41 WHERE position = "defenceman"
What is the sum of the round with the defenceman?
CREATE TABLE table_name_41 (round INTEGER, position VARCHAR)
SELECT avgatt FROM table_name_90 WHERE rank = "5"
What is the average attendance when the rank is 5?
CREATE TABLE table_name_90 (avgatt VARCHAR, rank VARCHAR)
SELECT year FROM table_name_31 WHERE laps = 112
Which year has 112 laps?
CREATE TABLE table_name_31 (year VARCHAR, laps VARCHAR)
SELECT away_team AS score FROM table_name_51 WHERE away_team = "st kilda"
How much did the away team St Kilda score?
CREATE TABLE table_name_51 (away_team VARCHAR)
SELECT original_air_date FROM table_15026994_3 WHERE director = "Paul Marcus"
What is the original air date of the episode directed by Paul Marcus?
CREATE TABLE table_15026994_3 (original_air_date VARCHAR, director VARCHAR)
SELECT name FROM table_name_12 WHERE displacement = "8,305 t"
what is the name when the displacement is 8,305 t?
CREATE TABLE table_name_12 (name VARCHAR, displacement VARCHAR)
SELECT COUNT(psychological_dependence) FROM table_name_91 WHERE pleasure = 2.3 AND mean < 1.9300000000000002
What is the total number of Psychological Dependence, when Pleasure is "2.3", and when Mean is less than 1.9300000000000002?
CREATE TABLE table_name_91 (psychological_dependence VARCHAR, pleasure VARCHAR, mean VARCHAR)
SELECT date FROM table_name_84 WHERE game = 1
What date has 1 for the game?
CREATE TABLE table_name_84 (date VARCHAR, game VARCHAR)
SELECT score FROM table_name_57 WHERE date = "february 10"
What score has February 10 as the date?
CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)
SELECT build_date FROM table_name_80 WHERE prr_class = "gf30a"
What is the build date for PRR Class gf30a?
CREATE TABLE table_name_80 (build_date VARCHAR, prr_class VARCHAR)
SELECT record FROM table_name_1 WHERE score = "110-106"
What is the record of the game with a 110-106 score?
CREATE TABLE table_name_1 (record VARCHAR, score VARCHAR)
SELECT name FROM table_name_85 WHERE term_ending < 2018 AND nationality = "new zealand"
Term Ending smaller than 2018, and a Nationality of new zealand what is the name?
CREATE TABLE table_name_85 (name VARCHAR, term_ending VARCHAR, nationality VARCHAR)
SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38
What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"?
CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR)
SELECT gold FROM table_name_8 WHERE bronze = "17" AND total = "31"
How many golds were there in a game that has 17 bronze and a total of 31?
CREATE TABLE table_name_8 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT january FROM table_27537870_6 WHERE decision = "Lalime"
If the decision was by Lalime, when in January was it made?
CREATE TABLE table_27537870_6 (january VARCHAR, decision VARCHAR)
SELECT progressive_ticket FROM table_name_28 WHERE democratic_ticket = "john t. norton"
Who was on the Progressive ticket when John T. Norton was on the Democratic ticket?
CREATE TABLE table_name_28 (progressive_ticket VARCHAR, democratic_ticket VARCHAR)
SELECT result FROM table_name_15 WHERE home_away = "away" AND date = "august 4"
What is the result of the away game played on August 4?
CREATE TABLE table_name_15 (result VARCHAR, home_away VARCHAR, date VARCHAR)
SELECT SUM(year) FROM table_name_15 WHERE category = "best actor in a musical"
What year had Best Actor in a Musical as a category?
CREATE TABLE table_name_15 (year INTEGER, category VARCHAR)
SELECT direction FROM table_100518_1 WHERE graha__planet_ = "Bṛhaspati (Jupiter)"
What are the directions for the guardian whose graha (planet) is bṛhaspati (Jupiter)?
CREATE TABLE table_100518_1 (direction VARCHAR, graha__planet_ VARCHAR)
SELECT original_air_date__uk_ FROM table_2570269_3 WHERE episode_title = "Another Happy Day"
What is the original air date of the episode "Another Happy Day"?
CREATE TABLE table_2570269_3 (original_air_date__uk_ VARCHAR, episode_title VARCHAR)
SELECT name FROM table_name_18 WHERE replacement = "lieve wierinck"
Who was replaced by Lieve Wierinck?
CREATE TABLE table_name_18 (name VARCHAR, replacement VARCHAR)
SELECT position FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)"
When kitchener rangers (oha) is the college, junior, or club team what is the position?
CREATE TABLE table_1965650_9 (position VARCHAR, college_junior_club_team VARCHAR)
SELECT score FROM table_name_67 WHERE home_team = "liverpool"
What is the score in the Liverpool home game?
CREATE TABLE table_name_67 (score VARCHAR, home_team VARCHAR)
SELECT away_leg FROM table_2214582_1 WHERE round = 1 AND aggregate = "2-0"
What is the record for the away leg in round 1 and aggregate 2-0?
CREATE TABLE table_2214582_1 (away_leg VARCHAR, round VARCHAR, aggregate VARCHAR)
SELECT COUNT(attempts) FROM table_name_61 WHERE touchdowns = 6
What is the total number of Attempts, when Touchdowns is 6?
CREATE TABLE table_name_61 (attempts VARCHAR, touchdowns VARCHAR)