question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the location and attendance of the game with a game number greater than 7 and a record of 5-2-1?
CREATE TABLE table_name_90 (location_attendance VARCHAR, game VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_90 WHERE game > 7 AND record = "5-2-1"
What is the location and attendance of the game with a 3-1-0 record?
CREATE TABLE table_name_6 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_6 WHERE record = "3-1-0"
Who is the opponent of the game with a game number less than 5 with a 2-0-0 record?
CREATE TABLE table_name_51 (opponent VARCHAR, game VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_51 WHERE game < 5 AND record = "2-0-0"
What Frequency's Branding is Your Cure for Corporate Radio?
CREATE TABLE table_name_23 (frequency VARCHAR, branding VARCHAR)
SELECT frequency FROM table_name_23 WHERE branding = "your cure for corporate radio"
What is the Format of AM 980?
CREATE TABLE table_name_96 (format VARCHAR, frequency VARCHAR)
SELECT format FROM table_name_96 WHERE frequency = "am 980"
What is the Branding of the Frequency owned by Sound of Faith Broadcasting Group?
CREATE TABLE table_name_23 (branding VARCHAR, owner VARCHAR)
SELECT branding FROM table_name_23 WHERE owner = "sound of faith broadcasting group"
What is FM 99.9's Format?
CREATE TABLE table_name_78 (format VARCHAR, frequency VARCHAR)
SELECT format FROM table_name_78 WHERE frequency = "fm 99.9"
What is the Format of the Frequency CJBX-FM?
CREATE TABLE table_name_59 (format VARCHAR, call_sign VARCHAR)
SELECT format FROM table_name_59 WHERE call_sign = "cjbx-fm"
What is the Call sign of the Frequency 106.9 the X?
CREATE TABLE table_name_19 (call_sign VARCHAR, branding VARCHAR)
SELECT call_sign FROM table_name_19 WHERE branding = "106.9 the x"
Which Score has an Opponent of @ buffalo sabres?
CREATE TABLE table_name_13 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_13 WHERE opponent = "@ buffalo sabres"
How many Points have a Date of march 19, 2009?
CREATE TABLE table_name_7 (points VARCHAR, date VARCHAR)
SELECT COUNT(points) FROM table_name_7 WHERE date = "march 19, 2009"
What time is CDT when EDT is 4:55 a.m.?
CREATE TABLE table_name_71 (cdt___5_utc_ VARCHAR, edt___4_utc_ VARCHAR)
SELECT cdt___5_utc_ FROM table_name_71 WHERE edt___4_utc_ = "4:55 a.m."
What is the time for PDT when CDT is 6:38 a.m.?
CREATE TABLE table_name_69 (pdt___7_utc_ VARCHAR, cdt___5_utc_ VARCHAR)
SELECT pdt___7_utc_ FROM table_name_69 WHERE cdt___5_utc_ = "6:38 a.m."
What time is CDT when PDT is 3:17 a.m.?
CREATE TABLE table_name_13 (cdt___5_utc_ VARCHAR, pdt___7_utc_ VARCHAR)
SELECT cdt___5_utc_ FROM table_name_13 WHERE pdt___7_utc_ = "3:17 a.m."
What time is MDT when EDT is set and PDT is 6:00 a.m.?
CREATE TABLE table_name_58 (mdt___6_utc_ VARCHAR, edt___4_utc_ VARCHAR, pdt___7_utc_ VARCHAR)
SELECT mdt___6_utc_ FROM table_name_58 WHERE edt___4_utc_ = "set" AND pdt___7_utc_ = "6:00 a.m."
Which Finals has a A-League of 0 6, and a Pre-Season larger than 0?
CREATE TABLE table_name_12 (finals INTEGER, a_league VARCHAR, pre_season VARCHAR)
SELECT AVG(finals) FROM table_name_12 WHERE a_league = "0 6" AND pre_season > 0
Which Pre-Season has a A-League of 0 1, and a Finals larger than 0?
CREATE TABLE table_name_4 (pre_season INTEGER, a_league VARCHAR, finals VARCHAR)
SELECT MIN(pre_season) FROM table_name_4 WHERE a_league = "0 1" AND finals > 0
What is the highest Taper (in/ft), when Size is 8?
CREATE TABLE table_name_20 (taper__in_ft_ INTEGER, size VARCHAR)
SELECT MAX(taper__in_ft_) FROM table_name_20 WHERE size = 8
What is the date for week 15?
CREATE TABLE table_name_28 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_28 WHERE week = 15
What is the total attendance for Candlestick Park?
CREATE TABLE table_name_74 (attendance VARCHAR, game_site VARCHAR)
SELECT COUNT(attendance) FROM table_name_74 WHERE game_site = "candlestick park"
Who was the opponent on april 26, 2003?
CREATE TABLE table_name_25 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_25 WHERE date = "april 26, 2003"
What was the result on week 1?
CREATE TABLE table_name_27 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_27 WHERE week = 1
What was the result of the game that took place on april 26, 2003?
CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_83 WHERE date = "april 26, 2003"
What was the result of the week that was a bye before week 6?
CREATE TABLE table_name_47 (result VARCHAR, week VARCHAR, game_site VARCHAR)
SELECT result FROM table_name_47 WHERE week < 6 AND game_site = "bye"
What is the lowest number of districts (kecamatan) in the north sulawesi province with more than 1,510 villages?
CREATE TABLE table_name_97 (number_of_districts__kecamatan_ INTEGER, province VARCHAR, villages VARCHAR)
SELECT MIN(number_of_districts__kecamatan_) FROM table_name_97 WHERE province = "north sulawesi" AND villages > 1 OFFSET 510
What is the sum of the number of districts (kecamatan) in the geographical unit of java with more than 4 recencies (kabupaten) and less than 8,577 villages?
CREATE TABLE table_name_4 (number_of_districts__kecamatan_ INTEGER, villages VARCHAR, geographical_unit VARCHAR, number_of_regencies__kabupaten_ VARCHAR)
SELECT SUM(number_of_districts__kecamatan_) FROM table_name_4 WHERE geographical_unit = "java" AND number_of_regencies__kabupaten_ > 4 AND villages < 8 OFFSET 577
Which score was associated with an attendance of 275?
CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_66 WHERE attendance = 275
What was the lowest attendance by the game that had an away team of Vida?
CREATE TABLE table_name_47 (attendance INTEGER, away VARCHAR)
SELECT MIN(attendance) FROM table_name_47 WHERE away = "vida"
Who was the away team that had attendance under 2614 and a home team of Victoria?
CREATE TABLE table_name_69 (away VARCHAR, attendance VARCHAR, home VARCHAR)
SELECT away FROM table_name_69 WHERE attendance < 2614 AND home = "victoria"
Who was the home team for the game with Platense as the away team and attendance under 529?
CREATE TABLE table_name_67 (home VARCHAR, attendance VARCHAR, away VARCHAR)
SELECT home FROM table_name_67 WHERE attendance < 529 AND away = "platense"
What was the attendance for the game with an away team of Hispano?
CREATE TABLE table_name_99 (attendance VARCHAR, away VARCHAR)
SELECT attendance FROM table_name_99 WHERE away = "hispano"
Which home has an attendance of 507?
CREATE TABLE table_name_99 (home VARCHAR, attendance VARCHAR)
SELECT home FROM table_name_99 WHERE attendance = 507
What was the total attendance for the 3:1 game?
CREATE TABLE table_name_79 (attendance INTEGER, score VARCHAR)
SELECT SUM(attendance) FROM table_name_79 WHERE score = "3:1"
How many goals against were scored when the points were smaller than 13, the wins were smaller than 3, and the goals for were smaller than 15?
CREATE TABLE table_name_73 (goals_against INTEGER, goals_for VARCHAR, points VARCHAR, wins VARCHAR)
SELECT SUM(goals_against) FROM table_name_73 WHERE points < 13 AND wins < 3 AND goals_for < 15
What was the highest position when the wins were higher than 4 and the points were lower than 11?
CREATE TABLE table_name_28 (position INTEGER, wins VARCHAR, points VARCHAR)
SELECT MAX(position) FROM table_name_28 WHERE wins = 4 AND points < 11
When the goals against were higher than 30, what was the average number of draws?
CREATE TABLE table_name_23 (draws INTEGER, goals_against INTEGER)
SELECT AVG(draws) FROM table_name_23 WHERE goals_against > 30
How many wins happened when there were fewer than 2 draws?
CREATE TABLE table_name_19 (wins INTEGER, draws INTEGER)
SELECT SUM(wins) FROM table_name_19 WHERE draws < 2
How many goals against were scored when the position was higher than 1 and the played was higher than 10?
CREATE TABLE table_name_17 (goals_against VARCHAR, position VARCHAR, played VARCHAR)
SELECT COUNT(goals_against) FROM table_name_17 WHERE position > 1 AND played > 10
What year were the Grizzlies in Providence?
CREATE TABLE table_name_19 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)
SELECT years_for_grizzlies FROM table_name_19 WHERE school_club_team = "providence"
What player from the United States played for the Grizzlies from 1997-1998?
CREATE TABLE table_name_83 (player VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR)
SELECT player FROM table_name_83 WHERE nationality = "united states" AND years_for_grizzlies = "1997-1998"
Which player played for the Grizzlies from 1997-1998?
CREATE TABLE table_name_13 (player VARCHAR, years_for_grizzlies VARCHAR)
SELECT player FROM table_name_13 WHERE years_for_grizzlies = "1997-1998"
Who won the men's ski jump when the FIS Nordic World Ski Championships was 1980?
CREATE TABLE table_name_34 (winner VARCHAR, fis_nordic_world_ski_championships VARCHAR)
SELECT winner FROM table_name_34 WHERE fis_nordic_world_ski_championships = "1980"
With the Winter Olympics was 1960, what was the country?
CREATE TABLE table_name_53 (country VARCHAR, winter_olympics VARCHAR)
SELECT country FROM table_name_53 WHERE winter_olympics = "1960"
What was the Winter Olympics was Japan as the country?
CREATE TABLE table_name_38 (winter_olympics VARCHAR, country VARCHAR)
SELECT winter_olympics FROM table_name_38 WHERE country = "japan"
The winner Arnfinn Bergmann has what under country?
CREATE TABLE table_name_45 (country VARCHAR, winner VARCHAR)
SELECT country FROM table_name_45 WHERE winner = "arnfinn bergmann"
When the FIS Nordic World Ski Championships was 1962, 1964 what was the Holmenkollen?
CREATE TABLE table_name_58 (holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR)
SELECT holmenkollen FROM table_name_58 WHERE fis_nordic_world_ski_championships = "1962, 1964"
What is the total number of Money ( $ ), when To Par is "13", and when Player is "Julius Boros"?
CREATE TABLE table_name_2 (money___ VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT COUNT(money___) AS $__ FROM table_name_2 WHERE to_par = 13 AND player = "julius boros"
What is Player, when Money ( $ ) is less than 387, and when Score is "73-76-74-72=295"?
CREATE TABLE table_name_40 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT player FROM table_name_40 WHERE money___$__ < 387 AND score = 73 - 76 - 74 - 72 = 295
What is the total number of To Par, when Money ( $ ) is less than 387, and when Player is "Al Brosch"?
CREATE TABLE table_name_33 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT COUNT(to_par) FROM table_name_33 WHERE money___$__ < 387 AND player = "al brosch"
What is Place, when To Par is less than 15, and when Score is 76-72-75-71=294?
CREATE TABLE table_name_59 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_59 WHERE to_par < 15 AND score = 76 - 72 - 75 - 71 = 294
What is Player, when Country is "United States", when Money ( $ ) is greater than 387, and when Score is "75-74-74-70=293"?
CREATE TABLE table_name_56 (player VARCHAR, country VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT player FROM table_name_56 WHERE country = "united states" AND money___$__ > 387 AND score = 75 - 74 - 74 - 70 = 293
WHAT IS THE RECORD FOR THE GAME SMALLER THAN 31?
CREATE TABLE table_name_36 (record VARCHAR, game INTEGER)
SELECT record FROM table_name_36 WHERE game < 31
WHAT IS THE GAME ON SEPTEMBER 13?
CREATE TABLE table_name_23 (game INTEGER, date VARCHAR)
SELECT AVG(game) FROM table_name_23 WHERE date = "september 13"
Which team had more than 10 wins with a champion of Mat Mladin?
CREATE TABLE table_name_88 (team VARCHAR, wins VARCHAR, champion VARCHAR)
SELECT team FROM table_name_88 WHERE wins > 10 AND champion = "mat mladin"
Which team had 2 wins and a season later than 1986?
CREATE TABLE table_name_55 (team VARCHAR, wins VARCHAR, season VARCHAR)
SELECT team FROM table_name_55 WHERE wins = 2 AND season > 1986
What was the score for Team 1 of Stade Lavallois (d1)?
CREATE TABLE table_name_7 (score VARCHAR, team_1 VARCHAR)
SELECT score FROM table_name_7 WHERE team_1 = "stade lavallois (d1)"
What was team one name for the Team 2 of Toulouse Fc (d1)>?
CREATE TABLE table_name_34 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_34 WHERE team_2 = "toulouse fc (d1)"
What was the name of the Team 1, where the Team 2 was Stade De Reims (d2)?
CREATE TABLE table_name_93 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_93 WHERE team_2 = "stade de reims (d2)"
What was teh score of the game where Toronto was the home team on January 28?
CREATE TABLE table_name_43 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_43 WHERE home = "toronto" AND date = "january 28"
What is listed for the High rebounds on the Date of March 31?
CREATE TABLE table_name_34 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_34 WHERE date = "march 31"
What is the Record for the Team of Indiana?
CREATE TABLE table_name_4 (record VARCHAR, team VARCHAR)
SELECT record FROM table_name_4 WHERE team = "indiana"
What's the Score for the Game of 75?
CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_74 WHERE game = 75
Which Release date has a Required OS of windows, a Type of 2d, and a Developer(s) of zeonix?
CREATE TABLE table_name_59 (release_date VARCHAR, developer_s_ VARCHAR, required_os VARCHAR, type VARCHAR)
SELECT release_date FROM table_name_59 WHERE required_os = "windows" AND type = "2d" AND developer_s_ = "zeonix"
Which Payment has a Type of 2d, and a Release date of january 2003?
CREATE TABLE table_name_31 (payment VARCHAR, type VARCHAR, release_date VARCHAR)
SELECT payment FROM table_name_31 WHERE type = "2d" AND release_date = "january 2003"
Which Payment has a Type of text, and a Release date of 26 september, 2003?
CREATE TABLE table_name_12 (payment VARCHAR, type VARCHAR, release_date VARCHAR)
SELECT payment FROM table_name_12 WHERE type = "text" AND release_date = "26 september, 2003"
Which Type has a Release date of november 30, 1997?
CREATE TABLE table_name_88 (type VARCHAR, release_date VARCHAR)
SELECT type FROM table_name_88 WHERE release_date = "november 30, 1997"
Which Release date has a Type of 2d?
CREATE TABLE table_name_34 (release_date VARCHAR, type VARCHAR)
SELECT release_date FROM table_name_34 WHERE type = "2d"
Which Release date has a Developer(s) of microsoft research?
CREATE TABLE table_name_84 (release_date VARCHAR, developer_s_ VARCHAR)
SELECT release_date FROM table_name_84 WHERE developer_s_ = "microsoft research"
what is the meet when the event is flying 200 m time trial?
CREATE TABLE table_name_99 (meet VARCHAR, event VARCHAR)
SELECT meet FROM table_name_99 WHERE event = "flying 200 m time trial"
what is the record when the event is 1 km time trial?
CREATE TABLE table_name_53 (record VARCHAR, event VARCHAR)
SELECT record FROM table_name_53 WHERE event = "1 km time trial"
what is the place when the event is 4000 m individual pursuit?
CREATE TABLE table_name_94 (place VARCHAR, event VARCHAR)
SELECT place FROM table_name_94 WHERE event = "4000 m individual pursuit"
what is the place when the event is 4000 m individual pursuit?
CREATE TABLE table_name_2 (place VARCHAR, event VARCHAR)
SELECT place FROM table_name_2 WHERE event = "4000 m individual pursuit"
what is the meet when the date is 3 august 2012?
CREATE TABLE table_name_67 (meet VARCHAR, date VARCHAR)
SELECT meet FROM table_name_67 WHERE date = "3 august 2012"
Which Year has a Position of 4th?
CREATE TABLE table_name_6 (year INTEGER, position VARCHAR)
SELECT SUM(year) FROM table_name_6 WHERE position = "4th"
Which Event has a Competition of chicago marathon, and a Year larger than 2004?
CREATE TABLE table_name_79 (event VARCHAR, competition VARCHAR, year VARCHAR)
SELECT event FROM table_name_79 WHERE competition = "chicago marathon" AND year > 2004
WHich Venue has a Year larger than 2003, and a Position of 10th?
CREATE TABLE table_name_11 (venue VARCHAR, year VARCHAR, position VARCHAR)
SELECT venue FROM table_name_11 WHERE year > 2003 AND position = "10th"
Name the Venue which has a Position of 5th?
CREATE TABLE table_name_39 (venue VARCHAR, position VARCHAR)
SELECT venue FROM table_name_39 WHERE position = "5th"
What is the Place 2 Player?
CREATE TABLE table_name_1 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_1 WHERE place = "2"
What Player has a +3 To par?
CREATE TABLE table_name_11 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_11 WHERE to_par = "+3"
What is the Place of Player with To par of +6 and Score of 78-70-74=222?
CREATE TABLE table_name_79 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_79 WHERE to_par = "+6" AND score = 78 - 70 - 74 = 222
What is the Country of the Player with a Score of 75-70-74=219?
CREATE TABLE table_name_13 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_13 WHERE score = 75 - 70 - 74 = 219
What is the Country with the T3 Place Player with a Score of 71-76-71=218?
CREATE TABLE table_name_99 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_99 WHERE place = "t3" AND score = 71 - 76 - 71 = 218
In what event is the opponent Joe Nameth?
CREATE TABLE table_name_25 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_25 WHERE opponent = "joe nameth"
What is the record when the loss was to Alex Hunter in round 1?
CREATE TABLE table_name_75 (record VARCHAR, opponent VARCHAR, round VARCHAR, res VARCHAR)
SELECT record FROM table_name_75 WHERE round = "1" AND res = "loss" AND opponent = "alex hunter"
What is the method when the opponent is Andre Roberts?
CREATE TABLE table_name_34 (method VARCHAR, opponent VARCHAR)
SELECT method FROM table_name_34 WHERE opponent = "andre roberts"
What is the round when the opponent is Andre Roberts?
CREATE TABLE table_name_42 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_42 WHERE opponent = "andre roberts"
What is the round when the loss came with a record of 2-4?
CREATE TABLE table_name_78 (round VARCHAR, res VARCHAR, record VARCHAR)
SELECT round FROM table_name_78 WHERE res = "loss" AND record = "2-4"
How many rounds was the fight with a decision by submission (punches)?
CREATE TABLE table_name_3 (round VARCHAR, method VARCHAR)
SELECT round FROM table_name_3 WHERE method = "submission (punches)"
Who played against the Celtics on Sat. Feb. 23?
CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_99 WHERE date = "sat. feb. 23"
Who played against the Celtics when the final game score was 85-102?
CREATE TABLE table_name_18 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_18 WHERE score = "85-102"
What game was the final score 82-79?
CREATE TABLE table_name_60 (game VARCHAR, score VARCHAR)
SELECT game FROM table_name_60 WHERE score = "82-79"
What is the highest value for Game, when Points is 16, when Date is November 11, 2008, and when Attendance is greater than 19,289?
CREATE TABLE table_name_24 (game INTEGER, attendance VARCHAR, points VARCHAR, date VARCHAR)
SELECT MAX(game) FROM table_name_24 WHERE points = 16 AND date = "november 11, 2008" AND attendance > 19 OFFSET 289
What is Date, when Points is 13, and when Location is RBC Center?
CREATE TABLE table_name_58 (date VARCHAR, points VARCHAR, location VARCHAR)
SELECT date FROM table_name_58 WHERE points = 13 AND location = "rbc center"
What is Surface, when Score in Final is 3-6, 6-3, 6-2?
CREATE TABLE table_name_23 (surface VARCHAR, score_in_final VARCHAR)
SELECT surface FROM table_name_23 WHERE score_in_final = "3-6, 6-3, 6-2"
What is Championship, when Outcome is "runner-up", and when Opponents In Final is "Gigi Fernández Natalia Zvereva"?
CREATE TABLE table_name_55 (championship VARCHAR, outcome VARCHAR, opponents_in_final VARCHAR)
SELECT championship FROM table_name_55 WHERE outcome = "runner-up" AND opponents_in_final = "gigi fernández natalia zvereva"
What is Opponents in Final, when Partner is "Jill Hetherington", and when Year is after 1988?
CREATE TABLE table_name_96 (opponents_in_final VARCHAR, partner VARCHAR, year VARCHAR)
SELECT opponents_in_final FROM table_name_96 WHERE partner = "jill hetherington" AND year > 1988
What is Surface, when Opponents, when Final is "Gigi Fernández Robin White"?
CREATE TABLE table_name_81 (surface VARCHAR, opponents_in_final VARCHAR)
SELECT surface FROM table_name_81 WHERE opponents_in_final = "gigi fernández robin white"
What is Outcome, when Championship is Australian Open, and when Year is before 1994?
CREATE TABLE table_name_78 (outcome VARCHAR, championship VARCHAR, year VARCHAR)
SELECT outcome FROM table_name_78 WHERE championship = "australian open" AND year < 1994
What is the sum of Year(s), when Championship is "Australian Open", when Outcome is "Runner-Up", and when Score in Final is 3-6, 6-3, 6-2?
CREATE TABLE table_name_36 (year INTEGER, score_in_final VARCHAR, championship VARCHAR, outcome VARCHAR)
SELECT SUM(year) FROM table_name_36 WHERE championship = "australian open" AND outcome = "runner-up" AND score_in_final = "3-6, 6-3, 6-2"
What iwas the attendance of the game that took place on december 6, 1998?
CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_41 WHERE date = "december 6, 1998"