answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT high_assists FROM table_name_56 WHERE date = "november 13"
Who had the highest assists on the November 13 game?
CREATE TABLE table_name_56 (high_assists VARCHAR, date VARCHAR)
SELECT status_at_production FROM table_1792122_11 WHERE project = "London Aquatics Centre"
What is the status of the London Aquatics Centre project at the time of production?
CREATE TABLE table_1792122_11 (status_at_production VARCHAR, project VARCHAR)
SELECT males FROM table_name_22 WHERE language = "polish"
What males speak Polish?
CREATE TABLE table_name_22 (males VARCHAR, language VARCHAR)
SELECT MAX(silver) FROM table_name_61 WHERE gold = 3 AND bronze < 5
What is the high silver total for nations with 3 golds and under 5 bronzes?
CREATE TABLE table_name_61 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
SELECT date FROM table_name_50 WHERE discipline = "super g" AND season = 2010
What is the date of Super G in the 2010 season?
CREATE TABLE table_name_50 (date VARCHAR, discipline VARCHAR, season VARCHAR)
SELECT written_by FROM table_29087004_2 WHERE directed_by = "Jos Humphrey" AND canada_original_airdate = "Unknown" AND united_states_original_airdate = "August 27, 2011"
Who wrote the episode directed by Jos Humphrey that had an original Canadian air date that was unknown and a United States original air date of August 27, 2011?
CREATE TABLE table_29087004_2 (written_by VARCHAR, united_states_original_airdate VARCHAR, directed_by VARCHAR, canada_original_airdate VARCHAR)
SELECT band FROM table_name_87 WHERE purpose = "community" AND frequency = "0 96.9"
The community station broadcasting at frequency 0 96.9 is in what band?
CREATE TABLE table_name_87 (band VARCHAR, purpose VARCHAR, frequency VARCHAR)
SELECT music_director FROM table_name_86 WHERE year > 2003
Name a music director, belonging to a year after 2003?
CREATE TABLE table_name_86 (music_director VARCHAR, year INTEGER)
SELECT home FROM table_name_71 WHERE record = "5–5–1–1"
what team scored 5–5–1–1?
CREATE TABLE table_name_71 (home VARCHAR, record VARCHAR)
SELECT country FROM table_name_77 WHERE catalogue__number = "asw 50248 (724385024825)"
What Country is Catalogue # ASW 50248 (724385024825) from?
CREATE TABLE table_name_77 (country VARCHAR, catalogue__number VARCHAR)
SELECT COUNT(winners) FROM table_name_31 WHERE years_won = "1983"
What is the sum of winners when 1983 is the years won?
CREATE TABLE table_name_31 (winners VARCHAR, years_won VARCHAR)
SELECT location_s_ FROM table_2064747_1 WHERE founded = 1927
Where was there a school founded in 1927?
CREATE TABLE table_2064747_1 (location_s_ VARCHAR, founded VARCHAR)
SELECT AVG(december) FROM table_name_38 WHERE record = "21–8–4" AND game > 33
Which December has a Record of 21–8–4, and a Game larger than 33?
CREATE TABLE table_name_38 (december INTEGER, record VARCHAR, game VARCHAR)
SELECT SUM(draw) FROM table_name_2 WHERE lost = 11 AND played < 18
How many total draws was played less than 18 with 11 losts?
CREATE TABLE table_name_2 (draw INTEGER, lost VARCHAR, played VARCHAR)
SELECT COUNT(cfl_team) FROM table_26996293_4 WHERE college = "Waterloo"
what is the cfl team where college is waterloo?
CREATE TABLE table_26996293_4 (cfl_team VARCHAR, college VARCHAR)
SELECT SUM(points) FROM table_name_40 WHERE team = "bultaco" AND rank = "6th"
How many points did she have with team bultaco, ranked 6th?
CREATE TABLE table_name_40 (points INTEGER, team VARCHAR, rank VARCHAR)
SELECT MAX(year) FROM table_name_8 WHERE work = "the clone" AND award = "contigo award"
Which Year is the highest one that has a Work of the clone, and an Award of contigo award?
CREATE TABLE table_name_8 (year INTEGER, work VARCHAR, award VARCHAR)
SELECT SUM(high_score) FROM table_name_52 WHERE stump = 0 AND catches = 4 AND average < 56.1 AND inns > 14
What is the high score for the player with 0 stumps, 4 catches, more than 14 inns and an average smaller than 56.1?
CREATE TABLE table_name_52 (high_score INTEGER, inns VARCHAR, average VARCHAR, stump VARCHAR, catches VARCHAR)
SELECT reason_of_departure FROM table_name_69 WHERE date_outgoing = "august 1, 2008"
Why did the manager who departed on August 1, 2008 leave?
CREATE TABLE table_name_69 (reason_of_departure VARCHAR, date_outgoing VARCHAR)
SELECT COUNT(founded) FROM table_16078390_2 WHERE location = "Tacoma, Washington"
How many Universities were founded in Tacoma, Washington?
CREATE TABLE table_16078390_2 (founded VARCHAR, location VARCHAR)
SELECT MIN(laps) FROM table_name_68 WHERE team = "panoz motor sports" AND year < 2002
What are panoz motor sports' lowest number of laps before 2002?
CREATE TABLE table_name_68 (laps INTEGER, team VARCHAR, year VARCHAR)
SELECT date FROM table_name_35 WHERE tie_no = "10"
What is the date of game with tie number of 10?
CREATE TABLE table_name_35 (date VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_16388545_1 WHERE away_team = "Carlton"
When the away team was Carlton, who was the home team?
CREATE TABLE table_16388545_1 (home_team VARCHAR, away_team VARCHAR)
SELECT height__ft_ FROM table_20669355_2 WHERE country = "Ecuador"
How tall is the contestant from Ecuador?
CREATE TABLE table_20669355_2 (height__ft_ VARCHAR, country VARCHAR)
SELECT sport FROM table_name_92 WHERE games = "1992 barcelona"
Which sport was in the 1992 Barcelona games?
CREATE TABLE table_name_92 (sport VARCHAR, games VARCHAR)
SELECT SUM(points) FROM table_name_13 WHERE rank = 12
what is the points for rank 12?
CREATE TABLE table_name_13 (points INTEGER, rank VARCHAR)
SELECT year FROM table_name_16 WHERE entrant = "trio brdeact wind allass"
What year was trio brdeact wind allass the entrant?
CREATE TABLE table_name_16 (year VARCHAR, entrant VARCHAR)
SELECT MIN(draws) FROM table_name_41 WHERE wins = 9 AND byes < 0
What is the lowest number of draws of the team with 9 wins and less than 0 byes?
CREATE TABLE table_name_41 (draws INTEGER, wins VARCHAR, byes VARCHAR)
SELECT away_team FROM table_name_23 WHERE home_team = "wigan athletic"
What is the away team for the home team wigan athletic?
CREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR)
SELECT home_team FROM table_name_77 WHERE score = "0–1" AND away_team = "tottenham hotspur"
Which Home team has a Score of 0–1, and an Away team of tottenham hotspur?
CREATE TABLE table_name_77 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)
SELECT loser FROM table_name_98 WHERE winner = "new york jets" AND year < 1994 AND result = "37–13"
What team was the lower when the winner was the new york jets, and a Year earlier than 1994, and a Result of 37–13?
CREATE TABLE table_name_98 (loser VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR)
SELECT title FROM table_22078691_2 WHERE us_viewers__millions_ = "14.59"
What is the title that has 14.59 u.s. viewers (millions)?
CREATE TABLE table_22078691_2 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT queens FROM table_1108394_24 WHERE richmond_[staten_is] = "42_percentage"
What is the queens where richmond staten is 42%?
CREATE TABLE table_1108394_24 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
SELECT format FROM table_name_20 WHERE label = "loen entertainment"
What was the format when the label was loen entertainment?
CREATE TABLE table_name_20 (format VARCHAR, label VARCHAR)
SELECT COUNT(high_rebounds) FROM table_30054758_3 WHERE high_points = "Inge – 19"
How many entries are there for high rebounds when high points is inge – 19?
CREATE TABLE table_30054758_3 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT gwr_nos FROM table_name_79 WHERE quantity < 2 AND m & swj_nos = "9"
Which GWR numbers had a quantity less than 2 when the M&SWJ number was 9?
CREATE TABLE table_name_79 (gwr_nos VARCHAR, quantity VARCHAR, m VARCHAR, swj_nos VARCHAR)
SELECT 2008 AS _09 FROM table_name_58 WHERE event = "masters"
What is the 2008-09 result has Masters as the event?
CREATE TABLE table_name_58 (event VARCHAR)
SELECT mountains_classification_klasyfikacja_górska FROM table_22917458_15 WHERE winner = "Alessandro Ballan"
Who was the mountain classification winner in the stage won by Alessandro Ballan?
CREATE TABLE table_22917458_15 (mountains_classification_klasyfikacja_górska VARCHAR, winner VARCHAR)
SELECT SUM(year) FROM table_name_48 WHERE entrant = "bryant heating"
What year did Bryant Heating enter?
CREATE TABLE table_name_48 (year INTEGER, entrant VARCHAR)
SELECT location___state FROM table_name_92 WHERE date = "16 jun"
What is the location/state of the race on 16 Jun?
CREATE TABLE table_name_92 (location___state VARCHAR, date VARCHAR)
SELECT forward_assist FROM table_12834315_4 WHERE barrel_profile = "A2"
Name the forward assist for a2 barrel profile
CREATE TABLE table_12834315_4 (forward_assist VARCHAR, barrel_profile VARCHAR)
SELECT score FROM table_name_9 WHERE opponent = "fernando vicente"
what is the score when the opponent is fernando vicente?
CREATE TABLE table_name_9 (score VARCHAR, opponent VARCHAR)
SELECT fcc_info FROM table_name_52 WHERE frequency_mhz = 101.3 AND erp_w > 10 AND facility_id < 87027
What is the FCC info for the call sign with a frequency MHz of 101.3, a ERP W over 10, and a Facility ID smaller than 87027?
CREATE TABLE table_name_52 (fcc_info VARCHAR, facility_id VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
SELECT number FROM table_name_71 WHERE proto_polynesian = "*taha"
Which Number has a Proto-Polynesian of *taha?
CREATE TABLE table_name_71 (number VARCHAR, proto_polynesian VARCHAR)
SELECT COUNT(sub_parish__sokn_) FROM table_178408_1 WHERE year_built = 1865
Name the total number for sub parish sokn for 1865
CREATE TABLE table_178408_1 (sub_parish__sokn_ VARCHAR, year_built VARCHAR)
SELECT date FROM table_name_59 WHERE venue = "brunswick street oval"
Name the date for the venue of brunswick street oval
CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)
SELECT COUNT(capital) FROM table_1784514_1 WHERE voivodeship_after_1569 = "Brest Litovsk Voivodeship"
How many capitals had brest litovsk voivodeship as voivodeship after 1569?
CREATE TABLE table_1784514_1 (capital VARCHAR, voivodeship_after_1569 VARCHAR)
SELECT winner FROM table_22941863_19 WHERE sprints_classification = "no award"
What is the name of the winner when the sprints classification is no award?
CREATE TABLE table_22941863_19 (winner VARCHAR, sprints_classification VARCHAR)
SELECT location_attendance FROM table_27723228_11 WHERE team = "Dallas"
What was the location and attendance of the game against Dallas?
CREATE TABLE table_27723228_11 (location_attendance VARCHAR, team VARCHAR)
SELECT MAX(silver) FROM table_name_18 WHERE sport = "table tennis" AND bronze > 0
Name the highest silver for table tennis and bronze more than 0
CREATE TABLE table_name_18 (silver INTEGER, sport VARCHAR, bronze VARCHAR)
SELECT venue FROM table_name_43 WHERE opponent = "staines town"
Name the venue for staines town
CREATE TABLE table_name_43 (venue VARCHAR, opponent VARCHAR)
SELECT DISTINCT building_description FROM Apartment_Buildings
Show all distinct building descriptions.
CREATE TABLE Apartment_Buildings (building_description VARCHAR)
SELECT AVG(total) FROM table_name_69 WHERE to_par > 9 AND player = "arnold palmer"
How many strokes for arnold palmer with a to par of greater than 9?
CREATE TABLE table_name_69 (total INTEGER, to_par VARCHAR, player VARCHAR)
SELECT venue FROM table_name_66 WHERE away_team = "fitzroy"
What venue features fitzroy as the away side?
CREATE TABLE table_name_66 (venue VARCHAR, away_team VARCHAR)
SELECT record FROM table_name_32 WHERE date = "june 8"
On the date of June 8 what was the record?
CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR)
SELECT airdate FROM table_24399615_5 WHERE episode_no = 6
When did episode number 6 air?
CREATE TABLE table_24399615_5 (airdate VARCHAR, episode_no VARCHAR)
SELECT margin_of_victory FROM table_name_78 WHERE runner_s__up = "amy alcott" AND winning_score = –9(72 - 68 - 67 = 207)
what is the margin of victory when the runner-up is amy alcott and the winning score is –9 (72-68-67=207)?
CREATE TABLE table_name_78 (margin_of_victory VARCHAR, runner_s__up VARCHAR, winning_score VARCHAR)
SELECT gross_revenue__1986_ FROM table_name_83 WHERE tickets_sold___available = "24,000 / 24,000 (100%)"
What was the gross revenue (1986) when there were tickets sold/available of 24,000 / 24,000 (100%)?
CREATE TABLE table_name_83 (gross_revenue__1986_ VARCHAR, tickets_sold___available VARCHAR)
SELECT AVG(gold) FROM table_name_68 WHERE total = 2998 AND bronze < 1191
Which Gold has a Total of 2998, and a Bronze smaller than 1191?
CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, bronze VARCHAR)
SELECT COUNT(_percentage_of_popular_vote) FROM table_19769687_3 WHERE _number_of_seats_won = 83
Name the total number for % popular vote for # of seats won for 83
CREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)
SELECT record FROM table_20760407_1 WHERE bruins_points = 41
What was the record when the Bruins had 41 points?
CREATE TABLE table_20760407_1 (record VARCHAR, bruins_points VARCHAR)
SELECT weight FROM table_name_98 WHERE power = "kw (hp) at 1,800rpm" AND name = "9 nc"
Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc?
CREATE TABLE table_name_98 (weight VARCHAR, power VARCHAR, name VARCHAR)
SELECT AVG(cuts_made) FROM table_name_5 WHERE top_25 > 13 AND top_5 < 11
Name the average cuts for top-25 more than 13 and top-5 less than 11
CREATE TABLE table_name_5 (cuts_made INTEGER, top_25 VARCHAR, top_5 VARCHAR)
SELECT constructor FROM table_name_15 WHERE driver = "timo glock"
What is the name of the company that constructed the vehicle for Timo Glock?
CREATE TABLE table_name_15 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_56 WHERE team = "trac racing team"
Who is the Constructor for the Trac Racing Team?
CREATE TABLE table_name_56 (constructor VARCHAR, team VARCHAR)
SELECT SUM(second) FROM table_name_1 WHERE total < 70 AND premier < 20 AND first > 18
What is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is greater than 18?
CREATE TABLE table_name_1 (second INTEGER, first VARCHAR, total VARCHAR, premier VARCHAR)
SELECT AVG(points) FROM table_name_63 WHERE chassis = "dallara 3087 lola t88/50" AND year < 1988
Name the average points for dallara 3087 lola t88/50 and year before 1988
CREATE TABLE table_name_63 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT attendance FROM table_name_40 WHERE away_team = "reading"
WHAT IS THE ATTENDANCE WITH A READING AWAY TEAM?
CREATE TABLE table_name_40 (attendance VARCHAR, away_team VARCHAR)
SELECT COUNT(125 AS cc_winner) FROM table_20935975_1 WHERE moto2_winner = "Shoya Tomizawa"
How many 125cc winners were in the same events as when the Moto2 winner was Shoya Tomizawa?
CREATE TABLE table_20935975_1 (moto2_winner VARCHAR)
SELECT school_club_team FROM table_16494599_5 WHERE player = "Blue Edwards"
Which school/club team did blue edwards play for
CREATE TABLE table_16494599_5 (school_club_team VARCHAR, player VARCHAR)
SELECT MAX(population__2001_) FROM table_27366772_3
What is the highest population in 2001?
CREATE TABLE table_27366772_3 (population__2001_ INTEGER)
SELECT in_no FROM table_14253123_1 WHERE county_name = "Spencer"
When Spencer is the county what is the in no.?
CREATE TABLE table_14253123_1 (in_no VARCHAR, county_name VARCHAR)
SELECT AVG(tries) FROM table_name_55 WHERE season = "2008 warrington wolves" AND appearance > 7
what is the average tries for the season 2008 warrington wolves with an appearance more than 7?
CREATE TABLE table_name_55 (tries INTEGER, season VARCHAR, appearance VARCHAR)
SELECT coach FROM table_name_92 WHERE big_ten = "3rd (278)"
What is the Coach with a Big Ten that is 3rd (278)?
CREATE TABLE table_name_92 (coach VARCHAR, big_ten VARCHAR)
SELECT MIN(tor_fløysvik) FROM table_28677723_10 WHERE couple = "Maria & Asmund"
What is listed under tor floysvik when couple is maria & asmund?
CREATE TABLE table_28677723_10 (tor_fløysvik INTEGER, couple VARCHAR)
SELECT timeslot FROM table_19188562_2 WHERE rating__adults_18_49_ = "0.6"
What time slot had an adult rating of 0.6?
CREATE TABLE table_19188562_2 (timeslot VARCHAR, rating__adults_18_49_ VARCHAR)
SELECT sail_number FROM table_1858574_2 WHERE position = 3
When 3 is the position what is the sail number?
CREATE TABLE table_1858574_2 (sail_number VARCHAR, position VARCHAR)
SELECT COUNT(date) FROM table_14934885_1 WHERE performer_3 = "Kate Robbins"
How many times was performer 3 Kate Robbins?
CREATE TABLE table_14934885_1 (date VARCHAR, performer_3 VARCHAR)
SELECT report FROM table_name_81 WHERE opposing_team = "gauteng falcons"
What report has gauteng falcons as the opposing team?
CREATE TABLE table_name_81 (report VARCHAR, opposing_team VARCHAR)
SELECT performed_by FROM table_191105_2 WHERE music_by = "Bob Dorough" AND episode_title = "Conjunction Junction"
When conjunction junction is the episode title and the music is by bob dorough who is the performer?
CREATE TABLE table_191105_2 (performed_by VARCHAR, music_by VARCHAR, episode_title VARCHAR)
SELECT AVG(staying_councillors) FROM table_name_42 WHERE election_result > 0 AND party = "conservatives" AND new_council < 27
How many staying councillors were there when the election result was larger than 0, the new council less than 27 and the party conservatives?
CREATE TABLE table_name_42 (staying_councillors INTEGER, new_council VARCHAR, election_result VARCHAR, party VARCHAR)
SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Shlomo"
Which mix artists have shlomo as artist 1?
CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR)
SELECT score FROM table_name_4 WHERE opponent = "baltimore bullets" AND date = "march 14"
What is the score of the game against the baltimore bullets on March 14?
CREATE TABLE table_name_4 (score VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT game FROM table_27698941_6 WHERE score = "L 90–106 (OT)"
What is the game number for the game with a score of l 90–106 (ot)?
CREATE TABLE table_27698941_6 (game VARCHAR, score VARCHAR)
SELECT ladder_position FROM table_24919137_2 WHERE score = "15.9 (99)–14.6 (90)"
What was the ladder position when the score was 15.9 (99)–14.6 (90)?
CREATE TABLE table_24919137_2 (ladder_position VARCHAR, score VARCHAR)
SELECT away_team AS score FROM table_name_82 WHERE venue = "brunswick street oval"
What was the away team score at Brunswick Street Oval?
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
SELECT opponent FROM table_name_49 WHERE attendance = "23,150"
Attendance of 23,150 had what opponent?
CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR)
SELECT start_time FROM table_name_48 WHERE date = "december 24, 2005"
Tell me the start time for december 24, 2005
CREATE TABLE table_name_48 (start_time VARCHAR, date VARCHAR)
SELECT constructor FROM table_name_11 WHERE grid = "1"
What is the name of the constructor for Grid 1?
CREATE TABLE table_name_11 (constructor VARCHAR, grid VARCHAR)
SELECT opponent FROM table_name_98 WHERE record = "17-44"
What is Opponent, when Record is 17-44?
CREATE TABLE table_name_98 (opponent VARCHAR, record VARCHAR)
SELECT country FROM table_name_72 WHERE to_par = "–4"
What is the Country of the Player with a To par of –4?
CREATE TABLE table_name_72 (country VARCHAR, to_par VARCHAR)
SELECT entered_office FROM table_name_2 WHERE first_minister = "henry mcleish"
When did first minister Henry Mcleish enter office?
CREATE TABLE table_name_2 (entered_office VARCHAR, first_minister VARCHAR)
SELECT clean_ & _jerk FROM table_name_36 WHERE bodyweight < 76.55 AND total__kg_ = "–"
What is the Clean & jerk for the bodyweight less than 76.55, and the Total (kg) of –?
CREATE TABLE table_name_36 (clean_ VARCHAR, _jerk VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR)
SELECT away_team AS score FROM table_name_52 WHERE away_team = "north melbourne"
What was North Melbourne's score when they were the home team?
CREATE TABLE table_name_52 (away_team VARCHAR)
SELECT average_ratings FROM table_name_92 WHERE episodes = 11 AND japanese_title = "サプリ"
For the Japanese title サプリ that had 11 episodes, what is the average ratings?
CREATE TABLE table_name_92 (average_ratings VARCHAR, episodes VARCHAR, japanese_title VARCHAR)
SELECT COUNT(district) FROM table_1341472_20 WHERE incumbent = "Robert Livingston"
How many districts was Robert Livingston incumbent in?
CREATE TABLE table_1341472_20 (district VARCHAR, incumbent VARCHAR)
SELECT outcome FROM table_name_57 WHERE date = "june 9, 1997"
What is the outcome on June 9, 1997?
CREATE TABLE table_name_57 (outcome VARCHAR, date VARCHAR)
SELECT location FROM table_name_96 WHERE classification = "t12"
What is the location of Classification of T12?
CREATE TABLE table_name_96 (location VARCHAR, classification VARCHAR)
SELECT no_in_series FROM table_25604014_6 WHERE directed_by = "Win Phelps" AND no_in_season = 11
What are the number in series of the pieces directed by Win Phelps and which number in season is 11?
CREATE TABLE table_25604014_6 (no_in_series VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
SELECT shirt_back_sponsor FROM table_name_69 WHERE shorts_sponsor = "telestet"
Who is the Shirt Back Sponsor if the Shorts Sponsor is Telestet?
CREATE TABLE table_name_69 (shirt_back_sponsor VARCHAR, shorts_sponsor VARCHAR)