answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT episode FROM table_2140071_12 WHERE coach = "Travis Brown"
Name the episode for travis brown
CREATE TABLE table_2140071_12 (episode VARCHAR, coach VARCHAR)
SELECT county FROM table_name_89 WHERE mascot = "tigers"
What county is the team with the mascot of the Tigers in?
CREATE TABLE table_name_89 (county VARCHAR, mascot VARCHAR)
SELECT visitor FROM table_name_55 WHERE date = "may 7"
Who was the visiting team on May 7?
CREATE TABLE table_name_55 (visitor VARCHAR, date VARCHAR)
SELECT result FROM table_name_8 WHERE incumbent = "david e. finley"
When David E. Finley was the incumbent what was the result?
CREATE TABLE table_name_8 (result VARCHAR, incumbent VARCHAR)
SELECT format FROM table_name_50 WHERE region = "united states" AND date = "january 12, 2010" AND label = "mightier than sword"
What is the format for the label Mightier than Sword on January 12, 2010 in the United States?
CREATE TABLE table_name_50 (format VARCHAR, label VARCHAR, region VARCHAR, date VARCHAR)
SELECT SUM(year) FROM table_name_43 WHERE course = "sunset ridge cc"
What is the year when the course is sunset ridge cc?
CREATE TABLE table_name_43 (year INTEGER, course VARCHAR)
SELECT title FROM table_228973_5 WHERE original_air_date = "November 10, 1998"
What is the name of the episode that aired originally on November 10, 1998?
CREATE TABLE table_228973_5 (title VARCHAR, original_air_date VARCHAR)
SELECT call_sign FROM table_name_87 WHERE state = "florida" AND frequency = "90.9 fm"
What is the call sign for 90.9 FM which is in Florida?
CREATE TABLE table_name_87 (call_sign VARCHAR, state VARCHAR, frequency VARCHAR)
SELECT team__number2 FROM table_27603010_14 WHERE team__number1 = "Atlético La Sabana"
Who was the team 2 that played against team 1 Atlético la Sabana?
CREATE TABLE table_27603010_14 (team__number2 VARCHAR, team__number1 VARCHAR)
SELECT track AS title FROM table_10416547_1 WHERE duration = "5:30"
What is the name of the track that lasts 5:30?
CREATE TABLE table_10416547_1 (track VARCHAR, duration VARCHAR)
SELECT democratic_ticket FROM table_name_76 WHERE workers_ticket = "franklin p. brill"
What is the name on the Democratic ticket when the Workers ticket is franklin p. brill?
CREATE TABLE table_name_76 (democratic_ticket VARCHAR, workers_ticket VARCHAR)
SELECT socket FROM table_name_75 WHERE release_price___usd__ = "$378" AND turbo = "6/6/8/9"
Which socket goes with the item with release price of $378 and turbo of 6/6/8/9?
CREATE TABLE table_name_75 (socket VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR)
SELECT ordinary_value FROM table_name_56 WHERE metric_value = "29.861 g"
What ordinary value has a metric value of 29.861 g?
CREATE TABLE table_name_56 (ordinary_value VARCHAR, metric_value VARCHAR)
SELECT original_title FROM table_name_59 WHERE role = "episode actor" AND directed_by = "géza bereményi"
What is the Original title for an Episode Actor role which was Directed by Géza Bereményi?
CREATE TABLE table_name_59 (original_title VARCHAR, role VARCHAR, directed_by VARCHAR)
SELECT position FROM table_name_48 WHERE college_hall_of_fame = "no"
What Position has no College Hall of Fame?
CREATE TABLE table_name_48 (position VARCHAR, college_hall_of_fame VARCHAR)
SELECT world_rank FROM table_name_81 WHERE year = 1977
Which World Rank happened in 1977?
CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR)
SELECT score FROM table_name_19 WHERE away_team = "southport"
What was the score for the away team, southport?
CREATE TABLE table_name_19 (score VARCHAR, away_team VARCHAR)
SELECT winner FROM table_22050544_3 WHERE event = "$109 No Limit Hold'em w/rebuys [Turbo]"
Who won the $109 no limit hold'em w/rebuys [turbo]?
CREATE TABLE table_22050544_3 (winner VARCHAR, event VARCHAR)
SELECT COUNT(vessels) FROM table_name_11 WHERE ship_name = "aqua jewel"
How many vessels are named aqua jewel?
CREATE TABLE table_name_11 (vessels VARCHAR, ship_name VARCHAR)
SELECT location FROM table_name_11 WHERE event = "conquista fight 1"
What is the location of the Conquista Fight 1?
CREATE TABLE table_name_11 (location VARCHAR, event VARCHAR)
SELECT contract_length FROM table_name_55 WHERE status = "rejected"
What is the contract length when rejected is the status?
CREATE TABLE table_name_55 (contract_length VARCHAR, status VARCHAR)
SELECT p FROM table_17596418_4 WHERE moving_from = "Everton"
What is the P for the player moving from Everton?
CREATE TABLE table_17596418_4 (p VARCHAR, moving_from VARCHAR)
SELECT year FROM table_2182562_1 WHERE winnings = "$281,945"
What year did the winnings equal $281,945?
CREATE TABLE table_2182562_1 (year VARCHAR, winnings VARCHAR)
SELECT tv_station FROM table_name_25 WHERE average_ratings = "14.7%"
What station has average ratings of 14.7%?
CREATE TABLE table_name_25 (tv_station VARCHAR, average_ratings VARCHAR)
SELECT AVG(year) FROM table_name_41 WHERE mixed_doubles = "alfredo salazar fina salazar"
What is the average year with alfredo salazar fina salazar in mixed doubles?
CREATE TABLE table_name_41 (year INTEGER, mixed_doubles VARCHAR)
SELECT decision FROM table_name_89 WHERE date = "april 18"
What was the Decision on April 18?
CREATE TABLE table_name_89 (decision VARCHAR, date VARCHAR)
SELECT loss FROM table_name_85 WHERE date = "may 29"
On May 29 which team had the loss?
CREATE TABLE table_name_85 (loss VARCHAR, date VARCHAR)
SELECT country FROM table_name_36 WHERE score = 66 AND player = "scott hoch"
What is Scott Hoch with a Score of 66 Country?
CREATE TABLE table_name_36 (country VARCHAR, score VARCHAR, player VARCHAR)
SELECT player FROM table_name_66 WHERE position = "right wing"
Who plays the right wing position?
CREATE TABLE table_name_66 (player VARCHAR, position VARCHAR)
SELECT home_team FROM table_name_41 WHERE venue = "victoria park"
Who played home team at Victoria Park?
CREATE TABLE table_name_41 (home_team VARCHAR, venue VARCHAR)
SELECT COUNT(directed_by) FROM table_27547668_4 WHERE written_by = "John Callaghan"
what is the total number of films directy and written by john callaghan?
CREATE TABLE table_27547668_4 (directed_by VARCHAR, written_by VARCHAR)
SELECT opponent FROM table_24560733_1 WHERE date = "Oct. 4"
Who was the opponent on Oct. 4?
CREATE TABLE table_24560733_1 (opponent VARCHAR, date VARCHAR)
SELECT region FROM table_25042332_27 WHERE vehicle = "39.2%"
Name the region for 39.2% vehicle
CREATE TABLE table_25042332_27 (region VARCHAR, vehicle VARCHAR)
SELECT population__2010_11_01_ FROM table_name_50 WHERE name = "bayan county"
What is the population as of 11-01-2010 for Bayan County?
CREATE TABLE table_name_50 (population__2010_11_01_ VARCHAR, name VARCHAR)
SELECT street_address FROM table_name_70 WHERE floors = 44
Which address has 44 floors?
CREATE TABLE table_name_70 (street_address VARCHAR, floors VARCHAR)
SELECT term_in_office FROM table_name_73 WHERE electorate = "indi"
What term did an Electorate of indi have in office?
CREATE TABLE table_name_73 (term_in_office VARCHAR, electorate VARCHAR)
SELECT away_team FROM table_name_51 WHERE tie_no = "replay" AND attendance = "24 november 1998" AND home_team = "rotherham united"
Which Away team has a Tie # of replay, and an Attendance of 24 november 1998, and a Home team of rotherham united?
CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR)
SELECT name FROM artist ORDER BY year_join DESC LIMIT 1
What is the name of the artist who joined latest?
CREATE TABLE artist (name VARCHAR, year_join VARCHAR)
SELECT COUNT(rank_by_average) FROM table_26375386_28 WHERE couple = "Tana and Stuart"
How many ranks by average for the couple Tana and Stuart?
CREATE TABLE table_26375386_28 (rank_by_average VARCHAR, couple VARCHAR)
SELECT round FROM table_name_50 WHERE opponent = "hereford united"
What round has hereford united as the opponent?
CREATE TABLE table_name_50 (round VARCHAR, opponent VARCHAR)
SELECT COUNT(grid) FROM table_name_89 WHERE time_retired = "+1 lap" AND driver = "sébastien bourdais" AND laps > 70
How much Grid has a Time/Retired of +1 lap, and a Driver of sébastien bourdais, and Laps larger than 70?
CREATE TABLE table_name_89 (grid VARCHAR, laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT result FROM table_name_49 WHERE date = "october 8, 1961"
What was the result on october 8, 1961?
CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR)
SELECT set_3 FROM table_name_86 WHERE score = "3–2" AND set_2 = "25–23" AND time = "19:00"
Which Set 3 has a Score of 3–2, and a Set 2 of 25–23, and a Time of 19:00?
CREATE TABLE table_name_86 (set_3 VARCHAR, time VARCHAR, score VARCHAR, set_2 VARCHAR)
SELECT points_difference FROM table_name_37 WHERE points_for = "554"
When there were 554 points, what was the point difference?
CREATE TABLE table_name_37 (points_difference VARCHAR, points_for VARCHAR)
SELECT episode FROM table_name_97 WHERE writer_s_ = "jonathan lewis"
What episode was written by jonathan lewis?
CREATE TABLE table_name_97 (episode VARCHAR, writer_s_ VARCHAR)
SELECT winner FROM table_name_39 WHERE finalist = "lietuvos rytas" AND season < 2010
Who was the winner of the season before 2010 with Lietuvos Rytas as a finalist?
CREATE TABLE table_name_39 (winner VARCHAR, finalist VARCHAR, season VARCHAR)
SELECT COUNT(points) FROM table_name_59 WHERE position < 7 AND goals_for = 68 AND played < 30
What is the total amount of points for a position less than 7, 68 goals for, and less than 30 played?
CREATE TABLE table_name_59 (points VARCHAR, played VARCHAR, position VARCHAR, goals_for VARCHAR)
SELECT ihsaa_class FROM table_name_49 WHERE location = "columbia city"
Which IHSAA Class has a Location of columbia city?
CREATE TABLE table_name_49 (ihsaa_class VARCHAR, location VARCHAR)
SELECT COUNT(population__2010_) FROM table_261222_1 WHERE area__km_2__ = "409.41"
How many places have an area of 409.41 (km2)?
CREATE TABLE table_261222_1 (population__2010_ VARCHAR, area__km_2__ VARCHAR)
SELECT result FROM table_name_83 WHERE first_elected = "1892" AND incumbent = "w. jasper talbert"
What was the result of W. Jasper Talbert who was first elected in 1892?
CREATE TABLE table_name_83 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
SELECT score FROM table_23248910_5 WHERE record = "11-3"
What was the score against the team with an 11-3 record against the Hawks?
CREATE TABLE table_23248910_5 (score VARCHAR, record VARCHAR)
SELECT AVG(births__000s_) FROM table_name_38 WHERE deaths = 0.4
What is the average births that had a death rate of 0.4
CREATE TABLE table_name_38 (births__000s_ INTEGER, deaths VARCHAR)
SELECT y_ = _2008 FROM table_214479_8 WHERE y_ = _2011 = a = 3
What is the y = 2008 when y = 2011 is a = 3?
CREATE TABLE table_214479_8 (y_ VARCHAR, _2008 VARCHAR, a VARCHAR, _2011 VARCHAR)
SELECT nationality FROM table_name_24 WHERE lane > 1 AND rank > 5 AND name = "hsu chi-chieh"
What is the nationality with a lane larger than 1, and a rank larger than 5, for Hsu Chi-Chieh?
CREATE TABLE table_name_24 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR)
SELECT 2011 FROM table_name_96 WHERE 1999 = "a" AND 2004 = "2r" AND career_sr = "0 / 10"
Which 2011 has a 1999 of A, and a 2004 of 2r, and a Career SR of 0 / 10?
CREATE TABLE table_name_96 (career_sr VARCHAR)
SELECT COUNT(total_viewers) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "April 21, 2010"
How many total viewers have April 21, 2010 as the original airing on channel 4?
CREATE TABLE table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR)
SELECT constellation FROM table_name_17 WHERE object_type = "globular cluster" AND ngc_number = 5986
What Constellation has a Object type of globular cluster and a NGC number of 5986?
CREATE TABLE table_name_17 (constellation VARCHAR, object_type VARCHAR, ngc_number VARCHAR)
SELECT club_team FROM table_name_98 WHERE player = "kyle de coste"
What was the club team for Kyle de Coste?
CREATE TABLE table_name_98 (club_team VARCHAR, player VARCHAR)
SELECT opponents FROM table_name_14 WHERE h___a = "h" AND scorers = "ferguson"
Who was the opponent when the H/A was H and the scorer was Ferguson?
CREATE TABLE table_name_14 (opponents VARCHAR, h___a VARCHAR, scorers VARCHAR)
SELECT team FROM table_name_2 WHERE grid = "11"
What team started in grid 11?
CREATE TABLE table_name_2 (team VARCHAR, grid VARCHAR)
SELECT area FROM table_name_87 WHERE authority = "state" AND name = "torbay school"
In what area is torbay school with a state authority?
CREATE TABLE table_name_87 (area VARCHAR, authority VARCHAR, name VARCHAR)
SELECT bore_ & _stroke FROM table_name_9 WHERE engine = "351-2v cleveland v8"
Tell me the bore and stroke for Engine of 351-2v cleveland v8
CREATE TABLE table_name_9 (bore_ VARCHAR, _stroke VARCHAR, engine VARCHAR)
SELECT TYPE FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid JOIN band AS T3 ON T1.bandmate = T3.id WHERE T3.firstname = "Solveig" AND T2.title = "A Bar In Amsterdam"
Which vocal type did the musician with first name "Solveig" played in the song with title "A Bar in Amsterdam"?
CREATE TABLE vocals (songid VARCHAR, bandmate VARCHAR); CREATE TABLE band (id VARCHAR, firstname VARCHAR); CREATE TABLE songs (songid VARCHAR, title VARCHAR)
SELECT date FROM table_25461946_8 WHERE team = "Dayton"
When did they play Dayton?
CREATE TABLE table_25461946_8 (date VARCHAR, team VARCHAR)
SELECT season AS finale FROM table_10819266_8 WHERE season = 4
What is the season finale for season 4?
CREATE TABLE table_10819266_8 (season VARCHAR)
SELECT rank FROM table_name_89 WHERE year = "1955"
What was the rank in 1955?
CREATE TABLE table_name_89 (rank VARCHAR, year VARCHAR)
SELECT revenue_per_capita FROM table_name_2 WHERE state = "vermont"
What is the Revenue per capita for Vermont?
CREATE TABLE table_name_2 (revenue_per_capita VARCHAR, state VARCHAR)
SELECT score FROM table_name_38 WHERE tie_no = "4"
what is score of a team with tie of 4?
CREATE TABLE table_name_38 (score VARCHAR, tie_no VARCHAR)
SELECT COUNT(1990) FROM table_1817852_1 WHERE to_iran = 4 AND survived < 12.0
If 4 went to iran and the amount that survived was less than 12.0 how many were there in 1990?
CREATE TABLE table_1817852_1 (to_iran VARCHAR, survived VARCHAR)
SELECT home FROM table_name_33 WHERE opponent = "marek dupnitsa"
What is the home score with marek dupnitsa as opponent?
CREATE TABLE table_name_33 (home VARCHAR, opponent VARCHAR)
SELECT MAX(grid) FROM table_name_78 WHERE driver = "martin brundle"
What is the top grid that is driven by martin brundle?
CREATE TABLE table_name_78 (grid INTEGER, driver VARCHAR)
SELECT maryland FROM table_13012165_1 WHERE pennsylvania = "Deep Run Valley LL Hilltown"
Who played in Maryland the same year that Deep Run Valley LL Hilltown played in Pennsylvania?
CREATE TABLE table_13012165_1 (maryland VARCHAR, pennsylvania VARCHAR)
SELECT country FROM table_name_98 WHERE score > 69 AND player = "brian henninger"
Which country is Brian Henninger from, who had a score larger than 69?
CREATE TABLE table_name_98 (country VARCHAR, score VARCHAR, player VARCHAR)
SELECT constructor FROM table_15491596_1 WHERE no = 22
Who was the constructor of car 22?
CREATE TABLE table_15491596_1 (constructor VARCHAR, no VARCHAR)
SELECT COUNT(air_date) FROM table_13110459_2 WHERE overall = "83/95"
how many air date with overall being 83/95
CREATE TABLE table_13110459_2 (air_date VARCHAR, overall VARCHAR)
SELECT english_title FROM table_name_93 WHERE year > 1981 AND country = "argentina"
What is the English title for years after 1981 originating from Argentina?
CREATE TABLE table_name_93 (english_title VARCHAR, year VARCHAR, country VARCHAR)
SELECT departure FROM table_18365784_3 WHERE arrival = "21.26"
What was the departure time of the train that arrived at 21.26?
CREATE TABLE table_18365784_3 (departure VARCHAR, arrival VARCHAR)
SELECT MAX(points) FROM table_name_62 WHERE year > 1953
Which of the biggest points numbers had a year more recent than 1953?
CREATE TABLE table_name_62 (points INTEGER, year INTEGER)
SELECT away_team FROM table_name_73 WHERE venue = "kardinia park"
What is the name of the away team whose venue is Kardinia Park?
CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR)
SELECT COUNT(points) FROM table_name_43 WHERE club = "btsc"
How many points for the skater from club btsc?
CREATE TABLE table_name_43 (points VARCHAR, club VARCHAR)
SELECT MIN(laps) FROM table_name_88 WHERE driver = "huub rothengatter" AND grid < 24
I want the fewest Laps for Huub Rothengatter and grid less than 24
CREATE TABLE table_name_88 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT courtesy_title FROM table_name_1 WHERE tenure = "1766–1794"
What is the courtesy title of the person whose tenure goes from 1766–1794?
CREATE TABLE table_name_1 (courtesy_title VARCHAR, tenure VARCHAR)
SELECT SUM(pct) FROM table_name_70 WHERE wins > 72 AND name = "john yovicsin"
Which percent has Wins larger than 72, and a Name of john yovicsin?
CREATE TABLE table_name_70 (pct INTEGER, wins VARCHAR, name VARCHAR)
SELECT race FROM table_name_52 WHERE length = "12 hours"
What race is 12 hours in length?
CREATE TABLE table_name_52 (race VARCHAR, length VARCHAR)
SELECT AVG(population) FROM table_name_56 WHERE country = "spain" AND urban_area = "valencia"
what is the population of Valencia, Spain?
CREATE TABLE table_name_56 (population INTEGER, country VARCHAR, urban_area VARCHAR)
SELECT text FROM tweets ORDER BY createdate
List the text of all tweets in the order of date.
CREATE TABLE tweets (text VARCHAR, createdate VARCHAR)
SELECT home_team FROM table_name_80 WHERE crowd > 24 OFFSET 520
Who was the home team at the game that had a crowd of over 24,520?
CREATE TABLE table_name_80 (home_team VARCHAR, crowd INTEGER)
SELECT home_team AS score FROM table_name_65 WHERE away_team = "melbourne"
What was the home team score with an away team of Melbourne?
CREATE TABLE table_name_65 (home_team VARCHAR, away_team VARCHAR)
SELECT win__percentage FROM table_name_4 WHERE losses = "48"
What percentage of wins has 48 losses?
CREATE TABLE table_name_4 (win__percentage VARCHAR, losses VARCHAR)
SELECT MAX(points) FROM table_name_28 WHERE engine = "weslake v12" AND year < 1966
How many points did the Weslake v12 get in 1966?
CREATE TABLE table_name_28 (points INTEGER, engine VARCHAR, year VARCHAR)
SELECT MIN(wins) FROM table_24596664_1
Name the least wins
CREATE TABLE table_24596664_1 (wins INTEGER)
SELECT player FROM table_name_98 WHERE date = "12-02-2003"
What player has a date of 12-02-2003?
CREATE TABLE table_name_98 (player VARCHAR, date VARCHAR)
SELECT SUM(wins) FROM table_name_40 WHERE top_25 = 3 AND cuts_made < 5
How many total wins have 3 as the Top-35 and less than 5 cuts made?
CREATE TABLE table_name_40 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR)
SELECT competition FROM table_name_21 WHERE date = "september 10, 2008"
Name the competition for september 10, 2008
CREATE TABLE table_name_21 (competition VARCHAR, date VARCHAR)
SELECT player FROM table_name_24 WHERE college_junior_club_team__league_ = "regina pats (whl)"
Who was the Player when College/Junior/Club Team (League) was regina pats (whl)?
CREATE TABLE table_name_24 (player VARCHAR, college_junior_club_team__league_ VARCHAR)
SELECT MAX(afc_titles) FROM table_1952065_4 WHERE teams_with_division_titles = "Cleveland Browns"
How many afc titles did the Cleveland Browns have?
CREATE TABLE table_1952065_4 (afc_titles INTEGER, teams_with_division_titles VARCHAR)
SELECT country FROM table_name_19 WHERE place = "t6" AND player = "robert karlsson"
From what Country is T6 Place Player Robert Karlsson?
CREATE TABLE table_name_19 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT MIN(crowd) FROM table_name_94 WHERE venue = "victoria park"
What is the smallest crowd at the Victoria Park Venue?
CREATE TABLE table_name_94 (crowd INTEGER, venue VARCHAR)
SELECT MIN(grid) FROM table_name_67 WHERE name = "paul tracy" AND points > 4
What is the lowest grid that Paul Tracy had when he had over 4 points?
CREATE TABLE table_name_67 (grid INTEGER, name VARCHAR, points VARCHAR)
SELECT venue FROM table_name_40 WHERE runs = "153"
What is the venue where 153 runs were scored?
CREATE TABLE table_name_40 (venue VARCHAR, runs VARCHAR)