answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT school_club_team FROM table_name_57 WHERE player = "jim goodman"
CREATE TABLE table_name_57 (school_club_team VARCHAR, player VARCHAR)
what is the school that hosts jim goodman
SELECT surface FROM table_name_68 WHERE date = "january 2, 2006"
CREATE TABLE table_name_68 (surface VARCHAR, date VARCHAR)
Which Surface has a Date of january 2, 2006?
SELECT tournament FROM table_name_78 WHERE date = "september 25, 2006"
CREATE TABLE table_name_78 (tournament VARCHAR, date VARCHAR)
Which tournament happened on september 25, 2006?
SELECT date FROM table_name_11 WHERE opponen = "joão souza"
CREATE TABLE table_name_11 (date VARCHAR, opponen VARCHAR)
When did joão souza play?
SELECT surface FROM table_name_17 WHERE score = "7–5, 6–4"
CREATE TABLE table_name_17 (surface VARCHAR, score VARCHAR)
Which Surface has a Score of 7–5, 6–4?
SELECT MAX(nfl_draft) FROM table_name_47 WHERE player = "jeff robinson" AND overall_pick < 98
CREATE TABLE table_name_47 (nfl_draft INTEGER, player VARCHAR, overall_pick VARCHAR)
What is the highest NFL Draft that has jeff robinson as the player, with an overall pick less than 98?
SELECT position FROM table_name_55 WHERE nfl_draft = 1958 AND player = "jerry kramer"
CREATE TABLE table_name_55 (position VARCHAR, nfl_draft VARCHAR, player VARCHAR)
What position has 1958 as the NFL Draft, and jerry kramer as the player?
SELECT MAX(overall_pick) FROM table_name_27 WHERE position = "c" AND nfl_draft > 1977
CREATE TABLE table_name_27 (overall_pick INTEGER, position VARCHAR, nfl_draft VARCHAR)
What is the highest overall pick that has c as the position, with an NFL Draft greater than 1977?
SELECT score FROM table_name_18 WHERE home_team = "san jose" AND venue = "spartan stadium"
CREATE TABLE table_name_18 (score VARCHAR, home_team VARCHAR, venue VARCHAR)
What was the score at Spartan Stadium when San Jose was the Home team?
SELECT venue FROM table_name_95 WHERE date = "september 11, 2004"
CREATE TABLE table_name_95 (venue VARCHAR, date VARCHAR)
Where was the game on September 11, 2004?
SELECT home_team FROM table_name_39 WHERE venue = "spartan stadium" AND date = "september 20, 1998"
CREATE TABLE table_name_39 (home_team VARCHAR, venue VARCHAR, date VARCHAR)
Who was the home team on September 20, 1998 at Spartan Stadium?
SELECT method FROM table_name_5 WHERE round < 3 AND time = "3:36"
CREATE TABLE table_name_5 (method VARCHAR, round VARCHAR, time VARCHAR)
What method has a round less than 3, and 3:36 as the time?
SELECT method FROM table_name_15 WHERE opponent = "randy couture"
CREATE TABLE table_name_15 (method VARCHAR, opponent VARCHAR)
What method has randy couture as the opponent?
SELECT median_household_income FROM table_name_27 WHERE per_capita_income = "$28,789"
CREATE TABLE table_name_27 (median_household_income VARCHAR, per_capita_income VARCHAR)
What is the median household income where the per capita is $28,789?
SELECT median_family_income FROM table_name_14 WHERE per_capita_income = "$18,296"
CREATE TABLE table_name_14 (median_family_income VARCHAR, per_capita_income VARCHAR)
What is the median income for a family whose per capita income is $18,296?
SELECT resolution FROM table_name_96 WHERE network = "canal de las estrellas"
CREATE TABLE table_name_96 (resolution VARCHAR, network VARCHAR)
What is the resolution of the network Canal de las Estrellas?
SELECT resolution FROM table_name_47 WHERE network = "carismatv"
CREATE TABLE table_name_47 (resolution VARCHAR, network VARCHAR)
What is the resolution of the network Carismatv?
SELECT dish FROM table_name_46 WHERE official_website = "ksat.com"
CREATE TABLE table_name_46 (dish VARCHAR, official_website VARCHAR)
Which dish belongs to the network that has the official website of ksat.com?
SELECT city_of_license FROM table_name_93 WHERE network = "latv"
CREATE TABLE table_name_93 (city_of_license VARCHAR, network VARCHAR)
In which city is the network latv licensed?
SELECT city_of_license FROM table_name_71 WHERE callsign = "kgns-dt3"
CREATE TABLE table_name_71 (city_of_license VARCHAR, callsign VARCHAR)
In which city is the network with the callsign kgns-dt3 licensed?
SELECT SUM(introduced) FROM table_name_94 WHERE manufacturer = "fokker" AND quantity = 5 AND retired > 1999
CREATE TABLE table_name_94 (introduced INTEGER, retired VARCHAR, manufacturer VARCHAR, quantity VARCHAR)
How many in the introduced section had Fokker as a manufacturer, a quantity of 5, and retired later than 1999?
SELECT SUM(quantity) FROM table_name_30 WHERE introduced = 1984
CREATE TABLE table_name_30 (quantity INTEGER, introduced VARCHAR)
What is the total number of quantity when the introductory year was 1984?
SELECT COUNT(introduced) FROM table_name_80 WHERE retired > 1994 AND manufacturer = "fokker"
CREATE TABLE table_name_80 (introduced VARCHAR, retired VARCHAR, manufacturer VARCHAR)
How many in the introduced segment retired later than 1994 and had Fokker as a manufacturer?
SELECT COUNT(quantity) FROM table_name_68 WHERE manufacturer = "fokker" AND retired > 1999
CREATE TABLE table_name_68 (quantity VARCHAR, manufacturer VARCHAR, retired VARCHAR)
How many in the quantity section had Fokker as a manufacturer and retired later than 1999?
SELECT champion FROM table_name_74 WHERE scoreboard = "22-14"
CREATE TABLE table_name_74 (champion VARCHAR, scoreboard VARCHAR)
Which Championship has a Scoreboard that is 22-14?
SELECT MAX(year_completed) FROM table_name_81 WHERE rank < 3 AND height_ft__m_ = "274 (84)"
CREATE TABLE table_name_81 (year_completed INTEGER, rank VARCHAR, height_ft__m_ VARCHAR)
What year was the building with a top 3 rank and a height of 274 (84) ft (m) completed?
SELECT AVG(floors__stories_) FROM table_name_99 WHERE height_ft__m_ = "274 (84)" AND rank > 1
CREATE TABLE table_name_99 (floors__stories_ INTEGER, height_ft__m_ VARCHAR, rank VARCHAR)
How many floors are in the 274 (84) ft (m) building that is ranked number 1?
SELECT MAX(rank) FROM table_name_45 WHERE floors__stories_ > 15
CREATE TABLE table_name_45 (rank INTEGER, floors__stories_ INTEGER)
Which is the highest ranked building with more than 15 floors?
SELECT MAX(scored) FROM table_name_99 WHERE position > 5 AND wins < 4 AND draws > 8
CREATE TABLE table_name_99 (scored INTEGER, draws VARCHAR, position VARCHAR, wins VARCHAR)
What is the highest points scored for the team with a position larger than 5, who had less than 4 wins and more than 8 draws?
SELECT AVG(conceded) FROM table_name_65 WHERE points < 19 AND position < 10 AND played > 18
CREATE TABLE table_name_65 (conceded INTEGER, played VARCHAR, points VARCHAR, position VARCHAR)
What is the average number conceded for hte team that had less than 19 points, played more than 18 games and had a position less than 10?
SELECT SUM(draws) FROM table_name_19 WHERE position < 4 AND wins = 11 AND points < 38
CREATE TABLE table_name_19 (draws INTEGER, points VARCHAR, position VARCHAR, wins VARCHAR)
What was the sum of the draws for the team that had 11 wins, less than 38 points, and a position smaller than 4?
SELECT MIN(wins) FROM table_name_78 WHERE position = 7 AND scored > 14
CREATE TABLE table_name_78 (wins INTEGER, position VARCHAR, scored VARCHAR)
What was the lowest number of wins for the team that scored more than 14 points and had a position of 7?
SELECT COUNT(scored) FROM table_name_48 WHERE position > 4 AND points = 19
CREATE TABLE table_name_48 (scored VARCHAR, position VARCHAR, points VARCHAR)
What is the total number scored for the team that had 19 points and a position larger than 4?
SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23
CREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR)
What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points?
SELECT date FROM table_name_88 WHERE result = "l 14–13"
CREATE TABLE table_name_88 (date VARCHAR, result VARCHAR)
Which Date has a Result of l 14–13?
SELECT date FROM table_name_84 WHERE result = "w 13–6"
CREATE TABLE table_name_84 (date VARCHAR, result VARCHAR)
Which Date has a Result of w 13–6?
SELECT result FROM table_name_94 WHERE week > 3 AND date = "1971-11-07"
CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, date VARCHAR)
What is the Result of Week larger than 3 on 1971-11-07?
SELECT pos FROM table_name_20 WHERE tier > 1 AND cup_competitions = "pokal slovenije 1. round"
CREATE TABLE table_name_20 (pos VARCHAR, tier VARCHAR, cup_competitions VARCHAR)
What is the pos with more than 1 tier during Pokal Slovenije 1. round?
SELECT cubic_inches__exact_ FROM table_name_9 WHERE metric_value = "104.955 l"
CREATE TABLE table_name_9 (cubic_inches__exact_ VARCHAR, metric_value VARCHAR)
What are the exact Cubic inches of the Metric value of 104.955 L?
SELECT translation FROM table_name_47 WHERE us_customary = "0.263 pt"
CREATE TABLE table_name_47 (translation VARCHAR, us_customary VARCHAR)
What is the Translation of the US Customary value 0.263 pt?
SELECT metric_value FROM table_name_19 WHERE russian = "че́тверть"
CREATE TABLE table_name_19 (metric_value VARCHAR, russian VARCHAR)
What is the Metric value of Russian че́тверть?
SELECT cubic_inches__exact_ FROM table_name_86 WHERE unit = "kruzhka"
CREATE TABLE table_name_86 (cubic_inches__exact_ VARCHAR, unit VARCHAR)
What are the exact Cubic inches of the Unit of kruzhka?
SELECT id_code_of_his_zero_fighter FROM table_name_1 WHERE count = "10"
CREATE TABLE table_name_1 (id_code_of_his_zero_fighter VARCHAR, count VARCHAR)
Which Zero Fighter has a count of 10?
SELECT date FROM table_name_9 WHERE sub_total = "9:30"
CREATE TABLE table_name_9 (date VARCHAR, sub_total VARCHAR)
On which day were the subtotal hours 9:30?
SELECT count FROM table_name_5 WHERE flight_hours = "2:00"
CREATE TABLE table_name_5 (count VARCHAR, flight_hours VARCHAR)
What is the count for the Zero Fighter with hours of 2:00?
SELECT record FROM table_name_51 WHERE opponent = "katsuomi inagaki"
CREATE TABLE table_name_51 (record VARCHAR, opponent VARCHAR)
Which record has Katsuomi Inagaki as an opponent?
SELECT method FROM table_name_63 WHERE time = "1:46"
CREATE TABLE table_name_63 (method VARCHAR, time VARCHAR)
Which method has a 1:46 time?
SELECT MAX(overall) FROM table_name_65 WHERE pick__number > 3 AND name = "henri crockett"
CREATE TABLE table_name_65 (overall INTEGER, pick__number VARCHAR, name VARCHAR)
What is Henri Crockett's highest overall with more than 3 picks?
SELECT college FROM table_name_7 WHERE round < 2
CREATE TABLE table_name_7 (college VARCHAR, round INTEGER)
Which college has fewer than 2 rounds?
SELECT COUNT(pick__number) FROM table_name_66 WHERE position = "guard" AND round < 6
CREATE TABLE table_name_66 (pick__number VARCHAR, position VARCHAR, round VARCHAR)
What are the total number of picks for a guard with fewer than 6 rounds?
SELECT MIN(overall) FROM table_name_88 WHERE position = "quarterback" AND round < 7
CREATE TABLE table_name_88 (overall INTEGER, position VARCHAR, round VARCHAR)
What is the lowest overall for a quarterback with fewer than 7 rounds?
SELECT playoffs FROM table_name_83 WHERE open_cup = "3rd round"
CREATE TABLE table_name_83 (playoffs VARCHAR, open_cup VARCHAR)
What Playoffs had an Open Cup of 3rd round?
SELECT segment_d FROM table_name_25 WHERE episode = 60
CREATE TABLE table_name_25 (segment_d VARCHAR, episode VARCHAR)
What was the D segment for episode 60?
SELECT segment_b FROM table_name_54 WHERE netflix = "s03e01"
CREATE TABLE table_name_54 (segment_b VARCHAR, netflix VARCHAR)
What was the B segmint for Netlix S03E01?
SELECT segment_d FROM table_name_51 WHERE episode = 60
CREATE TABLE table_name_51 (segment_d VARCHAR, episode VARCHAR)
What was the D segment for episode 60?
SELECT supercopa_1996 FROM table_name_14 WHERE team = "racing club"
CREATE TABLE table_name_14 (supercopa_1996 VARCHAR, team VARCHAR)
What racing club team made supercopa 1996?
SELECT _number___county FROM table_name_54 WHERE school = "new palestine"
CREATE TABLE table_name_54 (_number___county VARCHAR, school VARCHAR)
Name the # country for new palestine
SELECT COUNT(enrollment) FROM table_name_47 WHERE _number___county = "48 madison"
CREATE TABLE table_name_47 (enrollment VARCHAR, _number___county VARCHAR)
Name the number of enrollment for county of 48 madison
SELECT ihsaa_class FROM table_name_82 WHERE _number___county = "18 delaware" AND mascot = "tigers"
CREATE TABLE table_name_82 (ihsaa_class VARCHAR, _number___county VARCHAR, mascot VARCHAR)
Name the IHSAA class with county 18 delaware and tigers mascot
SELECT mascot FROM table_name_33 WHERE school = "shelbyville"
CREATE TABLE table_name_33 (mascot VARCHAR, school VARCHAR)
Name the mascot for shelbyville
SELECT MIN(capacity) FROM table_name_37 WHERE stadium = "hampden park" AND highest > 1 OFFSET 763
CREATE TABLE table_name_37 (capacity INTEGER, stadium VARCHAR, highest VARCHAR)
What's the capacity that has the highest greater than 1,763 and is at Hampden Park?
SELECT MAX(highest) FROM table_name_20 WHERE average = 615 AND capacity > 4 OFFSET 000
CREATE TABLE table_name_20 (highest INTEGER, average VARCHAR, capacity VARCHAR)
What's the highest with a capacity of greater than 4,000 and an average of 615?
SELECT COUNT(average) FROM table_name_77 WHERE stadium = "balmoor" AND lowest > 400
CREATE TABLE table_name_77 (average VARCHAR, stadium VARCHAR, lowest VARCHAR)
At Balmoor Stadium, what's the total average having a greater than 400 lowest?
SELECT score FROM table_name_38 WHERE location = "georgia" AND winner = "tommy aaron (2)"
CREATE TABLE table_name_38 (score VARCHAR, location VARCHAR, winner VARCHAR)
What was the score of Tommy Aaron (2) when the tournament was in georgia?
SELECT score FROM table_name_14 WHERE winner = "ken still (3)"
CREATE TABLE table_name_14 (score VARCHAR, winner VARCHAR)
What was the score of Ken Still (3) when he won first place?
SELECT beat_by FROM table_name_9 WHERE distance = "8fm"
CREATE TABLE table_name_9 (beat_by VARCHAR, distance VARCHAR)
Who beat Chic by 8fm?
SELECT placing FROM table_name_58 WHERE beat_by = "won" AND distance = "8gf"
CREATE TABLE table_name_58 (placing VARCHAR, beat_by VARCHAR, distance VARCHAR)
What was the placing of the race in which Chic won by 8gf?
SELECT date FROM table_name_50 WHERE beat_by = "won" AND location = "chs"
CREATE TABLE table_name_50 (date VARCHAR, beat_by VARCHAR, location VARCHAR)
What was the date in which Chic won at CHS?
SELECT opponent FROM table_name_26 WHERE location_attendance = "los angeles" AND date < 18 AND game = 54
CREATE TABLE table_name_26 (opponent VARCHAR, game VARCHAR, location_attendance VARCHAR, date VARCHAR)
Who is the opponent of game 54, which was in Los Angeles and was before day 18?
SELECT MIN(date) FROM table_name_14 WHERE score = "2-2"
CREATE TABLE table_name_14 (date INTEGER, score VARCHAR)
What is the earliest date of the game with a score of 2-2?
SELECT AVG(date) FROM table_name_19 WHERE opponent = "detroit red wings"
CREATE TABLE table_name_19 (date INTEGER, opponent VARCHAR)
What is the average date of the game with the Detroit Red Wings as the opponent?
SELECT date FROM table_name_51 WHERE score = "4-2"
CREATE TABLE table_name_51 (date VARCHAR, score VARCHAR)
What is the date of the game with a score of 4-2?
SELECT loss FROM table_name_41 WHERE record = "3-3"
CREATE TABLE table_name_41 (loss VARCHAR, record VARCHAR)
What was the loss of the game that had a record of 3-3?
SELECT score FROM table_name_47 WHERE loss = "mercedes (0-1)"
CREATE TABLE table_name_47 (score VARCHAR, loss VARCHAR)
What was the score of the game with a loss of Mercedes (0-1)?
SELECT opponent FROM table_name_71 WHERE loss = "weaver (1-2)"
CREATE TABLE table_name_71 (opponent VARCHAR, loss VARCHAR)
Who was the opponent at the game with a loss of Weaver (1-2)?
SELECT remixed_by FROM table_name_47 WHERE version = "strings for soul's mix"
CREATE TABLE table_name_47 (remixed_by VARCHAR, version VARCHAR)
What's the Remixed by with a Version of Strings for Soul's Mix?
SELECT MAX(year) FROM table_name_38 WHERE remixed_by = "laurent boutonnat"
CREATE TABLE table_name_38 (year INTEGER, remixed_by VARCHAR)
What the highest Year with a Remixed by Laurent Boutonnat?
SELECT SUM(year) FROM table_name_36 WHERE length = "4:45" AND album = "les mots"
CREATE TABLE table_name_36 (year INTEGER, length VARCHAR, album VARCHAR)
What's the total Year with a Length of 4:45 an has an Album of Les Mots?
SELECT length FROM table_name_60 WHERE version = "album version"
CREATE TABLE table_name_60 (length VARCHAR, version VARCHAR)
What's the Length with the Version of Album Version?
SELECT album FROM table_name_39 WHERE year > 2001
CREATE TABLE table_name_39 (album VARCHAR, year INTEGER)
What Album has a Year that's larger than 2001?
SELECT MIN(position) FROM table_name_6 WHERE pilot = "bruce taylor"
CREATE TABLE table_name_6 (position INTEGER, pilot VARCHAR)
What is the lowest position for bruce taylor?
SELECT pilot FROM table_name_98 WHERE position > 5 AND speed = "118.8km/h"
CREATE TABLE table_name_98 (pilot VARCHAR, position VARCHAR, speed VARCHAR)
Which pilot has a position above 5 and a speed of 118.8km/h?
SELECT AVG(position) FROM table_name_18 WHERE pilot = "erwin sommer"
CREATE TABLE table_name_18 (position INTEGER, pilot VARCHAR)
What is Erwin Sommer's average position?
SELECT MAX(rank) FROM table_name_27 WHERE gross = "$38,916" AND screens > 6
CREATE TABLE table_name_27 (rank INTEGER, gross VARCHAR, screens VARCHAR)
What is the highest rank of the day with a gross of $38,916 and more than 6 screens?
SELECT gross FROM table_name_33 WHERE territory = "united kingdom"
CREATE TABLE table_name_33 (gross VARCHAR, territory VARCHAR)
What is the gross in the United Kingdom?
SELECT territory FROM table_name_91 WHERE screens = 17
CREATE TABLE table_name_91 (territory VARCHAR, screens VARCHAR)
What is the territory with 17 screens?
SELECT MIN(gold) FROM table_name_1 WHERE participants < 14 AND rank = 1 AND total > 1
CREATE TABLE table_name_1 (gold INTEGER, total VARCHAR, participants VARCHAR, rank VARCHAR)
What is the lowest number of Golds that has Participants smaller than 14, and Rank of 1, and Total larger than 1?
SELECT date FROM table_name_69 WHERE record = "39–54"
CREATE TABLE table_name_69 (date VARCHAR, record VARCHAR)
On what date was the record 39–54?
SELECT record FROM table_name_58 WHERE date = "july 1"
CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR)
What was the record on July 1?
SELECT SUM(matches) FROM table_name_13 WHERE wins < 1 AND pos > 8
CREATE TABLE table_name_13 (matches INTEGER, wins VARCHAR, pos VARCHAR)
How many total matches with less than 1 win and a position higher than 8?
SELECT liberal_leader FROM table_name_86 WHERE seats_won < 100 AND seats_in_house = 215 AND _percentage_of_popular_vote = "43.1%"
CREATE TABLE table_name_86 (liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR, seats_won VARCHAR, seats_in_house VARCHAR)
Which Liberal leader has Seats won smaller than 100, and Seats in House of 215, and a % of popular vote of 43.1%?
SELECT AVG(popular_vote) FROM table_name_32 WHERE liberal_leader = "king" AND seats_won > 116 AND year = "1921"
CREATE TABLE table_name_32 (popular_vote INTEGER, year VARCHAR, liberal_leader VARCHAR, seats_won VARCHAR)
Which Popular vote has a Liberal leader of king, and Seats won larger than 116, and a Year of 1921?
SELECT COUNT(liberal_candidates) FROM table_name_94 WHERE liberal_leader = "pearson" AND _percentage_of_popular_vote = "40.2%" AND seats_won < 131
CREATE TABLE table_name_94 (liberal_candidates VARCHAR, seats_won VARCHAR, liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR)
How many Liberal candidates have a Liberal leader of pearson, and a % of popular vote of 40.2%, and Seats won smaller than 131?
SELECT score FROM table_name_81 WHERE year = "2006-2007"
CREATE TABLE table_name_81 (score VARCHAR, year VARCHAR)
What is the score during the 2006-2007 year?
SELECT winners FROM table_name_4 WHERE year = "2010-2011"
CREATE TABLE table_name_4 (winners VARCHAR, year VARCHAR)
Who were the winners in 2010-2011?
SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears"
CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR)
What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners?
SELECT year FROM table_name_3 WHERE runner_up = "utc" AND winners = "saint-gaudens bears"
CREATE TABLE table_name_3 (year VARCHAR, runner_up VARCHAR, winners VARCHAR)
Which year had UTC as the runner-up and Saint-Gaudens Bears as the winners?
SELECT venue FROM table_name_45 WHERE score = "33-22"
CREATE TABLE table_name_45 (venue VARCHAR, score VARCHAR)
What is the venue of the match with a score of 33-22?
SELECT high_assists FROM table_name_28 WHERE date = "february 22"
CREATE TABLE table_name_28 (high_assists VARCHAR, date VARCHAR)
Who had the highest assists during the game on February 22?
SELECT team FROM table_name_55 WHERE location_attendance = "td waterhouse centre"
CREATE TABLE table_name_55 (team VARCHAR, location_attendance VARCHAR)
What team did the Heat play against at the TD Waterhouse Centre?