question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the final score of the tournament played in Clearwater, Florida?
CREATE TABLE table_name_47 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_47 WHERE tournament = "clearwater, florida"
What was the name of the Competition in Rome, Italy?
CREATE TABLE table_name_46 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_46 WHERE venue = "rome, italy"
Which year did enrolled Gambier members leave?
CREATE TABLE table_261946_3 (left INTEGER, location__all_in_ohio_ VARCHAR)
SELECT MIN(left) FROM table_261946_3 WHERE location__all_in_ohio_ = "Gambier"
What year featured the film tsotsi?
CREATE TABLE table_13700749_1 (year__ceremony_ VARCHAR, film_title VARCHAR)
SELECT year__ceremony_ FROM table_13700749_1 WHERE film_title = "Tsotsi"
Which wrestling event was at the 2008 Beijing games?
CREATE TABLE table_name_31 (event VARCHAR, sport VARCHAR, games VARCHAR)
SELECT event FROM table_name_31 WHERE sport = "wrestling" AND games = "2008 beijing"
How many people were in the crowd when the away team was north melbourne?
CREATE TABLE table_name_27 (crowd INTEGER, away_team VARCHAR)
SELECT SUM(crowd) FROM table_name_27 WHERE away_team = "north melbourne"
What is the Termination of Mission with a Title of Ambassador Extraordinary and Plenipotentiary with a Representative of Reynold E. Carlson?
CREATE TABLE table_name_37 (termination_of_mission VARCHAR, title VARCHAR, representative VARCHAR)
SELECT termination_of_mission FROM table_name_37 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "reynold e. carlson"
How many high rebounds are in series 3-3?
CREATE TABLE table_22871316_11 (high_rebounds VARCHAR, series VARCHAR)
SELECT COUNT(high_rebounds) FROM table_22871316_11 WHERE series = "3-3"
Who was crew chief for the team owned by Bob Leavine?
CREATE TABLE table_1266602_2 (crew_chief VARCHAR, owner_s_ VARCHAR)
SELECT crew_chief FROM table_1266602_2 WHERE owner_s_ = "Bob Leavine"
How many years had a score of 734-5d?
CREATE TABLE table_name_9 (year VARCHAR, score VARCHAR)
SELECT COUNT(year) FROM table_name_9 WHERE score = "734-5d"
Which team had 21 points?
CREATE TABLE table_15318779_1 (team VARCHAR, points VARCHAR)
SELECT team FROM table_15318779_1 WHERE points = 21
What date was an episode with a run time of 24:30 broadcasted?
CREATE TABLE table_1579922_1 (broadcast_date VARCHAR, run_time VARCHAR)
SELECT broadcast_date FROM table_1579922_1 WHERE run_time = "24:30"
What are the IHSAA classes of the Indianapolis schools?
CREATE TABLE table_name_34 (ihsaa_class VARCHAR, location VARCHAR)
SELECT ihsaa_class FROM table_name_34 WHERE location = "indianapolis"
How many goals did he score with under 26 appearances for werder bremen?
CREATE TABLE table_name_87 (goals VARCHAR, apps VARCHAR, club VARCHAR)
SELECT COUNT(goals) FROM table_name_87 WHERE apps < 26 AND club = "werder bremen"
What's the smallest number of bronze medals that any one if the ensembles has?
CREATE TABLE table_1305623_6 (bronze_medals INTEGER)
SELECT MIN(bronze_medals) FROM table_1305623_6
Find all the instruments ever used by the musician with last name "Heilo"?
CREATE TABLE instruments (bandmateid VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR)
SELECT instrument FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid = T2.id WHERE T2.lastname = "Heilo"
What is the total number for November, larger than 8.53 in February, 20.21 in March, and less than 7.9 in September?
CREATE TABLE table_name_50 (november VARCHAR, september VARCHAR, february VARCHAR, march VARCHAR)
SELECT COUNT(november) FROM table_name_50 WHERE february > 8.53 AND march = 20.21 AND september < 7.9
Who was the opposing team during the game in Zagreb?
CREATE TABLE table_name_80 (opponent VARCHAR, city VARCHAR)
SELECT opponent FROM table_name_80 WHERE city = "zagreb"
What is the total number of gold medals of the nation with 0 silver and more than 1 bronze?
CREATE TABLE table_name_47 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(gold) FROM table_name_47 WHERE silver = 0 AND bronze > 1
What's the latest keynote version of version 2.3 of numbers with pages greater than 4.3?
CREATE TABLE table_name_18 (keynote_version INTEGER, numbers_version VARCHAR, pages_version VARCHAR)
SELECT MAX(keynote_version) FROM table_name_18 WHERE numbers_version = "2.3" AND pages_version > 4.3
What is the Language that has sky tg 24 active as the Television service?
CREATE TABLE table_name_83 (language VARCHAR, television_service VARCHAR)
SELECT language FROM table_name_83 WHERE television_service = "sky tg 24 active"
What nationality did Greg Inglis hold?
CREATE TABLE table_name_21 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_21 WHERE player = "greg inglis"
What is the home ground for the team located in Canterbury?
CREATE TABLE table_name_96 (home_ground VARCHAR, location VARCHAR)
SELECT home_ground FROM table_name_96 WHERE location = "canterbury"
Name the percentage for georgia
CREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR)
SELECT percentage FROM table_22825679_1 WHERE team = "Georgia"
What is the smallest Pick with Overall larger than 17, a Player name of dave adams category:articles with hcards, and a Year larger than 1963?
CREATE TABLE table_name_88 (pick INTEGER, year VARCHAR, overall VARCHAR, player_name VARCHAR)
SELECT MIN(pick) FROM table_name_88 WHERE overall > 17 AND player_name = "dave adams category:articles with hcards" AND year > 1963
What region is inarajan in?
CREATE TABLE table_2588674_1 (region VARCHAR, village VARCHAR)
SELECT region FROM table_2588674_1 WHERE village = "Inarajan"
which team had a bye week?
CREATE TABLE table_name_21 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_21 WHERE attendance = "bye"
What year is the death for a birth of 1873 and higher than rank 28?
CREATE TABLE table_name_74 (death VARCHAR, birth VARCHAR, rank VARCHAR)
SELECT death FROM table_name_74 WHERE birth = 1873 AND rank > 28
What was the score of the game when the record was 35-47?
CREATE TABLE table_name_76 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_76 WHERE record = "35-47"
What june 21–22, 2011 polling has green smaller than 13?
CREATE TABLE table_name_89 (polling_firm VARCHAR, green VARCHAR, date_of_polling VARCHAR)
SELECT polling_firm FROM table_name_89 WHERE green < 13 AND date_of_polling = "june 21–22, 2011"
Name the country with year more than 2008
CREATE TABLE table_name_95 (country VARCHAR, year INTEGER)
SELECT country FROM table_name_95 WHERE year > 2008
What episode had a run time of 24:25?
CREATE TABLE table_1579922_1 (episode VARCHAR, run_time VARCHAR)
SELECT episode FROM table_1579922_1 WHERE run_time = "24:25"
How did the election end for Terry L. Bruce?
CREATE TABLE table_1341586_14 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1341586_14 WHERE incumbent = "Terry L. Bruce"
What is the shot % with a 44+ Ends Lost, skip Cathy King, and smaller than 13 Black Ends?
CREATE TABLE table_name_36 (shot_pct INTEGER, blank_ends VARCHAR, ends_lost VARCHAR, skip VARCHAR)
SELECT MAX(shot_pct) FROM table_name_36 WHERE ends_lost > 44 AND skip = "cathy king" AND blank_ends < 13
what is the surface when the opponent is selma babic?
CREATE TABLE table_name_31 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_31 WHERE opponent = "selma babic"
What is the grid total for david coulthard with over 45 laps?
CREATE TABLE table_name_85 (grid VARCHAR, driver VARCHAR, laps VARCHAR)
SELECT COUNT(grid) FROM table_name_85 WHERE driver = "david coulthard" AND laps > 45
How many people attended the game against away team Cambridge City?
CREATE TABLE table_name_98 (attendance VARCHAR, away_team VARCHAR)
SELECT attendance FROM table_name_98 WHERE away_team = "cambridge city"
What is the mind of the one that has qut reason?
CREATE TABLE table_19760_1 (mind VARCHAR, reason VARCHAR)
SELECT mind FROM table_19760_1 WHERE reason = "qut"
What is the Fourth place with a Year that is 1966?
CREATE TABLE table_name_11 (fourth_place VARCHAR, year VARCHAR)
SELECT fourth_place FROM table_name_11 WHERE year = 1966
What venue was the game held at when the Score was 3 – 0?
CREATE TABLE table_name_66 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_66 WHERE score = "3 – 0"
Which Round has a Method of ko, and an Opponent of alfonse d'amore?
CREATE TABLE table_name_14 (round VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_14 WHERE method = "ko" AND opponent = "alfonse d'amore"
Name the least lane for lenny krayzelburg
CREATE TABLE table_name_18 (lane INTEGER, name VARCHAR)
SELECT MIN(lane) FROM table_name_18 WHERE name = "lenny krayzelburg"
Which Album had a year less than 2005 with a Label by Ministry of Sound?
CREATE TABLE table_name_94 (album VARCHAR, year VARCHAR, label VARCHAR)
SELECT album FROM table_name_94 WHERE year < 2005 AND label = "ministry of sound"
Name the Player who has a CFL Team of toronto?
CREATE TABLE table_name_24 (player VARCHAR, cfl_team VARCHAR)
SELECT player FROM table_name_24 WHERE cfl_team = "toronto"
Who is the away team for the game played on December 24, 1977?
CREATE TABLE table_name_78 (away_team VARCHAR, date VARCHAR)
SELECT away_team FROM table_name_78 WHERE date = "december 24, 1977"
List all the distinct stations from which a trip of duration below 100 started.
CREATE TABLE trip (start_station_name VARCHAR, duration INTEGER)
SELECT DISTINCT start_station_name FROM trip WHERE duration < 100
How many million U.S. viewers watched the episode with a production code of 1arc03?
CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
SELECT us_viewers__million_ FROM table_25668962_1 WHERE production_code = "1ARC03"
How did the manager replaced by Michael Oenning depart?
CREATE TABLE table_name_56 (manner_of_departure VARCHAR, replaced_by VARCHAR)
SELECT manner_of_departure FROM table_name_56 WHERE replaced_by = "michael oenning"
Which event had the record of 18–5 (1)?
CREATE TABLE table_name_18 (event VARCHAR, record VARCHAR)
SELECT event FROM table_name_18 WHERE record = "18–5 (1)"
What is the score of Tim Herron, who placed t1?
CREATE TABLE table_name_60 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_60 WHERE place = "t1" AND player = "tim herron"
Which Lead has Hans Frauenlob as a Third?
CREATE TABLE table_name_62 (lead VARCHAR, third VARCHAR)
SELECT lead FROM table_name_62 WHERE third = "hans frauenlob"
If the hometown is Omuthiya, what is the contestant name?
CREATE TABLE table_23576576_2 (contestant VARCHAR, hometown VARCHAR)
SELECT contestant FROM table_23576576_2 WHERE hometown = "Omuthiya"
Name the least game for record of 1-0-2
CREATE TABLE table_name_24 (game INTEGER, record VARCHAR)
SELECT MIN(game) FROM table_name_24 WHERE record = "1-0-2"
What is the IATA when France was the country, and the ICAO was lfrn?
CREATE TABLE table_name_72 (iata VARCHAR, country VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_72 WHERE country = "france" AND icao = "lfrn"
Who replaced when position in table is pre-season?
CREATE TABLE table_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR)
SELECT replaced_by FROM table_10592536_8 WHERE position_in_table = "Pre-season"
what is the reported birth date when the reported age is 110 years, 185 days?
CREATE TABLE table_name_58 (reported_birth_date VARCHAR, reported_age VARCHAR)
SELECT reported_birth_date FROM table_name_58 WHERE reported_age = "110 years, 185 days"
What is the population density in the Brighton area?
CREATE TABLE table_140297_1 (density VARCHAR, principal_town VARCHAR)
SELECT density FROM table_140297_1 WHERE principal_town = "Brighton"
What is the chassis of rahel frey's volkswagen engine?
CREATE TABLE table_name_74 (chassis VARCHAR, engine VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_74 WHERE engine = "volkswagen" AND driver = "rahel frey"
What was the record of the team with head coach Steve Spurrier?
CREATE TABLE table_name_8 (record VARCHAR, head_coach VARCHAR)
SELECT record FROM table_name_8 WHERE head_coach = "steve spurrier"
Find the max, average, and minimum gpa of all students in each department.
CREATE TABLE student (dept_code VARCHAR, stu_gpa INTEGER)
SELECT MAX(stu_gpa), AVG(stu_gpa), MIN(stu_gpa), dept_code FROM student GROUP BY dept_code
What is the rnag for lyric fm 98.7?
CREATE TABLE table_18475946_2 (rnag__mhz_ VARCHAR, lyric_fm__mhz_ VARCHAR)
SELECT rnag__mhz_ FROM table_18475946_2 WHERE lyric_fm__mhz_ = "98.7"
If the area is 34.73, what is the census ranking?
CREATE TABLE table_171236_1 (census_ranking VARCHAR, area_km_2 VARCHAR)
SELECT census_ranking FROM table_171236_1 WHERE area_km_2 = "34.73"
Name the home leg for uefa europa league and round of q1 with opponents of motherwell
CREATE TABLE table_name_82 (home_leg VARCHAR, opponents VARCHAR, competition VARCHAR, round VARCHAR)
SELECT home_leg FROM table_name_82 WHERE competition = "uefa europa league" AND round = "q1" AND opponents = "motherwell"
Name the score for detroit home and record of 33-18-9
CREATE TABLE table_name_85 (score VARCHAR, home VARCHAR, record VARCHAR)
SELECT score FROM table_name_85 WHERE home = "detroit" AND record = "33-18-9"
Name the number of cyrillic name for stanišić
CREATE TABLE table_2562572_22 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)
SELECT COUNT(cyrillic_name_other_names) FROM table_2562572_22 WHERE settlement = "Stanišić"
List the names of wrestlers in descending order of days held.
CREATE TABLE wrestler (Name VARCHAR, Days_held VARCHAR)
SELECT Name FROM wrestler ORDER BY Days_held DESC
How many total losses does the team have with an against of 2195 and the draws were greater than 0?
CREATE TABLE table_name_77 (losses VARCHAR, against VARCHAR, draws VARCHAR)
SELECT COUNT(losses) FROM table_name_77 WHERE against = 2195 AND draws > 0
Tell me the number range for 4vip
CREATE TABLE table_name_36 (no_range VARCHAR, type VARCHAR)
SELECT no_range FROM table_name_36 WHERE type = "4vip"
What is the position of the song that adam sandahl wrote?
CREATE TABLE table_23585197_3 (position VARCHAR, songwriter_s_ VARCHAR)
SELECT position FROM table_23585197_3 WHERE songwriter_s_ = "Adam Sandahl"
Name the being qualities for having things of friendships, family, relationships with nature
CREATE TABLE table_name_20 (being__qualities_ VARCHAR, having__things_ VARCHAR)
SELECT being__qualities_ FROM table_name_20 WHERE having__things_ = "friendships, family, relationships with nature"
What's the Current Status of Livery of the Network South-East?
CREATE TABLE table_name_66 (current_status VARCHAR, livery VARCHAR)
SELECT current_status FROM table_name_66 WHERE livery = "network south-east"
What school has an IHSAA Class of aaa, and their mascot is Tiger Cubs?
CREATE TABLE table_name_50 (school VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
SELECT school FROM table_name_50 WHERE ihsaa_class = "aaa" AND mascot = "tiger cubs"
Player of corey pavin, and a Rank larger than 4 involved which highest earnings ($)?
CREATE TABLE table_name_72 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
SELECT MAX(earnings___) AS $__ FROM table_name_72 WHERE player = "corey pavin" AND rank > 4
If the primary (South) winners is Inter The Bloomfield, what is the season total number?
CREATE TABLE table_23014923_1 (season VARCHAR, primary__south__winners VARCHAR)
SELECT COUNT(season) FROM table_23014923_1 WHERE primary__south__winners = "Inter The Bloomfield"
Which of the titles have a duration time of 4:57?
CREATE TABLE table_name_81 (title VARCHAR, duration VARCHAR)
SELECT title FROM table_name_81 WHERE duration = "4:57"
What is the Original Title, when Director is "Ting Shan-Si", and when Film Title Used In Nomination is "The 800 Heroes"?
CREATE TABLE table_name_73 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_name_73 WHERE director = "ting shan-si" AND film_title_used_in_nomination = "the 800 heroes"
What was date of the game when the record was 31-15?
CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_14 WHERE record = "31-15"
When was the venue mexico city, mexico with a goal of 8?
CREATE TABLE table_name_9 (date VARCHAR, venue VARCHAR, goal VARCHAR)
SELECT date FROM table_name_9 WHERE venue = "mexico city, mexico" AND goal = 8
What is the Team for Stanford College?
CREATE TABLE table_name_87 (team VARCHAR, college VARCHAR)
SELECT team FROM table_name_87 WHERE college = "stanford"
What is the largest area with a Code of 66097, and a Region larger than 6?
CREATE TABLE table_name_72 (area__km_2__ INTEGER, code VARCHAR, region VARCHAR)
SELECT MAX(area__km_2__) FROM table_name_72 WHERE code = 66097 AND region > 6
Name the surface for 6–0, 6–3
CREATE TABLE table_22597626_6 (surface VARCHAR, score_in_the_final VARCHAR)
SELECT surface FROM table_22597626_6 WHERE score_in_the_final = "6–0, 6–3"
Which player was drafted by the New York Rangers?
CREATE TABLE table_2850912_10 (player VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_2850912_10 WHERE nhl_team = "New York Rangers"
What is the lowest tier for a position smaller than 7 for a Turkish Cup group stage?
CREATE TABLE table_name_99 (tier INTEGER, turkish_cup VARCHAR, pos VARCHAR)
SELECT MIN(tier) FROM table_name_99 WHERE turkish_cup = "group stage" AND pos < 7
What is the average Top-5 for the open championship, and a Top-10 smaller than 2?
CREATE TABLE table_name_98 (top_5 INTEGER, tournament VARCHAR, top_10 VARCHAR)
SELECT AVG(top_5) FROM table_name_98 WHERE tournament = "the open championship" AND top_10 < 2
What is the length of the 6 Hours of Talladega?
CREATE TABLE table_name_82 (length VARCHAR, race VARCHAR)
SELECT length FROM table_name_82 WHERE race = "6 hours of talladega"
Which Outcome has an Opponent of wendy turnbull, and a Surface of grass?
CREATE TABLE table_name_54 (outcome VARCHAR, opponent VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_54 WHERE opponent = "wendy turnbull" AND surface = "grass"
What are radio electricals when secretariat is wtr i?
CREATE TABLE table_1348246_3 (Radio VARCHAR, secretariat VARCHAR)
SELECT Radio AS electrical FROM table_1348246_3 WHERE secretariat = "WTR I"
When hermann uhde is the count who is the conductor?
CREATE TABLE table_29728787_1 (conductor VARCHAR, count VARCHAR)
SELECT conductor FROM table_29728787_1 WHERE count = "Hermann Uhde"
The deputy that left office in 2003 took office in which year?
CREATE TABLE table_name_90 (took_office VARCHAR, left_office VARCHAR)
SELECT took_office FROM table_name_90 WHERE left_office = "2003"
Which Frequency has a Multiplier of 6×?
CREATE TABLE table_name_7 (frequency VARCHAR, multiplier VARCHAR)
SELECT frequency FROM table_name_7 WHERE multiplier = "6×"
Tell me the name with best of 58.403
CREATE TABLE table_name_46 (name VARCHAR, best VARCHAR)
SELECT name FROM table_name_46 WHERE best = "58.403"
What date has the Surfers Paradise International Raceway circuit?
CREATE TABLE table_name_52 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_52 WHERE circuit = "surfers paradise international raceway"
What was the UK broadcast date for the episode which visited USA?
CREATE TABLE table_15211468_1 (uk_broadcast_date VARCHAR, countries_visited VARCHAR)
SELECT uk_broadcast_date FROM table_15211468_1 WHERE countries_visited = "USA"
What date is the record 4-3-0?
CREATE TABLE table_name_94 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_94 WHERE record = "4-3-0"
Name the gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock
CREATE TABLE table_27561503_2 (gt_20_winning_team VARCHAR, sports_20_winning_team VARCHAR, circuit VARCHAR)
SELECT COUNT(gt_20_winning_team) FROM table_27561503_2 WHERE sports_20_winning_team = "#16 Trans Ocean Motors" AND circuit = "Castle Rock"
What is the assists for the year 1995?
CREATE TABLE table_name_66 (assists VARCHAR, year VARCHAR)
SELECT assists FROM table_name_66 WHERE year = "1995"
What is the number of series with production code 503?
CREATE TABLE table_11630008_7 (series__number VARCHAR, production_code VARCHAR)
SELECT COUNT(series__number) FROM table_11630008_7 WHERE production_code = 503
Name the original name for last days of the victim
CREATE TABLE table_name_97 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_name FROM table_name_97 WHERE film_title_used_in_nomination = "last days of the victim"
What is the Position with a Birthdate that is august 17, 1980?
CREATE TABLE table_name_92 (position VARCHAR, birthdate VARCHAR)
SELECT position FROM table_name_92 WHERE birthdate = "august 17, 1980"
Which driver scored 9 points?
CREATE TABLE table_name_58 (driver VARCHAR, points VARCHAR)
SELECT driver FROM table_name_58 WHERE points = "9"