answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT pick FROM table_name_59 WHERE position = "ol" AND round < 6
CREATE TABLE table_name_59 (pick VARCHAR, position VARCHAR, round VARCHAR)
What is Pick, when Position is OL, and when Round is less than 6?
SELECT school_club_team FROM table_name_38 WHERE pick = "9 (via hamilton)"
CREATE TABLE table_name_38 (school_club_team VARCHAR, pick VARCHAR)
What is School/Club Team, when Pick is 9 (via Hamilton)?
SELECT result FROM table_name_53 WHERE attendance = "55,353"
CREATE TABLE table_name_53 (result VARCHAR, attendance VARCHAR)
What is the Result of the game with an Attendance of 55,353?
SELECT SUM(week) FROM table_name_71 WHERE attendance = "39,923"
CREATE TABLE table_name_71 (week INTEGER, attendance VARCHAR)
In what Week was the Attendance 39,923?
SELECT result FROM table_name_70 WHERE week > 9 AND attendance = "69,714"
CREATE TABLE table_name_70 (result VARCHAR, week VARCHAR, attendance VARCHAR)
What was the Result of the game after Week 9 with an Attendance of 69,714?
SELECT AVG(week) FROM table_name_49 WHERE date = "september 4, 1994"
CREATE TABLE table_name_49 (week INTEGER, date VARCHAR)
What Week falls on September 4, 1994?
SELECT pos FROM table_name_33 WHERE player = "nigel de jong"
CREATE TABLE table_name_33 (pos VARCHAR, player VARCHAR)
What is Pos., when Player is "Nigel De Jong"?
SELECT from_club FROM table_name_80 WHERE player = "robinho"
CREATE TABLE table_name_80 (from_club VARCHAR, player VARCHAR)
What is From Club, when Player is "Robinho"?
SELECT pos FROM table_name_20 WHERE from_club = "cska moscow"
CREATE TABLE table_name_20 (pos VARCHAR, from_club VARCHAR)
What is Pos., when From Club is "CSKA Moscow"?
SELECT pos FROM table_name_66 WHERE from_club = "chelsea" AND date = "30 july 2008"
CREATE TABLE table_name_66 (pos VARCHAR, from_club VARCHAR, date VARCHAR)
What is Pos., when From Club is "Chelsea", and when Date is "30 July 2008"?
SELECT team_2 FROM table_name_34 WHERE team_1 = "panathinaikos"
CREATE TABLE table_name_34 (team_2 VARCHAR, team_1 VARCHAR)
What is the team 2 for the match with a team 1 of Panathinaikos?
SELECT 1 AS st_leg FROM table_name_59 WHERE team_1 = "panathinaikos"
CREATE TABLE table_name_59 (team_1 VARCHAR)
What was the first leg score for the match with a team 1 of Panathinaikos?
SELECT 2 AS nd_leg FROM table_name_48 WHERE team_2 = "werder bremen"
CREATE TABLE table_name_48 (team_2 VARCHAR)
What is the 2nd leg score for the match with a team 2 of Werder Bremen?
SELECT kitmaker FROM table_name_38 WHERE team = "fc augsburg"
CREATE TABLE table_name_38 (kitmaker VARCHAR, team VARCHAR)
Who is the kitmaker for Fc Augsburg?
SELECT head_coach FROM table_name_34 WHERE shirt_sponsor = "karstadt quelle versicherungen"
CREATE TABLE table_name_34 (head_coach VARCHAR, shirt_sponsor VARCHAR)
Who is the head coach of the team, whose shirt sponsor is karstadt quelle versicherungen?
SELECT kitmaker FROM table_name_84 WHERE head_coach = "uwe rapolder"
CREATE TABLE table_name_84 (kitmaker VARCHAR, head_coach VARCHAR)
Who is the kitmaker for the team that Uwe Rapolder is the head coach of.
SELECT team AS captain FROM table_name_88 WHERE shirt_sponsor = "lübzer"
CREATE TABLE table_name_88 (team VARCHAR, shirt_sponsor VARCHAR)
Who is the team captain of the team that Lübzer is the shirt sponsor for?
SELECT date FROM table_name_25 WHERE game = 22
CREATE TABLE table_name_25 (date VARCHAR, game VARCHAR)
What was the date of the game number 22?
SELECT director FROM table_name_63 WHERE studio = "paramount" AND gross = "$128,152,301"
CREATE TABLE table_name_63 (director VARCHAR, studio VARCHAR, gross VARCHAR)
What is the Director from Paramount with a Film with a Gross of $128,152,301?
SELECT studio FROM table_name_98 WHERE rank = 10
CREATE TABLE table_name_98 (studio VARCHAR, rank VARCHAR)
What is the Studio of the Rank 10 Film?
SELECT release_date FROM table_name_12 WHERE company = "bbc audio" AND writer = "ford, phil phil ford"
CREATE TABLE table_name_12 (release_date VARCHAR, company VARCHAR, writer VARCHAR)
What is the release date of the album written by Ford, Phil Phil Ford under BBC Audio?
SELECT release_date FROM table_name_36 WHERE writer = "goss, james james goss" AND company = "audiogo"
CREATE TABLE table_name_36 (release_date VARCHAR, writer VARCHAR, company VARCHAR)
What is the release date of the album written by Goss, James James Goss under Audiogo?
SELECT company FROM table_name_76 WHERE release_date = "2008-09-18 18 september 2008"
CREATE TABLE table_name_76 (company VARCHAR, release_date VARCHAR)
Who is the company that released the album on 2008-09-18 18 September 2008?
SELECT AVG(area_km_2) FROM table_name_46 WHERE official_name = "notre-dame-de-lourdes"
CREATE TABLE table_name_46 (area_km_2 INTEGER, official_name VARCHAR)
Notre-Dame-De-Lourdes has what average area km 2?
SELECT area_km_2 FROM table_name_73 WHERE official_name = "saint-jacques"
CREATE TABLE table_name_73 (area_km_2 VARCHAR, official_name VARCHAR)
Saint-Jacques has what as the area km 2?
SELECT official_name FROM table_name_38 WHERE area_km_2 = 343.95
CREATE TABLE table_name_38 (official_name VARCHAR, area_km_2 VARCHAR)
With an area km 2 of 343.95 what is the official name?
SELECT status FROM table_name_32 WHERE official_name = "saint-basile"
CREATE TABLE table_name_32 (status VARCHAR, official_name VARCHAR)
Saint-Basile has what status?
SELECT circuit FROM table_name_77 WHERE session = "qualifying"
CREATE TABLE table_name_77 (circuit VARCHAR, session VARCHAR)
What circuit has qualifying as the session?
SELECT circuit FROM table_name_63 WHERE event = "1997 japanese formula 3 championship"
CREATE TABLE table_name_63 (circuit VARCHAR, event VARCHAR)
The 1997 Japanese Formula 3 Championship is part of what circuit?
SELECT session FROM table_name_84 WHERE event = "fall nationals"
CREATE TABLE table_name_84 (session VARCHAR, event VARCHAR)
The Fall Nationals has what sessions?
SELECT session FROM table_name_78 WHERE discipline = "open wheel" AND event = "1977 japanese grand prix"
CREATE TABLE table_name_78 (session VARCHAR, discipline VARCHAR, event VARCHAR)
The 1977 Japanese Grand Prix in the open wheel discipline has what session?
SELECT circuit FROM table_name_42 WHERE session = "race" AND discipline = "open wheel" AND event = "1977 japanese grand prix"
CREATE TABLE table_name_42 (circuit VARCHAR, event VARCHAR, session VARCHAR, discipline VARCHAR)
What circuit has a race for the session, and open wheel as the discipline, and the 1977 Japanese Grand Prix as the event?
SELECT cause FROM table_name_91 WHERE discipline = "touring car racing"
CREATE TABLE table_name_91 (cause VARCHAR, discipline VARCHAR)
For what cause is Touring Car Racing the discipline?
SELECT player FROM table_name_39 WHERE score = 70 - 73 - 69 - 72 = 284
CREATE TABLE table_name_39 (player VARCHAR, score VARCHAR)
What player scored 70-73-69-72=284?
SELECT MIN(money___) AS $__ FROM table_name_64 WHERE player = "craig stadler"
CREATE TABLE table_name_64 (money___ INTEGER, player VARCHAR)
What is the lowest amount of money that Craig Stadler won?
SELECT country FROM table_name_94 WHERE player = "david graham"
CREATE TABLE table_name_94 (country VARCHAR, player VARCHAR)
What country is David Graham from?
SELECT COUNT(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND to_par = "–2"
CREATE TABLE table_name_93 (money___ VARCHAR, country VARCHAR, to_par VARCHAR)
What is the total amount of money that the United States one with a To par of –2?
SELECT score FROM table_name_92 WHERE place = "t6" AND player = "jack nicklaus"
CREATE TABLE table_name_92 (score VARCHAR, place VARCHAR, player VARCHAR)
What score did Jack Nicklaus have when he placed t6?
SELECT COUNT(money___) AS $__ FROM table_name_14 WHERE to_par = "e"
CREATE TABLE table_name_14 (money___ VARCHAR, to_par VARCHAR)
How much money has a to par of E?
SELECT location FROM table_name_29 WHERE date = "october 16"
CREATE TABLE table_name_29 (location VARCHAR, date VARCHAR)
What was the location on October 16?
SELECT winner FROM table_name_53 WHERE year < 1935 AND result = "56-0"
CREATE TABLE table_name_53 (winner VARCHAR, year VARCHAR, result VARCHAR)
Who was the winner when the result was 56-0 before 1935?
SELECT winner FROM table_name_31 WHERE location = "philadelphia municipal stadium" AND year = 1939
CREATE TABLE table_name_31 (winner VARCHAR, location VARCHAR, year VARCHAR)
Who was the winner in philadelphia municipal stadium in 1939?
SELECT MIN(year) FROM table_name_51 WHERE result = "21-17"
CREATE TABLE table_name_51 (year INTEGER, result VARCHAR)
What was the earliest year that the result 21-17?
SELECT location FROM table_name_98 WHERE year > 1934 AND loser = "philadelphia eagles" AND date = "october 15"
CREATE TABLE table_name_98 (location VARCHAR, date VARCHAR, year VARCHAR, loser VARCHAR)
What was the location after 1934 that Philadelphia Eagles lost on October 15?
SELECT left_office FROM table_name_96 WHERE romanized__hangul_ = "chang myon (장면)"
CREATE TABLE table_name_96 (left_office VARCHAR, romanized__hangul_ VARCHAR)
When did chang myon (장면) leave office?
SELECT took_office FROM table_name_53 WHERE vice > 6
CREATE TABLE table_name_53 (took_office VARCHAR, vice INTEGER)
When did the vice president with a vice over 6 take office?
SELECT province FROM table_name_9 WHERE districts < 11 AND region = "tumbes" AND ubigeo = 2401
CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR)
What province in Tumbes has less than 11 districts and a UBIGEO of 2401?
SELECT AVG(ubigeo) FROM table_name_34 WHERE province = "chepén"
CREATE TABLE table_name_34 (ubigeo INTEGER, province VARCHAR)
What is Chepén's average UBIGEO?
SELECT region FROM table_name_63 WHERE districts = 3 AND capital = "chepén"
CREATE TABLE table_name_63 (region VARCHAR, districts VARCHAR, capital VARCHAR)
What is the region for Chepén with 3 districts?
SELECT MAX(diameter__km_) FROM table_name_52 WHERE longitude = "152.5e" AND year_named < 1997
CREATE TABLE table_name_52 (diameter__km_ INTEGER, longitude VARCHAR, year_named VARCHAR)
What is the Diameter (km) of the Valle with a Longitude of 152.5e named before 1997?
SELECT MAX(year_named) FROM table_name_39 WHERE name = "ganga valles"
CREATE TABLE table_name_39 (year_named INTEGER, name VARCHAR)
What is the Year named of the Ganga Valles?
SELECT latitude FROM table_name_86 WHERE year_named > 1997 AND name = "alajen vallis"
CREATE TABLE table_name_86 (latitude VARCHAR, year_named VARCHAR, name VARCHAR)
What is the Latitude of the Alajen Vallis named after 1997?
SELECT release_date FROM table_name_96 WHERE cat__number = "par116"
CREATE TABLE table_name_96 (release_date VARCHAR, cat__number VARCHAR)
What is the release date with par116 as the cat. #?
SELECT title FROM table_name_87 WHERE release_date = "24 july 2005"
CREATE TABLE table_name_87 (title VARCHAR, release_date VARCHAR)
What is the title released on 24 July 2005?
SELECT record FROM table_name_2 WHERE high_points = "thaddeus young (19)" AND team = "@ orlando"
CREATE TABLE table_name_2 (record VARCHAR, high_points VARCHAR, team VARCHAR)
What is Record, when High Points is "Thaddeus Young (19)", and when Team is "@ Orlando"?
SELECT high_rebounds FROM table_name_14 WHERE location_attendance = "time warner cable arena 10,848"
CREATE TABLE table_name_14 (high_rebounds VARCHAR, location_attendance VARCHAR)
What is High Rebounds, when Location Attendance is "Time Warner Cable Arena 10,848"?
SELECT MIN(losses) FROM table_name_24 WHERE gains < 0
CREATE TABLE table_name_24 (losses INTEGER, gains INTEGER)
Can you tell me the lowest Losses that has the Gains smaller than 0?
SELECT record FROM table_name_23 WHERE high_rebounds = "marc gasol (8)"
CREATE TABLE table_name_23 (record VARCHAR, high_rebounds VARCHAR)
what is the record when marc gasol (8) had the high rebounds?
SELECT score FROM table_name_40 WHERE date = "march 8"
CREATE TABLE table_name_40 (score VARCHAR, date VARCHAR)
what is the score on march 8?
SELECT high_assists FROM table_name_78 WHERE date = "march 30"
CREATE TABLE table_name_78 (high_assists VARCHAR, date VARCHAR)
who had the high assists on march 30?
SELECT location FROM table_name_43 WHERE capacity > 51 OFFSET 500
CREATE TABLE table_name_43 (location VARCHAR, capacity INTEGER)
Which location has a capacity greater than 51,500?
SELECT rider FROM table_name_30 WHERE laps < 30 AND manufacturer = "yamaha" AND time = "accident" AND grid > 3
CREATE TABLE table_name_30 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, manufacturer VARCHAR)
Who was the rider who had less than 30 laps, ended in an accident with a car manufactured by yamaha on a grid larger than 3?
SELECT manufacturer FROM table_name_49 WHERE grid = 12
CREATE TABLE table_name_49 (manufacturer VARCHAR, grid VARCHAR)
Who was the manufacturer for the race on grid 12?
SELECT manufacturer FROM table_name_86 WHERE laps < 9 AND rider = "dani pedrosa"
CREATE TABLE table_name_86 (manufacturer VARCHAR, laps VARCHAR, rider VARCHAR)
Who was the manufacturer for the car that dani pedrosa did less than 9 laps in?
SELECT laps FROM table_name_61 WHERE manufacturer = "yamaha" AND grid = 3
CREATE TABLE table_name_61 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)
How many laps did the driver with the yamaha manufacturer go on grid 3?
SELECT time FROM table_name_9 WHERE city = "baltimore"
CREATE TABLE table_name_9 (time VARCHAR, city VARCHAR)
What is the time in Baltimore?
SELECT date FROM table_name_96 WHERE score = "1-8"
CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR)
What date was the score 1-8?
SELECT event FROM table_name_12 WHERE opponent = "chris barden"
CREATE TABLE table_name_12 (event VARCHAR, opponent VARCHAR)
What is the event where the opponent was Chris Barden?
SELECT surface FROM table_name_26 WHERE tournament = "napoli"
CREATE TABLE table_name_26 (surface VARCHAR, tournament VARCHAR)
What is the Surface of the Court in Napoli?
SELECT outcome FROM table_name_45 WHERE score = "6–4, 6–4"
CREATE TABLE table_name_45 (outcome VARCHAR, score VARCHAR)
What is the Outcome of the game with a Score of 6–4, 6–4?
SELECT outcome FROM table_name_55 WHERE opponent = "frederic jeanclaude"
CREATE TABLE table_name_55 (outcome VARCHAR, opponent VARCHAR)
What is the Outcome of the game against Frederic Jeanclaude?
SELECT opponent FROM table_name_66 WHERE score = "6–2, 6–2"
CREATE TABLE table_name_66 (opponent VARCHAR, score VARCHAR)
What is the Opponent in a game with a Score of 6–2, 6–2?
SELECT surface FROM table_name_61 WHERE opponent = "ivo klec" AND score = "6–3, 6–3"
CREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR, score VARCHAR)
What is the Surface of the court against Ivo Klec with a Score of 6–3, 6–3?
SELECT player FROM table_name_37 WHERE score = 70 - 69 = 139
CREATE TABLE table_name_37 (player VARCHAR, score VARCHAR)
Who was the player with a score of 70-69=139?
SELECT country FROM table_name_37 WHERE score = 69 - 70 = 139 AND player = "bart bryant"
CREATE TABLE table_name_37 (country VARCHAR, player VARCHAR, score VARCHAR)
What country did Bart Bryant with a score of 69-70=139 belong to?
SELECT country FROM table_name_43 WHERE score = 70 - 69 = 139
CREATE TABLE table_name_43 (country VARCHAR, score VARCHAR)
What is the country that the player with a score of 70-69=139 from?
SELECT place FROM table_name_98 WHERE score = 66 - 67 = 133
CREATE TABLE table_name_98 (place VARCHAR, score VARCHAR)
In what place did the player with a score of 66-67=133 come in?
SELECT country FROM table_name_81 WHERE place = "t3" AND score = 70 - 68 = 138
CREATE TABLE table_name_81 (country VARCHAR, place VARCHAR, score VARCHAR)
What country was the player from who placed t3 with a score of 70-68=138?
SELECT score FROM table_name_76 WHERE country = "scotland"
CREATE TABLE table_name_76 (score VARCHAR, country VARCHAR)
What was the score for the player from Scotland?
SELECT AVG(week) FROM table_name_86 WHERE date = "november 11, 1962"
CREATE TABLE table_name_86 (week INTEGER, date VARCHAR)
What week had a game that was played on November 11, 1962?
SELECT author FROM table_name_49 WHERE title = "bludgeoning angel dokuro-chan"
CREATE TABLE table_name_49 (author VARCHAR, title VARCHAR)
Who is the author of Bludgeoning Angel Dokuro-Chan?
SELECT manner_of_departure FROM table_name_24 WHERE outgoing_manager = "miguel brindisi"
CREATE TABLE table_name_24 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
What was the manner of departure for the outgoing manager, miguel brindisi?
SELECT outgoing_manager FROM table_name_28 WHERE team = "necaxa"
CREATE TABLE table_name_28 (outgoing_manager VARCHAR, team VARCHAR)
Who was the outgoing manager for the team, necaxa?
SELECT winner FROM table_name_31 WHERE finalist = "fsv frankfurt"
CREATE TABLE table_name_31 (winner VARCHAR, finalist VARCHAR)
Who was the winner when the finalist was fsv frankfurt?
SELECT finalist FROM table_name_83 WHERE winner = "first vienna fc"
CREATE TABLE table_name_83 (finalist VARCHAR, winner VARCHAR)
Who was the finalist when the winner was First Vienna FC?
SELECT manner_of_departure FROM table_name_93 WHERE replaced_by = "wolfgang frank"
CREATE TABLE table_name_93 (manner_of_departure VARCHAR, replaced_by VARCHAR)
How did the manager replaced by Wolfgang Frank depart?
SELECT replaced_by FROM table_name_11 WHERE date_of_vacancy = "3 march 2009"
CREATE TABLE table_name_11 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
Who was hired to fill the spot that became vacant on 3 March 2009?
SELECT replaced_by FROM table_name_74 WHERE date_of_appointment = "13 may 2009"
CREATE TABLE table_name_74 (replaced_by VARCHAR, date_of_appointment VARCHAR)
What is the name of the person that was appointed on 13 May 2009?
SELECT manner_of_departure FROM table_name_56 WHERE replaced_by = "michael oenning"
CREATE TABLE table_name_56 (manner_of_departure VARCHAR, replaced_by VARCHAR)
How did the manager replaced by Michael Oenning depart?
SELECT outgoing_manager FROM table_name_62 WHERE replaced_by = "michael oenning"
CREATE TABLE table_name_62 (outgoing_manager VARCHAR, replaced_by VARCHAR)
What is the name of the manager that was replaced by Michael Oenning?
SELECT home_team FROM table_name_24 WHERE game = "game 1"
CREATE TABLE table_name_24 (home_team VARCHAR, game VARCHAR)
Which Home Team has a Game of game 1?
SELECT game FROM table_name_80 WHERE home_team = "san francisco" AND date = "april 22"
CREATE TABLE table_name_80 (game VARCHAR, home_team VARCHAR, date VARCHAR)
Which Game has a Home Team of san francisco, and a Date of april 22?
SELECT road_team FROM table_name_91 WHERE home_team = "boston" AND result = "124-101"
CREATE TABLE table_name_91 (road_team VARCHAR, home_team VARCHAR, result VARCHAR)
Which Road Team has a Home Team of boston, and a Result of 124-101?
SELECT game FROM table_name_22 WHERE home_team = "san francisco" AND date = "april 22"
CREATE TABLE table_name_22 (game VARCHAR, home_team VARCHAR, date VARCHAR)
Which Game has a Home Team of san francisco, and a Date of april 22?
SELECT result FROM table_name_77 WHERE road_team = "san francisco" AND game = "game 2"
CREATE TABLE table_name_77 (result VARCHAR, road_team VARCHAR, game VARCHAR)
Which Result has a Road Team of san francisco, and a Game of game 2?
SELECT home_team FROM table_name_10 WHERE result = "124-101"
CREATE TABLE table_name_10 (home_team VARCHAR, result VARCHAR)
Which Home Team has a Result of 124-101?
SELECT COUNT(attendance) FROM table_name_16 WHERE result = "l 24-20" AND week < 5
CREATE TABLE table_name_16 (attendance VARCHAR, result VARCHAR, week VARCHAR)
What is the total attendance in a week less than 5 when the result was l 24-20?
SELECT MAX(week) FROM table_name_90 WHERE opponent = "atlanta falcons"
CREATE TABLE table_name_90 (week INTEGER, opponent VARCHAR)
What is the largest week with the Atlanta Falcons as the opponent?
SELECT COUNT(attendance) FROM table_name_92 WHERE week > 1 AND opponent = "philadelphia eagles"
CREATE TABLE table_name_92 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
What is the total attendance in a week greater than 1 with an opponent of Philadelphia Eagles?
SELECT score FROM table_name_7 WHERE opponent = "washington capitals" AND record = "24-34-17"
CREATE TABLE table_name_7 (score VARCHAR, opponent VARCHAR, record VARCHAR)
Which Score has an Opponent of washington capitals, and a Record of 24-34-17?