answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MIN(average) FROM table_name_61 WHERE lowest > 288 AND team = "east stirlingshire"
CREATE TABLE table_name_61 (average INTEGER, lowest VARCHAR, team VARCHAR)
Lowest larger than 288, and a Team of east stirlingshire has what lowest average?
SELECT owner FROM table_name_2 WHERE locomotive = "c501"
CREATE TABLE table_name_2 (owner VARCHAR, locomotive VARCHAR)
what is the owner of the c501
SELECT record FROM table_name_34 WHERE game > 32 AND december < 21
CREATE TABLE table_name_34 (record VARCHAR, game VARCHAR, december VARCHAR)
Which Record has a Game larger than 32, and a December smaller than 21?
SELECT score FROM table_name_35 WHERE points > 46 AND game < 35 AND december = 21
CREATE TABLE table_name_35 (score VARCHAR, december VARCHAR, points VARCHAR, game VARCHAR)
Which Score has Points larger than 46, and a Game smaller than 35, and a December of 21?
SELECT MIN(december) FROM table_name_96 WHERE points = 52
CREATE TABLE table_name_96 (december INTEGER, points VARCHAR)
Which December is the lowest one that has Points of 52?
SELECT SUM(december) FROM table_name_77 WHERE points = 48 AND game > 33
CREATE TABLE table_name_77 (december INTEGER, points VARCHAR, game VARCHAR)
Which December has Points of 48, and a Game larger than 33?
SELECT regular_season_champion_s_ FROM table_name_70 WHERE year = "1943–44"
CREATE TABLE table_name_70 (regular_season_champion_s_ VARCHAR, year VARCHAR)
WHich Regular Season Champions has a Year of 1943–44?
SELECT tournament_venue FROM table_name_33 WHERE tournament_champion = "duke" AND record = "15–1"
CREATE TABLE table_name_33 (tournament_venue VARCHAR, tournament_champion VARCHAR, record VARCHAR)
WHich Tournament venue has a Tournament Champion of duke and a Record of 15–1?
SELECT year FROM table_name_45 WHERE tournament_venue = "richmond arena" AND record = "12–1" AND regular_season_champion_s_ = "virginia tech"
CREATE TABLE table_name_45 (year VARCHAR, regular_season_champion_s_ VARCHAR, tournament_venue VARCHAR, record VARCHAR)
When has a Tournament venue of richmond arena, and a Record of 12–1, and a Regular Season Champion(s) of virginia tech?
SELECT year FROM table_name_50 WHERE record = "9–1" AND tournament_champion = "duke"
CREATE TABLE table_name_50 (year VARCHAR, record VARCHAR, tournament_champion VARCHAR)
When has a Record of 9–1, and a Tournament Champion of duke?
SELECT regular_season_champion_s_ FROM table_name_4 WHERE tournament_champion = "west virginia" AND year = "1955–56"
CREATE TABLE table_name_4 (regular_season_champion_s_ VARCHAR, tournament_champion VARCHAR, year VARCHAR)
Which Regular Season Champion(s) has a Tournament Champion of west virginia in 1955–56?
SELECT regular_season_champion_s_ FROM table_name_16 WHERE record = "9–0" AND tournament_champion = "north carolina"
CREATE TABLE table_name_16 (regular_season_champion_s_ VARCHAR, record VARCHAR, tournament_champion VARCHAR)
Which Regular Season Champion(s) has a Record of 9–0, and a Tournament Champion of north carolina?
SELECT MIN(round) FROM table_name_64 WHERE college_junior_club_team__league_ = "new hampshire"
CREATE TABLE table_name_64 (round INTEGER, college_junior_club_team__league_ VARCHAR)
What is the lowest round for a player selected from a college of New Hampshire?
SELECT nationality FROM table_name_79 WHERE player = "rod langway"
CREATE TABLE table_name_79 (nationality VARCHAR, player VARCHAR)
What nationality is Rod Langway?
SELECT position FROM table_name_81 WHERE round > 3
CREATE TABLE table_name_81 (position VARCHAR, round INTEGER)
What position is the player selected that has a round value over 3?
SELECT college_junior_club_team__league_ FROM table_name_59 WHERE round > 3
CREATE TABLE table_name_59 (college_junior_club_team__league_ VARCHAR, round INTEGER)
What college did the player selected in rounds over 3 play for?
SELECT MAX(round) FROM table_name_15 WHERE college_junior_club_team__league_ = "clarkson university"
CREATE TABLE table_name_15 (round INTEGER, college_junior_club_team__league_ VARCHAR)
What is the highest round that has a player selected from Clarkson University?
SELECT MIN(rank) FROM table_name_85 WHERE name = "deutsche telekom" AND market_value___usd_million_ > 209 OFFSET 628
CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR)
What is the lowest rank of Deutsche Telekom with a market value over 209,628?
SELECT COUNT(market_value___usd_million_) FROM table_name_51 WHERE headquarters = "germany"
CREATE TABLE table_name_51 (market_value___usd_million_ VARCHAR, headquarters VARCHAR)
What is the total market value of all corporations headquartered in Germany?
SELECT MIN(earnings___) AS $__ FROM table_name_34 WHERE player = "vijay singh" AND wins > 24
CREATE TABLE table_name_34 (earnings___ INTEGER, player VARCHAR, wins VARCHAR)
What is the lowest earnings of Vijay Singh who had more than 24 wins?
SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" AND rating > 628
CREATE TABLE table_name_2 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR)
Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628?
SELECT centre FROM table_name_34 WHERE rank = 42
CREATE TABLE table_name_34 (centre VARCHAR, rank VARCHAR)
Which Centre has a Rank of 42?
SELECT SUM(rating) FROM table_name_88 WHERE centre = "helsinki"
CREATE TABLE table_name_88 (rating INTEGER, centre VARCHAR)
Which Rating has a Centre of helsinki?
SELECT AVG(change) FROM table_name_31 WHERE centre = "buenos aires" AND rank < 46
CREATE TABLE table_name_31 (change INTEGER, centre VARCHAR, rank VARCHAR)
Which Change is the average one that has a Centre of buenos aires, and a Rank smaller than 46?
SELECT fibonacci FROM table_name_18 WHERE operation = "find-min"
CREATE TABLE table_name_18 (fibonacci VARCHAR, operation VARCHAR)
Operation of find-min has what Fibonacci?
SELECT pairing FROM table_name_68 WHERE binomial = "θ(1)"
CREATE TABLE table_name_68 (pairing VARCHAR, binomial VARCHAR)
Binomial of θ(1) has what pairing?
SELECT binary FROM table_name_82 WHERE pairing = "θ(1)" AND binomial = "θ(1)"
CREATE TABLE table_name_82 (binary VARCHAR, pairing VARCHAR, binomial VARCHAR)
Pairing of θ(1), and a Binomial of θ(1) is what binary?
SELECT binary FROM table_name_98 WHERE operation = "find-min"
CREATE TABLE table_name_98 (binary VARCHAR, operation VARCHAR)
Operation of find-min has what binary?
SELECT binomial FROM table_name_7 WHERE binary = "θ(log n)" AND fibonacci = "θ(1)"
CREATE TABLE table_name_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)
Binary of θ(log n), and a Fibonacci of θ(1) has what binomial?
SELECT title FROM table_name_81 WHERE duration = "4:57"
CREATE TABLE table_name_81 (title VARCHAR, duration VARCHAR)
Which of the titles have a duration time of 4:57?
SELECT composer FROM table_name_8 WHERE duration = "3:31"
CREATE TABLE table_name_8 (composer VARCHAR, duration VARCHAR)
What composer has a duration time of 3:31?
SELECT duration FROM table_name_73 WHERE translation = "1000 lies"
CREATE TABLE table_name_73 (duration VARCHAR, translation VARCHAR)
Which one of the duration has a translation of 1000 lies?
SELECT title FROM table_name_76 WHERE translation = "i know"
CREATE TABLE table_name_76 (title VARCHAR, translation VARCHAR)
Which title has a translation of I know in it?
SELECT title FROM table_name_32 WHERE translation = "1000 lies"
CREATE TABLE table_name_32 (title VARCHAR, translation VARCHAR)
Which title has a translation in it of 1000 lies?
SELECT gold FROM table_name_48 WHERE silver = "bertil ahlin sweden"
CREATE TABLE table_name_48 (gold VARCHAR, silver VARCHAR)
Who won the gold when Bertil Ahlin Sweden won the silver?
SELECT gold FROM table_name_13 WHERE bronze = "jules van dyk belgium"
CREATE TABLE table_name_13 (gold VARCHAR, bronze VARCHAR)
Who won the gold when Jules van Dyk Belgium won bronze?
SELECT second FROM table_name_48 WHERE alternate = "margarita fomina"
CREATE TABLE table_name_48 (second VARCHAR, alternate VARCHAR)
Who is the second for the curling team which has alternate Margarita Fomina?
SELECT second FROM table_name_12 WHERE alternate = "margarita fomina"
CREATE TABLE table_name_12 (second VARCHAR, alternate VARCHAR)
Who is the second for the team with alternate Margarita Fomina?
SELECT alternate FROM table_name_60 WHERE third = "monika wagner"
CREATE TABLE table_name_60 (alternate VARCHAR, third VARCHAR)
Who is the alternate for the team for which Monika Wagner is the third?
SELECT lead FROM table_name_59 WHERE second = "nkeiruka ezekh"
CREATE TABLE table_name_59 (lead VARCHAR, second VARCHAR)
Who is the lead for the team with Nkeiruka Ezekh as second?
SELECT lead FROM table_name_86 WHERE alternate = "christina haller"
CREATE TABLE table_name_86 (lead VARCHAR, alternate VARCHAR)
Who is the lead for the team with Christina Haller as alternate?
SELECT latitude FROM table_name_83 WHERE year_built = 1901
CREATE TABLE table_name_83 (latitude VARCHAR, year_built VARCHAR)
What is the Latitude of the monument built in 1901?
SELECT city_or_town FROM table_name_71 WHERE longitude = "89°11′w"
CREATE TABLE table_name_71 (city_or_town VARCHAR, longitude VARCHAR)
What is the City or Town of the monument with a Longitude of 89°11′w?
SELECT monument_name FROM table_name_95 WHERE year_built > 1887 AND county = "warren"
CREATE TABLE table_name_95 (monument_name VARCHAR, year_built VARCHAR, county VARCHAR)
What Monument was built after 1887 in Warren County?
SELECT county FROM table_name_47 WHERE longitude = "85°45′43″w"
CREATE TABLE table_name_47 (county VARCHAR, longitude VARCHAR)
What County has a Longitude of 85°45′43″w?
SELECT opponent_in_the_final FROM table_name_83 WHERE partner = "jorgelina cravero"
CREATE TABLE table_name_83 (opponent_in_the_final VARCHAR, partner VARCHAR)
What is the Opponent from the final with a Partner named jorgelina cravero?
SELECT outcome FROM table_name_45 WHERE tournament = "leipzig" AND score = "w/o"
CREATE TABLE table_name_45 (outcome VARCHAR, tournament VARCHAR, score VARCHAR)
What was the outcome for the match at the leipzig tournament with a score w/o?
SELECT opponent FROM table_name_53 WHERE tournament = "leipzig"
CREATE TABLE table_name_53 (opponent VARCHAR, tournament VARCHAR)
Who was the opponent that anke huber played against in the leipzig tournament?
SELECT outcome FROM table_name_73 WHERE opponent = "magdalena maleeva"
CREATE TABLE table_name_73 (outcome VARCHAR, opponent VARCHAR)
What was the outcome of the match against Magdalena Maleeva?
SELECT player FROM table_name_8 WHERE pick__number = "15"
CREATE TABLE table_name_8 (player VARCHAR, pick__number VARCHAR)
What is the name of the player that was Pick 15?
SELECT college_junior_club_team FROM table_name_19 WHERE pick__number = "12"
CREATE TABLE table_name_19 (college_junior_club_team VARCHAR, pick__number VARCHAR)
To which college/junior/club team did the player that was Pick 12 belong?
SELECT nhl_team FROM table_name_81 WHERE position = "left wing" AND college_junior_club_team = "toronto marlboros (omjhl)"
CREATE TABLE table_name_81 (nhl_team VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)
What NHL team has a player in the position of Left Wing that came from the Toronto Marlboros (omjhl)?
SELECT college_junior_club_team FROM table_name_6 WHERE pick__number = "16"
CREATE TABLE table_name_6 (college_junior_club_team VARCHAR, pick__number VARCHAR)
To which college/junior/club team did the player that was Pick 16 belong?
SELECT company FROM table_name_14 WHERE director = "simon stone" AND year < 2011
CREATE TABLE table_name_14 (company VARCHAR, director VARCHAR, year VARCHAR)
What company does Simon Stone direct earlier than 2011?
SELECT result FROM table_name_85 WHERE competition = "world cup qualifying" AND date = "march 21, 1954"
CREATE TABLE table_name_85 (result VARCHAR, competition VARCHAR, date VARCHAR)
Which Result has a Competition of world cup qualifying, and a Date of march 21, 1954?
SELECT competition FROM table_name_50 WHERE result = "w" AND score = "2-0" AND date = "may 9, 1954"
CREATE TABLE table_name_50 (competition VARCHAR, date VARCHAR, result VARCHAR, score VARCHAR)
Which Competition has a Result of w, and a Score of 2-0, and a Date of may 9, 1954?
SELECT result FROM table_name_89 WHERE score = "4-1" AND competition = "world cup qualifying"
CREATE TABLE table_name_89 (result VARCHAR, score VARCHAR, competition VARCHAR)
Which Result has a Score of 4-1, and a Competition of world cup qualifying?
SELECT score FROM table_name_65 WHERE competition = "world cup qualifying" AND brazil_scorers = "baltazar" AND date = "march 14, 1954"
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR)
Which Score has a Competition of world cup qualifying, and a Brazil scorers of baltazar, and a Date of march 14, 1954?
SELECT brazil_scorers FROM table_name_5 WHERE result = "w" AND competition = "world cup qualifying" AND date = "february 28, 1954"
CREATE TABLE table_name_5 (brazil_scorers VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
Which Brazil scorers have a Result of w, and a Competition of world cup qualifying, and a Date of february 28, 1954?
SELECT district FROM table_name_4 WHERE first_elected = "1900"
CREATE TABLE table_name_4 (district VARCHAR, first_elected VARCHAR)
when first elected was 1900 what was the district?
SELECT party FROM table_name_9 WHERE first_elected = "1898"
CREATE TABLE table_name_9 (party VARCHAR, first_elected VARCHAR)
when first elected was 1898 what was the party?
SELECT SUM(games) FROM table_name_31 WHERE lost = 6 AND points < 7
CREATE TABLE table_name_31 (games INTEGER, lost VARCHAR, points VARCHAR)
How many Games have a Lost of 6, and Points smaller than 7?
SELECT AVG(number) FROM table_name_23 WHERE player = "larry centers" AND yards < 600
CREATE TABLE table_name_23 (number INTEGER, player VARCHAR, yards VARCHAR)
What is Larry Centers' average number when there were less than 600 yards?
SELECT MAX(number) FROM table_name_81 WHERE long > 50 AND yards < 762
CREATE TABLE table_name_81 (number INTEGER, long VARCHAR, yards VARCHAR)
What is the highest number when there were more than 50 long and less than 762 yards?
SELECT MAX(yards) FROM table_name_12 WHERE average = 9.5
CREATE TABLE table_name_12 (yards INTEGER, average VARCHAR)
What is the highest amount of yards when the average is 9.5?
SELECT runner_up FROM table_name_67 WHERE date = "5 aug 1990"
CREATE TABLE table_name_67 (runner_up VARCHAR, date VARCHAR)
Who was the runner-up on 5 aug 1990?
SELECT tournament FROM table_name_18 WHERE winning_score = −14(65 - 69 - 72 - 68 = 274)
CREATE TABLE table_name_18 (tournament VARCHAR, winning_score VARCHAR)
Which Tournament has a Winning score of −14 (65-69-72-68=274)?
SELECT runner_up FROM table_name_69 WHERE winning_score = −20(70 - 69 - 64 - 65 = 268)
CREATE TABLE table_name_69 (runner_up VARCHAR, winning_score VARCHAR)
Which Runner-up has a Winning score of −20 (70-69-64-65=268)?
SELECT date FROM table_name_98 WHERE winning_score = −15(71 - 69 - 68 - 65 = 273)
CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR)
Which Date has a Winning score of −15 (71-69-68-65=273)?
SELECT tournament FROM table_name_15 WHERE runner_up = "vijay singh"
CREATE TABLE table_name_15 (tournament VARCHAR, runner_up VARCHAR)
In which tournament was vijay singh a runner-up?
SELECT tournament FROM table_name_20 WHERE runner_up = "vijay singh"
CREATE TABLE table_name_20 (tournament VARCHAR, runner_up VARCHAR)
In which tournament was vijay singh a runner-up?
SELECT description FROM table_name_67 WHERE year_of_issue = 1983 AND weight = "3.50grams"
CREATE TABLE table_name_67 (description VARCHAR, year_of_issue VARCHAR, weight VARCHAR)
Which Description has a Year of Issue of 1983, and a Weight of 3.50grams?
SELECT thickness FROM table_name_35 WHERE year_of_issue < 1983
CREATE TABLE table_name_35 (thickness VARCHAR, year_of_issue INTEGER)
Which Thickness has a Year of Issue smaller than 1983?
SELECT description FROM table_name_8 WHERE year_of_issue = 1983 AND thickness = "1.7mm" AND weight = "3.50grams"
CREATE TABLE table_name_8 (description VARCHAR, weight VARCHAR, year_of_issue VARCHAR, thickness VARCHAR)
Which Description has a Year of Issue of 1983, and a Thickness of 1.7mm, and a Weight of 3.50grams?
SELECT thickness FROM table_name_3 WHERE weight = "3.50grams"
CREATE TABLE table_name_3 (thickness VARCHAR, weight VARCHAR)
Which Thickness has a Weight of 3.50grams?
SELECT thickness FROM table_name_56 WHERE diameter = "21.9mm"
CREATE TABLE table_name_56 (thickness VARCHAR, diameter VARCHAR)
Which Thickness has a Diameter of 21.9mm?
SELECT socialist_labor_ticket FROM table_name_65 WHERE liberal_ticket = "w. averell harriman"
CREATE TABLE table_name_65 (socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)
Who was on the Socialist Labor ticket in the race against W. Averell Harriman?
SELECT republican_ticket FROM table_name_65 WHERE democratic_ticket = "arthur levitt"
CREATE TABLE table_name_65 (republican_ticket VARCHAR, democratic_ticket VARCHAR)
Who was the Republican candidate against the Democratic candidate Arthur Levitt?
SELECT independent_socialist_ticket FROM table_name_35 WHERE office = "comptroller"
CREATE TABLE table_name_35 (independent_socialist_ticket VARCHAR, office VARCHAR)
Who was the Independent Socialist candidate for the office of comptroller?
SELECT independent_socialist_ticket FROM table_name_75 WHERE liberal_ticket = "edward goodell"
CREATE TABLE table_name_75 (independent_socialist_ticket VARCHAR, liberal_ticket VARCHAR)
Who was the Independent Socialist candidate who ran against the Liberal candidate Edward Goodell?
SELECT att FROM table_name_75 WHERE time = "2:14"
CREATE TABLE table_name_75 (att VARCHAR, time VARCHAR)
Which Att has a Time of 2:14?
SELECT time FROM table_name_31 WHERE record = "66-95"
CREATE TABLE table_name_31 (time VARCHAR, record VARCHAR)
when is Record of 66-95?
SELECT opponent FROM table_name_12 WHERE record = "65-95"
CREATE TABLE table_name_12 (opponent VARCHAR, record VARCHAR)
Which Opponent has a Record of 65-95?
SELECT to_par FROM table_name_43 WHERE player = "ernie els"
CREATE TABLE table_name_43 (to_par VARCHAR, player VARCHAR)
What is the to par that has ernie els as the player?
SELECT player FROM table_name_99 WHERE money___£__ = "159,500" AND country = "france"
CREATE TABLE table_name_99 (player VARCHAR, money___£__ VARCHAR, country VARCHAR)
What player has money of (£) 159,500, and france is the country?
SELECT player FROM table_name_52 WHERE score = 69 - 70 - 68 - 73 = 280
CREATE TABLE table_name_52 (player VARCHAR, score VARCHAR)
What player has 69-70-68-73=280 as the score?
SELECT AVG(year) FROM table_name_30 WHERE wins < 1 AND team = "yamaha" AND points > 2
CREATE TABLE table_name_30 (year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR)
What is the average year that has a win less than 1, yamaha as the team, with points greater than 2?
SELECT MAX(wins) FROM table_name_7 WHERE class = "350cc" AND team = "yamaha" AND points < 37 AND year > 1979
CREATE TABLE table_name_7 (wins INTEGER, year VARCHAR, points VARCHAR, class VARCHAR, team VARCHAR)
What is the highest wins that has 350cc as the class, yamaha for the team, with points less than 37, and a year after 1979?
SELECT SUM(points) FROM table_name_77 WHERE class = "500cc" AND wins > 0 AND year > 1974
CREATE TABLE table_name_77 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR)
How many points have 500cc for the class, a win greater than 0, with a year after 1974?
SELECT SUM(wins) FROM table_name_21 WHERE year > 1976 AND class = "350cc"
CREATE TABLE table_name_21 (wins INTEGER, year VARCHAR, class VARCHAR)
How many wins have a year after 1976, and 350cc as the class?
SELECT COUNT(san_jose_wins) FROM table_name_43 WHERE la_goals > 6 AND la_wins < 21
CREATE TABLE table_name_43 (san_jose_wins VARCHAR, la_goals VARCHAR, la_wins VARCHAR)
How many San Jose wins have an LA goals larger than 6, and an LA wins smaller than 21?
SELECT MIN(san_jose_goals) FROM table_name_28 WHERE san_jose_wins < 0
CREATE TABLE table_name_28 (san_jose_goals INTEGER, san_jose_wins INTEGER)
Which San Jose goals have a San Jose wins smaller than 0?
SELECT MAX(april) FROM table_name_19 WHERE record = "38-33-10"
CREATE TABLE table_name_19 (april INTEGER, record VARCHAR)
Name the most april with record of 38-33-10
SELECT opponent FROM table_name_97 WHERE record = "38-34-10"
CREATE TABLE table_name_97 (opponent VARCHAR, record VARCHAR)
Name the opponent with record of 38-34-10
SELECT COUNT(april) FROM table_name_46 WHERE record = "38-33-10" AND game > 81
CREATE TABLE table_name_46 (april VARCHAR, record VARCHAR, game VARCHAR)
Name the total number of April for game more than 81 and reord of 38-33-10
SELECT series FROM table_name_53 WHERE date = "may 14"
CREATE TABLE table_name_53 (series VARCHAR, date VARCHAR)
what series was on may 14
SELECT to_par FROM table_name_95 WHERE country = "england" AND score = 66
CREATE TABLE table_name_95 (to_par VARCHAR, country VARCHAR, score VARCHAR)
What is the to par that has england as the country, with 66 as a score?
SELECT country FROM table_name_95 WHERE score < 68 AND player = "paul casey"
CREATE TABLE table_name_95 (country VARCHAR, score VARCHAR, player VARCHAR)
What country has a score less than 68, and paul casey as the player?
SELECT MIN(score) FROM table_name_28 WHERE player = "alastair forsyth"
CREATE TABLE table_name_28 (score INTEGER, player VARCHAR)
What is the lowest score that has alastair forsyth as the player?
SELECT COUNT(score) FROM table_name_87 WHERE player = "paul casey"
CREATE TABLE table_name_87 (score VARCHAR, player VARCHAR)
How many scores have paul casey as a player?