answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT home_team AS score FROM table_name_66 WHERE venue = "glenferrie oval"
CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)
What is the home team's score at glenferrie oval?
SELECT MIN(best) FROM table_name_13 WHERE qual_2 = "49.887"
CREATE TABLE table_name_13 (best INTEGER, qual_2 VARCHAR)
Who had the lowest Best time that also had a Qual 2 of 49.887?
SELECT best FROM table_name_77 WHERE team = "cte racing-hvm" AND qual_2 = "50.312"
CREATE TABLE table_name_77 (best VARCHAR, team VARCHAR, qual_2 VARCHAR)
What was CTE Racing-hvm's Best with a Qual 2 of 50.312?
SELECT home_team AS score FROM table_name_51 WHERE away_team = "essendon"
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
What was the home team score when essendon was the away team?
SELECT home_team AS score FROM table_name_37 WHERE away_team = "richmond"
CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR)
When richmond was the Away team what was the score of the home team?
SELECT service FROM table_name_74 WHERE network = "atn urdu"
CREATE TABLE table_name_74 (service VARCHAR, network VARCHAR)
Which service does the network of atn urdu offer?
SELECT origin_of_programming FROM table_name_12 WHERE genre = "general" AND network = "ntv bangla" AND service = "cogeco cable"
CREATE TABLE table_name_12 (origin_of_programming VARCHAR, service VARCHAR, genre VARCHAR, network VARCHAR)
Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable?
SELECT service FROM table_name_95 WHERE language = "hindi" AND genre = "general" AND network = "zee tv"
CREATE TABLE table_name_95 (service VARCHAR, network VARCHAR, language VARCHAR, genre VARCHAR)
Which service has a hindi language, general genre and zee tv network?
SELECT network FROM table_name_9 WHERE origin_of_programming = "india" AND genre = "general" AND service = "bell fibe tv" AND language = "tamil"
CREATE TABLE table_name_9 (network VARCHAR, language VARCHAR, service VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
Which network has an origina of Programming in India, a general genre, a service of bell fibe tv, and tamil as its language?
SELECT language FROM table_name_80 WHERE origin_of_programming = "india" AND genre = "general" AND network = "ptc punjabi" AND service = "bell fibe tv"
CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service?
SELECT AVG(bronze) FROM table_name_94 WHERE rank < 11 AND nation = "trinidad and tobago" AND total < 1
CREATE TABLE table_name_94 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
What is the average number of bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal?
SELECT SUM(gold) FROM table_name_86 WHERE silver = 1 AND bronze < 2 AND total = 1 AND rank < 10
CREATE TABLE table_name_86 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)
What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10?
SELECT allegiance FROM table_name_28 WHERE name = "winfield scott"
CREATE TABLE table_name_28 (allegiance VARCHAR, name VARCHAR)
Who did Winfield Scott have an allegiance with?
SELECT COUNT(2013 AS _population__july_est_) FROM table_name_10 WHERE population_density___km_2__ > 14.1
CREATE TABLE table_name_10 (population_density___km_2__ INTEGER)
What was the July 2013 population estimate of the location which had a population density larger than 14.1?
SELECT MAX(rank) FROM table_name_45 WHERE population_density___km_2__ > 5.7 AND _percentage_growth__2006_11_ = "5.7%"
CREATE TABLE table_name_45 (rank INTEGER, population_density___km_2__ VARCHAR, _percentage_growth__2006_11_ VARCHAR)
What was the highest rank of an area with a population density larger than 5.7 and a 2006–2011 percentage growth of 5.7%?
SELECT MIN(population___2011_census__) FROM table_name_38 WHERE land_area__km²_ > 908 OFFSET 607.67
CREATE TABLE table_name_38 (population___2011_census__ INTEGER, land_area__km²_ INTEGER)
What was the lowest 2011 Census population of an area with a land area larger than 908,607.67 km²?
SELECT rider FROM table_name_78 WHERE speed = "86.15mph"
CREATE TABLE table_name_78 (rider VARCHAR, speed VARCHAR)
Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph?
SELECT rider FROM table_name_60 WHERE points = 10
CREATE TABLE table_name_60 (rider VARCHAR, points VARCHAR)
Which rider had a points score equal to 10?
SELECT start FROM table_name_54 WHERE conv = "0" AND pens = "0" AND tries = "8"
CREATE TABLE table_name_54 (start VARCHAR, tries VARCHAR, conv VARCHAR, pens VARCHAR)
Which Start has a 0 Conv, 0 Pens and 8 Tries?
SELECT player FROM table_name_42 WHERE pens = "0" AND start = "12"
CREATE TABLE table_name_42 (player VARCHAR, pens VARCHAR, start VARCHAR)
Which Player has 0 Pens and 12 Starts?
SELECT start FROM table_name_58 WHERE tries = "8" AND conv = "0"
CREATE TABLE table_name_58 (start VARCHAR, tries VARCHAR, conv VARCHAR)
Which Start has 8 Tries and 0 Convs?
SELECT away_team FROM table_name_47 WHERE venue = "victoria park"
CREATE TABLE table_name_47 (away_team VARCHAR, venue VARCHAR)
Who was the away team for the game at Victoria Park?
SELECT MIN(overall) FROM table_name_72 WHERE round = 7
CREATE TABLE table_name_72 (overall INTEGER, round VARCHAR)
What was round 7's lowest overall?
SELECT player FROM table_name_51 WHERE overall < 22
CREATE TABLE table_name_51 (player VARCHAR, overall INTEGER)
Who had the smallest overall under 22?
SELECT position FROM table_name_77 WHERE overall > 22 AND school_club_team = "cal state-los angeles"
CREATE TABLE table_name_77 (position VARCHAR, overall VARCHAR, school_club_team VARCHAR)
What was Cal State-Los Angeles' position with an Overall above 22?
SELECT player FROM table_name_47 WHERE school_club_team = "memphis state"
CREATE TABLE table_name_47 (player VARCHAR, school_club_team VARCHAR)
Who played for Memphis State?
SELECT MAX(crowd) FROM table_name_26 WHERE away_team = "st kilda"
CREATE TABLE table_name_26 (crowd INTEGER, away_team VARCHAR)
What is the largest crowd for the St Kilda as the away team?
SELECT crowd FROM table_name_98 WHERE home_team = "essendon"
CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR)
What was the crowd size when Essendon was the home team?
SELECT venue FROM table_name_68 WHERE crowd > 20 OFFSET 000
CREATE TABLE table_name_68 (venue VARCHAR, crowd INTEGER)
Which venue had a crowd larger than 20,000?
SELECT away_team FROM table_name_50 WHERE venue = "lake oval"
CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR)
Which away team played at Lake Oval?
SELECT COUNT(crowd) FROM table_name_28 WHERE venue = "glenferrie oval"
CREATE TABLE table_name_28 (crowd VARCHAR, venue VARCHAR)
What is the total number of the crowd at Glenferrie Oval?
SELECT date FROM table_name_37 WHERE venue = "western oval"
CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR)
The Western Oval venue has what date?
SELECT kickoff FROM table_name_81 WHERE opponent = "miami dolphins"
CREATE TABLE table_name_81 (kickoff VARCHAR, opponent VARCHAR)
What is the kickoff time for the Miami Dolphins?
SELECT result FROM table_name_66 WHERE opponent = "new england patriots"
CREATE TABLE table_name_66 (result VARCHAR, opponent VARCHAR)
What was the final of the New England Patriots game?
SELECT MAX(attendance) FROM table_name_75 WHERE date = "august 10, 1963" AND week > 1
CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR, week VARCHAR)
What is the largest attendance on august 10, 1963, and a week larger than 1?
SELECT away_team AS score FROM table_name_79 WHERE home_team = "south melbourne"
CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR)
What was the score of the away team when the home team was south melbourne?
SELECT MIN(crowd) FROM table_name_57 WHERE venue = "princes park"
CREATE TABLE table_name_57 (crowd INTEGER, venue VARCHAR)
What is the smallest crowd at princes park?
SELECT MAX(rank) FROM table_name_53 WHERE silver = 15 AND total < 47
CREATE TABLE table_name_53 (rank INTEGER, silver VARCHAR, total VARCHAR)
What is the highest ranked nation with 15 silver medals and no more than 47 total?
SELECT MAX(rank_by_average) FROM table_name_27 WHERE average = 25.3 AND number_of_dances > 10
CREATE TABLE table_name_27 (rank_by_average INTEGER, average VARCHAR, number_of_dances VARCHAR)
What was the highest rank by average of a couple who had an average of 25.3 and had more than 10 dances?
SELECT example FROM table_name_56 WHERE type = "associative"
CREATE TABLE table_name_56 (example VARCHAR, type VARCHAR)
What is the example with the associative type?
SELECT suffix FROM table_name_21 WHERE valency_change = "0" AND type = "intensive"
CREATE TABLE table_name_21 (suffix VARCHAR, valency_change VARCHAR, type VARCHAR)
What is the Suffix of the intensive and valency change of 0?
SELECT valency_change FROM table_name_1 WHERE type = "associative"
CREATE TABLE table_name_1 (valency_change VARCHAR, type VARCHAR)
WHat is the Valency change of associative type?
SELECT home_team FROM table_name_66 WHERE away_team = "hawthorn"
CREATE TABLE table_name_66 (home_team VARCHAR, away_team VARCHAR)
Who is the home team when hawthorn is the away side?
SELECT away_team FROM table_name_29 WHERE venue = "windy hill"
CREATE TABLE table_name_29 (away_team VARCHAR, venue VARCHAR)
What was the away team that played at Windy Hill?
SELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000
CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER)
What was the away team at the match where the crowd was larger than 30,000?
SELECT MIN(crowd) FROM table_name_44 WHERE away_team = "richmond"
CREATE TABLE table_name_44 (crowd INTEGER, away_team VARCHAR)
What is the smallest crowd when richmond is away?
SELECT home_team AS score FROM table_name_48 WHERE home_team = "melbourne"
CREATE TABLE table_name_48 (home_team VARCHAR)
What is melbourne's home team score?
SELECT color_commentator_s_ FROM table_name_16 WHERE year = 2008
CREATE TABLE table_name_16 (color_commentator_s_ VARCHAR, year VARCHAR)
Who is the color commentator in 2008?
SELECT member FROM table_name_6 WHERE party = "national" AND electorate = "hinkler"
CREATE TABLE table_name_6 (member VARCHAR, party VARCHAR, electorate VARCHAR)
Which member of the National Party is from the Hinkler electorate?
SELECT member FROM table_name_74 WHERE state = "sa" AND electorate = "grey"
CREATE TABLE table_name_74 (member VARCHAR, state VARCHAR, electorate VARCHAR)
Which member is from the state of SA and the grey electorate?
SELECT state FROM table_name_39 WHERE electorate = "petrie"
CREATE TABLE table_name_39 (state VARCHAR, electorate VARCHAR)
In which state is the Petrie electorate?
SELECT COUNT(round) FROM table_name_68 WHERE position = "tight end" AND overall > 21
CREATE TABLE table_name_68 (round VARCHAR, position VARCHAR, overall VARCHAR)
What round was the draft pick of tight end with an Overall larger than 21?
SELECT player FROM table_name_77 WHERE position = "wide receiver" AND round = 7
CREATE TABLE table_name_77 (player VARCHAR, position VARCHAR, round VARCHAR)
Which player is a wide receiver picked in round 7?
SELECT player FROM table_name_3 WHERE position = "running back"
CREATE TABLE table_name_3 (player VARCHAR, position VARCHAR)
What is the name of the running back pick?
SELECT date FROM table_name_17 WHERE venue = "victoria park"
CREATE TABLE table_name_17 (date VARCHAR, venue VARCHAR)
When did the VFL pay at Victoria Park?
SELECT date FROM table_name_45 WHERE away_team = "south melbourne"
CREATE TABLE table_name_45 (date VARCHAR, away_team VARCHAR)
When did South Melbourne play as the away team?
SELECT away_team AS score FROM table_name_9 WHERE home_team = "essendon"
CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR)
What was home team Essendon's opponents score?
SELECT year FROM table_name_2 WHERE title = "the love eterne"
CREATE TABLE table_name_2 (year VARCHAR, title VARCHAR)
When was The Love Eterne released?
SELECT COUNT(heat) FROM table_name_18 WHERE lane = 5 AND rank > 110 AND nationality = "honduras"
CREATE TABLE table_name_18 (heat VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR)
How many heats had 5 lanes and a rank less than 110 for the nationality of Honduras?
SELECT COUNT(heat) FROM table_name_48 WHERE lane = 2 AND rank > 75 AND nationality = "madagascar"
CREATE TABLE table_name_48 (heat VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR)
How many heats had 2 lanes, a rank above 75, and nationality of Madagascar?
SELECT SUM(heat) FROM table_name_13 WHERE nationality = "macedonia" AND rank < 114
CREATE TABLE table_name_13 (heat INTEGER, nationality VARCHAR, rank VARCHAR)
What is the sum of every heat for the nationality of Macedonia with a rank less than 114?
SELECT MIN(heat) FROM table_name_88 WHERE nationality = "germany" AND lane > 8
CREATE TABLE table_name_88 (heat INTEGER, nationality VARCHAR, lane VARCHAR)
What was the least number of heats with more than 8 lanes for the Nationality of Germany?
SELECT home_team AS score FROM table_name_11 WHERE venue = "victoria park"
CREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR)
When the VFL played Victoria Park what was the home team score?
SELECT driver FROM table_name_65 WHERE points > 19 AND grid > 2
CREATE TABLE table_name_65 (driver VARCHAR, points VARCHAR, grid VARCHAR)
What driver has over 19 points and a grid of over 2?
SELECT away_team AS score FROM table_name_4 WHERE home_team = "geelong"
CREATE TABLE table_name_4 (away_team VARCHAR, home_team VARCHAR)
What was the score for the away team when geelong was the home team?
SELECT home_team AS score FROM table_name_8 WHERE away_team = "footscray"
CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)
What was the score of the home team when they played footscray?
SELECT home_team AS score FROM table_name_45 WHERE home_team = "essendon"
CREATE TABLE table_name_45 (home_team VARCHAR)
What was the score for the home team of essendon?
SELECT home_team AS score FROM table_name_31 WHERE home_team = "essendon"
CREATE TABLE table_name_31 (home_team VARCHAR)
What was the score for the Essendon home team?
SELECT MIN(crowd) FROM table_name_56 WHERE home_team = "richmond"
CREATE TABLE table_name_56 (crowd INTEGER, home_team VARCHAR)
What was the smallest crowd for the Richmond home team?
SELECT MAX(crowd) FROM table_name_75 WHERE venue = "brunswick street oval"
CREATE TABLE table_name_75 (crowd INTEGER, venue VARCHAR)
What was the largest crowd at the Brunswick Street Oval?
SELECT home_team FROM table_name_16 WHERE venue = "windy hill"
CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR)
Who was the home team when VFL played at Windy Hill?
SELECT SUM(crowd) FROM table_name_82 WHERE venue = "glenferrie oval"
CREATE TABLE table_name_82 (crowd INTEGER, venue VARCHAR)
What was the attendance when the VFL played Glenferrie Oval?
SELECT AVG(crowd) FROM table_name_77 WHERE away_team = "north melbourne"
CREATE TABLE table_name_77 (crowd INTEGER, away_team VARCHAR)
What was the attendance when North Melbourne was the away team?
SELECT date FROM table_name_70 WHERE home_team = "essendon"
CREATE TABLE table_name_70 (date VARCHAR, home_team VARCHAR)
When did Essendon play as the home team?
SELECT approximate_age FROM table_name_47 WHERE virtues = "wisdom"
CREATE TABLE table_name_47 (approximate_age VARCHAR, virtues VARCHAR)
Can you give me the age of the Virtues of Wisdom?
SELECT virtues FROM table_name_48 WHERE psycho_social_crisis = "intimacy vs. isolation"
CREATE TABLE table_name_48 (virtues VARCHAR, psycho_social_crisis VARCHAR)
What Virtue looks at the intimacy vs. isolation crisis?
SELECT approximate_age FROM table_name_41 WHERE significant_relationship = "family"
CREATE TABLE table_name_41 (approximate_age VARCHAR, significant_relationship VARCHAR)
Can you give me the age of the Significant Relationship of Family?
SELECT virtues FROM table_name_84 WHERE significant_relationship = "parents"
CREATE TABLE table_name_84 (virtues VARCHAR, significant_relationship VARCHAR)
The Significant Relationship of Parents belongs with what Virtue?
SELECT away_team FROM table_name_35 WHERE venue = "windy hill"
CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)
Who is the away side at windy hill?
SELECT COUNT(overall) FROM table_name_42 WHERE player = "fred hoaglin"
CREATE TABLE table_name_42 (overall VARCHAR, player VARCHAR)
How many drafts featured fred hoaglin?
SELECT round FROM table_name_84 WHERE school_club_team = "delta st."
CREATE TABLE table_name_84 (round VARCHAR, school_club_team VARCHAR)
What round did the player from delta st. get picked?
SELECT MAX(overall) FROM table_name_51 WHERE round = 16
CREATE TABLE table_name_51 (overall INTEGER, round VARCHAR)
What is the highest overall number for someone from round 16?
SELECT AVG(crowd) FROM table_name_9 WHERE home_team = "melbourne"
CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR)
What was the average crowd size when Melbourne was the home team?
SELECT away_team AS score FROM table_name_52 WHERE away_team = "north melbourne"
CREATE TABLE table_name_52 (away_team VARCHAR)
What was North Melbourne's score when they were the home team?
SELECT away_team AS score FROM table_name_96 WHERE away_team = "hawthorn"
CREATE TABLE table_name_96 (away_team VARCHAR)
What was Hawthorn's score as the away team?
SELECT away_team AS score FROM table_name_57 WHERE venue = "lake oval"
CREATE TABLE table_name_57 (away_team VARCHAR, venue VARCHAR)
Who was the away team at the game at Lake Oval?
SELECT stadium FROM table_name_21 WHERE attendance = "65,677"
CREATE TABLE table_name_21 (stadium VARCHAR, attendance VARCHAR)
Which stadium held the game that 65,677 people attended?
SELECT attendance FROM table_name_41 WHERE date = "october 17, 2004"
CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR)
What was the attendance of the game on October 17, 2004?
SELECT week FROM table_name_76 WHERE date = "october 17, 2004"
CREATE TABLE table_name_76 (week VARCHAR, date VARCHAR)
Which week was the October 17, 2004 game played?
SELECT record FROM table_name_41 WHERE stadium = "paul brown stadium"
CREATE TABLE table_name_41 (record VARCHAR, stadium VARCHAR)
What was the Browns record after they played the game at the Paul Brown stadium?
SELECT player FROM table_name_80 WHERE school_country = "gonzaga"
CREATE TABLE table_name_80 (player VARCHAR, school_country VARCHAR)
Which player went to Gonzaga?
SELECT opponent FROM table_name_87 WHERE record = "2-3"
CREATE TABLE table_name_87 (opponent VARCHAR, record VARCHAR)
Which Rams opponent had a record of 2-3?
SELECT podiums FROM table_name_97 WHERE races_† = "13/15"
CREATE TABLE table_name_97 (podiums VARCHAR, races_† VARCHAR)
What is the number of podiums for the races of 13/15?
SELECT wins FROM table_name_36 WHERE races_† = "12/12"
CREATE TABLE table_name_36 (wins VARCHAR, races_† VARCHAR)
How many wins are there for the Races of 12/12?
SELECT fastest_laps FROM table_name_99 WHERE season < 1979
CREATE TABLE table_name_99 (fastest_laps VARCHAR, season INTEGER)
What is the fastest lap for a season smaller than 1979?
SELECT fastest_laps FROM table_name_95 WHERE races_† = "12/12"
CREATE TABLE table_name_95 (fastest_laps VARCHAR, races_† VARCHAR)
For the 12/12 races, what is the fastest lap?
SELECT MAX(crowd) FROM table_name_64 WHERE away_team = "carlton"
CREATE TABLE table_name_64 (crowd INTEGER, away_team VARCHAR)
What was the largest crowd where Carlton was the away team?
SELECT home_team FROM table_name_56 WHERE venue = "arden street oval"
CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR)
Which team's home is the Arden Street Oval?
SELECT MIN(crowd) FROM table_name_68 WHERE home_team = "fitzroy"
CREATE TABLE table_name_68 (crowd INTEGER, home_team VARCHAR)
What was the lowest attendance at a Fitzroy match?
SELECT current_club FROM table_name_51 WHERE apps > 368 AND debut_year < 1994
CREATE TABLE table_name_51 (current_club VARCHAR, apps VARCHAR, debut_year VARCHAR)
What is the current club with more than 368 apps and a debut year earlier than 1994?