question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the episode on Fuji TV titled Absolute Boyfriend?
CREATE TABLE table_name_98 (episodes INTEGER, tv_station VARCHAR, romaji_title VARCHAR)
SELECT MIN(episodes) FROM table_name_98 WHERE tv_station = "fuji tv" AND romaji_title = "absolute boyfriend"
How many times did the team play charlotte?
CREATE TABLE table_17058116_6 (record VARCHAR, team VARCHAR)
SELECT COUNT(record) FROM table_17058116_6 WHERE team = "Charlotte"
what is the tie number that has Portsmouth Home team
CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_52 WHERE home_team = "portsmouth"
What is the maximum enrollment for Concordia University?
CREATE TABLE table_1974443_1 (enrollment INTEGER, institution VARCHAR)
SELECT MAX(enrollment) FROM table_1974443_1 WHERE institution = "Concordia University"
On 2006-03-13 in the algarve cup, who won?
CREATE TABLE table_name_60 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT result FROM table_name_60 WHERE competition = "algarve cup" AND date = "2006-03-13"
Who was the Manchester performer of Lisa Davina Phillip's character?
CREATE TABLE table_22460085_1 (original_manchester_performer VARCHAR, original_west_end_performer VARCHAR)
SELECT original_manchester_performer FROM table_22460085_1 WHERE original_west_end_performer = "Lisa Davina Phillip"
What is the lowest Loss, when Long is less than 0?
CREATE TABLE table_name_41 (loss INTEGER, long INTEGER)
SELECT MIN(loss) FROM table_name_41 WHERE long < 0
What is K236AM's lowest frequency in MHz?
CREATE TABLE table_name_51 (frequency_mhz INTEGER, call_sign VARCHAR)
SELECT MIN(frequency_mhz) FROM table_name_51 WHERE call_sign = "k236am"
Which were the bout 1 when the bout 5 was andreev ( rus ) w 5-2?
CREATE TABLE table_19398910_4 (bout_1 VARCHAR, bout_5 VARCHAR)
SELECT bout_1 FROM table_19398910_4 WHERE bout_5 = "Andreev ( RUS ) W 5-2"
Which Team has a Score of 89-123?
CREATE TABLE table_name_40 (team VARCHAR, score VARCHAR)
SELECT team FROM table_name_40 WHERE score = "89-123"
Name the least season # for the first time
CREATE TABLE table_25363904_2 (season__number INTEGER, title_english VARCHAR)
SELECT MIN(season__number) FROM table_25363904_2 WHERE title_english = "The first time"
What is the highest time for athlete torri edwards, and a rank larger than 6?
CREATE TABLE table_name_31 (time INTEGER, athlete VARCHAR, rank VARCHAR)
SELECT MAX(time) FROM table_name_31 WHERE athlete = "torri edwards" AND rank > 6
When the Home team of collingwood played, what was the opposing Away team score?
CREATE TABLE table_name_49 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_49 WHERE home_team = "collingwood"
Which film actor (actress) starred the most films? List his or her first name, last name and actor id.
CREATE TABLE film_actor (actor_id VARCHAR); CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR, actor_id VARCHAR)
SELECT T2.first_name, T2.last_name, T2.actor_id FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id = T2.actor_id GROUP BY T2.actor_id ORDER BY COUNT(*) DESC LIMIT 1
Which year had playoffs of champion?
CREATE TABLE table_name_27 (year INTEGER, playoffs VARCHAR)
SELECT AVG(year) FROM table_name_27 WHERE playoffs = "champion"
What is the value for internal floppy disk with s-100 slots greater than 8 introduced earlier than 1978?
CREATE TABLE table_name_19 (internal_floppy_disk VARCHAR, s_100_slots VARCHAR, year_introduced VARCHAR)
SELECT internal_floppy_disk FROM table_name_19 WHERE s_100_slots > 8 AND year_introduced < 1978
what is the notes for andre vonarburg?
CREATE TABLE table_name_24 (notes VARCHAR, athlete VARCHAR)
SELECT notes FROM table_name_24 WHERE athlete = "andre vonarburg"
Who is the player with a Jersey Number(s) greater than 30?
CREATE TABLE table_name_22 (player VARCHAR, jersey_number_s_ INTEGER)
SELECT player FROM table_name_22 WHERE jersey_number_s_ > 30
How many different items were reviewed by some users?
CREATE TABLE review (i_id VARCHAR)
SELECT COUNT(DISTINCT i_id) FROM review
Where is the locality with Ofsted less than 106478 for Meadowbank Primary and Nursery School?
CREATE TABLE table_name_47 (locality VARCHAR, ofsted VARCHAR, school VARCHAR)
SELECT locality FROM table_name_47 WHERE ofsted < 106478 AND school = "meadowbank primary and nursery school"
What is the team with 1st period at 12:37?
CREATE TABLE table_name_53 (team VARCHAR, period VARCHAR, time VARCHAR)
SELECT team FROM table_name_53 WHERE period = "1st" AND time = "12:37"
Who are the authors for the malasaurus of the vyazniki assemblage?
CREATE TABLE table_name_16 (authors VARCHAR, unit VARCHAR, name VARCHAR)
SELECT authors FROM table_name_16 WHERE unit = "vyazniki assemblage" AND name = "malasaurus"
What nationality has jon koncak as the player?
CREATE TABLE table_name_70 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_70 WHERE player = "jon koncak"
What is the score when the team is Orlando?
CREATE TABLE table_27756164_8 (score VARCHAR, team VARCHAR)
SELECT COUNT(score) FROM table_27756164_8 WHERE team = "Orlando"
Who is the opponent after week 9 at rich stadium?
CREATE TABLE table_name_29 (opponent VARCHAR, week VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_name_29 WHERE week > 9 AND game_site = "rich stadium"
Who won Silverstone in a round after 10?
CREATE TABLE table_name_90 (name VARCHAR, round VARCHAR, circuit VARCHAR)
SELECT name FROM table_name_90 WHERE round > 10 AND circuit = "silverstone"
Who lost when the philadelphia eagles won at lincoln financial field on september 30?
CREATE TABLE table_name_24 (loser VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR)
SELECT loser FROM table_name_24 WHERE location = "lincoln financial field" AND winner = "philadelphia eagles" AND date = "september 30"
what team had a score of 2-1
CREATE TABLE table_name_92 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_92 WHERE score = "2-1"
What year was the locomotive withdrawn that was made in 1876?
CREATE TABLE table_name_90 (year_s__withdrawn VARCHAR, year_made VARCHAR)
SELECT year_s__withdrawn FROM table_name_90 WHERE year_made = "1876"
What is the score of the match with opponents Gretchen Magers Kelly Jones?
CREATE TABLE table_1028356_3 (score VARCHAR, opponents VARCHAR)
SELECT score FROM table_1028356_3 WHERE opponents = "Gretchen Magers Kelly Jones"
What is the winning team at Oulton Park when Max Chilton held the pole position?
CREATE TABLE table_21373283_3 (winning_team VARCHAR, pole_position VARCHAR, circuit VARCHAR)
SELECT winning_team FROM table_21373283_3 WHERE pole_position = "Max Chilton" AND circuit = "Oulton Park"
How many laps did Dick Rathmann complete when he ranked 14?
CREATE TABLE table_name_51 (laps VARCHAR, rank VARCHAR)
SELECT laps FROM table_name_51 WHERE rank = "14"
Name the total number of yards for avg of 9 and rec of 1
CREATE TABLE table_name_99 (yards VARCHAR, avg VARCHAR, rec VARCHAR)
SELECT COUNT(yards) FROM table_name_99 WHERE avg = 9 AND rec = 1
What week did they have a bye?
CREATE TABLE table_name_52 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_52 WHERE date = "bye"
What is the average year for Faces?
CREATE TABLE table_name_61 (year INTEGER, title VARCHAR)
SELECT AVG(year) FROM table_name_61 WHERE title = "faces"
What is the money won by Frank Nobilo?
CREATE TABLE table_name_46 (money___ VARCHAR, player VARCHAR)
SELECT COUNT(money___) AS £__ FROM table_name_46 WHERE player = "frank nobilo"
What's the number of McCain votes in the county where Obama got 35.7% and others got 1.9% of the votes?
CREATE TABLE table_20453681_1 (mccain_number INTEGER, obama_percentage VARCHAR, others_percentage VARCHAR)
SELECT MIN(mccain_number) FROM table_20453681_1 WHERE obama_percentage = "35.7%" AND others_percentage = "1.9%"
The Away High Park Demons was which Ground?
CREATE TABLE table_name_83 (ground VARCHAR, away VARCHAR)
SELECT ground FROM table_name_83 WHERE away = "high park demons"
where is Fisk University located?
CREATE TABLE table_262481_2 (location VARCHAR, institution VARCHAR)
SELECT location FROM table_262481_2 WHERE institution = "Fisk University"
What are the names and descriptions of all the sections?
CREATE TABLE Sections (section_name VARCHAR, section_description VARCHAR)
SELECT section_name, section_description FROM Sections
how many pos with member association being china pr
CREATE TABLE table_14460937_2 (pos VARCHAR, member_association VARCHAR)
SELECT COUNT(pos) FROM table_14460937_2 WHERE member_association = "China PR"
Which KOREAN has a CHINESE of 師子菩提 / shīzǐpútí?
CREATE TABLE table_name_51 (korean VARCHAR, chinese VARCHAR)
SELECT korean FROM table_name_51 WHERE chinese = "師子菩提 / shīzǐpútí"
What is the lowest Silver in the Total Sport has less than 1 Gold and more than 1 Bronze?
CREATE TABLE table_name_77 (silver INTEGER, gold VARCHAR, bronze VARCHAR, sport VARCHAR)
SELECT MIN(silver) FROM table_name_77 WHERE bronze > 1 AND sport = "total" AND gold < 1
What is the Away team at Bristol Rovers' Home game?
CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_33 WHERE home_team = "bristol rovers"
How many points did Happy Valley score before game 14?
CREATE TABLE table_name_89 (point VARCHAR, team VARCHAR, game VARCHAR)
SELECT COUNT(point) FROM table_name_89 WHERE team = "happy valley" AND game < 14
What was the lowest lost entry for a team with fewer than 21 goals for?
CREATE TABLE table_name_39 (lost INTEGER, goals_for INTEGER)
SELECT MIN(lost) FROM table_name_39 WHERE goals_for < 21
What is the total number of silvers associated with 3 bronzes, a total over 6, and a rank of 3?
CREATE TABLE table_name_11 (silver VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR)
SELECT COUNT(silver) FROM table_name_11 WHERE bronze = "3" AND rank = "3" AND total > 6
Who was Margaret Court's opponent on clay in 1975?
CREATE TABLE table_name_84 (opponents VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT opponents FROM table_name_84 WHERE surface = "clay" AND partner = "margaret court" AND year = 1975
What is the total number of 3rd place finishes for racers with 0 titles?
CREATE TABLE table_name_31 (titles INTEGER)
SELECT SUM(3 AS rd_pl) FROM table_name_31 WHERE titles < 0
Can you tell me the total number of Byes that has the Wins of 14, and the Losses larger than 2?
CREATE TABLE table_name_80 (byes VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT COUNT(byes) FROM table_name_80 WHERE wins = 14 AND losses > 2
What team(s) played in the 1995-96 season?
CREATE TABLE table_name_46 (teams VARCHAR, season VARCHAR)
SELECT teams FROM table_name_46 WHERE season = "1995-96"
What is the highest 1987 value with a 1995 value less than 1995 and a 1999 less than 9?
CREATE TABLE table_name_48 (Id VARCHAR)
SELECT MAX(1987) FROM table_name_48 WHERE 1995 < 1995 AND 1999 < 9
Who was the home team for the game played at Victoria Park?
CREATE TABLE table_name_87 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_87 WHERE venue = "victoria park"
What is the protein name of the protein with a sequence identity to human protein of 32%?
CREATE TABLE table_name_2 (protein_name VARCHAR, sequence_identity_to_human_protein VARCHAR)
SELECT protein_name FROM table_name_2 WHERE sequence_identity_to_human_protein = "32%"
What Money (£) has a Country of ireland?
CREATE TABLE table_name_96 (money___£__ VARCHAR, country VARCHAR)
SELECT money___£__ FROM table_name_96 WHERE country = "ireland"
Which format is in St. George with a frequency of 0 107.3 fm?
CREATE TABLE table_name_31 (format VARCHAR, city_of_license VARCHAR, frequency VARCHAR)
SELECT format FROM table_name_31 WHERE city_of_license = "st. george" AND frequency = "0 107.3 fm"
Which Ipsos 5/16/09 has an Ifop- La Croix 5/15/09 of 26%?
CREATE TABLE table_name_89 (csa_5_20_09 VARCHAR, ifop__la_croix_5_15_09 VARCHAR)
SELECT csa_5_20_09 FROM table_name_89 WHERE ifop__la_croix_5_15_09 = "26%"
Who is the winner where the losing hand is Ah 7s?
CREATE TABLE table_12454156_1 (winner VARCHAR, losing_hand VARCHAR)
SELECT winner FROM table_12454156_1 WHERE losing_hand = "Ah 7s"
Which Completions has Yards of 10,098?
CREATE TABLE table_name_36 (completions VARCHAR, yards VARCHAR)
SELECT completions FROM table_name_36 WHERE yards = "10,098"
Who is the top goalscorer for season 1998-99?
CREATE TABLE table_2429942_2 (top_goalscorer VARCHAR, season VARCHAR)
SELECT top_goalscorer FROM table_2429942_2 WHERE season = "1998-99"
Show the phone, room, and building for the faculty named Jerry Prince.
CREATE TABLE Faculty (phone VARCHAR, room VARCHAR, building VARCHAR, Fname VARCHAR, Lname VARCHAR)
SELECT phone, room, building FROM Faculty WHERE Fname = "Jerry" AND Lname = "Prince"
What is the highest Runners-Up, when Champions is less than 0?
CREATE TABLE table_name_30 (runners_up INTEGER, champions INTEGER)
SELECT MAX(runners_up) FROM table_name_30 WHERE champions < 0
Which settlement has a cyrillic and other name of војводинци (romanian: voivodinţ)?
CREATE TABLE table_2562572_46 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)
SELECT settlement FROM table_2562572_46 WHERE cyrillic_name_other_names = "Војводинци (Romanian: Voivodinţ)"
What was the home team score at Glenferrie Oval?
CREATE TABLE table_name_10 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_10 WHERE venue = "glenferrie oval"
What is the round when the loss came with a record of 2-4?
CREATE TABLE table_name_78 (round VARCHAR, res VARCHAR, record VARCHAR)
SELECT round FROM table_name_78 WHERE res = "loss" AND record = "2-4"
Which team had a qualifying 1 time of 1:01.342?
CREATE TABLE table_name_40 (team VARCHAR, qual_1 VARCHAR)
SELECT team FROM table_name_40 WHERE qual_1 = "1:01.342"
What's the average attendance of the leagues in the season of 2013?
CREATE TABLE table_10815352_1 (average_attendance INTEGER, season VARCHAR)
SELECT MIN(average_attendance) FROM table_10815352_1 WHERE season = "2013"
Who is the best player in the 1998 season?
CREATE TABLE table_2527617_1 (best_player VARCHAR, season VARCHAR)
SELECT best_player FROM table_2527617_1 WHERE season = 1998
What is the least 2009 that has 2005 littler than 640, and 2011 of 425, and 2003 littler than 500?
CREATE TABLE table_name_81 (Id VARCHAR)
SELECT MIN(2009) FROM table_name_81 WHERE 2005 < 640 AND 2011 = 425 AND 2003 < 500
january 15-16 when august 21-22 is august 22, 1979?
CREATE TABLE table_25355501_2 (january_15_16 VARCHAR, august_21_22 VARCHAR)
SELECT january_15_16 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1979"
What was the total number of Cuts made, when Top-5 was greater than 3, and when Events were 85?
CREATE TABLE table_name_79 (cuts_made VARCHAR, top_5 VARCHAR, events VARCHAR)
SELECT COUNT(cuts_made) FROM table_name_79 WHERE top_5 > 3 AND events = 85
How many games had a record of 16-17?
CREATE TABLE table_name_83 (game VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_name_83 WHERE record = "16-17"
What is the branding of the FM 97.7 station owned by the Canadian Broadcasting Corporation?
CREATE TABLE table_name_80 (branding VARCHAR, owner VARCHAR, frequency VARCHAR)
SELECT branding FROM table_name_80 WHERE owner = "canadian broadcasting corporation" AND frequency = "fm 97.7"
Who is 111years, 358days Age as of 1 February 2014?
CREATE TABLE table_name_86 (name VARCHAR, age_as_of_1_february_2014 VARCHAR)
SELECT name FROM table_name_86 WHERE age_as_of_1_february_2014 = "111years, 358days"
What are the date and venue of each debate?
CREATE TABLE debate (Date VARCHAR, Venue VARCHAR)
SELECT Date, Venue FROM debate
To which political party did the prime minister who served under George V and was born in Manchester belong?
CREATE TABLE table_name_5 (political_party VARCHAR, monarchs_served VARCHAR, birth_place VARCHAR)
SELECT political_party FROM table_name_5 WHERE monarchs_served = "george v" AND birth_place = "manchester"
How many nhl teams are listed when college/junior/club team is listed as newton north high school (ushs-ma)?
CREATE TABLE table_2850912_7 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
SELECT COUNT(nhl_team) FROM table_2850912_7 WHERE college_junior_club_team = "Newton North High School (USHS-MA)"
what is the notes when the rank is less than 2?
CREATE TABLE table_name_59 (notes VARCHAR, rank INTEGER)
SELECT notes FROM table_name_59 WHERE rank < 2
What subjunctive also has an inverse subjunctive of måchadns?
CREATE TABLE table_name_85 (subjunctive VARCHAR, inverse_subjunctive VARCHAR)
SELECT subjunctive FROM table_name_85 WHERE inverse_subjunctive = "måchadns"
What is Home Team, when Date is "April 10"?
CREATE TABLE table_name_58 (home_team VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_58 WHERE date = "april 10"
What is the largest WNBA game average with 9,290 (4th) is the average, and less than 157,934 is the total for the year?
CREATE TABLE table_name_11 (wnba_game_average INTEGER, average VARCHAR, total_for_year VARCHAR)
SELECT MAX(wnba_game_average) FROM table_name_11 WHERE average = "9,290 (4th)" AND total_for_year < 157 OFFSET 934
What Date did the Home team play in essendon?
CREATE TABLE table_name_48 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_48 WHERE home_team = "essendon"
What is the hot 100 reaction in week of top 13 for Kanye West?
CREATE TABLE table_name_41 (hot_100_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR)
SELECT hot_100_reaction FROM table_name_41 WHERE week = "top 13" AND performer_s_ = "kanye west"
What is the record of wins and losses for Denver's ball club?
CREATE TABLE table_17311759_5 (record VARCHAR, team VARCHAR)
SELECT record FROM table_17311759_5 WHERE team = "Denver"
What was the venue that had a friendly match competition?
CREATE TABLE table_name_49 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_49 WHERE competition = "friendly match"
What round did the match go to when the event was Bars - Moscow vs St. Petersburg?
CREATE TABLE table_name_92 (round VARCHAR, event VARCHAR)
SELECT round FROM table_name_92 WHERE event = "bars - moscow vs st. petersburg"
What is the Staffel A that has a Staffel D of Energie Cottbus and a Staffel C of Chemie Leipzig and a Staffel B of 1. FC Union Berlin?
CREATE TABLE table_name_75 (staffel_a VARCHAR, staffel_b VARCHAR, staffel_d VARCHAR, staffel_c VARCHAR)
SELECT staffel_a FROM table_name_75 WHERE staffel_d = "energie cottbus" AND staffel_c = "chemie leipzig" AND staffel_b = "1. fc union berlin"
What is the total amount of money that Payne Stewart has?
CREATE TABLE table_name_90 (money___ INTEGER, player VARCHAR)
SELECT SUM(money___) AS £__ FROM table_name_90 WHERE player = "payne stewart"
Which Played has a Lost larger than 2, and a Team of américa?
CREATE TABLE table_name_4 (played VARCHAR, lost VARCHAR, team VARCHAR)
SELECT played FROM table_name_4 WHERE lost > 2 AND team = "américa"
What is the description of the license for GNU GPL v2 or Ruby license?
CREATE TABLE table_25474825_1 (description VARCHAR, license VARCHAR)
SELECT description FROM table_25474825_1 WHERE license = "GNU GPL v2 or Ruby license"
For what class is the laps 66?
CREATE TABLE table_name_65 (class VARCHAR, laps VARCHAR)
SELECT class FROM table_name_65 WHERE laps = 66
What pick was a player that previously played for the Minnesota Lynx?
CREATE TABLE table_name_60 (pick INTEGER, former_wnba_team VARCHAR)
SELECT SUM(pick) FROM table_name_60 WHERE former_wnba_team = "minnesota lynx"
Who scored the most rebounds in the game against Chicago?
CREATE TABLE table_15869204_9 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_15869204_9 WHERE team = "Chicago"
What are all the names of the players who are 7-0 tall?
CREATE TABLE table_11734041_10 (player VARCHAR, height_in_ft VARCHAR)
SELECT player FROM table_11734041_10 WHERE height_in_ft = "7-0"
What dates of captaincy for a win % of 35.71?
CREATE TABLE table_name_14 (dates_of_captaincy VARCHAR, _percentage_win_ VARCHAR, a_ VARCHAR)
SELECT dates_of_captaincy FROM table_name_14 WHERE _percentage_win_[a_] = 35.71
What is the density of San Sebastián?
CREATE TABLE table_name_11 (density__hab_km²_ VARCHAR, city_district VARCHAR)
SELECT density__hab_km²_ FROM table_name_11 WHERE city_district = "san sebastián"
If the Cuatro Cañadas municipality percentage is 252, what are all the San Antonio de Lomerío municipality percentage?
CREATE TABLE table_19998428_3 (san_antonio_de_lomerío_municipality___percentage_ VARCHAR, cuatro_cañadas_municipality___percentage_ VARCHAR)
SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE cuatro_cañadas_municipality___percentage_ = "252"
How many entries for start of stage occur in the year 2006?
CREATE TABLE table_275506_1 (start_of_stage VARCHAR, year VARCHAR)
SELECT COUNT(start_of_stage) FROM table_275506_1 WHERE year = "2006"
What is title of episode aired on March 2, 2003?
CREATE TABLE table_1876825_5 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_1876825_5 WHERE original_air_date = "March 2, 2003"
what is the average for January with points of 51
CREATE TABLE table_name_7 (january VARCHAR, points VARCHAR)
SELECT january FROM table_name_7 WHERE points = 51