answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT rank FROM table_name_71 WHERE run_2 = "1:20.8" AND run_4 = "1:23.0"
CREATE TABLE table_name_71 (rank VARCHAR, run_2 VARCHAR, run_4 VARCHAR)
What was the rank of the team with a run 2 of 1:20.8 and a run 4 of 1:23.0?
SELECT run_1 FROM table_name_9 WHERE run_3 = "1:21.4" AND run_4 = "1:23.0"
CREATE TABLE table_name_9 (run_1 VARCHAR, run_3 VARCHAR, run_4 VARCHAR)
What was the run 1 for the team with a run 3 of 1:21.4 and a run 4 of 1:23.0?
SELECT team FROM table_name_7 WHERE run_4 = "1:24.4"
CREATE TABLE table_name_7 (team VARCHAR, run_4 VARCHAR)
Which team had a run 4 of 1:24.4?
SELECT attendance FROM table_name_40 WHERE opponent = "oakland raiders"
CREATE TABLE table_name_40 (attendance VARCHAR, opponent VARCHAR)
What is the Attendance at the game against the Oakland Raiders?
SELECT attendance FROM table_name_59 WHERE week = 10
CREATE TABLE table_name_59 (attendance VARCHAR, week VARCHAR)
What was the Attendance in Week 10?
SELECT principal_activities FROM table_name_76 WHERE incorporated_in = "france"
CREATE TABLE table_name_76 (principal_activities VARCHAR, incorporated_in VARCHAR)
Which Principal activities have an Incorporated in of france?
SELECT type FROM table_name_54 WHERE incorporated_in = "netherlands" AND principal_activities = "airline" AND company = "transavia.com"
CREATE TABLE table_name_54 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR)
Which Type has an Incorporated in of netherlands, a Principal activities of airline, and a Company of transavia.com?
SELECT type FROM table_name_21 WHERE company = "epcor"
CREATE TABLE table_name_21 (type VARCHAR, company VARCHAR)
Which Type has a Company of epcor?
SELECT type FROM table_name_28 WHERE principal_activities = "health services"
CREATE TABLE table_name_28 (type VARCHAR, principal_activities VARCHAR)
Which Type has a Principal activities of health services?
SELECT 2 AS __vf_ FROM table_name_75 WHERE verb = "dhoa"
CREATE TABLE table_name_75 (verb VARCHAR)
For the verb dhoa, what is the 2VF?
SELECT subject FROM table_name_63 WHERE election = "general" AND office = "queen anne's county state's attorney"
CREATE TABLE table_name_63 (subject VARCHAR, election VARCHAR, office VARCHAR)
What is the name of the subject who ran in the general election for Queen Anne's County State's Attorney?
SELECT writer FROM table_name_2 WHERE company = "bbv" AND title = "the year of the cat"
CREATE TABLE table_name_2 (writer VARCHAR, company VARCHAR, title VARCHAR)
Who was the writer of The Year of the Cat from the BBV?
SELECT COUNT(goals_for) FROM table_name_83 WHERE drawn = 10
CREATE TABLE table_name_83 (goals_for VARCHAR, drawn VARCHAR)
How many Goals For have Drawn of 10?
SELECT MAX(lost) FROM table_name_94 WHERE drawn > 12 AND goals_against = 54
CREATE TABLE table_name_94 (lost INTEGER, drawn VARCHAR, goals_against VARCHAR)
Which Lost has Drawn larger than 12, and Goals Against of 54?
SELECT record FROM table_name_68 WHERE event = "superbrawl 21"
CREATE TABLE table_name_68 (record VARCHAR, event VARCHAR)
What is the record for the Superbrawl 21?
SELECT location FROM table_name_43 WHERE round = 1 AND opponent = "ricky shivers"
CREATE TABLE table_name_43 (location VARCHAR, round VARCHAR, opponent VARCHAR)
What location shows round was 1, and against Ricky Shivers?
SELECT method FROM table_name_67 WHERE round > 2 AND res = "loss" AND record = "15–3"
CREATE TABLE table_name_67 (method VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR)
What is the method for a match with a Round larger than 2, he took a loss, and 15–3 was the record?
SELECT position FROM table_name_8 WHERE pick = "11 (via calgary)"
CREATE TABLE table_name_8 (position VARCHAR, pick VARCHAR)
Which Position has a Pick of 11 (via calgary)?
SELECT SUM(round) FROM table_name_88 WHERE pick = "25 (via hamilton)"
CREATE TABLE table_name_88 (round INTEGER, pick VARCHAR)
Which Round has a Pick of 25 (via hamilton)?
SELECT school_club_team FROM table_name_15 WHERE round > 3 AND player = "sammy okpro"
CREATE TABLE table_name_15 (school_club_team VARCHAR, round VARCHAR, player VARCHAR)
Which School/Club Team has a Round larger than 3, and a Player of sammy okpro?
SELECT AVG(round) FROM table_name_32 WHERE player = "sammy okpro"
CREATE TABLE table_name_32 (round INTEGER, player VARCHAR)
Which Round has a Player of sammy okpro?
SELECT position FROM table_name_34 WHERE round = 4 AND school_club_team = "concordia"
CREATE TABLE table_name_34 (position VARCHAR, round VARCHAR, school_club_team VARCHAR)
Which Position has a Round of 4, and a School/Club Team of concordia?
SELECT score FROM table_name_21 WHERE record = "29–23–13"
CREATE TABLE table_name_21 (score VARCHAR, record VARCHAR)
What is the Score of the game with a Record of 29–23–13?
SELECT visitor FROM table_name_70 WHERE record = "21–17–13"
CREATE TABLE table_name_70 (visitor VARCHAR, record VARCHAR)
What is the Visitor of the game with a Record of 21–17–13?
SELECT visitor FROM table_name_26 WHERE date = "december 25"
CREATE TABLE table_name_26 (visitor VARCHAR, date VARCHAR)
What is the Visitor of the game on December 25?
SELECT date FROM table_name_99 WHERE record = "8–10–6"
CREATE TABLE table_name_99 (date VARCHAR, record VARCHAR)
What is the Date of the game with a Record of 8–10–6?
SELECT date FROM table_name_27 WHERE record = "1–2–4"
CREATE TABLE table_name_27 (date VARCHAR, record VARCHAR)
What is the Date of the game with a Record of 1–2–4?
SELECT date FROM table_name_11 WHERE record = "27–21–13"
CREATE TABLE table_name_11 (date VARCHAR, record VARCHAR)
What is the Date of the game with a Record of 27–21–13?
SELECT year_s__won FROM table_name_42 WHERE total < 292 AND player = "hale irwin"
CREATE TABLE table_name_42 (year_s__won VARCHAR, total VARCHAR, player VARCHAR)
Which Year(s) won has a Total smaller than 292, and a Player of hale irwin?
SELECT to_par FROM table_name_12 WHERE player = "fuzzy zoeller"
CREATE TABLE table_name_12 (to_par VARCHAR, player VARCHAR)
What is fuzzy zoeller's to par?
SELECT to_par FROM table_name_15 WHERE year_s__won = "1982"
CREATE TABLE table_name_15 (to_par VARCHAR, year_s__won VARCHAR)
What To par was won in 1982?
SELECT to_par FROM table_name_26 WHERE player = "curtis strange"
CREATE TABLE table_name_26 (to_par VARCHAR, player VARCHAR)
What is curtis strange's to par?
SELECT score FROM table_name_80 WHERE date = "november 18"
CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)
WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18?
SELECT visitor FROM table_name_27 WHERE date = "february 9"
CREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR)
WHAT IS THE VISITOR FOR FEBRUARY 9?
SELECT place FROM table_name_96 WHERE score < 70
CREATE TABLE table_name_96 (place VARCHAR, score INTEGER)
What is the place of the player who scored less than 70?
SELECT player FROM table_name_21 WHERE pick__number > 38 AND cfl_team = "saskatchewan"
CREATE TABLE table_name_21 (player VARCHAR, pick__number VARCHAR, cfl_team VARCHAR)
Which player was chosen by Saskatchewan in a pick larger than 38?
SELECT SUM(points) FROM table_name_78 WHERE assists = 7 AND games = 11 AND goals < 6
CREATE TABLE table_name_78 (points INTEGER, goals VARCHAR, assists VARCHAR, games VARCHAR)
If the goals scored were below 6, 11 games were played, and there were 7 assists, what's the sum of points with games meeting these criteria?
SELECT MAX(games) FROM table_name_64 WHERE assists > 10
CREATE TABLE table_name_64 (games INTEGER, assists INTEGER)
What's the highest amount of Games recorded that have more than 10 assists?
SELECT updated_in_past_30_days FROM table_name_93 WHERE registration = "open to people 13 and over"
CREATE TABLE table_name_93 (updated_in_past_30_days VARCHAR, registration VARCHAR)
What is Updated In Past 30 Days, when Registration is "Open to people 13 and over"?
SELECT permanent_account FROM table_name_96 WHERE updated_in_past_30_days = "10324"
CREATE TABLE table_name_96 (permanent_account VARCHAR, updated_in_past_30_days VARCHAR)
What is Permanent Account, when Updated In Past 30 Days is 10324?
SELECT userpics_free FROM table_name_18 WHERE registration = "open" AND yearly_cost_for_paid_account = "unknown" AND name = "kraslan"
CREATE TABLE table_name_18 (userpics_free VARCHAR, name VARCHAR, registration VARCHAR, yearly_cost_for_paid_account VARCHAR)
What is Userpics Free, when Registration is Open, when Yearly Cost For Paid Account is "unknown", and when Name is Kraslan?
SELECT userpics_free FROM table_name_89 WHERE monthly_cost_for_paid_account = "unknown" AND s_registered_user = "2340"
CREATE TABLE table_name_89 (userpics_free VARCHAR, monthly_cost_for_paid_account VARCHAR, s_registered_user VARCHAR)
What is Userpics Free, when Monthly Cost For Paid Account is "unknown", and when S Registered User is 2340?
SELECT yearly_cost_for_paid_account FROM table_name_94 WHERE monthly_cost_for_paid_account = "5 usd" AND userpics_paid = "50"
CREATE TABLE table_name_94 (yearly_cost_for_paid_account VARCHAR, monthly_cost_for_paid_account VARCHAR, userpics_paid VARCHAR)
What is Yearly Cost For Paid Account, when Montly Cost For Paid Account is 5 USD, and when Userpics Paid is 50?
SELECT s_registered_user FROM table_name_98 WHERE userpics_free = "6 [free] or 15 [plus]"
CREATE TABLE table_name_98 (s_registered_user VARCHAR, userpics_free VARCHAR)
What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]?
SELECT venue FROM table_name_72 WHERE date = "2003-08-13"
CREATE TABLE table_name_72 (venue VARCHAR, date VARCHAR)
What is Venue, when Date is "2003-08-13"?
SELECT score FROM table_name_93 WHERE date = "2000-05-23"
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)
What is Score, when Date is "2000-05-23"?
SELECT result FROM table_name_57 WHERE date = "2000-05-23"
CREATE TABLE table_name_57 (result VARCHAR, date VARCHAR)
What is Result, when Date is "2000-05-23"?
SELECT competition FROM table_name_13 WHERE date = "1999-08-07"
CREATE TABLE table_name_13 (competition VARCHAR, date VARCHAR)
What is Competition, when Date is "1999-08-07"?
SELECT week FROM table_name_65 WHERE winners = "serena williams 6–1, 6–7(7), 6–3"
CREATE TABLE table_name_65 (week VARCHAR, winners VARCHAR)
In what Week was Serena Williams 6–1, 6–7(7), 6–3 the Winner?
SELECT finalists FROM table_name_34 WHERE surface = "hard" AND winners = "serena williams 6–1, 6–7(7), 6–3"
CREATE TABLE table_name_34 (finalists VARCHAR, surface VARCHAR, winners VARCHAR)
Who was the Finalist on a Hard Surface with Winner Serena Williams 6–1, 6–7(7), 6–3?
SELECT week FROM table_name_70 WHERE tournament = "rome"
CREATE TABLE table_name_70 (week VARCHAR, tournament VARCHAR)
In what Week is the Rome Tournament?
SELECT region FROM table_name_5 WHERE label = "zzt" AND date = "27 september 2004"
CREATE TABLE table_name_5 (region VARCHAR, label VARCHAR, date VARCHAR)
Which regio has a label of zzt and a date of 27 september 2004?
SELECT catalog FROM table_name_44 WHERE date = "24 march 2006"
CREATE TABLE table_name_44 (catalog VARCHAR, date VARCHAR)
Which catalog has a date of 24 march 2006?
SELECT format FROM table_name_19 WHERE region = "united kingdom"
CREATE TABLE table_name_19 (format VARCHAR, region VARCHAR)
Which format has a region of united kingdom?
SELECT date FROM table_name_54 WHERE region = "united kingdom"
CREATE TABLE table_name_54 (date VARCHAR, region VARCHAR)
Which date has a region of united kingdom?
SELECT region FROM table_name_15 WHERE date = "24 march 2006"
CREATE TABLE table_name_15 (region VARCHAR, date VARCHAR)
Which regio has a date of 24 march 2006?
SELECT a330 FROM table_name_62 WHERE a310 = "b10"
CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR)
What is the A330 for A310 B10?
SELECT a330 FROM table_name_62 WHERE a310 = "wide"
CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR)
What is the A330 and the A310 wide?
SELECT model FROM table_name_48 WHERE a310 = "1983"
CREATE TABLE table_name_48 (model VARCHAR, a310 VARCHAR)
What model is the A310 of 1983?
SELECT no_2 FROM table_name_7 WHERE no_6 = "ethan" AND no_3 = "mason"
CREATE TABLE table_name_7 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR)
What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot?
SELECT region__year_ FROM table_name_98 WHERE no_2 = "jacob" AND no_10 = "ryan"
CREATE TABLE table_name_98 (region__year_ VARCHAR, no_2 VARCHAR, no_10 VARCHAR)
In what region and year was Jacob the number 2 name and Ryan the number 10 name?
SELECT no_7 FROM table_name_68 WHERE no_1 = "mason" AND no_9 = "jackson" AND no_10 = "logan" AND no_6 = "owen"
CREATE TABLE table_name_68 (no_7 VARCHAR, no_6 VARCHAR, no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR)
What name was number 7 when Mason was number 1, Owen was number 6, Jackson was number 9, and Logan was number 10?
SELECT no_4 FROM table_name_29 WHERE no_7 = "aiden" AND no_3 = "james"
CREATE TABLE table_name_29 (no_4 VARCHAR, no_7 VARCHAR, no_3 VARCHAR)
What name was in the number 4 spot when Aiden was number 7 and James was number 3?
SELECT position FROM table_name_87 WHERE player = "damon jones"
CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR)
What is the positions of Damon Jones?
SELECT years_for_grizzlies FROM table_name_11 WHERE school_club_team = "stanford"
CREATE TABLE table_name_11 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)
for how many years did the player who graduated from stanford play for Grizzlies?
SELECT school_club_team FROM table_name_24 WHERE player = "dahntay jones"
CREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR)
Which school did Dahntay Jones graduate from?
SELECT player FROM table_name_76 WHERE school_club_team = "florida state"
CREATE TABLE table_name_76 (player VARCHAR, school_club_team VARCHAR)
Which player gradyated from Florida State?
SELECT playoffs_mvp FROM table_name_65 WHERE result = "4–1" AND champions = "daejeon hyundai dynat"
CREATE TABLE table_name_65 (playoffs_mvp VARCHAR, result VARCHAR, champions VARCHAR)
What is the Playoffs MVP of the game with a Result of 4–1 with Champions Daejeon Hyundai Dynat?
SELECT year FROM table_name_86 WHERE result = "4–3" AND champions = "daegu tongyang orions"
CREATE TABLE table_name_86 (year VARCHAR, result VARCHAR, champions VARCHAR)
What is the Year of the game with Result of 4–3 and Champions of Daegu Tongyang Orions?
SELECT runners_up FROM table_name_1 WHERE result = "4–1" AND champions = "wonju dongbu promy"
CREATE TABLE table_name_1 (runners_up VARCHAR, result VARCHAR, champions VARCHAR)
What is the Runners-up of the game with a Result of 4–1 and Champions of Wonju Dongbu Promy?
SELECT venue FROM table_name_58 WHERE opponent = "linfield"
CREATE TABLE table_name_58 (venue VARCHAR, opponent VARCHAR)
Where was the venue that Linfield was the opponent?
SELECT scorer FROM table_name_17 WHERE club = "aldershot" AND league_goals = "19"
CREATE TABLE table_name_17 (scorer VARCHAR, club VARCHAR, league_goals VARCHAR)
Which scorer plays for Aldershot and has scored a total of 19 League goals?
SELECT MAX(league_cup_goals) FROM table_name_6 WHERE club = "hartlepool"
CREATE TABLE table_name_6 (league_cup_goals INTEGER, club VARCHAR)
What is the highest number of League Cup goals that were scored by Hartlepool?
SELECT date FROM table_name_99 WHERE venue = "north shore events centre"
CREATE TABLE table_name_99 (date VARCHAR, venue VARCHAR)
When was the game at the North Shore Events Centre?
SELECT report FROM table_name_59 WHERE home_team = "townsville crocodiles"
CREATE TABLE table_name_59 (report VARCHAR, home_team VARCHAR)
What is the report corresponding to the game that had the Townsville Crocodiles as home team?
SELECT date FROM table_name_64 WHERE away_team = "sydney spirit"
CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR)
When was the game that had Sydney Spirit as the away team?
SELECT Box AS score FROM table_name_95 WHERE home_team = "townsville crocodiles"
CREATE TABLE table_name_95 (Box VARCHAR, home_team VARCHAR)
What was the box score for the game that had the Townsville Crocodiles as home team?
SELECT Box AS score FROM table_name_23 WHERE home_team = "cairns taipans"
CREATE TABLE table_name_23 (Box VARCHAR, home_team VARCHAR)
What was the box score for the game that had the Cairns Taipans as home team?
SELECT COUNT(laps) FROM table_name_71 WHERE time_retired = "+33.912"
CREATE TABLE table_name_71 (laps VARCHAR, time_retired VARCHAR)
What's the lap number for time/retired of +33.912?
SELECT COUNT(laps) FROM table_name_18 WHERE rider = "shinya nakano" AND grid < 10
CREATE TABLE table_name_18 (laps VARCHAR, rider VARCHAR, grid VARCHAR)
Total laps for Shinya Nakano at smaller than 10 grids.
SELECT player FROM table_name_18 WHERE jersey_number_s_ = "2"
CREATE TABLE table_name_18 (player VARCHAR, jersey_number_s_ VARCHAR)
Which player wears the number 2 on his jersey?
SELECT high_rebounds FROM table_name_48 WHERE team = "san antonio spurs"
CREATE TABLE table_name_48 (high_rebounds VARCHAR, team VARCHAR)
What is the highest number of rebounds of the san antonio spurs?
SELECT score FROM table_name_84 WHERE game = 4
CREATE TABLE table_name_84 (score VARCHAR, game VARCHAR)
What was the score of game 4?
SELECT date FROM table_name_78 WHERE score = "w 105-88"
CREATE TABLE table_name_78 (date VARCHAR, score VARCHAR)
What is the date of the game with a w 105-88 score?
SELECT game FROM table_name_37 WHERE team = "golden state warriors"
CREATE TABLE table_name_37 (game VARCHAR, team VARCHAR)
What is the game with the golden state warriors?
SELECT COUNT(pick) FROM table_name_98 WHERE school = "southern mississippi"
CREATE TABLE table_name_98 (pick VARCHAR, school VARCHAR)
What is the Pick # of the Player from Southern MIssissippi?
SELECT round FROM table_name_23 WHERE player = "derrick franklin"
CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)
In what Round was Derrick Franklin picked?
SELECT COUNT(round) FROM table_name_49 WHERE pick > 9 AND school = "duke"
CREATE TABLE table_name_49 (round VARCHAR, pick VARCHAR, school VARCHAR)
In what Round does Duke have a Pick larger than 9?
SELECT MAX(round) FROM table_name_19 WHERE player = "tommy norman"
CREATE TABLE table_name_19 (round INTEGER, player VARCHAR)
In what Round was Tommy Norman picked?
SELECT 2000 FROM table_name_5 WHERE 1998 = "1.5"
CREATE TABLE table_name_5 (Id VARCHAR)
What is the 2000 value if the 1998 value is 1.5?
SELECT 2004 FROM table_name_73 WHERE 1998 = "35"
CREATE TABLE table_name_73 (Id VARCHAR)
What is the 2004 value if the 1998 value is 35?
SELECT 1998 FROM table_name_3 WHERE 2000 = "25"
CREATE TABLE table_name_3 (Id VARCHAR)
What is the 1998 value if the 2000 value is 25?
SELECT 1998 FROM table_name_13 WHERE 2007 = "8"
CREATE TABLE table_name_13 (Id VARCHAR)
What is the 1998 value if the 2007 value is 8?
SELECT 2000 FROM table_name_67 WHERE 1998 = "1.5"
CREATE TABLE table_name_67 (Id VARCHAR)
What is the 2000 value if the 1998 value is 1.5?
SELECT 1998 FROM table_name_86 WHERE 2011 = "30.4"
CREATE TABLE table_name_86 (Id VARCHAR)
What is the 1998 value if the 2011 value is 30.4?
SELECT interface FROM table_name_58 WHERE product = "xerox travel scanner 100"
CREATE TABLE table_name_58 (interface VARCHAR, product VARCHAR)
What is the interface of the product xerox travel scanner 100?
SELECT pages_per_minute__color_ FROM table_name_31 WHERE max_page_size = "a4" AND dimensions__mm_ = "303 x 94 x 60"
CREATE TABLE table_name_31 (pages_per_minute__color_ VARCHAR, max_page_size VARCHAR, dimensions__mm_ VARCHAR)
What is the pages per minute (color) of the machine that has a max page size of a4 and dimensions (mm) of 303 x 94 x 60?
SELECT club FROM table_name_51 WHERE name = "guus hiddink"
CREATE TABLE table_name_51 (club VARCHAR, name VARCHAR)
What club had Guus Hiddink as outgoing manager?
SELECT date_of_departure FROM table_name_46 WHERE name = "brendan rodgers"
CREATE TABLE table_name_46 (date_of_departure VARCHAR, name VARCHAR)
When did Brendan Rodgers depart his position?
SELECT date_of_appointment FROM table_name_17 WHERE replacement = "paulo sousa"
CREATE TABLE table_name_17 (date_of_appointment VARCHAR, replacement VARCHAR)
On what date was Paulo Sousa appointed?