answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT nominated_work FROM table_name_95 WHERE year < 2003
CREATE TABLE table_name_95 (nominated_work VARCHAR, year INTEGER)
What was the Nominated Work earlier than 2003?
SELECT method FROM table_name_42 WHERE event = "flawless fighting championship 1: the beginning"
CREATE TABLE table_name_42 (method VARCHAR, event VARCHAR)
Which method's event was flawless fighting championship 1: the beginning?
SELECT method FROM table_name_11 WHERE opponent = "chris clark"
CREATE TABLE table_name_11 (method VARCHAR, opponent VARCHAR)
Which method's opponent was chris clark?
SELECT record FROM table_name_19 WHERE round = 3 AND event = "fight festival 27"
CREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR)
Which record's round was 3 when the event was fight festival 27?
SELECT fourth_place FROM table_name_58 WHERE year = 1978
CREATE TABLE table_name_58 (fourth_place VARCHAR, year VARCHAR)
What is the Fourth place with a Year that is 1978?
SELECT fourth_place FROM table_name_11 WHERE year = 1966
CREATE TABLE table_name_11 (fourth_place VARCHAR, year VARCHAR)
What is the Fourth place with a Year that is 1966?
SELECT champion FROM table_name_65 WHERE year = 2008
CREATE TABLE table_name_65 (champion VARCHAR, year VARCHAR)
What is the Champion with a Year that is 2008?
SELECT opponent FROM table_name_15 WHERE date = "september 19, 1994"
CREATE TABLE table_name_15 (opponent VARCHAR, date VARCHAR)
Who was the opponent for the game played on September 19, 1994?
SELECT COUNT(week) FROM table_name_10 WHERE attendance = "50,814"
CREATE TABLE table_name_10 (week VARCHAR, attendance VARCHAR)
In which week was attendance at 50,814?
SELECT date FROM table_name_34 WHERE week > 6 AND attendance = "bye"
CREATE TABLE table_name_34 (date VARCHAR, week VARCHAR, attendance VARCHAR)
What date after Week 6 was a Bye?
SELECT subjunctive FROM table_name_85 WHERE inverse_subjunctive = "måchadns"
CREATE TABLE table_name_85 (subjunctive VARCHAR, inverse_subjunctive VARCHAR)
What subjunctive also has an inverse subjunctive of måchadns?
SELECT imperative FROM table_name_94 WHERE måcha = "3.sg"
CREATE TABLE table_name_94 (imperative VARCHAR, måcha VARCHAR)
What imperative has måcha as 3.sg?
SELECT inverse_subjunctive FROM table_name_8 WHERE indicative = "si måchan"
CREATE TABLE table_name_8 (inverse_subjunctive VARCHAR, indicative VARCHAR)
The indicative of si måchan has what as the inverse subjunctive?
SELECT inverse_subjunctive FROM table_name_9 WHERE imperative = "—" AND subjunctive = "se måchadn"
CREATE TABLE table_name_9 (inverse_subjunctive VARCHAR, imperative VARCHAR, subjunctive VARCHAR)
What inverse subjunctive has — as the imperative and a subjunctive of se måchadn?
SELECT imperative FROM table_name_37 WHERE subjunctive = "du måchast"
CREATE TABLE table_name_37 (imperative VARCHAR, subjunctive VARCHAR)
With a subjunctive of du måchast what is the imperative?
SELECT subjunctive FROM table_name_77 WHERE indicative = "se måchan(t)"
CREATE TABLE table_name_77 (subjunctive VARCHAR, indicative VARCHAR)
What subjunctive has the indicative of se måchan(t)?
SELECT AVG(win__percentage) FROM table_name_91 WHERE span = "2011–2013" AND lost < 1
CREATE TABLE table_name_91 (win__percentage INTEGER, span VARCHAR, lost VARCHAR)
What is the Win % in the Span of 2011–2013 with a Lost of less than 1?
SELECT COUNT(tied) FROM table_name_57 WHERE span = "2011–2013" AND win__percentage < 80
CREATE TABLE table_name_57 (tied VARCHAR, span VARCHAR, win__percentage VARCHAR)
How many games were Tied during the Span of 2011–2013 with a less than 80% Win %?
SELECT date_of_issue FROM table_name_40 WHERE place_of_issue = "tallahassee, florida"
CREATE TABLE table_name_40 (date_of_issue VARCHAR, place_of_issue VARCHAR)
On what date were sheets issued in Tallahassee, Florida?
SELECT printer FROM table_name_79 WHERE date_of_issue = "october 5, 2006"
CREATE TABLE table_name_79 (printer VARCHAR, date_of_issue VARCHAR)
Which printer issued sheets on October 5, 2006?
SELECT MIN(silver) FROM table_name_8 WHERE bronze > 1 AND nation = "total" AND "total" > 18
CREATE TABLE table_name_8 (silver INTEGER, bronze VARCHAR, nation VARCHAR)
What is the least amount of silver medals won by Total with more than 1 bronze and more than 18 total medals won?
SELECT COUNT(position) FROM table_name_7 WHERE against < 28 AND team = "americano-sp" AND played > 8
CREATE TABLE table_name_7 (position VARCHAR, played VARCHAR, against VARCHAR, team VARCHAR)
How many positions have points against less than 28, americano-sp as the team, with a played greater than 8?
SELECT COUNT(lost) FROM table_name_1 WHERE against < 15
CREATE TABLE table_name_1 (lost VARCHAR, against INTEGER)
How many losses have points against less than 15?
SELECT AVG(played) FROM table_name_40 WHERE against < 15
CREATE TABLE table_name_40 (played INTEGER, against INTEGER)
What average played has an against less than 15?
SELECT COUNT(lost) FROM table_name_60 WHERE played > 8 AND team = "ypiranga-sp" AND position > 5
CREATE TABLE table_name_60 (lost VARCHAR, position VARCHAR, played VARCHAR, team VARCHAR)
How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5?
SELECT lost FROM table_name_24 WHERE position > 2 AND drawn > 0 AND against > 15
CREATE TABLE table_name_24 (lost VARCHAR, against VARCHAR, position VARCHAR, drawn VARCHAR)
What lost has a position greater than 2, a drawn greater than 0, with an against greater than 15?
SELECT SUM(asian_or_amerindian___percentage_) FROM table_name_44 WHERE state = "sergipe" AND brown___percentage_ > 61 OFFSET 3
CREATE TABLE table_name_44 (asian_or_amerindian___percentage_ INTEGER, state VARCHAR, brown___percentage_ VARCHAR)
What is the sum of Asian or Amerindian (%), when State is Sergipe, and when Brown (%) is greater than 61,3?
SELECT COUNT(points) FROM table_name_16 WHERE lost > 6 AND match < 14
CREATE TABLE table_name_16 (points VARCHAR, lost VARCHAR, match VARCHAR)
How many points were there when there more than 6 losses and less than 14 matches?
SELECT MIN(lost) FROM table_name_67 WHERE points > 23
CREATE TABLE table_name_67 (lost INTEGER, points INTEGER)
How few losses were the least number of losses and points higher than 23?
SELECT MAX(match) FROM table_name_37 WHERE points > 18 AND draw > 1
CREATE TABLE table_name_37 (match INTEGER, points VARCHAR, draw VARCHAR)
What is the highest number of matches with more than 18 points and more than 1 draw?
SELECT champion FROM table_name_87 WHERE runner_up = "dick chapman" AND venue = "st. andrews links"
CREATE TABLE table_name_87 (champion VARCHAR, runner_up VARCHAR, venue VARCHAR)
Who was the champion in the game played at the St. Andrews Links with Dick Chapman as the runner-up?
SELECT score FROM table_name_21 WHERE venue = "royal liverpool golf club" AND champion = "willie hunter"
CREATE TABLE table_name_21 (score VARCHAR, venue VARCHAR, champion VARCHAR)
What is the score of the match won by Willie Hunter at the Royal Liverpool Golf Club?
SELECT runner_up FROM table_name_83 WHERE country = "england" AND venue = "royal porthcawl golf club"
CREATE TABLE table_name_83 (runner_up VARCHAR, country VARCHAR, venue VARCHAR)
What player from England was the runner-up at the match played at the Royal Porthcawl Golf Club?
SELECT champion FROM table_name_80 WHERE runner_up = "c.a. palmer"
CREATE TABLE table_name_80 (champion VARCHAR, runner_up VARCHAR)
Who was the champion in the match where C.A. Palmer was the runner-up?
SELECT champion FROM table_name_60 WHERE runner_up = "e.a. lassen"
CREATE TABLE table_name_60 (champion VARCHAR, runner_up VARCHAR)
What player was the champion in the match where E.A. Lassen was the runner-up?
SELECT score FROM table_name_34 WHERE country = "england" AND champion = "peter mcevoy" AND runner_up = "paul mckellar"
CREATE TABLE table_name_34 (score VARCHAR, runner_up VARCHAR, country VARCHAR, champion VARCHAR)
What is the score of the match played in England where Peter McEvoy was the champion and Paul McKellar was runner-up?
SELECT federal_state FROM table_name_3 WHERE representatives_of_national_average = "6"
CREATE TABLE table_name_3 (federal_state VARCHAR, representatives_of_national_average VARCHAR)
Which federal state has 6 representatives of national average?
SELECT population__on_the_census_also_called_censo_2010_ FROM table_name_47 WHERE deputies_required_ignoring_the_limits < -6
CREATE TABLE table_name_47 (population__on_the_census_also_called_censo_2010_ VARCHAR, deputies_required_ignoring_the_limits INTEGER)
According to the 2010 census, what was the population for the federal state that had less than -6 deputies required ignoring the limits?
SELECT MIN(block) FROM table_name_69 WHERE height = 206 AND spike > 356
CREATE TABLE table_name_69 (block INTEGER, height VARCHAR, spike VARCHAR)
What is the lowest number of blocks for players with height of 206 and more than 356 spikes?
SELECT COUNT(weight) FROM table_name_7 WHERE block = 340 AND spike > 353
CREATE TABLE table_name_7 (weight VARCHAR, block VARCHAR, spike VARCHAR)
What is the number of weight values associated with 340 blocks and more than 353 spikes?
SELECT award FROM table_name_54 WHERE actor = "forest whitaker" AND year = 1989
CREATE TABLE table_name_54 (award VARCHAR, actor VARCHAR, year VARCHAR)
What award did Forest Whitaker win in 1989?
SELECT motion_picture FROM table_name_42 WHERE award = "best supporting actor" AND actor = "samuel l. jackson" AND year < 1997
CREATE TABLE table_name_42 (motion_picture VARCHAR, year VARCHAR, award VARCHAR, actor VARCHAR)
For what motion picture did Samuel L. Jackson win the best supporting actor award before 1997?
SELECT actor FROM table_name_43 WHERE year = 1966
CREATE TABLE table_name_43 (actor VARCHAR, year VARCHAR)
Which actor won in 1966?
SELECT MIN(influence) FROM table_name_58 WHERE population_millions < 60.64 AND meps < 22 AND inhabitants_per_mep = 454 OFFSET 059
CREATE TABLE table_name_58 (influence INTEGER, inhabitants_per_mep VARCHAR, population_millions VARCHAR, meps VARCHAR)
What is the lowest influence with population in the millions less than 60.64, and MEPs less than 22, and 454,059 inhabitant per MEP?
SELECT MAX(population_millions) FROM table_name_55 WHERE influence = 1.02
CREATE TABLE table_name_55 (population_millions INTEGER, influence VARCHAR)
What is the highest population in the millions that has an influence of 1.02?
SELECT SUM(population_millions) FROM table_name_49 WHERE influence < 2.91 AND meps < 13 AND member_state = "latvia" AND inhabitants_per_mep > 286 OFFSET 875
CREATE TABLE table_name_49 (population_millions INTEGER, inhabitants_per_mep VARCHAR, member_state VARCHAR, influence VARCHAR, meps VARCHAR)
What is the sum of the population in millions that has an influence less than 2.91, a MEP smaller than 13, a member of Latvia, and more than 286,875 inhabitants per MEP?
SELECT MAX(inhabitants_per_mep) FROM table_name_26 WHERE meps > 50 AND member_state = "germany" AND population_millions < 82.43
CREATE TABLE table_name_26 (inhabitants_per_mep INTEGER, population_millions VARCHAR, meps VARCHAR, member_state VARCHAR)
What is the highest number of inhabitants per MEP that has MEPs larger than 50, a member of Germany, and a population less than 82.43 million?
SELECT world_rank FROM table_name_81 WHERE year < 1977 AND location = "eugene"
CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR, location VARCHAR)
Which World Rank has a Year smaller than 1977, and a Location of eugene?
SELECT MIN(year) FROM table_name_65 WHERE world_rank = "5th" AND result > 20.31
CREATE TABLE table_name_65 (year INTEGER, world_rank VARCHAR, result VARCHAR)
What's the lowest Year with a World Rank of 5th, with a Result greater than 20.31?
SELECT SUM(year) FROM table_name_80 WHERE result < 20.26 AND location = "eugene"
CREATE TABLE table_name_80 (year INTEGER, result VARCHAR, location VARCHAR)
Which Year has a Result smaller than 20.26, and a Location of eugene?
SELECT COUNT(result) FROM table_name_96 WHERE location = "brussels"
CREATE TABLE table_name_96 (result VARCHAR, location VARCHAR)
What is the Result with a Location of brussels?
SELECT AVG(year) FROM table_name_64 WHERE result < 20.31 AND world_rank = "5th"
CREATE TABLE table_name_64 (year INTEGER, result VARCHAR, world_rank VARCHAR)
What Year has a Result smaller than 20.31, and a World Rank of 5th?
SELECT record FROM table_name_33 WHERE home = "nuggets"
CREATE TABLE table_name_33 (record VARCHAR, home VARCHAR)
What is the record when the Nuggets are the home team?
SELECT MIN(points) FROM table_name_35 WHERE races > 16
CREATE TABLE table_name_35 (points INTEGER, races INTEGER)
What is the lowest number of points for Drivers that have raced in more than 16 Races?
SELECT MIN(races) FROM table_name_31 WHERE points < 0
CREATE TABLE table_name_31 (races INTEGER, points INTEGER)
What is the least number of Races for a Racer with less than 0 Points?
SELECT AVG(year) FROM table_name_98 WHERE poles < 2 AND fast_laps = 0 AND drivers = "adrian quaife-hobbs"
CREATE TABLE table_name_98 (year INTEGER, drivers VARCHAR, poles VARCHAR, fast_laps VARCHAR)
What is the average Year during which the Driver Adrian Quaife-Hobbs has fewer than 2 Poles, and 0 Fast laps?
SELECT city_of_license__market FROM table_name_96 WHERE station = "kpix"
CREATE TABLE table_name_96 (city_of_license__market VARCHAR, station VARCHAR)
Which city contains the KPIX station?
SELECT station FROM table_name_74 WHERE channel_tv___dt__ = "3 (26)"
CREATE TABLE table_name_74 (station VARCHAR, channel_tv___dt__ VARCHAR)
Which station has channel TV (DT) of 3 (26)?
SELECT current_affiliation FROM table_name_62 WHERE years_owned = "1955–1995"
CREATE TABLE table_name_62 (current_affiliation VARCHAR, years_owned VARCHAR)
What is the current affiliation when the years owned is between 1955–1995?
SELECT city_of_license__market FROM table_name_61 WHERE station = "kdka-tv"
CREATE TABLE table_name_61 (city_of_license__market VARCHAR, station VARCHAR)
What is the city containing the KDKA-TV station?
SELECT channel_tv___dt__ FROM table_name_88 WHERE city_of_license__market = "baltimore"
CREATE TABLE table_name_88 (channel_tv___dt__ VARCHAR, city_of_license__market VARCHAR)
Which Channel TV is located in Baltimore?
SELECT MIN(play_offs) FROM table_name_43 WHERE fa_cup = 2
CREATE TABLE table_name_43 (play_offs INTEGER, fa_cup VARCHAR)
What is the least number of goals scored in the play-offs among the players that have scored 2 in the FA Cup?
SELECT AVG(fa_cup) FROM table_name_57 WHERE total > 20 AND fa_trophy < 1 AND league < 25
CREATE TABLE table_name_57 (fa_cup INTEGER, league VARCHAR, total VARCHAR, fa_trophy VARCHAR)
What is the average number of goals scored in the FA Cup among players that have more than 20 total goals, less than 1 FA Trophy goals, and less than 25 league goals?
SELECT lat___lon FROM table_name_87 WHERE us_mission = "surveyor 3"
CREATE TABLE table_name_87 (lat___lon VARCHAR, us_mission VARCHAR)
What is the latitude and longitude for Surveyor 3?
SELECT MAX(mass__kg_) FROM table_name_59 WHERE landing_zone = "tycho crater"
CREATE TABLE table_name_59 (mass__kg_ INTEGER, landing_zone VARCHAR)
What is the largest mass for Tycho Crater?
SELECT field FROM table_name_24 WHERE commissioned = "1958, 2005"
CREATE TABLE table_name_24 (field VARCHAR, commissioned VARCHAR)
What Field was Commissioned in 1958, 2005?
SELECT annual_generation__average_gwh_ FROM table_name_83 WHERE name = "kawerau (bope)"
CREATE TABLE table_name_83 (annual_generation__average_gwh_ VARCHAR, name VARCHAR)
What is the Annual Generation at Kawerau (Bope)?
SELECT name FROM table_name_9 WHERE capacity__mw_ = 25
CREATE TABLE table_name_9 (name VARCHAR, capacity__mw_ VARCHAR)
What is the Name of the power station with a Capacity of 25 MW?
SELECT name FROM table_name_22 WHERE field = "mokai"
CREATE TABLE table_name_22 (name VARCHAR, field VARCHAR)
What is the Name of the power station in the Field of Mokai?
SELECT goals FROM table_name_25 WHERE gp_gs = "did not play" AND year = "2004"
CREATE TABLE table_name_25 (goals VARCHAR, gp_gs VARCHAR, year VARCHAR)
How many goals were scored in 2004 when the gp/gs was "did not play"?
SELECT assists FROM table_name_36 WHERE total_points = "2"
CREATE TABLE table_name_36 (assists VARCHAR, total_points VARCHAR)
How many assists were there when the total points was 2?
SELECT total_points FROM table_name_98 WHERE assists = "7"
CREATE TABLE table_name_98 (total_points VARCHAR, assists VARCHAR)
What was the total number of points when there were 7 assists?
SELECT gp_gs FROM table_name_4 WHERE assists = "1"
CREATE TABLE table_name_4 (gp_gs VARCHAR, assists VARCHAR)
What was the gp/gs when the assists was 1?
SELECT gp_gs FROM table_name_96 WHERE total_points = "did not play" AND year = "2003"
CREATE TABLE table_name_96 (gp_gs VARCHAR, total_points VARCHAR, year VARCHAR)
what was the gp/gs in 2003 when the total points was "did not play"?
SELECT outcome FROM table_name_32 WHERE partner = "jan pisecky"
CREATE TABLE table_name_32 (outcome VARCHAR, partner VARCHAR)
What was the outcome for Jan Pisecky and his partner?
SELECT player FROM table_name_29 WHERE weight = 235
CREATE TABLE table_name_29 (player VARCHAR, weight VARCHAR)
What player weight 235?
SELECT height FROM table_name_82 WHERE pos = "f" AND weight < 195
CREATE TABLE table_name_82 (height VARCHAR, pos VARCHAR, weight VARCHAR)
What is the height of the F who weighs less than 195?
SELECT team FROM table_name_63 WHERE pos = "f" AND player = "trey gilder"
CREATE TABLE table_name_63 (team VARCHAR, pos VARCHAR, player VARCHAR)
What team does F Trey Gilder play for?
SELECT player FROM table_name_73 WHERE team = "dakota wizards"
CREATE TABLE table_name_73 (player VARCHAR, team VARCHAR)
What player plays for the Dakota Wizards?
SELECT player FROM table_name_68 WHERE weight = 210 AND team = "reno bighorns"
CREATE TABLE table_name_68 (player VARCHAR, weight VARCHAR, team VARCHAR)
Which player who weighs 210 plays for the Reno Bighorns?
SELECT pos FROM table_name_40 WHERE player = "brian butch"
CREATE TABLE table_name_40 (pos VARCHAR, player VARCHAR)
What position does Brian Butch play?
SELECT position FROM table_name_97 WHERE player = "tyronn lue" AND years_in_orlando = "2003–2004"
CREATE TABLE table_name_97 (position VARCHAR, player VARCHAR, years_in_orlando VARCHAR)
Which Position has a Player of tyronn lue, and a Years in Orlando of 2003–2004?
SELECT school_club_team FROM table_name_34 WHERE player = "deandre liggins"
CREATE TABLE table_name_34 (school_club_team VARCHAR, player VARCHAR)
Which School/Club Team has a Player of deandre liggins?
SELECT position FROM table_name_68 WHERE years_in_orlando = "1997–1998"
CREATE TABLE table_name_68 (position VARCHAR, years_in_orlando VARCHAR)
Which Position has a Years in Orlando of 1997–1998?
SELECT position FROM table_name_15 WHERE school_club_team = "stanford"
CREATE TABLE table_name_15 (position VARCHAR, school_club_team VARCHAR)
Which Position has a School/Club Team of stanford?
SELECT school_club_team FROM table_name_92 WHERE years_in_orlando = "1997–1998"
CREATE TABLE table_name_92 (school_club_team VARCHAR, years_in_orlando VARCHAR)
Which School/Club Team has a Years in Orlando of 1997–1998?
SELECT position FROM table_name_55 WHERE years_in_orlando = "2003–2004"
CREATE TABLE table_name_55 (position VARCHAR, years_in_orlando VARCHAR)
Which Position has a Years in Orlando of 2003–2004?
SELECT high_assists FROM table_name_42 WHERE date = "february 27"
CREATE TABLE table_name_42 (high_assists VARCHAR, date VARCHAR)
What is the High assists with a Date that is february 27?
SELECT high_points FROM table_name_31 WHERE game = 56
CREATE TABLE table_name_31 (high_points VARCHAR, game VARCHAR)
What is the High points with a Game that is 56?
SELECT distance FROM table_name_36 WHERE venue = "sale"
CREATE TABLE table_name_36 (distance VARCHAR, venue VARCHAR)
In what Distance has a Venue of sale?
SELECT winner_2nd FROM table_name_84 WHERE jockey = "c. symons"
CREATE TABLE table_name_84 (winner_2nd VARCHAR, jockey VARCHAR)
WHo is Winner/2nd that has c. symons?
SELECT race FROM table_name_78 WHERE jockey = "d. nikolic"
CREATE TABLE table_name_78 (race VARCHAR, jockey VARCHAR)
Which Race that Jockey of d. nikolic is in?
SELECT result FROM table_name_5 WHERE distance = "1200m" AND weight__kg_ = 55.5
CREATE TABLE table_name_5 (result VARCHAR, distance VARCHAR, weight__kg_ VARCHAR)
Name The Result that has a Distance of 1200m, and a Weight (kg) of 55.5?
SELECT previous_team FROM table_name_41 WHERE nationality = "united states" AND nba_years_[a_] = 2 AND pos = "f"
CREATE TABLE table_name_41 (previous_team VARCHAR, pos VARCHAR, nationality VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)
What is the previous team of the United States player who had 2 NBA years and played the F position?
SELECT team FROM table_name_82 WHERE score = "108-107"
CREATE TABLE table_name_82 (team VARCHAR, score VARCHAR)
Which Team has a Score of 108-107?
SELECT record FROM table_name_55 WHERE date = "may 31"
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
Which Record has a Date of may 31?
SELECT COUNT(game) FROM table_name_54 WHERE team = "at phoenix" AND score = "107-119"
CREATE TABLE table_name_54 (game VARCHAR, team VARCHAR, score VARCHAR)
Which Game has a Team of at phoenix, and a Score of 107-119?
SELECT location_attendance FROM table_name_32 WHERE game > 5
CREATE TABLE table_name_32 (location_attendance VARCHAR, game INTEGER)
Which Location Attendance has a Game larger than 5?
SELECT team FROM table_name_40 WHERE score = "89-123"
CREATE TABLE table_name_40 (team VARCHAR, score VARCHAR)
Which Team has a Score of 89-123?
SELECT AVG(game) FROM table_name_24 WHERE date = "june 14"
CREATE TABLE table_name_24 (game INTEGER, date VARCHAR)
What is the average Game with a Date that is june 14?