context
stringlengths
27
484
question
stringlengths
12
244
answer
stringlengths
32
484
CREATE TABLE table_25716399_1 (no_in_season INTEGER, written_by VARCHAR)
what season was written by jonathan collier?
SELECT MAX(no_in_season) FROM table_25716399_1 WHERE written_by = "Jonathan Collier"
CREATE TABLE table_name_81 (score VARCHAR, player VARCHAR)
What is Score, when Player is "Vijay Singh"?
SELECT score FROM table_name_81 WHERE player = "vijay singh"
CREATE TABLE table_name_7 (week INTEGER, result VARCHAR)
Name the highest week for result of w 38-13
SELECT MAX(week) FROM table_name_7 WHERE result = "w 38-13"
CREATE TABLE table_name_76 (winner VARCHAR, date VARCHAR)
Who won on May 2011?
SELECT winner FROM table_name_76 WHERE date = "may 2011"
CREATE TABLE table_name_46 (rank VARCHAR, city VARCHAR)
What is the rank for the city of sewri?
SELECT COUNT(rank) FROM table_name_46 WHERE city = "sewri"
CREATE TABLE table_name_88 (laps INTEGER, grid VARCHAR)
What are the average Laps on Grid 15?
SELECT AVG(laps) FROM table_name_88 WHERE grid = 15
CREATE TABLE table_22180353_1 (registration VARCHAR, type VARCHAR)
What is every registration for the type of T 6 G?
SELECT registration FROM table_22180353_1 WHERE type = "T 6 G"
CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR)
Who was the away team at the Win Entertainment Centre?
SELECT away_team FROM table_name_31 WHERE venue = "win entertainment centre"
CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR)
what player has place t10
SELECT player FROM table_name_37 WHERE place = "t10"
CREATE TABLE table_name_48 (proto_oceanic VARCHAR, proto_polynesian VARCHAR)
Which Proto-Oceanic has a Proto-Polynesian of *lima?
SELECT proto_oceanic FROM table_name_48 WHERE proto_polynesian = "*lima"
CREATE TABLE table_name_67 (ranking INTEGER, name VARCHAR)
What is the lowest ranking for Paul Mctiernan?
SELECT MIN(ranking) FROM table_name_67 WHERE name = "paul mctiernan"
CREATE TABLE table_name_90 (position VARCHAR, league_from VARCHAR, team_from VARCHAR)
Which Position has a League from of western hockey league, and a Team from of everett silvertips?
SELECT position FROM table_name_90 WHERE league_from = "western hockey league" AND team_from = "everett silvertips"
CREATE TABLE table_name_46 (phone VARCHAR, address VARCHAR)
What is the phone number of the station located at 53 Dayton Road?
SELECT phone FROM table_name_46 WHERE address = "53 dayton road"
CREATE TABLE table_1480455_1 (municipality VARCHAR, human_development_index__2000_ VARCHAR)
What municipality where the human development index in the year 2000 was 0.7827?
SELECT municipality FROM table_1480455_1 WHERE human_development_index__2000_ = "0.7827"
CREATE TABLE table_name_59 (goal_difference INTEGER, club VARCHAR, played VARCHAR)
What is the lowest goal difference for the club ud alzira, with a played larger than 38?
SELECT MIN(goal_difference) FROM table_name_59 WHERE club = "ud alzira" AND played > 38
CREATE TABLE table_29857115_4 (singer VARCHAR)
What was gabriella ferrone's result on the 5th evening?
SELECT 5 AS th_evening FROM table_29857115_4 WHERE singer = "Gabriella Ferrone"
CREATE TABLE table_name_94 (university_of_dublin VARCHAR, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR, nominated_by_the_taoiseach VARCHAR)
What is the total for University of Dublin, having a panel of 0 for agricultural, was nominated by Taoiseach more than 0, and an industrial and commercial panel less than 0?
SELECT COUNT(university_of_dublin) FROM table_name_94 WHERE agricultural_panel = 0 AND nominated_by_the_taoiseach > 0 AND industrial_and_commercial_panel < 0
CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, to_par VARCHAR)
What is Player, when Total is greater than 148, and when To Par is "12"?
SELECT player FROM table_name_83 WHERE total > 148 AND to_par = 12
CREATE TABLE table_name_54 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Who was the opponent in a week over 8 on December 4, 1960?
SELECT opponent FROM table_name_54 WHERE week > 8 AND date = "december 4, 1960"
CREATE TABLE table_name_14 (home_captain VARCHAR, venue VARCHAR)
Name the Home captain for venue of the oval
SELECT home_captain FROM table_name_14 WHERE venue = "the oval"
CREATE TABLE table_26250155_1 (original_artist VARCHAR, theme VARCHAR)
Who was the original artist of the First solo theme?
SELECT original_artist FROM table_26250155_1 WHERE theme = "First Solo"
CREATE TABLE table_name_73 (team VARCHAR, kitmaker VARCHAR, shirt_sponsor VARCHAR)
Which team uses the kitmaker Saller and has Krombacher as their shirt sponsor?
SELECT team FROM table_name_73 WHERE kitmaker = "saller" AND shirt_sponsor = "krombacher"
CREATE TABLE table_name_80 (rank INTEGER, singapore_cup VARCHAR, name VARCHAR)
What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi?
SELECT SUM(rank) FROM table_name_80 WHERE singapore_cup = "0 (1)" AND name = "masrezwan masturi"
CREATE TABLE table_name_33 (score VARCHAR, player VARCHAR)
Name the Score of craig stadler?
SELECT score FROM table_name_33 WHERE player = "craig stadler"
CREATE TABLE table_name_96 (leading_lady VARCHAR, title VARCHAR)
Who is the leading lady in The Lonely Trail?
SELECT leading_lady FROM table_name_96 WHERE title = "the lonely trail"
CREATE TABLE table_name_73 (result VARCHAR, attendance VARCHAR)
What was the result of the game attended by 54,110?
SELECT result FROM table_name_73 WHERE attendance = "54,110"
CREATE TABLE table_name_53 (team__number1 VARCHAR)
What is the 1st leg when team number 1 is CSU SIBIU?
SELECT 1 AS st_leg FROM table_name_53 WHERE team__number1 = "csu sibiu"
CREATE TABLE table_name_30 (weeks_on_chart__uk_ VARCHAR, entered_chart__uk_ VARCHAR)
How many weeks did the single that entered the charts 14 september 2002 stay on the charts ?
SELECT COUNT(weeks_on_chart__uk_) FROM table_name_30 WHERE entered_chart__uk_ = "14 september 2002"
CREATE TABLE table_name_40 (year_of_release INTEGER, label VARCHAR)
What was the last year MCA had a Release?
SELECT MAX(year_of_release) FROM table_name_40 WHERE label = "mca"
CREATE TABLE table_name_77 (result VARCHAR, year__ceremony_ VARCHAR)
What is the Result of the 2013 (86th) Ceremony?
SELECT result FROM table_name_77 WHERE year__ceremony_ = "2013 (86th)"
CREATE TABLE table_name_57 (displacement VARCHAR, power VARCHAR)
What Displacement has 185hp (138kw) Power o
SELECT displacement FROM table_name_57 WHERE power = "185hp (138kw)"
CREATE TABLE table_20090682_4 (pos INTEGER, driver VARCHAR)
what is the lowest position of brendan sole
SELECT MAX(pos) FROM table_20090682_4 WHERE driver = "Brendan Sole"
CREATE TABLE table_name_28 (time VARCHAR, away_team VARCHAR)
What was the time for the match with away team Mutual Team B?
SELECT time FROM table_name_28 WHERE away_team = "mutual team b"
CREATE TABLE table_24027047_1 (administrative_division VARCHAR, population_density___kmΒ²_2011_ VARCHAR)
What division had a population density of 8,552.4 km2 in 2011?
SELECT administrative_division FROM table_24027047_1 WHERE population_density___kmΒ²_2011_ = "8,552.4"
CREATE TABLE table_name_74 (round INTEGER, team VARCHAR)
How many players were drafted from the Boston Cannons in the round?
SELECT SUM(round) FROM table_name_74 WHERE team = "boston cannons"
CREATE TABLE table_name_99 (money___$__ VARCHAR, player VARCHAR)
what is the money ($) for player justin leonard?
SELECT money___$__ FROM table_name_99 WHERE player = "justin leonard"
CREATE TABLE table_2869843_1 (bi_tone VARCHAR, model VARCHAR, olive_drab VARCHAR, caliber VARCHAR)
are there bi-tone is there's no olive drab and the caliber is 9Γ—19mm parabellum and model is xdm 5.25 competition
SELECT bi_tone FROM table_2869843_1 WHERE olive_drab = "No" AND caliber = "9Γ—19mm Parabellum" AND model = "XDM 5.25 Competition"
CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR)
What record was set when the result/game was equal to 9 games (28,595 avg.)
SELECT type_of_record FROM table_21436373_8 WHERE result_games = "9 games (28,595 avg.)"
CREATE TABLE table_name_66 (venue VARCHAR, score VARCHAR)
What venue was the game held at when the Score was 3 – 0?
SELECT venue FROM table_name_66 WHERE score = "3 – 0"
CREATE TABLE table_26473176_1 (podiums VARCHAR, position VARCHAR)
What was the number of podiums in 12th position?
SELECT podiums FROM table_26473176_1 WHERE position = "12th"
CREATE TABLE table_2071644_1 (moment_of_inertia_in_torsion__j___cm_4__ VARCHAR, web_thickness__mm_ VARCHAR)
What is the number for the moment of intertia in torsion (j) (cm 4) for the 4.7 web thickness (mm)?
SELECT COUNT(moment_of_inertia_in_torsion__j___cm_4__) FROM table_2071644_1 WHERE web_thickness__mm_ = "4.7"
CREATE TABLE table_name_10 (Id VARCHAR)
What's the 2010 when they had a Q2 in 2009?
SELECT 2010 FROM table_name_10 WHERE 2009 = "q2"
CREATE TABLE table_name_37 (venue VARCHAR, competition VARCHAR, date VARCHAR)
what is the venue when the competition is friendly on 26 may 1999?
SELECT venue FROM table_name_37 WHERE competition = "friendly" AND date = "26 may 1999"
CREATE TABLE table_name_87 (date VARCHAR, format VARCHAR)
What is the Date with a Format that is cd?
SELECT date FROM table_name_87 WHERE format = "cd"
CREATE TABLE table_24055352_1 (name VARCHAR, hometown VARCHAR)
How many players came from Los Angeles?
SELECT COUNT(name) FROM table_24055352_1 WHERE hometown = "Los Angeles"
CREATE TABLE table_19805130_3 (episode VARCHAR, rank__night_ VARCHAR)
What is the name of the episode with a night rank of 9?
SELECT episode FROM table_19805130_3 WHERE rank__night_ = "9"
CREATE TABLE table_name_26 (driver_s_ VARCHAR, sponsor_s_ VARCHAR)
Which Driver has a Sponsor of pdvsa?
SELECT driver_s_ FROM table_name_26 WHERE sponsor_s_ = "pdvsa"
CREATE TABLE table_name_93 (launch_date VARCHAR, deorbit_date VARCHAR)
When did the ATV that deorbited on 29 september 2008, launch?
SELECT launch_date FROM table_name_93 WHERE deorbit_date = "29 september 2008"
CREATE TABLE table_name_56 (date VARCHAR)
For sep 18 what is the total number of 1 prize ($)
SELECT COUNT(1 AS st_prize__) AS $__ FROM table_name_56 WHERE date = "sep 18"
CREATE TABLE table_18027411_1 (team___competition VARCHAR)
how many times did estudiantes de la plata participate in 2008 suruga bank championship
SELECT COUNT(2008 AS _suruga_bank_championship) FROM table_18027411_1 WHERE team___competition = "Estudiantes de La Plata"
CREATE TABLE table_name_63 (package_option VARCHAR, television_service VARCHAR)
What is Package/Option, when Television Service is Sky Inside?
SELECT package_option FROM table_name_63 WHERE television_service = "sky inside"
CREATE TABLE table_1342379_2 (first_elected INTEGER, incumbent VARCHAR)
When was incumbent William B. Oliver first elected?
SELECT MAX(first_elected) FROM table_1342379_2 WHERE incumbent = "William B. Oliver"
CREATE TABLE table_name_83 (tournament VARCHAR)
What's the 2012 during Wimbledon and had a Q3 in 2008?
SELECT 2012 FROM table_name_83 WHERE 2008 = "q3" AND tournament = "wimbledon"
CREATE TABLE table_name_98 (committee VARCHAR, first_elected VARCHAR)
What Committee has the First Elected of 1993?
SELECT committee FROM table_name_98 WHERE first_elected = 1993
CREATE TABLE table_name_37 (record VARCHAR, game VARCHAR)
What was the record following game 67?
SELECT record FROM table_name_37 WHERE game = 67
CREATE TABLE table_14981555_3 (venue VARCHAR, race VARCHAR)
How many venues had a race called the Australia Stakes?
SELECT COUNT(venue) FROM table_14981555_3 WHERE race = "Australia Stakes"
CREATE TABLE table_name_36 (year INTEGER, developer_s_ VARCHAR)
What year had Nintendo EAD, Monolith Soft as developers?
SELECT SUM(year) FROM table_name_36 WHERE developer_s_ = "nintendo ead, monolith soft"
CREATE TABLE table_15817998_5 (college VARCHAR, player VARCHAR)
What is the college that Jeffrey Simmer plays for?
SELECT college FROM table_15817998_5 WHERE player = "Jeffrey Simmer"
CREATE TABLE table_name_99 (song VARCHAR, points VARCHAR, draw VARCHAR)
Name the song for points less than 16 and draw less than 3
SELECT song FROM table_name_99 WHERE points < 16 AND draw < 3
CREATE TABLE table_name_30 (elevator VARCHAR, order_and_title VARCHAR)
The Cardinal-Priest of S. Prassede order and title has who as the elevator?
SELECT elevator FROM table_name_30 WHERE order_and_title = "cardinal-priest of s. prassede"
CREATE TABLE table_name_65 (tournament VARCHAR, score_in_the_final VARCHAR)
Which tournament had a final score of 6–3, 6–2?
SELECT tournament FROM table_name_65 WHERE score_in_the_final = "6–3, 6–2"
CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR)
What was the record on March 22?
SELECT record FROM table_name_58 WHERE date = "march 22"
CREATE TABLE table_name_28 (icelandic_title VARCHAR, norwegian_title VARCHAR)
What is the Icelandic title for the Norweigan titled galgeblomsten?
SELECT icelandic_title FROM table_name_28 WHERE norwegian_title = "galgeblomsten"
CREATE TABLE table_1342370_41 (result VARCHAR, incumbent VARCHAR)
What was the result in the election where the incumbent was Finis J. Garrett?
SELECT result FROM table_1342370_41 WHERE incumbent = "Finis J. Garrett"
CREATE TABLE table_name_5 (ends VARCHAR, transfer_fee VARCHAR, moving_from VARCHAR)
What is the ends with a free transfer fee and was moved from middlesbrough?
SELECT ends FROM table_name_5 WHERE transfer_fee = "free" AND moving_from = "middlesbrough"
CREATE TABLE table_1342379_41 (first_elected VARCHAR, incumbent VARCHAR)
How many times was incumbent cordell hull first elected?
SELECT COUNT(first_elected) FROM table_1342379_41 WHERE incumbent = "Cordell Hull"
CREATE TABLE table_name_24 (player VARCHAR, wins INTEGER)
What is the name of the player with less than 2 wins?
SELECT player FROM table_name_24 WHERE wins < 2
CREATE TABLE table_name_30 (position VARCHAR, year VARCHAR, player VARCHAR)
What was the position of Greg Fredlund in years after 2008?
SELECT position FROM table_name_30 WHERE year > 2008 AND player = "greg fredlund"
CREATE TABLE table_1784514_1 (year_established INTEGER)
What is the latest year a division was established?
SELECT MAX(year_established) FROM table_1784514_1
CREATE TABLE table_15187735_3 (series_ep VARCHAR, netflix VARCHAR)
Name the series ep for s02e08
SELECT series_ep FROM table_15187735_3 WHERE netflix = "S02E08"
CREATE TABLE table_25691838_8 (guest VARCHAR, original_airdate VARCHAR)
Who were the guests on the episode that first aired August 16?
SELECT guest FROM table_25691838_8 WHERE original_airdate = "August 16"
CREATE TABLE table_name_99 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
Which Driver has Laps larger than 78, and a Time/Retired of + 1:09.4?
SELECT driver FROM table_name_99 WHERE laps > 78 AND time_retired = "+ 1:09.4"
CREATE TABLE table_262383_1 (margin VARCHAR, runner_s__up VARCHAR)
what is the space where the next winner is skee riegel
SELECT margin FROM table_262383_1 WHERE runner_s__up = "Skee Riegel"
CREATE TABLE table_23292220_5 (first_broadcast VARCHAR, jasons_team VARCHAR)
Name the first broadcast for trisha goddard and glenn wool
SELECT first_broadcast FROM table_23292220_5 WHERE jasons_team = "Trisha Goddard and Glenn Wool"
CREATE TABLE table_2651755_1 (democratic_coalition VARCHAR, together_we_can_do_more VARCHAR)
What is the democratic coalation when together we can do more is sergio castro ( pc )?
SELECT democratic_coalition FROM table_2651755_1 WHERE together_we_can_do_more = "Sergio Castro ( PC )"
CREATE TABLE table_name_61 (division_one VARCHAR, division_two VARCHAR)
What Division One team were champions at the same time the Division Two Hereford Lads Club Colts were champs?
SELECT division_one FROM table_name_61 WHERE division_two = "hereford lads club colts"
CREATE TABLE table_name_46 (team_chassis VARCHAR, year INTEGER)
Which Team/Chassis has a Year larger than 1987?
SELECT team_chassis FROM table_name_46 WHERE year > 1987
CREATE TABLE table_name_44 (reg_gp VARCHAR, pick__number VARCHAR, rd__number VARCHAR, player VARCHAR)
What is the total reg gp of Ilya Krikunov, who has a round of 7 and a pick number larger than 223?
SELECT COUNT(reg_gp) FROM table_name_44 WHERE rd__number = 7 AND player = "ilya krikunov" AND pick__number > 223
CREATE TABLE table_name_12 (became_acharya_on VARCHAR, name_of_acharya VARCHAR)
When did acharya shree koshalendraprasadji maharaj become acharya?
SELECT became_acharya_on FROM table_name_12 WHERE name_of_acharya = "acharya shree koshalendraprasadji maharaj"
CREATE TABLE table_name_48 (country VARCHAR, to_par VARCHAR, player VARCHAR)
What is Country, when To Par is "–2", and when Player is "Tsuneyuki Nakajima"?
SELECT country FROM table_name_48 WHERE to_par = "–2" AND player = "tsuneyuki nakajima"
CREATE TABLE table_27700530_10 (location_attendance VARCHAR, high_assists VARCHAR)
What is the location and attendance of the game when gilbert arenas (9) had the high assists?
SELECT location_attendance FROM table_27700530_10 WHERE high_assists = "Gilbert Arenas (9)"
CREATE TABLE table_name_40 (date VARCHAR, circuit VARCHAR, round VARCHAR)
What was the date for the Sepang International circuit, round 3?
SELECT date FROM table_name_40 WHERE circuit = "sepang international circuit" AND round = "3"
CREATE TABLE table_24850487_5 (blocks VARCHAR, rebounds VARCHAR)
How many blocks did the player who had 59 rebounds have?
SELECT blocks FROM table_24850487_5 WHERE rebounds = 59
CREATE TABLE table_name_36 (bonus_pts INTEGER, rider VARCHAR, rides VARCHAR)
What was Bob Jameson's lowest bonus where he had less than 15 rides?
SELECT MIN(bonus_pts) FROM table_name_36 WHERE rider = "bob jameson" AND rides < 15
CREATE TABLE table_name_38 (away_team VARCHAR, home_team VARCHAR)
What is the away side score when footscray is the home side?
SELECT away_team AS score FROM table_name_38 WHERE home_team = "footscray"
CREATE TABLE table_name_95 (time VARCHAR, notes VARCHAR, country VARCHAR)
What time has q as the notes, and Australia as the country?
SELECT time FROM table_name_95 WHERE notes = "q" AND country = "australia"
CREATE TABLE table_name_9 (name VARCHAR, capacity__mw_ VARCHAR)
What is the Name of the power station with a Capacity of 25 MW?
SELECT name FROM table_name_9 WHERE capacity__mw_ = 25
CREATE TABLE table_name_80 (points VARCHAR, rank VARCHAR, games VARCHAR)
How many points are there for rank 5 with more than 34 games?
SELECT COUNT(points) FROM table_name_80 WHERE rank = 5 AND games > 34
CREATE TABLE table_name_75 (points_1 VARCHAR, lost VARCHAR, position VARCHAR, goals_for VARCHAR)
What is listed under points 1 when the position was greater than 4, there were 54 goals for and more than 11 losses?
SELECT points_1 FROM table_name_75 WHERE position > 4 AND goals_for = 54 AND lost > 11
CREATE TABLE table_name_32 (report VARCHAR, circuit VARCHAR)
Which Report is on the Circuit of reims?
SELECT report FROM table_name_32 WHERE circuit = "reims"
CREATE TABLE table_name_2 (Id VARCHAR)
What was the 2009 result associated with a 2012 of 1R and a 2007 of 2R?
SELECT 2009 FROM table_name_2 WHERE 2012 = "1r" AND 2007 = "2r"
CREATE TABLE table_name_92 (competition VARCHAR, venue VARCHAR, year VARCHAR)
Which Competition has a Venue of manchester in 2009?
SELECT competition FROM table_name_92 WHERE venue = "manchester" AND year = 2009
CREATE TABLE table_name_59 (country VARCHAR, structure VARCHAR)
The OMEGA transmitter Chabrier has what country listed?
SELECT country FROM table_name_59 WHERE structure = "omega transmitter chabrier"
CREATE TABLE table_name_12 (region VARCHAR, host VARCHAR)
Which region has Stanford University as host?
SELECT region FROM table_name_12 WHERE host = "stanford university"
CREATE TABLE table_name_37 (location VARCHAR, date VARCHAR, rank VARCHAR, time VARCHAR)
Rank smaller than 5, and a Time larger than 10.7, and a Date of 10 july 2009 has what location?
SELECT location FROM table_name_37 WHERE rank < 5 AND time > 10.7 AND date = "10 july 2009"
CREATE TABLE table_name_25 (cuts_made INTEGER, tournament VARCHAR, wins VARCHAR)
Which Cuts made has a Tournament of totals, and Wins smaller than 11?
SELECT AVG(cuts_made) FROM table_name_25 WHERE tournament = "totals" AND wins < 11
CREATE TABLE table_name_53 (surface VARCHAR, opponent VARCHAR, score VARCHAR)
Which Surface has an Opponent of kerry melville reid, and a Score of 6–3, 2–6, 3–6?
SELECT surface FROM table_name_53 WHERE opponent = "kerry melville reid" AND score = "6–3, 2–6, 3–6"
CREATE TABLE table_name_75 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
Who is the home team on 31 January 1951 when away team was Sheffield United?
SELECT home_team FROM table_name_75 WHERE date = "31 january 1951" AND away_team = "sheffield united"
CREATE TABLE table_name_61 (game INTEGER, opponent VARCHAR, record VARCHAR)
What is the lowest numbered game against Phoenix with a record of 29-17?
SELECT MIN(game) FROM table_name_61 WHERE opponent = "phoenix" AND record = "29-17"
CREATE TABLE table_name_25 (type VARCHAR, characters VARCHAR)
What type has the characters 廣丙?
SELECT type FROM table_name_25 WHERE characters = "廣丙"