answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT games FROM table_name_12 WHERE finals = "1 (0)" AND w_league = "28 (1)"
How many games does the player with 1 (0) finals and a w-league of 28 (1) have?
CREATE TABLE table_name_12 (games VARCHAR, finals VARCHAR, w_league VARCHAR)
SELECT 1 AS st_party FROM table_name_34 WHERE election = "1857"
What is the 1st party during the 1857 election?
CREATE TABLE table_name_34 (election VARCHAR)
SELECT player FROM table_name_97 WHERE place = "t9" AND score = 73 - 69 - 74 = 216
What was the player for t9 and a score of 73-69-74=216?
CREATE TABLE table_name_97 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT event FROM table_27294107_11 WHERE round_of_32 = "Suárez ( TRI ) W 16–6"
What was the event when suárez ( tri ) w 16–6 was round of 32?
CREATE TABLE table_27294107_11 (event VARCHAR, round_of_32 VARCHAR)
SELECT AVG(attendance) FROM table_name_82 WHERE away_team = "forest green rovers"
What is the average attendance when the Forest Green Rovers is the away team?
CREATE TABLE table_name_82 (attendance INTEGER, away_team VARCHAR)
SELECT class FROM table_name_21 WHERE frequency_mhz > 91.7 AND call_sign = "k272ec"
Which Class has a Frequency MHz larger than 91.7, and a Call sign of k272ec?
CREATE TABLE table_name_21 (class VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT language FROM table_name_65 WHERE draw = 9
What's the language of Draw number 9?
CREATE TABLE table_name_65 (language VARCHAR, draw VARCHAR)
SELECT democratic FROM table_17503169_1 WHERE republican = "Frank Wolf"
Who was the democratic candidate when the republican was frank wolf?
CREATE TABLE table_17503169_1 (democratic VARCHAR, republican VARCHAR)
SELECT MAX(enrollment) FROM table_20190834_1 WHERE team_name = "Sooners"
What is the maximum enrollment of the Sooners?
CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)
SELECT loss FROM table_name_41 WHERE record = "3-3"
What was the loss of the game that had a record of 3-3?
CREATE TABLE table_name_41 (loss VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_17121262_9 WHERE game = 60
What was the location and attendance for game 60?
CREATE TABLE table_17121262_9 (location_attendance VARCHAR, game VARCHAR)
SELECT aircraft FROM table_name_40 WHERE quantity = "129"
What aircraft has 129 made?
CREATE TABLE table_name_40 (aircraft VARCHAR, quantity VARCHAR)
SELECT designated_grand_prix FROM table_name_32 WHERE track = "granollers"
What grand prix was held at Granollers?
CREATE TABLE table_name_32 (designated_grand_prix VARCHAR, track VARCHAR)
SELECT country FROM table_name_30 WHERE score = 71 - 69 = 140
What country scored 71-69=140?
CREATE TABLE table_name_30 (country VARCHAR, score VARCHAR)
SELECT american_labor_ticket FROM table_name_51 WHERE democratic_ticket = "robert f. wagner"
Which American Labor candidate ran against Democratic candidate Robert F. Wagner?
CREATE TABLE table_name_51 (american_labor_ticket VARCHAR, democratic_ticket VARCHAR)
SELECT COUNT(title) FROM table_16581695_3 WHERE production_code = 211
How many titles have a production code of 211?
CREATE TABLE table_16581695_3 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(trophy_presentation) FROM table_22514845_4 WHERE year = 1987
How many trophy presentations where in the year 1987?
CREATE TABLE table_22514845_4 (trophy_presentation VARCHAR, year VARCHAR)
SELECT location_attendance FROM table_23248940_7 WHERE record = "10-14"
Name the location attendance for 10-14
CREATE TABLE table_23248940_7 (location_attendance VARCHAR, record VARCHAR)
SELECT result FROM table_name_11 WHERE round = "final"
The round that had the final, what was the result?
CREATE TABLE table_name_11 (result VARCHAR, round VARCHAR)
SELECT 2012 FROM table_name_83 WHERE 2002 = "q1" AND 2010 = "1r"
What was the value in 2012 when 2002 was Q1 and 2010 was 1R?
CREATE TABLE table_name_83 (Id VARCHAR)
SELECT player FROM table_15893020_2 WHERE best_bowling = "2/43"
Who was the player with a bowling best of 2/43?
CREATE TABLE table_15893020_2 (player VARCHAR, best_bowling VARCHAR)
SELECT res FROM table_name_88 WHERE event = "ifl: los angeles"
What was the Result of IFL: Los Angeles?
CREATE TABLE table_name_88 (res VARCHAR, event VARCHAR)
SELECT MAX(goals¹) FROM table_24565004_7
What is the highest number of goals scored
CREATE TABLE table_24565004_7 (goals¹ INTEGER)
SELECT high_points FROM table_22883210_7 WHERE date = "January 20"
What was the high point for January 20?
CREATE TABLE table_22883210_7 (high_points VARCHAR, date VARCHAR)
SELECT catalog FROM table_name_59 WHERE region = "japan"
What is the Catalog Number is for the Japan region?
CREATE TABLE table_name_59 (catalog VARCHAR, region VARCHAR)
SELECT Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age <= 23
What are the issue dates of volumes associated with the artist aged 23 or younger?
CREATE TABLE volume (Artist_ID VARCHAR); CREATE TABLE artist (Artist_ID VARCHAR, age VARCHAR)
SELECT method FROM table_name_26 WHERE opponent = "paula mataele"
What is the method against Paula Mataele?
CREATE TABLE table_name_26 (method VARCHAR, opponent VARCHAR)
SELECT constellation FROM table_name_57 WHERE declination___j2000__ = "°32′39″"
What constellation has a Declination ( J2000 ) of °32′39″?
CREATE TABLE table_name_57 (constellation VARCHAR, declination___j2000__ VARCHAR)
SELECT event FROM table_name_22 WHERE prize = "zł 1,226,711"
What is the name of the event that had a prize of zł 1,226,711?
CREATE TABLE table_name_22 (event VARCHAR, prize VARCHAR)
SELECT injured FROM table_name_16 WHERE country = "venezuela"
What was the injured entry for Venezuela?
CREATE TABLE table_name_16 (injured VARCHAR, country VARCHAR)
SELECT MAX(catches) FROM table_26041144_16
What is the catches maximum number?
CREATE TABLE table_26041144_16 (catches INTEGER)
SELECT yards_per_attempt FROM table_19517448_3 WHERE total_yards = "513"
How many yards per attempt were there when total yards were 513?
CREATE TABLE table_19517448_3 (yards_per_attempt VARCHAR, total_yards VARCHAR)
SELECT episode FROM table_name_19 WHERE year = 2009 AND show = "dexter"
What is the Episode number of Ernest Dickerson in 2009 when the show was dexter?
CREATE TABLE table_name_19 (episode VARCHAR, year VARCHAR, show VARCHAR)
SELECT MIN(goals) FROM table_name_37 WHERE games = "9 (0)" AND assists < 0
What is the lowest number of goals of the player with 9 (0) games and less than 0 assists?
CREATE TABLE table_name_37 (goals INTEGER, games VARCHAR, assists VARCHAR)
SELECT tyre FROM table_name_97 WHERE drivers = "yoshihisa namekata"
What is the tyre for Yoshihisa Namekata?
CREATE TABLE table_name_97 (tyre VARCHAR, drivers VARCHAR)
SELECT college FROM table_name_8 WHERE team = "boston patriots"
Which college did the player who went to the Boston Patriots go to?
CREATE TABLE table_name_8 (college VARCHAR, team VARCHAR)
SELECT director FROM table_name_22 WHERE rank = 12
Which Director has a Rank of 12?
CREATE TABLE table_name_22 (director VARCHAR, rank VARCHAR)
SELECT COUNT(nickname) FROM table_16432543_1 WHERE location = "Newark, DE"
How many nicknames does the school in Newark, DE have
CREATE TABLE table_16432543_1 (nickname VARCHAR, location VARCHAR)
SELECT to_par FROM table_name_40 WHERE score = 73 - 69 - 67 - 74 = 283
What is the to par when the score is 73-69-67-74=283?
CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR)
SELECT AVG(rank) FROM table_name_18 WHERE total > 2 AND gold = 21 AND bronze > 12
What is the rank with a higher than 2 total, 21 gold and more than 12 bronze?
CREATE TABLE table_name_18 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
SELECT date FROM table_name_89 WHERE score = "2–4"
On what date was the score 2–4?
CREATE TABLE table_name_89 (date VARCHAR, score VARCHAR)
SELECT category_wise FROM table_28723146_2 WHERE multi_lane = 677
What is every category wise when the multi lane is 677?
CREATE TABLE table_28723146_2 (category_wise VARCHAR, multi_lane VARCHAR)
SELECT MIN(grid) FROM table_name_29 WHERE driver = "prince bira"
What was the smallest grid for Prince bira?
CREATE TABLE table_name_29 (grid INTEGER, driver VARCHAR)
SELECT place FROM table_name_86 WHERE score = 73 - 69 - 68 = 210
What place had a score of 73-69-68=210?
CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)
SELECT COUNT(copies_per_particle) FROM table_140968_1 WHERE size___s_base_pair__ = 1059
How many copies per particle are there for the base pair that is size 1059?
CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR)
SELECT COUNT(developed_by) FROM table_19495707_1 WHERE application = "Solid Edge"
Name the number of developed by for solid edge
CREATE TABLE table_19495707_1 (developed_by VARCHAR, application VARCHAR)
SELECT date FROM table_name_21 WHERE rockets_score = 94 AND game = 66
Which Date has a Rockets score of 94, and a Game of 66?
CREATE TABLE table_name_21 (date VARCHAR, rockets_score VARCHAR, game VARCHAR)
SELECT AVG(wkts) FROM table_name_95 WHERE ovrs < 2
If the Ovrs is less than 2, what's the average in Wkts?
CREATE TABLE table_name_95 (wkts INTEGER, ovrs INTEGER)
SELECT AVG(incorporated) FROM table_name_25 WHERE company = "air india charters"
What is the average incorporataed year of the Air India Charters company?
CREATE TABLE table_name_25 (incorporated INTEGER, company VARCHAR)
SELECT Chair_Name FROM festival_detail ORDER BY YEAR
What are the names of the chairs of festivals, sorted in ascending order of the year held?
CREATE TABLE festival_detail (Chair_Name VARCHAR, YEAR VARCHAR)
SELECT 2004 FROM table_name_58 WHERE 1998 = "2r" AND tournament = "french open"
What Tournament of the french open had 2004 that has a 1998 of 2r?
CREATE TABLE table_name_58 (tournament VARCHAR)
SELECT MAX(year_named) FROM table_16799784_8 WHERE latitude = "33.3S"
In what year was the feature at a 33.3S latitude named?
CREATE TABLE table_16799784_8 (year_named INTEGER, latitude VARCHAR)
SELECT result FROM table_name_33 WHERE record = "0–8"
Record of 0–8 had what result?
CREATE TABLE table_name_33 (result VARCHAR, record VARCHAR)
SELECT place FROM table_name_74 WHERE country = "united states" AND player = "bob murphy"
Where did Bob Murphy of the United States place?
CREATE TABLE table_name_74 (place VARCHAR, country VARCHAR, player VARCHAR)
SELECT team FROM table_27312918_5 WHERE game = 4
What was the team the Suns played against in game number 4?
CREATE TABLE table_27312918_5 (team VARCHAR, game VARCHAR)
SELECT home_team AS score FROM table_name_23 WHERE away_team = "st kilda"
What is the home team's score when st kilda is away?
CREATE TABLE table_name_23 (home_team VARCHAR, away_team VARCHAR)
SELECT nationality FROM table_name_52 WHERE time = 50.92
Which nationality has a time of 50.92?
CREATE TABLE table_name_52 (nationality VARCHAR, time VARCHAR)
SELECT nominee_s_ FROM table_name_83 WHERE year = 2005
Who was the nominee for 2005?
CREATE TABLE table_name_83 (nominee_s_ VARCHAR, year VARCHAR)
SELECT venue FROM table_name_93 WHERE year > 1992 AND score = "1 – 0" AND winners = "us chaouia"
WHICH Venue IS after 1992 with a Score of 1 – 0 and a Winners of us chaouia?
CREATE TABLE table_name_93 (venue VARCHAR, winners VARCHAR, year VARCHAR, score VARCHAR)
SELECT college FROM table_name_59 WHERE round < 3 AND pick__number > 4 AND position = "wide receiver"
Name the College which has a Round smaller than 3, and a Pick # larger than 4, and a Position of wide receiver?
CREATE TABLE table_name_59 (college VARCHAR, position VARCHAR, round VARCHAR, pick__number VARCHAR)
SELECT event FROM table_name_38 WHERE competition = "world championships" AND year < 2011
What competition was the World Championships before 2011?
CREATE TABLE table_name_38 (event VARCHAR, competition VARCHAR, year VARCHAR)
SELECT score FROM table_name_96 WHERE opponent = "malacca" AND venue = "klfa stadium, cheras"
What is the score for the game against Malacca at the Klfa Stadium, Cheras?
CREATE TABLE table_name_96 (score VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT driver_s_ FROM table_name_26 WHERE sponsor_s_ = "pdvsa"
Which Driver has a Sponsor of pdvsa?
CREATE TABLE table_name_26 (driver_s_ VARCHAR, sponsor_s_ VARCHAR)
SELECT date FROM table_name_80 WHERE round = "qf"
what is the date when the round is qf?
CREATE TABLE table_name_80 (date VARCHAR, round VARCHAR)
SELECT location FROM table_261941_1 WHERE joined = "1926, 1996 2"
What is the location of the University that joined in 1926, 1996 2?
CREATE TABLE table_261941_1 (location VARCHAR, joined VARCHAR)
SELECT MAX(games_played) FROM table_23346303_4 WHERE player = "Janae Stokes"
How many games did janae stokes play?
CREATE TABLE table_23346303_4 (games_played INTEGER, player VARCHAR)
SELECT winner__number_of_titles_ FROM table_237757_3 WHERE runners_up = "Fort Lauderdale Strikers"
If the runner-up is the Fort Lauderdale Strikers, what is the winner (number of titles)?
CREATE TABLE table_237757_3 (winner__number_of_titles_ VARCHAR, runners_up VARCHAR)
SELECT name FROM table_name_72 WHERE rank = 9
Who is at rank 9?
CREATE TABLE table_name_72 (name VARCHAR, rank VARCHAR)
SELECT nation FROM table_name_37 WHERE record = "7.39"
What is the Nation with a Record that is 7.39?
CREATE TABLE table_name_37 (nation VARCHAR, record VARCHAR)
SELECT career_win_loss FROM table_name_65 WHERE 2008 = "q1" AND tournament = "australian open"
What is the win-loss when 2008 has a value of Q1 at Australian Open?
CREATE TABLE table_name_65 (career_win_loss VARCHAR, tournament VARCHAR)
SELECT date FROM table_25572068_1 WHERE series = "F4 7"
When was the F4 7 series?
CREATE TABLE table_25572068_1 (date VARCHAR, series VARCHAR)
SELECT pos FROM table_name_33 WHERE player = "nigel de jong"
What is Pos., when Player is "Nigel De Jong"?
CREATE TABLE table_name_33 (pos VARCHAR, player VARCHAR)
SELECT result FROM table_name_53 WHERE attendance = "78,793"
What was the result when the attendance was 78,793?
CREATE TABLE table_name_53 (result VARCHAR, attendance VARCHAR)
SELECT title FROM table_2818164_5 WHERE production_code = 418
What is the name of the episode with 418 as the production code?
CREATE TABLE table_2818164_5 (title VARCHAR, production_code VARCHAR)
SELECT MAX(_number) FROM table_28194879_1 WHERE written_by = "Dan Vebber"
What is the last number in season of the episodes written by Dan Vebber?
CREATE TABLE table_28194879_1 (_number INTEGER, written_by VARCHAR)
SELECT venue FROM table_name_45 WHERE notes = "10.93 secs"
Tell me the venue for notes of 10.93 secs
CREATE TABLE table_name_45 (venue VARCHAR, notes VARCHAR)
SELECT COUNT(kilometers) FROM table_name_43 WHERE station_code = "kgq"
What is the sum of Kilometers that has a Station Code of KGQ?
CREATE TABLE table_name_43 (kilometers VARCHAR, station_code VARCHAR)
SELECT AVG(pujehun) FROM table_name_10 WHERE measure = "female enrollment"
What is the average pjehun measured by female enrollment?
CREATE TABLE table_name_10 (pujehun INTEGER, measure VARCHAR)
SELECT week_12_nov_16 FROM table_name_6 WHERE week_3_sept_14 = "south florida (3-0)"
What is the week 12 opponent for the year that had a week 3 opponent of South Florida (3-0)?
CREATE TABLE table_name_6 (week_12_nov_16 VARCHAR, week_3_sept_14 VARCHAR)
SELECT volume AS :issue FROM table_name_97 WHERE weeks_on_top > 1 AND artist = "peter cetera"
What Volume:Issue that has Peter Cetera as the artist and was on top for longer than 1 week?
CREATE TABLE table_name_97 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)
SELECT order_year FROM table_name_89 WHERE builder = "obi" AND length__ft_ = "30" AND model = "05.505"
What is the order year of obi builder and 05.505 model that is 30 feet long?
CREATE TABLE table_name_89 (order_year VARCHAR, model VARCHAR, builder VARCHAR, length__ft_ VARCHAR)
SELECT away_team FROM table_name_26 WHERE home_team = "fulham"
What is the Away Team when the Home Team is Fulham?
CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_91 WHERE away_team = "walsall"
What was the score when Walsall was the away team?
CREATE TABLE table_name_91 (score VARCHAR, away_team VARCHAR)
SELECT fencing FROM table_12407546_1 WHERE running = "9:40.31 (1080 pts)"
What's the fencing score of the player with 9:40.31 (1080 pts) in running?
CREATE TABLE table_12407546_1 (fencing VARCHAR, running VARCHAR)
SELECT MIN(pick) FROM table_name_7 WHERE draft < 1991 AND player = "tom sasso category:articles with hcards"
What is the lowest Pick, when Draft is less than 1991, and when Player is "Tom Sasso Category:Articles with hCards"?
CREATE TABLE table_name_7 (pick INTEGER, draft VARCHAR, player VARCHAR)
SELECT wheel_arrangement FROM table_name_99 WHERE year_made = "1890"
What is the wheel arrangement made in 1890?
CREATE TABLE table_name_99 (wheel_arrangement VARCHAR, year_made VARCHAR)
SELECT COUNT(viewers__millions_) FROM table_13943239_1 WHERE episode = "7th Pride of Britain Awards"
How much audience did the 7th Pride of Britain Awards ceremony have?
CREATE TABLE table_13943239_1 (viewers__millions_ VARCHAR, episode VARCHAR)
SELECT from_club FROM table_name_80 WHERE player = "robinho"
What is From Club, when Player is "Robinho"?
CREATE TABLE table_name_80 (from_club VARCHAR, player VARCHAR)
SELECT entrant FROM table_name_76 WHERE year = 1967
What is the entrant for 1967?
CREATE TABLE table_name_76 (entrant VARCHAR, year VARCHAR)
SELECT result FROM table_name_50 WHERE date = "september 1, 1996"
What was the score on September 1, 1996?
CREATE TABLE table_name_50 (result VARCHAR, date VARCHAR)
SELECT AVG(pet_age), MAX(pet_age), pettype FROM pets GROUP BY pettype
Find the average and maximum age for each type of pet.
CREATE TABLE pets (pettype VARCHAR, pet_age INTEGER)
SELECT sprint_points FROM table_name_13 WHERE extra_laps = "0" AND rank = "19"
How many sprint points have 0 extra laps for rank 19?
CREATE TABLE table_name_13 (sprint_points VARCHAR, extra_laps VARCHAR, rank VARCHAR)
SELECT 2011 FROM table_name_45 WHERE 2009 = "82,003"
What was the value in 2011 when value in 2009 was 82,003?
CREATE TABLE table_name_45 (Id VARCHAR)
SELECT place FROM table_name_41 WHERE language = "croatian"
Where is Croatian spoken?
CREATE TABLE table_name_41 (place VARCHAR, language VARCHAR)
SELECT attendance FROM table_name_35 WHERE opponent = "slough jets" AND date = "2nd"
What is the attendance of the match on the 2nd with the slough jets as the opponent?
CREATE TABLE table_name_35 (attendance VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT streak FROM table_name_88 WHERE team_points > 113 AND game < 12 AND date = "november 16"
Which streak before game 12 had a team points larger than 113 on November 16?
CREATE TABLE table_name_88 (streak VARCHAR, date VARCHAR, team_points VARCHAR, game VARCHAR)
SELECT nba_draft FROM table_11677760_1 WHERE hometown = "Virginia Beach, VA"
What is the nba draft for the player from the hometown of virginia beach, va?
CREATE TABLE table_11677760_1 (nba_draft VARCHAR, hometown VARCHAR)
SELECT record FROM table_name_24 WHERE home = "dallas mavericks"
What is the record for the game when the Dallas Mavericks was the home team?
CREATE TABLE table_name_24 (record VARCHAR, home VARCHAR)
SELECT entrant FROM table_name_95 WHERE engine = "maserati straight-6" AND year < 1958 AND chassis = "maserati 250f" AND points < 4
What kind of Entrant has a Maserati Straight-6 Engine, built in the year 1958 or early, and has a Maserati 250f Chassis with points less than 4?
CREATE TABLE table_name_95 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR)
SELECT area_km_2 FROM table_name_71 WHERE population = 71
What is the Area of the Parish with a Population of 71?
CREATE TABLE table_name_71 (area_km_2 VARCHAR, population VARCHAR)