question
stringlengths
17
201
answer
stringlengths
21
400
context
stringlengths
32
286
When the result was l 13-7 ot, who was the opponent?
SELECT opponent FROM table_name_27 WHERE result = "l 13-7 ot"
CREATE TABLE table_name_27 (opponent VARCHAR, result VARCHAR)
Alireza Rouzbahani did not advance to the quarterfinal in what event?
SELECT event FROM table_name_29 WHERE quarterfinal = "did not advance" AND athlete = "alireza rouzbahani"
CREATE TABLE table_name_29 (event VARCHAR, quarterfinal VARCHAR, athlete VARCHAR)
What is the sum of top-25s for events with more than 1 top-5?
SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 1
CREATE TABLE table_name_71 (top_25 INTEGER, top_5 INTEGER)
What is the result at match reports?
SELECT result FROM table_name_98 WHERE location = "match reports"
CREATE TABLE table_name_98 (result VARCHAR, location VARCHAR)
What is the Away with a Time that is 14:00?
SELECT away FROM table_name_28 WHERE time = "14:00"
CREATE TABLE table_name_28 (away VARCHAR, time VARCHAR)
How tall was Player #10?
SELECT height FROM table_12962773_10 WHERE no = 10
CREATE TABLE table_12962773_10 (height VARCHAR, no VARCHAR)
What season had a viewer rank of #4?
SELECT COUNT(season) FROM table_name_58 WHERE viewer_rank___number_ = "#4"
CREATE TABLE table_name_58 (season VARCHAR, viewer_rank___number_ VARCHAR)
What is the technical number for Jiang Tingting & Jiang Wenwen, and the total was more than 96.334?
SELECT MAX(technical) FROM table_name_77 WHERE athlete = "jiang tingting & jiang wenwen" AND total > 96.334
CREATE TABLE table_name_77 (technical INTEGER, athlete VARCHAR, total VARCHAR)
Which team is from earlier than 1994?
SELECT team FROM table_name_53 WHERE year < 1994
CREATE TABLE table_name_53 (team VARCHAR, year INTEGER)
Who is the opponent on November 20, 1966?
SELECT opponent FROM table_name_88 WHERE date = "november 20, 1966"
CREATE TABLE table_name_88 (opponent VARCHAR, date VARCHAR)
What did United States place when the player was Raymond Floyd?
SELECT place FROM table_name_84 WHERE country = "united states" AND player = "raymond floyd"
CREATE TABLE table_name_84 (place VARCHAR, country VARCHAR, player VARCHAR)
Who are the candidates in the race where Wright Patman is the incumbent?
SELECT candidates FROM table_1342315_42 WHERE incumbent = "Wright Patman"
CREATE TABLE table_1342315_42 (candidates VARCHAR, incumbent VARCHAR)
before week 12 what was the attendance on 1983-11-21?
SELECT SUM(attendance) FROM table_name_22 WHERE date = "1983-11-21" AND week < 12
CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, week VARCHAR)
what was the drawn when the tries for was 46?
SELECT drawn FROM table_12792876_3 WHERE tries_for = "46"
CREATE TABLE table_12792876_3 (drawn VARCHAR, tries_for VARCHAR)
What team was Ryan Callahan, who received a penalty for roughing, playing for?
SELECT team FROM table_name_87 WHERE penalty = "roughing" AND player = "ryan callahan"
CREATE TABLE table_name_87 (team VARCHAR, penalty VARCHAR, player VARCHAR)
What is the Finish of 28 Wins?
SELECT finish FROM table_name_8 WHERE wins = "28"
CREATE TABLE table_name_8 (finish VARCHAR, wins VARCHAR)
What was tyre that was made by cooper - bristol that was driven by bob gerard?
SELECT tyre FROM table_name_77 WHERE constructor = "cooper - bristol" AND driver = "bob gerard"
CREATE TABLE table_name_77 (tyre VARCHAR, constructor VARCHAR, driver VARCHAR)
Which IHSAA Class has a Mascot of bulldogs?
SELECT ihsaa_class FROM table_name_10 WHERE mascot = "bulldogs"
CREATE TABLE table_name_10 (ihsaa_class VARCHAR, mascot VARCHAR)
Who is the driver from 1969?
SELECT driver FROM table_name_42 WHERE year = "1969"
CREATE TABLE table_name_42 (driver VARCHAR, year VARCHAR)
How many times did kingfisher east bengal fc win?
SELECT MIN(winners) FROM table_12303563_1 WHERE nation = "Kingfisher East Bengal FC"
CREATE TABLE table_12303563_1 (winners INTEGER, nation VARCHAR)
What is the points for when the total points is 6?
SELECT points_for FROM table_1676073_13 WHERE points = "6"
CREATE TABLE table_1676073_13 (points_for VARCHAR, points VARCHAR)
Where did Footscray play as the away team?
SELECT venue FROM table_name_76 WHERE away_team = "footscray"
CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)
Which average draw has points greater than 12?
SELECT AVG(draw) FROM table_name_52 WHERE points > 12
CREATE TABLE table_name_52 (draw INTEGER, points INTEGER)
What is Date, when Opponent is "Philadelphia 76ers"?
SELECT date FROM table_name_6 WHERE opponent = "philadelphia 76ers"
CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR)
What pick was J.D. Hill?
SELECT MIN(pick) FROM table_name_52 WHERE player = "j.d. hill"
CREATE TABLE table_name_52 (pick INTEGER, player VARCHAR)
Tell me the year with Laps less than 197 and start of 2
SELECT year FROM table_name_96 WHERE laps < 197 AND start = "2"
CREATE TABLE table_name_96 (year VARCHAR, laps VARCHAR, start VARCHAR)
When was the game at Collingwood?
SELECT date FROM table_name_59 WHERE away_team = "collingwood"
CREATE TABLE table_name_59 (date VARCHAR, away_team VARCHAR)
Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive?
SELECT rookie FROM table_name_6 WHERE defensive = "matt vinc" AND offensive = "pat maddalena"
CREATE TABLE table_name_6 (rookie VARCHAR, defensive VARCHAR, offensive VARCHAR)
Which class starts after 1939 and has a road number smaller than 3508?
SELECT class FROM table_name_9 WHERE year > 1939 AND road_number < 3508
CREATE TABLE table_name_9 (class VARCHAR, year VARCHAR, road_number VARCHAR)
What's the GFL Premiership when the home ground was Leopold Memorial Park?
SELECT gfl_premierships FROM table_name_4 WHERE home_ground = "leopold memorial park"
CREATE TABLE table_name_4 (gfl_premierships VARCHAR, home_ground VARCHAR)
Which champion has sentosa golf club as the tournament location?
SELECT champion FROM table_name_55 WHERE tournament_location = "sentosa golf club"
CREATE TABLE table_name_55 (champion VARCHAR, tournament_location VARCHAR)
What was the name of eipsode 618?
SELECT title FROM table_17624965_1 WHERE production_code = 618
CREATE TABLE table_17624965_1 (title VARCHAR, production_code VARCHAR)
What was the attendance when they played at Dallas Cowboys?
SELECT attendance FROM table_name_69 WHERE opponent = "at dallas cowboys"
CREATE TABLE table_name_69 (attendance VARCHAR, opponent VARCHAR)
What is the resale category for the provider NetCologne?
SELECT resale FROM table_1773908_3 WHERE provider = "Netcologne"
CREATE TABLE table_1773908_3 (resale VARCHAR, provider VARCHAR)
How many people voted in the election of 1941?
SELECT number_of_votes FROM table_name_79 WHERE election = 1941
CREATE TABLE table_name_79 (number_of_votes VARCHAR, election VARCHAR)
I want the sum of year for edition more than 4 and winners of new york red bulls
SELECT SUM(year) FROM table_name_93 WHERE edition > 4 AND winner = "new york red bulls"
CREATE TABLE table_name_93 (year INTEGER, edition VARCHAR, winner VARCHAR)
How large was the total when the E Score was greater than 9.35 and T Score was less than 4?
SELECT MAX(total) FROM table_name_35 WHERE e_score > 9.35 AND t_score < 4
CREATE TABLE table_name_35 (total INTEGER, e_score VARCHAR, t_score VARCHAR)
Name the preliminary average for utah
SELECT preliminary_average FROM table_name_34 WHERE state = "utah"
CREATE TABLE table_name_34 (preliminary_average VARCHAR, state VARCHAR)
What is Home Team, when Tie No is 4?
SELECT home_team FROM table_name_49 WHERE tie_no = "4"
CREATE TABLE table_name_49 (home_team VARCHAR, tie_no VARCHAR)
Where did Richmond play as an away team?
SELECT venue FROM table_name_70 WHERE away_team = "richmond"
CREATE TABLE table_name_70 (venue VARCHAR, away_team VARCHAR)
What was the date of the home game for Hartford?
SELECT date FROM table_name_87 WHERE home = "hartford"
CREATE TABLE table_name_87 (date VARCHAR, home VARCHAR)
Who was the opponent before week 5 that played on September 23, 2001?
SELECT opponent FROM table_name_99 WHERE week < 5 AND date = "september 23, 2001"
CREATE TABLE table_name_99 (opponent VARCHAR, week VARCHAR, date VARCHAR)
What is Date To, when Name is "Lee Cook"?
SELECT date_to FROM table_name_47 WHERE name = "lee cook"
CREATE TABLE table_name_47 (date_to VARCHAR, name VARCHAR)
What are the number of days in 1945 where the constituent was heywood and radcliffe?
SELECT days FROM table_name_18 WHERE year = "1945" AND constituency = "heywood and radcliffe"
CREATE TABLE table_name_18 (days VARCHAR, year VARCHAR, constituency VARCHAR)
Who was the Home team in Tie #23?
SELECT home_team FROM table_name_80 WHERE tie_no = 23
CREATE TABLE table_name_80 (home_team VARCHAR, tie_no VARCHAR)
Name the score for fiji
SELECT score FROM table_name_99 WHERE country = "fiji"
CREATE TABLE table_name_99 (score VARCHAR, country VARCHAR)
What date has a Decision of osgood, and a Score of 3 – 4?
SELECT date FROM table_name_63 WHERE decision = "osgood" AND score = "3 – 4"
CREATE TABLE table_name_63 (date VARCHAR, decision VARCHAR, score VARCHAR)
What is the 2009 estimate population of the Northeast?
SELECT population__2009_estimate_ FROM table_name_34 WHERE name = "northeast"
CREATE TABLE table_name_34 (population__2009_estimate_ VARCHAR, name VARCHAR)
How many positions did 1972 NHL Draft pick Rene Lambert play?
SELECT COUNT(position) FROM table_1473672_10 WHERE player = "Rene Lambert"
CREATE TABLE table_1473672_10 (position VARCHAR, player VARCHAR)
What is the minimum position when points are 32 and wins are greater than 13?
SELECT MIN(position) FROM table_name_2 WHERE points = 32 AND wins > 13
CREATE TABLE table_name_2 (position INTEGER, points VARCHAR, wins VARCHAR)
How many markets have number of cities smaller than 300?
SELECT COUNT(*) FROM market WHERE Number_cities < 300
CREATE TABLE market (Number_cities INTEGER)
what was the first year that kid creole and the coconuts recorded with I Too Have Seen The Woods / Sire Records?
SELECT MIN(year) FROM table_28232443_1 WHERE artist = "Kid Creole and the Coconuts"
CREATE TABLE table_28232443_1 (year INTEGER, artist VARCHAR)
Name the week number for andrew lloyd webber
SELECT week__number FROM table_15796054_3 WHERE theme = "Andrew Lloyd Webber"
CREATE TABLE table_15796054_3 (week__number VARCHAR, theme VARCHAR)
What was the round when nueza silva played against greece?
SELECT round FROM table_name_31 WHERE against = "greece"
CREATE TABLE table_name_31 (round VARCHAR, against VARCHAR)
What team was the host on september 11?
SELECT host_team FROM table_name_37 WHERE date = "september 11"
CREATE TABLE table_name_37 (host_team VARCHAR, date VARCHAR)
List the player that scored 4 times.
SELECT name FROM table_24565004_15 WHERE goals¹ = 4
CREATE TABLE table_24565004_15 (name VARCHAR, goals¹ VARCHAR)
What position was the number 6 draft pick?
SELECT position FROM table_25085059_1 WHERE pick__number = 6
CREATE TABLE table_25085059_1 (position VARCHAR, pick__number VARCHAR)
What's the roles of the Bionic Woman?
SELECT role FROM table_name_4 WHERE program = "the bionic woman"
CREATE TABLE table_name_4 (role VARCHAR, program VARCHAR)
Who is the play by play commentator for the game that has Alan Massengale as Studio Host?
SELECT play_by_play FROM table_name_17 WHERE studio_host = "alan massengale"
CREATE TABLE table_name_17 (play_by_play VARCHAR, studio_host VARCHAR)
Name the least year for evonne goolagong helen gourlay
SELECT MIN(year) FROM table_2009095_2 WHERE opponents = "Evonne Goolagong Helen Gourlay"
CREATE TABLE table_2009095_2 (year INTEGER, opponents VARCHAR)
In what year was Letecke Zavody N.P., Jinonice the manufacturer?
SELECT year FROM table_name_90 WHERE manufacturer = "letecke zavody n.p., jinonice"
CREATE TABLE table_name_90 (year VARCHAR, manufacturer VARCHAR)
Which of the networks originate in Xalapa?
SELECT network FROM table_2899987_2 WHERE origin = "Xalapa"
CREATE TABLE table_2899987_2 (network VARCHAR, origin VARCHAR)
Which opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)?
SELECT opponents_in_the_final FROM table_name_63 WHERE partner = "katarina srebotnik" AND championship = "wimbledon (4)"
CREATE TABLE table_name_63 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR)
What is the City with an IATA of MUC?
SELECT city FROM table_name_51 WHERE iata = "muc"
CREATE TABLE table_name_51 (city VARCHAR, iata VARCHAR)
What is Country, when City is "Zamboanga"?
SELECT country FROM table_name_82 WHERE city = "zamboanga"
CREATE TABLE table_name_82 (country VARCHAR, city VARCHAR)
What was the host city in years where the host school was école de technologie supérieure?
SELECT host_city FROM table_2331549_1 WHERE host_school = "École de technologie supérieure"
CREATE TABLE table_2331549_1 (host_city VARCHAR, host_school VARCHAR)
What is Claude Harmon's Place?
SELECT place FROM table_name_37 WHERE player = "claude harmon"
CREATE TABLE table_name_37 (place VARCHAR, player VARCHAR)
Which club has 1 runners-up with 0 winners and 2 third place earned?
SELECT club FROM table_name_12 WHERE runners_up = 1 AND winners = 0 AND third = 2
CREATE TABLE table_name_12 (club VARCHAR, third VARCHAR, runners_up VARCHAR, winners VARCHAR)
What player scored 70-72-70=212?
SELECT player FROM table_name_35 WHERE score = 70 - 72 - 70 = 212
CREATE TABLE table_name_35 (player VARCHAR, score VARCHAR)
Name the champion for israel bowl of iv
SELECT champion FROM table_name_33 WHERE israel_bowl = "iv"
CREATE TABLE table_name_33 (champion VARCHAR, israel_bowl VARCHAR)
In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B?
SELECT round FROM table_24853015_1 WHERE class_d_winner = "Roy Salvadori" AND class_b_winner = "Alan Hutcheson"
CREATE TABLE table_24853015_1 (round VARCHAR, class_d_winner VARCHAR, class_b_winner VARCHAR)
Find the first names of all the authors who have written a paper with title containing the word "Functional".
SELECT t1.fname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE "%Functional%"
CREATE TABLE authors (fname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR); CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR)
Who was the leader at the summit earlier than 1956, when Carcassonne shows for finish?
SELECT leader_at_the_summit FROM table_name_82 WHERE year < 1956 AND finish = "carcassonne"
CREATE TABLE table_name_82 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR)
How many singers do we have?
SELECT COUNT(*) FROM singer
CREATE TABLE singer (Id VARCHAR)
What date has a Game site of bye?
SELECT date FROM table_name_77 WHERE game_site = "bye"
CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR)
Who was the 3rd performer when christopher smith was the 2nd performer?
SELECT performer_3 FROM table_name_19 WHERE performer_2 = "christopher smith"
CREATE TABLE table_name_19 (performer_3 VARCHAR, performer_2 VARCHAR)
What are the titles for the November 9 Super Bantamweight division?
SELECT titles FROM table_25840200_1 WHERE date = "November 9" AND division = "Super Bantamweight"
CREATE TABLE table_25840200_1 (titles VARCHAR, date VARCHAR, division VARCHAR)
Name the order number for 1960s
SELECT order__number FROM table_19508635_1 WHERE theme = "1960s"
CREATE TABLE table_19508635_1 (order__number VARCHAR, theme VARCHAR)
What year had an issue price of $2,995.95, and a theme of grizzly bear?
SELECT MAX(year) FROM table_name_10 WHERE issue_price = "$2,995.95" AND theme = "grizzly bear"
CREATE TABLE table_name_10 (year INTEGER, issue_price VARCHAR, theme VARCHAR)
What was the resting potential with an AP duration of 1.0 and a median giant fiber cell type?
SELECT resting_potential__mv_ FROM table_name_69 WHERE ap_duration__ms_ = "1.0" AND cell_type = "median giant fiber"
CREATE TABLE table_name_69 (resting_potential__mv_ VARCHAR, ap_duration__ms_ VARCHAR, cell_type VARCHAR)
List all characteristics of product named "sesame" with type code "Grade".
SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "sesame" AND t3.characteristic_type_code = "Grade"
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR, characteristic_type_code VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
What is the highest game with a 24-23 record?
SELECT MAX(game) FROM table_name_62 WHERE record = "24-23"
CREATE TABLE table_name_62 (game INTEGER, record VARCHAR)
Home of buffalo happened on what date?
SELECT date FROM table_name_39 WHERE home = "buffalo"
CREATE TABLE table_name_39 (date VARCHAR, home VARCHAR)
What years was the jersey number(s) smaller than 3?
SELECT years FROM table_name_1 WHERE jersey_number_s_ < 3
CREATE TABLE table_name_1 (years VARCHAR, jersey_number_s_ INTEGER)
Where was the match played in 1998?
SELECT location FROM table_name_40 WHERE year = 1998
CREATE TABLE table_name_40 (location VARCHAR, year VARCHAR)
how many times is there more than 0 draws and more than 0 losses?
SELECT COUNT(played) FROM table_name_5 WHERE drawn > 0 AND lost > 0
CREATE TABLE table_name_5 (played VARCHAR, drawn VARCHAR, lost VARCHAR)
What is February, when Record is "21-29-11"?
SELECT february FROM table_name_46 WHERE record = "21-29-11"
CREATE TABLE table_name_46 (february VARCHAR, record VARCHAR)
What is the date for the UTC time of 03:15:46?
SELECT date__yyyy_mm_dd_ FROM table_26950408_1 WHERE time___utc__ = "03:15:46"
CREATE TABLE table_26950408_1 (date__yyyy_mm_dd_ VARCHAR, time___utc__ VARCHAR)
When Nelson Philippe drove with a grid larger than 16, what was the timre/retired?
SELECT time_retired FROM table_name_2 WHERE grid > 16 AND driver = "nelson philippe"
CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
Steve Nash (24) got high points for how many teams?
SELECT COUNT(team) FROM table_17340355_10 WHERE high_points = "Steve Nash (24)"
CREATE TABLE table_17340355_10 (team VARCHAR, high_points VARCHAR)
How many total medals for the netherlands?
SELECT SUM(total) FROM table_name_9 WHERE nation = "netherlands"
CREATE TABLE table_name_9 (total INTEGER, nation VARCHAR)
How many were in Attendance during a Tie no of 1?
SELECT attendance FROM table_name_89 WHERE tie_no = 1
CREATE TABLE table_name_89 (attendance VARCHAR, tie_no VARCHAR)
What was the margin of victory when the winning score was −12 (66-67-64-71=268)?
SELECT margin_of_victory FROM table_name_67 WHERE winning_score = −12(66 - 67 - 64 - 71 = 268)
CREATE TABLE table_name_67 (margin_of_victory VARCHAR, winning_score VARCHAR)
Which 2nd senior VIII that also has a 4th senior stm?
SELECT senior_2nd_viii FROM table_name_60 WHERE senior_iv = "stm"
CREATE TABLE table_name_60 (senior_2nd_viii VARCHAR, senior_iv VARCHAR)
Who constructed the car that retired due to brakes with a grid larger than 17?
SELECT constructor FROM table_name_58 WHERE grid > 17 AND time_retired = "brakes"
CREATE TABLE table_name_58 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
How many frequency figures are given for next station service pattern?
SELECT COUNT(frequency__per_hour_) FROM table_1612760_1 WHERE service_pattern = "Next station"
CREATE TABLE table_1612760_1 (frequency__per_hour_ VARCHAR, service_pattern VARCHAR)
What was the score when playing Milwaukee?
SELECT score FROM table_23186738_10 WHERE team = "Milwaukee"
CREATE TABLE table_23186738_10 (score VARCHAR, team VARCHAR)
Name the score for denver
SELECT score FROM table_27722734_11 WHERE team = "Denver"
CREATE TABLE table_27722734_11 (score VARCHAR, team VARCHAR)
What is the highest uni# of the person with the first name Todd?
SELECT MAX(uni_number) FROM table_name_32 WHERE first = "todd"
CREATE TABLE table_name_32 (uni_number INTEGER, first VARCHAR)
What is the hometown of Cody Zeller?
SELECT hometown FROM table_name_83 WHERE player = "cody zeller"
CREATE TABLE table_name_83 (hometown VARCHAR, player VARCHAR)