question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
What is the Result for Couple Kelly & Alec when they have a Score of 22 (8, 7, 7)?
CREATE TABLE table_name_48 (result VARCHAR, couple VARCHAR, score VARCHAR)
SELECT result FROM table_name_48 WHERE couple = "kelly & alec" AND score = "22 (8, 7, 7)"
### Context: CREATE TABLE table_name_48 (result VARCHAR, couple VARCHAR, score VARCHAR) ### Question: What is the Result for Couple Kelly & Alec when they have a Score of 22 (8, 7, 7)? ### Answer: SELECT result FROM table_name_48 WHERE couple = "kelly & alec" AND score = "22 (8, 7, 7)"
What is the Music for the Dance that Scored 25 (9, 8, 8) and a Result of bottom 2?
CREATE TABLE table_name_2 (music VARCHAR, score VARCHAR, result VARCHAR)
SELECT music FROM table_name_2 WHERE score = "25 (9, 8, 8)" AND result = "bottom 2"
### Context: CREATE TABLE table_name_2 (music VARCHAR, score VARCHAR, result VARCHAR) ### Question: What is the Music for the Dance that Scored 25 (9, 8, 8) and a Result of bottom 2? ### Answer: SELECT music FROM table_name_2 WHERE score = "25 (9, 8, 8)" AND result = "bottom 2"
How many totals are there for players with an average under 8 and less than 4 matches?
CREATE TABLE table_name_53 (total VARCHAR, average VARCHAR, matches VARCHAR)
SELECT COUNT(total) FROM table_name_53 WHERE average < 8 AND matches < 4
### Context: CREATE TABLE table_name_53 (total VARCHAR, average VARCHAR, matches VARCHAR) ### Question: How many totals are there for players with an average under 8 and less than 4 matches? ### Answer: SELECT COUNT(total) FROM table_name_53 WHERE average < 8 AND matches < 4
What is the highest rank for championships with christy heffernan with over 4 matches?
CREATE TABLE table_name_44 (rank INTEGER, player VARCHAR, matches VARCHAR)
SELECT MAX(rank) FROM table_name_44 WHERE player = "christy heffernan" AND matches > 4
### Context: CREATE TABLE table_name_44 (rank INTEGER, player VARCHAR, matches VARCHAR) ### Question: What is the highest rank for championships with christy heffernan with over 4 matches? ### Answer: SELECT MAX(rank) FROM table_name_44 WHERE player = "christy heffernan" AND matches > 4
What is the date of the game at Junction Oval?
CREATE TABLE table_name_55 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_55 WHERE venue = "junction oval"
### Context: CREATE TABLE table_name_55 (date VARCHAR, venue VARCHAR) ### Question: What is the date of the game at Junction Oval? ### Answer: SELECT date FROM table_name_55 WHERE venue = "junction oval"
What was the away team score at Windy Hill?
CREATE TABLE table_name_25 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_25 WHERE venue = "windy hill"
### Context: CREATE TABLE table_name_25 (away_team VARCHAR, venue VARCHAR) ### Question: What was the away team score at Windy Hill? ### Answer: SELECT away_team AS score FROM table_name_25 WHERE venue = "windy hill"
Where did St Kilda play as the away team?
CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_50 WHERE away_team = "st kilda"
### Context: CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR) ### Question: Where did St Kilda play as the away team? ### Answer: SELECT venue FROM table_name_50 WHERE away_team = "st kilda"
What away team played at Glenferrie Oval?
CREATE TABLE table_name_34 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_34 WHERE venue = "glenferrie oval"
### Context: CREATE TABLE table_name_34 (away_team VARCHAR, venue VARCHAR) ### Question: What away team played at Glenferrie Oval? ### Answer: SELECT away_team FROM table_name_34 WHERE venue = "glenferrie oval"
How many people attended the game at Lake Oval?
CREATE TABLE table_name_76 (crowd VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_76 WHERE venue = "lake oval"
### Context: CREATE TABLE table_name_76 (crowd VARCHAR, venue VARCHAR) ### Question: How many people attended the game at Lake Oval? ### Answer: SELECT crowd FROM table_name_76 WHERE venue = "lake oval"
What home team played at Lake Oval?
CREATE TABLE table_name_1 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_1 WHERE venue = "lake oval"
### Context: CREATE TABLE table_name_1 (home_team VARCHAR, venue VARCHAR) ### Question: What home team played at Lake Oval? ### Answer: SELECT home_team FROM table_name_1 WHERE venue = "lake oval"
What was the terrain for stage 10 of the tour?
CREATE TABLE table_name_69 (terrain VARCHAR, stage VARCHAR)
SELECT terrain FROM table_name_69 WHERE stage = "10"
### Context: CREATE TABLE table_name_69 (terrain VARCHAR, stage VARCHAR) ### Question: What was the terrain for stage 10 of the tour? ### Answer: SELECT terrain FROM table_name_69 WHERE stage = "10"
Which stage took the tour through Boulogne-Billancourt?
CREATE TABLE table_name_90 (stage VARCHAR, route VARCHAR)
SELECT stage FROM table_name_90 WHERE route = "boulogne-billancourt"
### Context: CREATE TABLE table_name_90 (stage VARCHAR, route VARCHAR) ### Question: Which stage took the tour through Boulogne-Billancourt? ### Answer: SELECT stage FROM table_name_90 WHERE route = "boulogne-billancourt"
Who won at stage 22?
CREATE TABLE table_name_85 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_85 WHERE stage = "22"
### Context: CREATE TABLE table_name_85 (winner VARCHAR, stage VARCHAR) ### Question: Who won at stage 22? ### Answer: SELECT winner FROM table_name_85 WHERE stage = "22"
Who was the winner of stage 12?
CREATE TABLE table_name_76 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_76 WHERE stage = "12"
### Context: CREATE TABLE table_name_76 (winner VARCHAR, stage VARCHAR) ### Question: Who was the winner of stage 12? ### Answer: SELECT winner FROM table_name_76 WHERE stage = "12"
When was the Hon Ian Causley first elected?
CREATE TABLE table_name_66 (first_elected VARCHAR, member VARCHAR)
SELECT first_elected FROM table_name_66 WHERE member = "hon ian causley"
### Context: CREATE TABLE table_name_66 (first_elected VARCHAR, member VARCHAR) ### Question: When was the Hon Ian Causley first elected? ### Answer: SELECT first_elected FROM table_name_66 WHERE member = "hon ian causley"
When was Jill Hall of the Labor Party first elected?
CREATE TABLE table_name_6 (first_elected VARCHAR, party VARCHAR, member VARCHAR)
SELECT first_elected FROM table_name_6 WHERE party = "labor" AND member = "jill hall"
### Context: CREATE TABLE table_name_6 (first_elected VARCHAR, party VARCHAR, member VARCHAR) ### Question: When was Jill Hall of the Labor Party first elected? ### Answer: SELECT first_elected FROM table_name_6 WHERE party = "labor" AND member = "jill hall"
What state is Tanya Plibersek from?
CREATE TABLE table_name_15 (state VARCHAR, member VARCHAR)
SELECT state FROM table_name_15 WHERE member = "tanya plibersek"
### Context: CREATE TABLE table_name_15 (state VARCHAR, member VARCHAR) ### Question: What state is Tanya Plibersek from? ### Answer: SELECT state FROM table_name_15 WHERE member = "tanya plibersek"
What is the smallest number of goals for the player from 2008-present named tony beltran, ranked lower than 7?
CREATE TABLE table_name_98 (goals INTEGER, rank VARCHAR, years VARCHAR, player VARCHAR)
SELECT MIN(goals) FROM table_name_98 WHERE years = "2008-present" AND player = "tony beltran" AND rank > 7
### Context: CREATE TABLE table_name_98 (goals INTEGER, rank VARCHAR, years VARCHAR, player VARCHAR) ### Question: What is the smallest number of goals for the player from 2008-present named tony beltran, ranked lower than 7? ### Answer: SELECT MIN(goals) FROM table_name_98 WHERE years = "2008-present" AND player = "tony beltran" AND rank > 7
What is the smallest number of goals for andy williams?
CREATE TABLE table_name_92 (goals INTEGER, player VARCHAR)
SELECT MIN(goals) FROM table_name_92 WHERE player = "andy williams"
### Context: CREATE TABLE table_name_92 (goals INTEGER, player VARCHAR) ### Question: What is the smallest number of goals for andy williams? ### Answer: SELECT MIN(goals) FROM table_name_92 WHERE player = "andy williams"
What is the highest number of goals for robbie findley ranked above 10?
CREATE TABLE table_name_37 (goals INTEGER, player VARCHAR, rank VARCHAR)
SELECT MAX(goals) FROM table_name_37 WHERE player = "robbie findley" AND rank < 10
### Context: CREATE TABLE table_name_37 (goals INTEGER, player VARCHAR, rank VARCHAR) ### Question: What is the highest number of goals for robbie findley ranked above 10? ### Answer: SELECT MAX(goals) FROM table_name_37 WHERE player = "robbie findley" AND rank < 10
Which NTFS has a yes for FAT32 and a no for ReFS?
CREATE TABLE table_name_20 (ntfs VARCHAR, fat32 VARCHAR, refs VARCHAR)
SELECT ntfs FROM table_name_20 WHERE fat32 = "yes" AND refs = "no"
### Context: CREATE TABLE table_name_20 (ntfs VARCHAR, fat32 VARCHAR, refs VARCHAR) ### Question: Which NTFS has a yes for FAT32 and a no for ReFS? ### Answer: SELECT ntfs FROM table_name_20 WHERE fat32 = "yes" AND refs = "no"
Which HPFS has a no for ReFS?
CREATE TABLE table_name_51 (hpfs VARCHAR, refs VARCHAR)
SELECT hpfs FROM table_name_51 WHERE refs = "no"
### Context: CREATE TABLE table_name_51 (hpfs VARCHAR, refs VARCHAR) ### Question: Which HPFS has a no for ReFS? ### Answer: SELECT hpfs FROM table_name_51 WHERE refs = "no"
Which FAT32 has yes v1.0/v1.1 for NTFS?
CREATE TABLE table_name_31 (fat32 VARCHAR, ntfs VARCHAR)
SELECT fat32 FROM table_name_31 WHERE ntfs = "yes v1.0/v1.1"
### Context: CREATE TABLE table_name_31 (fat32 VARCHAR, ntfs VARCHAR) ### Question: Which FAT32 has yes v1.0/v1.1 for NTFS? ### Answer: SELECT fat32 FROM table_name_31 WHERE ntfs = "yes v1.0/v1.1"
Which FAT32 has a no for HPFS, a no for ReFS, and a yes v3.0 fir NTFS?
CREATE TABLE table_name_54 (fat32 VARCHAR, ntfs VARCHAR, hpfs VARCHAR, refs VARCHAR)
SELECT fat32 FROM table_name_54 WHERE hpfs = "no" AND refs = "no" AND ntfs = "yes v3.0"
### Context: CREATE TABLE table_name_54 (fat32 VARCHAR, ntfs VARCHAR, hpfs VARCHAR, refs VARCHAR) ### Question: Which FAT32 has a no for HPFS, a no for ReFS, and a yes v3.0 fir NTFS? ### Answer: SELECT fat32 FROM table_name_54 WHERE hpfs = "no" AND refs = "no" AND ntfs = "yes v3.0"
Which ReFS has yes v3.0 for NTFS?
CREATE TABLE table_name_43 (refs VARCHAR, ntfs VARCHAR)
SELECT refs FROM table_name_43 WHERE ntfs = "yes v3.0"
### Context: CREATE TABLE table_name_43 (refs VARCHAR, ntfs VARCHAR) ### Question: Which ReFS has yes v3.0 for NTFS? ### Answer: SELECT refs FROM table_name_43 WHERE ntfs = "yes v3.0"
Which NTFS has a no for ReFS and a yes for HPFS?
CREATE TABLE table_name_50 (ntfs VARCHAR, refs VARCHAR, hpfs VARCHAR)
SELECT ntfs FROM table_name_50 WHERE refs = "no" AND hpfs = "yes"
### Context: CREATE TABLE table_name_50 (ntfs VARCHAR, refs VARCHAR, hpfs VARCHAR) ### Question: Which NTFS has a no for ReFS and a yes for HPFS? ### Answer: SELECT ntfs FROM table_name_50 WHERE refs = "no" AND hpfs = "yes"
What home team plays at glenferrie oval?
CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_5 WHERE venue = "glenferrie oval"
### Context: CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR) ### Question: What home team plays at glenferrie oval? ### Answer: SELECT home_team FROM table_name_5 WHERE venue = "glenferrie oval"
What is the away side that playes at lake oval?
CREATE TABLE table_name_12 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_12 WHERE venue = "lake oval"
### Context: CREATE TABLE table_name_12 (away_team VARCHAR, venue VARCHAR) ### Question: What is the away side that playes at lake oval? ### Answer: SELECT away_team AS score FROM table_name_12 WHERE venue = "lake oval"
Who is the away team at western oval?
CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_84 WHERE venue = "western oval"
### Context: CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR) ### Question: Who is the away team at western oval? ### Answer: SELECT away_team AS score FROM table_name_84 WHERE venue = "western oval"
What is the Icelandic title for the Norweigan titled galgeblomsten?
CREATE TABLE table_name_28 (icelandic_title VARCHAR, norwegian_title VARCHAR)
SELECT icelandic_title FROM table_name_28 WHERE norwegian_title = "galgeblomsten"
### Context: CREATE TABLE table_name_28 (icelandic_title VARCHAR, norwegian_title VARCHAR) ### Question: What is the Icelandic title for the Norweigan titled galgeblomsten? ### Answer: SELECT icelandic_title FROM table_name_28 WHERE norwegian_title = "galgeblomsten"
When is the event at lake oval?
CREATE TABLE table_name_79 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_79 WHERE venue = "lake oval"
### Context: CREATE TABLE table_name_79 (date VARCHAR, venue VARCHAR) ### Question: When is the event at lake oval? ### Answer: SELECT date FROM table_name_79 WHERE venue = "lake oval"
What is the away team's score at western oval?
CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_73 WHERE venue = "western oval"
### Context: CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR) ### Question: What is the away team's score at western oval? ### Answer: SELECT away_team AS score FROM table_name_73 WHERE venue = "western oval"
What's the home team's score at lake oval?
CREATE TABLE table_name_89 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_89 WHERE venue = "lake oval"
### Context: CREATE TABLE table_name_89 (home_team VARCHAR, venue VARCHAR) ### Question: What's the home team's score at lake oval? ### Answer: SELECT home_team AS score FROM table_name_89 WHERE venue = "lake oval"
What date did VFL play MCG?
CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_87 WHERE venue = "mcg"
### Context: CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR) ### Question: What date did VFL play MCG? ### Answer: SELECT date FROM table_name_87 WHERE venue = "mcg"
How many times is st kilda the away team?
CREATE TABLE table_name_15 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_15 WHERE away_team = "st kilda"
### Context: CREATE TABLE table_name_15 (crowd VARCHAR, away_team VARCHAR) ### Question: How many times is st kilda the away team? ### Answer: SELECT COUNT(crowd) FROM table_name_15 WHERE away_team = "st kilda"
When the crowd was larger than 20,915 what did the Away team score?
CREATE TABLE table_name_87 (away_team VARCHAR, crowd INTEGER)
SELECT away_team AS score FROM table_name_87 WHERE crowd > 20 OFFSET 915
### Context: CREATE TABLE table_name_87 (away_team VARCHAR, crowd INTEGER) ### Question: When the crowd was larger than 20,915 what did the Away team score? ### Answer: SELECT away_team AS score FROM table_name_87 WHERE crowd > 20 OFFSET 915
What did the Away team score in their game at Victoria Park?
CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_64 WHERE venue = "victoria park"
### Context: CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR) ### Question: What did the Away team score in their game at Victoria Park? ### Answer: SELECT away_team AS score FROM table_name_64 WHERE venue = "victoria park"
What did the Home team score when they were in MCG?
CREATE TABLE table_name_25 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_25 WHERE venue = "mcg"
### Context: CREATE TABLE table_name_25 (home_team VARCHAR, venue VARCHAR) ### Question: What did the Home team score when they were in MCG? ### Answer: SELECT home_team AS score FROM table_name_25 WHERE venue = "mcg"
What was the attendance for each game held at Foxboro Stadium?
CREATE TABLE table_name_48 (attendance VARCHAR, game_site VARCHAR)
SELECT attendance FROM table_name_48 WHERE game_site = "foxboro stadium"
### Context: CREATE TABLE table_name_48 (attendance VARCHAR, game_site VARCHAR) ### Question: What was the attendance for each game held at Foxboro Stadium? ### Answer: SELECT attendance FROM table_name_48 WHERE game_site = "foxboro stadium"
When was the game against the Indianapolis Colts?
CREATE TABLE table_name_40 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_40 WHERE opponent = "indianapolis colts"
### Context: CREATE TABLE table_name_40 (date VARCHAR, opponent VARCHAR) ### Question: When was the game against the Indianapolis Colts? ### Answer: SELECT date FROM table_name_40 WHERE opponent = "indianapolis colts"
How many weeks total did the New York Jets face the Pittsburgh Steelers?
CREATE TABLE table_name_72 (week VARCHAR, opponent VARCHAR)
SELECT COUNT(week) FROM table_name_72 WHERE opponent = "pittsburgh steelers"
### Context: CREATE TABLE table_name_72 (week VARCHAR, opponent VARCHAR) ### Question: How many weeks total did the New York Jets face the Pittsburgh Steelers? ### Answer: SELECT COUNT(week) FROM table_name_72 WHERE opponent = "pittsburgh steelers"
What week did the Jets play in the meadowlands with and attendance of 78,161?
CREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR)
SELECT SUM(week) FROM table_name_13 WHERE game_site = "the meadowlands" AND attendance = "78,161"
### Context: CREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR) ### Question: What week did the Jets play in the meadowlands with and attendance of 78,161? ### Answer: SELECT SUM(week) FROM table_name_13 WHERE game_site = "the meadowlands" AND attendance = "78,161"
Who did the Jets play in the Meadowlands on week 14?
CREATE TABLE table_name_46 (opponent VARCHAR, game_site VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_46 WHERE game_site = "the meadowlands" AND week = 14
### Context: CREATE TABLE table_name_46 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) ### Question: Who did the Jets play in the Meadowlands on week 14? ### Answer: SELECT opponent FROM table_name_46 WHERE game_site = "the meadowlands" AND week = 14
What was the Jets week 17 attendance?
CREATE TABLE table_name_21 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_21 WHERE week = 17
### Context: CREATE TABLE table_name_21 (attendance VARCHAR, week VARCHAR) ### Question: What was the Jets week 17 attendance? ### Answer: SELECT attendance FROM table_name_21 WHERE week = 17
When did the hotel with 727 rooms open?
CREATE TABLE table_name_80 (opening_date VARCHAR, hotel_rooms VARCHAR)
SELECT opening_date FROM table_name_80 WHERE hotel_rooms = 727
### Context: CREATE TABLE table_name_80 (opening_date VARCHAR, hotel_rooms VARCHAR) ### Question: When did the hotel with 727 rooms open? ### Answer: SELECT opening_date FROM table_name_80 WHERE hotel_rooms = 727
Which school(s) had a wide receiver drafted in round 4?
CREATE TABLE table_name_16 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)
SELECT school_club_team FROM table_name_16 WHERE round > 4 AND position = "wide receiver"
### Context: CREATE TABLE table_name_16 (school_club_team VARCHAR, round VARCHAR, position VARCHAR) ### Question: Which school(s) had a wide receiver drafted in round 4? ### Answer: SELECT school_club_team FROM table_name_16 WHERE round > 4 AND position = "wide receiver"
Who was the opponent before week 6 at cleveland municipal stadium?
CREATE TABLE table_name_19 (opponent VARCHAR, week VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_name_19 WHERE week < 6 AND game_site = "cleveland municipal stadium"
### Context: CREATE TABLE table_name_19 (opponent VARCHAR, week VARCHAR, game_site VARCHAR) ### Question: Who was the opponent before week 6 at cleveland municipal stadium? ### Answer: SELECT opponent FROM table_name_19 WHERE week < 6 AND game_site = "cleveland municipal stadium"
What date was Richmond the away team?
CREATE TABLE table_name_28 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_28 WHERE away_team = "richmond"
### Context: CREATE TABLE table_name_28 (date VARCHAR, away_team VARCHAR) ### Question: What date was Richmond the away team? ### Answer: SELECT date FROM table_name_28 WHERE away_team = "richmond"
Which county has a % (2040) larger than 1.8, a % (2000) smaller than 4.1, a % (1960) smaller than 3.2, and is ranked 13?
CREATE TABLE table_name_82 (county VARCHAR, rank VARCHAR, _percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR)
SELECT county FROM table_name_82 WHERE _percentage__2040_ > 1.8 AND _percentage__2000_ < 4.1 AND _percentage__1960_ < 3.2 AND rank = "13"
### Context: CREATE TABLE table_name_82 (county VARCHAR, rank VARCHAR, _percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR) ### Question: Which county has a % (2040) larger than 1.8, a % (2000) smaller than 4.1, a % (1960) smaller than 3.2, and is ranked 13? ### Answer: SELECT county FROM table_name_82 WHERE _percentage__2040_ > 1.8 AND _percentage__2000_ < 4.1 AND _percentage__1960_ < 3.2 AND rank = "13"
What is the % (1960) of Troms, which has a % (2040) smaller than 100 and a % (2000) smaller than 4.7?
CREATE TABLE table_name_48 (_percentage__1960_ INTEGER, county VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR)
SELECT SUM(_percentage__1960_) FROM table_name_48 WHERE _percentage__2040_ < 100 AND _percentage__2000_ < 4.7 AND county = "troms"
### Context: CREATE TABLE table_name_48 (_percentage__1960_ INTEGER, county VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR) ### Question: What is the % (1960) of Troms, which has a % (2040) smaller than 100 and a % (2000) smaller than 4.7? ### Answer: SELECT SUM(_percentage__1960_) FROM table_name_48 WHERE _percentage__2040_ < 100 AND _percentage__2000_ < 4.7 AND county = "troms"
What is the % (1960) of the county with a % (2040) of 3.4?
CREATE TABLE table_name_98 (_percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR)
SELECT COUNT(_percentage__1960_) FROM table_name_98 WHERE _percentage__2040_ = 3.4
### Context: CREATE TABLE table_name_98 (_percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR) ### Question: What is the % (1960) of the county with a % (2040) of 3.4? ### Answer: SELECT COUNT(_percentage__1960_) FROM table_name_98 WHERE _percentage__2040_ = 3.4
What record company has robert craft conducting?
CREATE TABLE table_name_32 (record_company VARCHAR, conductor VARCHAR)
SELECT record_company FROM table_name_32 WHERE conductor = "robert craft"
### Context: CREATE TABLE table_name_32 (record_company VARCHAR, conductor VARCHAR) ### Question: What record company has robert craft conducting? ### Answer: SELECT record_company FROM table_name_32 WHERE conductor = "robert craft"
Who is the conductor when the chicago symphony orchestra is featured?
CREATE TABLE table_name_3 (conductor VARCHAR, orchestra VARCHAR)
SELECT conductor FROM table_name_3 WHERE orchestra = "chicago symphony orchestra"
### Context: CREATE TABLE table_name_3 (conductor VARCHAR, orchestra VARCHAR) ### Question: Who is the conductor when the chicago symphony orchestra is featured? ### Answer: SELECT conductor FROM table_name_3 WHERE orchestra = "chicago symphony orchestra"
How many people attended the Cleveland Browns game on November 11, 1979?
CREATE TABLE table_name_58 (attendance INTEGER, date VARCHAR, week VARCHAR)
SELECT MAX(attendance) FROM table_name_58 WHERE date = "november 11, 1979" AND week > 11
### Context: CREATE TABLE table_name_58 (attendance INTEGER, date VARCHAR, week VARCHAR) ### Question: How many people attended the Cleveland Browns game on November 11, 1979? ### Answer: SELECT MAX(attendance) FROM table_name_58 WHERE date = "november 11, 1979" AND week > 11
The game on September 2, 1979 was during which week of the season?
CREATE TABLE table_name_89 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_89 WHERE date = "september 2, 1979"
### Context: CREATE TABLE table_name_89 (week VARCHAR, date VARCHAR) ### Question: The game on September 2, 1979 was during which week of the season? ### Answer: SELECT COUNT(week) FROM table_name_89 WHERE date = "september 2, 1979"
What was the home team's score at the game where Richmond was the away team?
CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_19 WHERE away_team = "richmond"
### Context: CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR) ### Question: What was the home team's score at the game where Richmond was the away team? ### Answer: SELECT home_team AS score FROM table_name_19 WHERE away_team = "richmond"
What was the size of the crowd when Essendon was the away team?
CREATE TABLE table_name_40 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_40 WHERE away_team = "essendon"
### Context: CREATE TABLE table_name_40 (crowd VARCHAR, away_team VARCHAR) ### Question: What was the size of the crowd when Essendon was the away team? ### Answer: SELECT crowd FROM table_name_40 WHERE away_team = "essendon"
What is the whenbuilt of the Brighton built Blandford Forum with a withdrawn of september 1964?
CREATE TABLE table_name_67 (whenbuilt VARCHAR, name VARCHAR, builder VARCHAR, withdrawn VARCHAR)
SELECT whenbuilt FROM table_name_67 WHERE builder = "brighton" AND withdrawn = "september 1964" AND name = "blandford forum"
### Context: CREATE TABLE table_name_67 (whenbuilt VARCHAR, name VARCHAR, builder VARCHAR, withdrawn VARCHAR) ### Question: What is the whenbuilt of the Brighton built Blandford Forum with a withdrawn of september 1964? ### Answer: SELECT whenbuilt FROM table_name_67 WHERE builder = "brighton" AND withdrawn = "september 1964" AND name = "blandford forum"
What was the listed attendance when north melbourne was the home team?
CREATE TABLE table_name_71 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_71 WHERE home_team = "north melbourne"
### Context: CREATE TABLE table_name_71 (crowd VARCHAR, home_team VARCHAR) ### Question: What was the listed attendance when north melbourne was the home team? ### Answer: SELECT crowd FROM table_name_71 WHERE home_team = "north melbourne"
What day was geelong the home team?
CREATE TABLE table_name_81 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_81 WHERE home_team = "geelong"
### Context: CREATE TABLE table_name_81 (date VARCHAR, home_team VARCHAR) ### Question: What day was geelong the home team? ### Answer: SELECT date FROM table_name_81 WHERE home_team = "geelong"
Who played as the home team when the attendance was more than 30,080?
CREATE TABLE table_name_21 (home_team VARCHAR, crowd INTEGER)
SELECT home_team FROM table_name_21 WHERE crowd > 30 OFFSET 080
### Context: CREATE TABLE table_name_21 (home_team VARCHAR, crowd INTEGER) ### Question: Who played as the home team when the attendance was more than 30,080? ### Answer: SELECT home_team FROM table_name_21 WHERE crowd > 30 OFFSET 080
What was the highest attendance at Junction Oval?
CREATE TABLE table_name_90 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_90 WHERE venue = "junction oval"
### Context: CREATE TABLE table_name_90 (crowd INTEGER, venue VARCHAR) ### Question: What was the highest attendance at Junction Oval? ### Answer: SELECT MAX(crowd) FROM table_name_90 WHERE venue = "junction oval"
What was the away teams score when Hawthorn played as the home team?
CREATE TABLE table_name_5 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_5 WHERE home_team = "hawthorn"
### Context: CREATE TABLE table_name_5 (away_team VARCHAR, home_team VARCHAR) ### Question: What was the away teams score when Hawthorn played as the home team? ### Answer: SELECT away_team AS score FROM table_name_5 WHERE home_team = "hawthorn"
How many bids does Atlantic 10 have?
CREATE TABLE table_name_98 (_number_of_bids VARCHAR, conference VARCHAR)
SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 10"
### Context: CREATE TABLE table_name_98 (_number_of_bids VARCHAR, conference VARCHAR) ### Question: How many bids does Atlantic 10 have? ### Answer: SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 10"
What was the away team's score in the game against North Melbourne?
CREATE TABLE table_name_35 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_35 WHERE home_team = "north melbourne"
### Context: CREATE TABLE table_name_35 (away_team VARCHAR, home_team VARCHAR) ### Question: What was the away team's score in the game against North Melbourne? ### Answer: SELECT away_team AS score FROM table_name_35 WHERE home_team = "north melbourne"
What was the average crowd size when the away team was South Melbourne?
CREATE TABLE table_name_63 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_63 WHERE away_team = "south melbourne"
### Context: CREATE TABLE table_name_63 (crowd INTEGER, away_team VARCHAR) ### Question: What was the average crowd size when the away team was South Melbourne? ### Answer: SELECT AVG(crowd) FROM table_name_63 WHERE away_team = "south melbourne"
At what venue was the away team Fitzroy?
CREATE TABLE table_name_19 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_19 WHERE away_team = "fitzroy"
### Context: CREATE TABLE table_name_19 (venue VARCHAR, away_team VARCHAR) ### Question: At what venue was the away team Fitzroy? ### Answer: SELECT venue FROM table_name_19 WHERE away_team = "fitzroy"
In what year saw a total distance of 1,870.23 km?
CREATE TABLE table_name_52 (year VARCHAR, distance VARCHAR)
SELECT year FROM table_name_52 WHERE distance = "1,870.23 km"
### Context: CREATE TABLE table_name_52 (year VARCHAR, distance VARCHAR) ### Question: In what year saw a total distance of 1,870.23 km? ### Answer: SELECT year FROM table_name_52 WHERE distance = "1,870.23 km"
Who won in 1965?
CREATE TABLE table_name_42 (winner VARCHAR, year VARCHAR)
SELECT winner FROM table_name_42 WHERE year = "1965"
### Context: CREATE TABLE table_name_42 (winner VARCHAR, year VARCHAR) ### Question: Who won in 1965? ### Answer: SELECT winner FROM table_name_42 WHERE year = "1965"
What stage was 1,648 km achieved?
CREATE TABLE table_name_59 (stages VARCHAR, distance VARCHAR)
SELECT stages FROM table_name_59 WHERE distance = "1,648 km"
### Context: CREATE TABLE table_name_59 (stages VARCHAR, distance VARCHAR) ### Question: What stage was 1,648 km achieved? ### Answer: SELECT stages FROM table_name_59 WHERE distance = "1,648 km"
What year was stage 8 reached?
CREATE TABLE table_name_54 (year VARCHAR, stages VARCHAR)
SELECT year FROM table_name_54 WHERE stages = "8"
### Context: CREATE TABLE table_name_54 (year VARCHAR, stages VARCHAR) ### Question: What year was stage 8 reached? ### Answer: SELECT year FROM table_name_54 WHERE stages = "8"
What is the lowest number of bronze medals for teams ranked below 13?
CREATE TABLE table_name_91 (bronze INTEGER, rank INTEGER)
SELECT MIN(bronze) FROM table_name_91 WHERE rank > 13
### Context: CREATE TABLE table_name_91 (bronze INTEGER, rank INTEGER) ### Question: What is the lowest number of bronze medals for teams ranked below 13? ### Answer: SELECT MIN(bronze) FROM table_name_91 WHERE rank > 13
How many golds for teams ranking below 7 with 3 bronze and less than 5 total medals?
CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR)
SELECT COUNT(gold) FROM table_name_79 WHERE bronze = 3 AND rank > 7 AND total < 5
### Context: CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR) ### Question: How many golds for teams ranking below 7 with 3 bronze and less than 5 total medals? ### Answer: SELECT COUNT(gold) FROM table_name_79 WHERE bronze = 3 AND rank > 7 AND total < 5
What is the lowest score in the Highest score column when Master P was the Worst dancer(s), Drew Lachey was the Best dancer(s), and the Lowest score was under 8?
CREATE TABLE table_name_92 (highest_score INTEGER, lowest_score VARCHAR, worst_dancer_s_ VARCHAR, best_dancer_s_ VARCHAR)
SELECT MIN(highest_score) FROM table_name_92 WHERE worst_dancer_s_ = "master p" AND best_dancer_s_ = "drew lachey" AND lowest_score < 8
### Context: CREATE TABLE table_name_92 (highest_score INTEGER, lowest_score VARCHAR, worst_dancer_s_ VARCHAR, best_dancer_s_ VARCHAR) ### Question: What is the lowest score in the Highest score column when Master P was the Worst dancer(s), Drew Lachey was the Best dancer(s), and the Lowest score was under 8? ### Answer: SELECT MIN(highest_score) FROM table_name_92 WHERE worst_dancer_s_ = "master p" AND best_dancer_s_ = "drew lachey" AND lowest_score < 8
Which of the Worst dancer(s) has the Lowest score of 14?
CREATE TABLE table_name_43 (worst_dancer_s_ VARCHAR, lowest_score VARCHAR)
SELECT worst_dancer_s_ FROM table_name_43 WHERE lowest_score = 14
### Context: CREATE TABLE table_name_43 (worst_dancer_s_ VARCHAR, lowest_score VARCHAR) ### Question: Which of the Worst dancer(s) has the Lowest score of 14? ### Answer: SELECT worst_dancer_s_ FROM table_name_43 WHERE lowest_score = 14
What is the Dance with the Highest score under 30 and Stacy Keibler as the Best dancer(s)?
CREATE TABLE table_name_10 (dance VARCHAR, highest_score VARCHAR, best_dancer_s_ VARCHAR)
SELECT dance FROM table_name_10 WHERE highest_score < 30 AND best_dancer_s_ = "stacy keibler"
### Context: CREATE TABLE table_name_10 (dance VARCHAR, highest_score VARCHAR, best_dancer_s_ VARCHAR) ### Question: What is the Dance with the Highest score under 30 and Stacy Keibler as the Best dancer(s)? ### Answer: SELECT dance FROM table_name_10 WHERE highest_score < 30 AND best_dancer_s_ = "stacy keibler"
What is the lowest of the Highest score for the Quickstep Dance and the Lowest score under 16?
CREATE TABLE table_name_72 (highest_score INTEGER, dance VARCHAR, lowest_score VARCHAR)
SELECT MIN(highest_score) FROM table_name_72 WHERE dance = "quickstep" AND lowest_score < 16
### Context: CREATE TABLE table_name_72 (highest_score INTEGER, dance VARCHAR, lowest_score VARCHAR) ### Question: What is the lowest of the Highest score for the Quickstep Dance and the Lowest score under 16? ### Answer: SELECT MIN(highest_score) FROM table_name_72 WHERE dance = "quickstep" AND lowest_score < 16
What is his record at ufc 67?
CREATE TABLE table_name_20 (record VARCHAR, event VARCHAR)
SELECT record FROM table_name_20 WHERE event = "ufc 67"
### Context: CREATE TABLE table_name_20 (record VARCHAR, event VARCHAR) ### Question: What is his record at ufc 67? ### Answer: SELECT record FROM table_name_20 WHERE event = "ufc 67"
What is his record at ufc 115?
CREATE TABLE table_name_14 (record VARCHAR, event VARCHAR)
SELECT record FROM table_name_14 WHERE event = "ufc 115"
### Context: CREATE TABLE table_name_14 (record VARCHAR, event VARCHAR) ### Question: What is his record at ufc 115? ### Answer: SELECT record FROM table_name_14 WHERE event = "ufc 115"
Which opponent had an attendance of 40,070?
CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_48 WHERE attendance = "40,070"
### Context: CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR) ### Question: Which opponent had an attendance of 40,070? ### Answer: SELECT opponent FROM table_name_48 WHERE attendance = "40,070"
What's the result for the game held on December 27, 2004 with a week greater than 2?
CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR, date VARCHAR)
SELECT result FROM table_name_4 WHERE week > 2 AND date = "december 27, 2004"
### Context: CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR, date VARCHAR) ### Question: What's the result for the game held on December 27, 2004 with a week greater than 2? ### Answer: SELECT result FROM table_name_4 WHERE week > 2 AND date = "december 27, 2004"
Who was the opponent for week 6?
CREATE TABLE table_name_40 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_40 WHERE week = 6
### Context: CREATE TABLE table_name_40 (opponent VARCHAR, week VARCHAR) ### Question: Who was the opponent for week 6? ### Answer: SELECT opponent FROM table_name_40 WHERE week = 6
Which opponent had the result of W 24-14?
CREATE TABLE table_name_64 (opponent VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_64 WHERE result = "w 24-14"
### Context: CREATE TABLE table_name_64 (opponent VARCHAR, result VARCHAR) ### Question: Which opponent had the result of W 24-14? ### Answer: SELECT opponent FROM table_name_64 WHERE result = "w 24-14"
What's the attendance for the game held on January 2, 2005?
CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_28 WHERE date = "january 2, 2005"
### Context: CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR) ### Question: What's the attendance for the game held on January 2, 2005? ### Answer: SELECT attendance FROM table_name_28 WHERE date = "january 2, 2005"
Which had an attendance of larger than 33,435?
CREATE TABLE table_name_26 (result VARCHAR, attendance INTEGER)
SELECT result FROM table_name_26 WHERE attendance > 33 OFFSET 435
### Context: CREATE TABLE table_name_26 (result VARCHAR, attendance INTEGER) ### Question: Which had an attendance of larger than 33,435? ### Answer: SELECT result FROM table_name_26 WHERE attendance > 33 OFFSET 435
Which team lost under interim head coach, Dewayne Walker?
CREATE TABLE table_name_18 (team VARCHAR, result VARCHAR, interim_head_coach VARCHAR)
SELECT team FROM table_name_18 WHERE result = "lost" AND interim_head_coach = "dewayne walker"
### Context: CREATE TABLE table_name_18 (team VARCHAR, result VARCHAR, interim_head_coach VARCHAR) ### Question: Which team lost under interim head coach, Dewayne Walker? ### Answer: SELECT team FROM table_name_18 WHERE result = "lost" AND interim_head_coach = "dewayne walker"
What was the result under interim head coach, Gary Darnell?
CREATE TABLE table_name_62 (result VARCHAR, interim_head_coach VARCHAR)
SELECT result FROM table_name_62 WHERE interim_head_coach = "gary darnell"
### Context: CREATE TABLE table_name_62 (result VARCHAR, interim_head_coach VARCHAR) ### Question: What was the result under interim head coach, Gary Darnell? ### Answer: SELECT result FROM table_name_62 WHERE interim_head_coach = "gary darnell"
What team has a bowl of humanitarian?
CREATE TABLE table_name_21 (team VARCHAR, bowl VARCHAR)
SELECT team FROM table_name_21 WHERE bowl = "humanitarian"
### Context: CREATE TABLE table_name_21 (team VARCHAR, bowl VARCHAR) ### Question: What team has a bowl of humanitarian? ### Answer: SELECT team FROM table_name_21 WHERE bowl = "humanitarian"
What is the result under the season coach Rich Rodriguez?
CREATE TABLE table_name_29 (result VARCHAR, season_coach VARCHAR)
SELECT result FROM table_name_29 WHERE season_coach = "rich rodriguez"
### Context: CREATE TABLE table_name_29 (result VARCHAR, season_coach VARCHAR) ### Question: What is the result under the season coach Rich Rodriguez? ### Answer: SELECT result FROM table_name_29 WHERE season_coach = "rich rodriguez"
Who is the 2008 head coach of UCLA?
CREATE TABLE table_name_7 (team VARCHAR)
SELECT 2008 AS _head_coach FROM table_name_7 WHERE team = "ucla"
### Context: CREATE TABLE table_name_7 (team VARCHAR) ### Question: Who is the 2008 head coach of UCLA? ### Answer: SELECT 2008 AS _head_coach FROM table_name_7 WHERE team = "ucla"
In what score did the match against Marcos Daniel end?
CREATE TABLE table_name_43 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_43 WHERE opponent_in_the_final = "marcos daniel"
### Context: CREATE TABLE table_name_43 (score VARCHAR, opponent_in_the_final VARCHAR) ### Question: In what score did the match against Marcos Daniel end? ### Answer: SELECT score FROM table_name_43 WHERE opponent_in_the_final = "marcos daniel"
What was the score of the game played on a clay surface on June 6, 2005?
CREATE TABLE table_name_23 (score VARCHAR, surface VARCHAR, date VARCHAR)
SELECT score FROM table_name_23 WHERE surface = "clay" AND date = "june 6, 2005"
### Context: CREATE TABLE table_name_23 (score VARCHAR, surface VARCHAR, date VARCHAR) ### Question: What was the score of the game played on a clay surface on June 6, 2005? ### Answer: SELECT score FROM table_name_23 WHERE surface = "clay" AND date = "june 6, 2005"
On what date did the match against Flavio Cipolla, played on a clay surface, occur?
CREATE TABLE table_name_58 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_58 WHERE surface = "clay" AND opponent_in_the_final = "flavio cipolla"
### Context: CREATE TABLE table_name_58 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) ### Question: On what date did the match against Flavio Cipolla, played on a clay surface, occur? ### Answer: SELECT date FROM table_name_58 WHERE surface = "clay" AND opponent_in_the_final = "flavio cipolla"
What was Fitzroy's score when they were the home team?
CREATE TABLE table_name_16 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_16 WHERE home_team = "fitzroy"
### Context: CREATE TABLE table_name_16 (home_team VARCHAR) ### Question: What was Fitzroy's score when they were the home team? ### Answer: SELECT home_team AS score FROM table_name_16 WHERE home_team = "fitzroy"
Where was the Hawthorn game played?
CREATE TABLE table_name_43 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_43 WHERE away_team = "hawthorn"
### Context: CREATE TABLE table_name_43 (venue VARCHAR, away_team VARCHAR) ### Question: Where was the Hawthorn game played? ### Answer: SELECT venue FROM table_name_43 WHERE away_team = "hawthorn"
What was the away teams score at Princes Park?
CREATE TABLE table_name_27 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_27 WHERE venue = "princes park"
### Context: CREATE TABLE table_name_27 (away_team VARCHAR, venue VARCHAR) ### Question: What was the away teams score at Princes Park? ### Answer: SELECT away_team AS score FROM table_name_27 WHERE venue = "princes park"
Which Rider finished with a speed of 81.91mph?
CREATE TABLE table_name_39 (rider VARCHAR, speed VARCHAR)
SELECT rider FROM table_name_39 WHERE speed = "81.91mph"
### Context: CREATE TABLE table_name_39 (rider VARCHAR, speed VARCHAR) ### Question: Which Rider finished with a speed of 81.91mph? ### Answer: SELECT rider FROM table_name_39 WHERE speed = "81.91mph"
Which Rider finished with a speed of 80.18mph?
CREATE TABLE table_name_61 (rider VARCHAR, speed VARCHAR)
SELECT rider FROM table_name_61 WHERE speed = "80.18mph"
### Context: CREATE TABLE table_name_61 (rider VARCHAR, speed VARCHAR) ### Question: Which Rider finished with a speed of 80.18mph? ### Answer: SELECT rider FROM table_name_61 WHERE speed = "80.18mph"
What is the home team's score at princes park?
CREATE TABLE table_name_85 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_85 WHERE venue = "princes park"
### Context: CREATE TABLE table_name_85 (home_team VARCHAR, venue VARCHAR) ### Question: What is the home team's score at princes park? ### Answer: SELECT home_team AS score FROM table_name_85 WHERE venue = "princes park"
What is the venue for the Footscray home team?
CREATE TABLE table_name_66 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_66 WHERE home_team = "footscray"
### Context: CREATE TABLE table_name_66 (venue VARCHAR, home_team VARCHAR) ### Question: What is the venue for the Footscray home team? ### Answer: SELECT venue FROM table_name_66 WHERE home_team = "footscray"