answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT competition FROM table_name_89 WHERE club = "villareal"
CREATE TABLE table_name_89 (competition VARCHAR, club VARCHAR)
What competition has the club villareal?
SELECT competition FROM table_name_32 WHERE club = "aik"
CREATE TABLE table_name_32 (competition VARCHAR, club VARCHAR)
Which competition has aik club?
SELECT round FROM table_name_38 WHERE club = "bečej"
CREATE TABLE table_name_38 (round VARCHAR, club VARCHAR)
What is the round of club bečej?
SELECT 1 AS st_leg FROM table_name_66 WHERE competition = "uefa intertoto cup" AND club = "silkeborg"
CREATE TABLE table_name_66 (competition VARCHAR, club VARCHAR)
What is the 1st leg of the uefa intertoto cup competition with club silkeborg?
SELECT high_rebounds FROM table_name_57 WHERE high_assists = "jason kidd (8)" AND score = "w 105–95 (ot)"
CREATE TABLE table_name_57 (high_rebounds VARCHAR, high_assists VARCHAR, score VARCHAR)
Who had the high rebounds when the score was w 105–95 (ot) and Jason Kidd (8) had the high assists?
SELECT team FROM table_name_61 WHERE score = "l 87–115 (ot)"
CREATE TABLE table_name_61 (team VARCHAR, score VARCHAR)
Which team scored l 87–115 (ot)?
SELECT record FROM table_name_37 WHERE game = 56
CREATE TABLE table_name_37 (record VARCHAR, game VARCHAR)
What's the record of Game 56?
SELECT team FROM table_name_29 WHERE location_attendance = "energysolutions arena 19,911"
CREATE TABLE table_name_29 (team VARCHAR, location_attendance VARCHAR)
Who was the team that played at Energysolutions Arena 19,911?
SELECT high_assists FROM table_name_8 WHERE location_attendance = "american airlines center 20,223"
CREATE TABLE table_name_8 (high_assists VARCHAR, location_attendance VARCHAR)
Who had the high assists when the game was at American Airlines Center 20,223?
SELECT team FROM table_name_9 WHERE record = "50–28"
CREATE TABLE table_name_9 (team VARCHAR, record VARCHAR)
What team has a Record of 50–28?
SELECT date FROM table_name_93 WHERE game = 75
CREATE TABLE table_name_93 (date VARCHAR, game VARCHAR)
What was the date of game 75?
SELECT manufacturer FROM table_name_14 WHERE year > 1969 AND finish = 34
CREATE TABLE table_name_14 (manufacturer VARCHAR, year VARCHAR, finish VARCHAR)
Which manufacturer was used after 1969 with a finish position of 34?
SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 25"
CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)
What is the total attendance on April 25?
SELECT decision FROM table_name_49 WHERE attendance > 19 OFFSET 883
CREATE TABLE table_name_49 (decision VARCHAR, attendance INTEGER)
What is the decision of the game with an attendance greater than 19,883?
SELECT to_par FROM table_name_31 WHERE score = 76 - 73 - 67 - 69 = 285
CREATE TABLE table_name_31 (to_par VARCHAR, score VARCHAR)
When the score was 76-73-67-69=285 what was the To par?
SELECT player FROM table_name_83 WHERE to_par = "–6"
CREATE TABLE table_name_83 (player VARCHAR, to_par VARCHAR)
Which player has a To par of –6?
SELECT memory___ram__ FROM table_name_40 WHERE operating_system_version = "maemo 5"
CREATE TABLE table_name_40 (memory___ram__ VARCHAR, operating_system_version VARCHAR)
How much memory (RAM) does the Maemo 5 operating system have?
SELECT operating_system_version FROM table_name_18 WHERE storage___flash__ = "128mb"
CREATE TABLE table_name_18 (operating_system_version VARCHAR, storage___flash__ VARCHAR)
Which operating system has a storage (flash) of 128MB?
SELECT weight, _dimensions FROM table_name_42 WHERE model = "n800"
CREATE TABLE table_name_42 (weight VARCHAR, _dimensions VARCHAR, model VARCHAR)
What is the weight and dimensions of an N800?
SELECT operating_system_version FROM table_name_27 WHERE memory___ram__ = "1gb (mobile ddr)"
CREATE TABLE table_name_27 (operating_system_version VARCHAR, memory___ram__ VARCHAR)
Which operating system has 1GB (mobile ddr) memory (RAM)?
SELECT COUNT(pick) FROM table_name_1 WHERE round > 1 AND player = "jim stack"
CREATE TABLE table_name_1 (pick VARCHAR, round VARCHAR, player VARCHAR)
What is the total number of Pick, when Round is greater than 1, and when Player is "Jim Stack"?
SELECT MIN(round) FROM table_name_25 WHERE college = "washington state" AND pick < 48
CREATE TABLE table_name_25 (round INTEGER, college VARCHAR, pick VARCHAR)
What is the lowest Round, when College is "Washington State", and when Pick is less than 48?
SELECT college FROM table_name_11 WHERE round > 1 AND pick > 163
CREATE TABLE table_name_11 (college VARCHAR, round VARCHAR, pick VARCHAR)
What is College, when Round is greater than 1, and when Pick is greater than 163?
SELECT location__numbersites__global_local_ FROM table_name_90 WHERE software = "bind" AND ipv6_address = "2001:503:c27::2:30"
CREATE TABLE table_name_90 (location__numbersites__global_local_ VARCHAR, software VARCHAR, ipv6_address VARCHAR)
What is the location for the software of BIND and an IPv6 address of 2001:503:c27::2:30?
SELECT ipv6_address FROM table_name_65 WHERE operator = "wide project"
CREATE TABLE table_name_65 (ipv6_address VARCHAR, operator VARCHAR)
Which IPv6 address has an operator of Wide project?
SELECT letter FROM table_name_45 WHERE operator = "verisign" AND as_number = "as26415"
CREATE TABLE table_name_45 (letter VARCHAR, operator VARCHAR, as_number VARCHAR)
Which letter has an operator of VeriSign and an AS-number of AS26415?
SELECT location__numbersites__global_local_ FROM table_name_60 WHERE as_number = "n/a"
CREATE TABLE table_name_60 (location__numbersites__global_local_ VARCHAR, as_number VARCHAR)
Which location has an AS-number of N/A?
SELECT letter FROM table_name_32 WHERE operator = "defense information systems agency"
CREATE TABLE table_name_32 (letter VARCHAR, operator VARCHAR)
Which letter has an operator of the Defense Information Systems Agency?
SELECT SUM(all_time) FROM table_name_39 WHERE amateur_era < 0
CREATE TABLE table_name_39 (all_time INTEGER, amateur_era INTEGER)
What is the sum of All-Time, when Amateur Era is less than 0?
SELECT MIN(all_time) FROM table_name_95 WHERE first_title < 1974 AND last_title = 1933 AND amateur_era > 2
CREATE TABLE table_name_95 (all_time INTEGER, amateur_era VARCHAR, first_title VARCHAR, last_title VARCHAR)
What is the lowest All-Time, when First Title is before 1974, when Last Title is "1933", and when Amateur Era is greater than 2?
SELECT MIN(all_time) FROM table_name_35 WHERE first_title = 2007 AND amateur_era > 0
CREATE TABLE table_name_35 (all_time INTEGER, first_title VARCHAR, amateur_era VARCHAR)
What is the lowest All-Time, when First Title is "2007, and when Amateur Era is greater than 0?
SELECT MIN(first_title) FROM table_name_13 WHERE all_time > 1 AND country = "united states (usa)" AND amateur_era > 17
CREATE TABLE table_name_13 (first_title INTEGER, amateur_era VARCHAR, all_time VARCHAR, country VARCHAR)
What is the lowest First Title, when All-Time is greater than 1, when Country is "United States (USA)", and when Amateur Era is greater than 17?
SELECT place FROM table_name_22 WHERE to_par = "+2" AND score = 70 - 72 - 73 = 215
CREATE TABLE table_name_22 (place VARCHAR, to_par VARCHAR, score VARCHAR)
What is the Place of the Player with a To par of +2 and a Score of 70-72-73=215?
SELECT country FROM table_name_19 WHERE place = "t6" AND player = "robert karlsson"
CREATE TABLE table_name_19 (country VARCHAR, place VARCHAR, player VARCHAR)
From what Country is T6 Place Player Robert Karlsson?
SELECT to_par FROM table_name_63 WHERE place = "t4" AND score = 72 - 69 - 73 = 214
CREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR, score VARCHAR)
What is the To par of the T4 Place Player with a Score of 72-69-73=214?
SELECT to_par FROM table_name_7 WHERE score = 70 - 72 - 73 = 215
CREATE TABLE table_name_7 (to_par VARCHAR, score VARCHAR)
What is the To par of the Player with a Score of 70-72-73=215?
SELECT country FROM table_name_49 WHERE player = "rocco mediate"
CREATE TABLE table_name_49 (country VARCHAR, player VARCHAR)
What Country is Rocco Mediate from?
SELECT to_par FROM table_name_79 WHERE player = "mike smith"
CREATE TABLE table_name_79 (to_par VARCHAR, player VARCHAR)
What is Mike Smith's To par?
SELECT country FROM table_name_36 WHERE score = 66 AND player = "scott hoch"
CREATE TABLE table_name_36 (country VARCHAR, score VARCHAR, player VARCHAR)
What is Scott Hoch with a Score of 66 Country?
SELECT player FROM table_name_1 WHERE score > 66 AND place = "t4"
CREATE TABLE table_name_1 (player VARCHAR, score VARCHAR, place VARCHAR)
What is the T4 Place Player with a Score of more than 66?
SELECT date_of_vacancy FROM table_name_75 WHERE manner_of_departure = "mutual consent" AND date_of_appointment = "2 november 2009"
CREATE TABLE table_name_75 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, date_of_appointment VARCHAR)
What is the vacancy date for the manager appointed on 2 November 2009 who left due to mutual consent?
SELECT manner_of_departure FROM table_name_30 WHERE date_of_vacancy = "20 september 2009"
CREATE TABLE table_name_30 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
What was the manner of departure for the vacancy date of 20 September 2009?
SELECT date_of_vacancy FROM table_name_45 WHERE date_of_appointment = "11 march 2010"
CREATE TABLE table_name_45 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR)
What was the vacancy date of the manager appointed on 11 March 2010?
SELECT MIN(pick) FROM table_name_73 WHERE overall = 38
CREATE TABLE table_name_73 (pick INTEGER, overall VARCHAR)
What is the lowest pick number where the overall pick number was 38?
SELECT position FROM table_name_49 WHERE round = 22
CREATE TABLE table_name_49 (position VARCHAR, round VARCHAR)
What was the position of the player who was picked in round 22?
SELECT call_sign FROM table_name_68 WHERE erp_w = 99
CREATE TABLE table_name_68 (call_sign VARCHAR, erp_w VARCHAR)
What was the call sign for ERP W of 99?
SELECT team_1 FROM table_name_20 WHERE team_2 = "karabakh"
CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR)
What is the team 1 in the match with a team 2 of Karabakh?
SELECT round FROM table_name_36 WHERE pick = 63
CREATE TABLE table_name_36 (round VARCHAR, pick VARCHAR)
What is the round of pick 63?
SELECT MIN(round) FROM table_name_99 WHERE player = "chris burkett"
CREATE TABLE table_name_99 (round INTEGER, player VARCHAR)
What is the lowest round of player chris burkett?
SELECT AVG(pick) FROM table_name_3 WHERE round = 4 AND school_club_team = "kutztown state"
CREATE TABLE table_name_3 (pick INTEGER, round VARCHAR, school_club_team VARCHAR)
What is the average pick of school/club team kutztown state with a round 4?
SELECT AVG(matches) FROM table_name_79 WHERE name = "leonardo" AND seasons > 1
CREATE TABLE table_name_79 (matches INTEGER, name VARCHAR, seasons VARCHAR)
What is the average number of matches of leonardo in seasons after 1?
SELECT AVG(membership) FROM table_name_15 WHERE _percentage_lds = "3.33%" AND branches < 47
CREATE TABLE table_name_15 (membership INTEGER, _percentage_lds VARCHAR, branches VARCHAR)
What is the average membership with 3.33% LDS and less than 47 branches?
SELECT 2005 FROM table_name_49 WHERE 2003 = "a" AND 2007 = "2r" AND 2012 = "3r"
CREATE TABLE table_name_49 (Id VARCHAR)
what is 2005 when 2003 is A, 2007 is 2r and 2012 is 3r?
SELECT 2004 FROM table_name_49 WHERE tournament = "paris masters"
CREATE TABLE table_name_49 (tournament VARCHAR)
what is 2004 when the tournament is paris masters?
SELECT 2009 FROM table_name_5 WHERE 2004 = "107"
CREATE TABLE table_name_5 (Id VARCHAR)
what is 2009 when 2004 is 107?
SELECT 2003 FROM table_name_37 WHERE 2005 = "did not qualify"
CREATE TABLE table_name_37 (Id VARCHAR)
what is 2003 when 2005 is did not qualify?
SELECT 2012 FROM table_name_9 WHERE tournament = "win %"
CREATE TABLE table_name_9 (tournament VARCHAR)
what is 2012 when the tournament is win %?
SELECT record FROM table_name_42 WHERE date = "february 2"
CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR)
What was the record on February 2?
SELECT location_attendance FROM table_name_50 WHERE date = "february 2"
CREATE TABLE table_name_50 (location_attendance VARCHAR, date VARCHAR)
What was the location of the game on February 2?
SELECT COUNT(year) FROM table_name_47 WHERE title = "black swan" AND award = "gotham awards"
CREATE TABLE table_name_47 (year VARCHAR, title VARCHAR, award VARCHAR)
What year was Black Swan up for the Gotham Awards?
SELECT MIN(year) FROM table_name_21 WHERE title = "requiem for a dream" AND category = "best director"
CREATE TABLE table_name_21 (year INTEGER, title VARCHAR, category VARCHAR)
What is the earliest year in which Requiem for a Dream was in the running for Best Director?
SELECT record FROM table_name_16 WHERE location = "fleetcenter" AND date = "fri. apr. 5"
CREATE TABLE table_name_16 (record VARCHAR, location VARCHAR, date VARCHAR)
Can you tell me the Record that has the Location of fleetcenter, and the Date of fri. apr. 5?
SELECT record FROM table_name_61 WHERE game < 76
CREATE TABLE table_name_61 (record VARCHAR, game INTEGER)
Can you tell me the Record that has the Game smaller than 76?
SELECT MAX(game) FROM table_name_56 WHERE opponent = "atlanta hawks"
CREATE TABLE table_name_56 (game INTEGER, opponent VARCHAR)
Can you tell me the highest Game that has the Opponent of atlanta hawks?
SELECT game FROM table_name_19 WHERE opponent = "miami heat"
CREATE TABLE table_name_19 (game VARCHAR, opponent VARCHAR)
Can you tell me the Game that has the Opponent of miami heat?
SELECT record FROM table_name_99 WHERE score = "100-105"
CREATE TABLE table_name_99 (record VARCHAR, score VARCHAR)
Can you tell me the Record that has the Score of 100-105?
SELECT opponent FROM table_name_63 WHERE location_attendance = "delta center/19,911" AND date = "dec 6"
CREATE TABLE table_name_63 (opponent VARCHAR, location_attendance VARCHAR, date VARCHAR)
Which Opponent has a Location/Attendance of delta center/19,911 on dec 6?
SELECT record FROM table_name_36 WHERE game = "17"
CREATE TABLE table_name_36 (record VARCHAR, game VARCHAR)
What is the Record for Game 17?
SELECT location_attendance FROM table_name_66 WHERE date = "dec 14"
CREATE TABLE table_name_66 (location_attendance VARCHAR, date VARCHAR)
What is the Location/Attendance on Dec 14?
SELECT record FROM table_name_49 WHERE date = "dec 10"
CREATE TABLE table_name_49 (record VARCHAR, date VARCHAR)
Which Record is dated Dec 10?
SELECT location_attendance FROM table_name_29 WHERE date = "dec 2"
CREATE TABLE table_name_29 (location_attendance VARCHAR, date VARCHAR)
What was the Location/Attendance on Dec 2?
SELECT rider FROM table_name_43 WHERE bike = "honda cbr1000rr" AND laps < 22 AND time = "+2 laps"
CREATE TABLE table_name_43 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR)
Who rode a Honda CBR1000rr, had fewer than 22 laps, and a time of +2 laps?
SELECT MAX(grid) FROM table_name_65 WHERE time = "+45.162"
CREATE TABLE table_name_65 (grid INTEGER, time VARCHAR)
What is the highest grid when the time is +45.162?
SELECT AVG(grid) FROM table_name_25 WHERE bike = "suzuki gsx-r1000" AND rider = "fonsi nieto"
CREATE TABLE table_name_25 (grid INTEGER, bike VARCHAR, rider VARCHAR)
What is Fonsi Nieto's average grid when he's riding a Suzuki GSX-R1000?
SELECT SUM(grid) FROM table_name_46 WHERE rider = "shinichi nakatomi"
CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR)
How many grids did Shinichi Nakatomi ride in?
SELECT tries_against FROM table_name_72 WHERE losing_bonus = "9"
CREATE TABLE table_name_72 (tries_against VARCHAR, losing_bonus VARCHAR)
How many tries against have a losing bonus of 9?
SELECT points_for FROM table_name_28 WHERE lost = "15"
CREATE TABLE table_name_28 (points_for VARCHAR, lost VARCHAR)
How many points were there for 15 losses?
SELECT played FROM table_name_74 WHERE points_against = "271"
CREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR)
For which play was the points 271?
SELECT points FROM table_name_35 WHERE try_bonus = "2"
CREATE TABLE table_name_35 (points VARCHAR, try_bonus VARCHAR)
How many points were there when the try bonus was 2?
SELECT 2007 AS _08_season FROM table_name_49 WHERE club = "genoa c.f.c."
CREATE TABLE table_name_49 (club VARCHAR)
Which 2007–08 season has a Club of genoa c.f.c.?
SELECT city FROM table_name_80 WHERE stadium = "stadio artemio franchi, florence"
CREATE TABLE table_name_80 (city VARCHAR, stadium VARCHAR)
Which City has a Stadium of stadio artemio franchi, florence?
SELECT description FROM table_name_40 WHERE reserve = "half moon caye"
CREATE TABLE table_name_40 (description VARCHAR, reserve VARCHAR)
What is the description when the reserve is Half Moon Caye?
SELECT district FROM table_name_44 WHERE iucn = "iii" AND est = 1998
CREATE TABLE table_name_44 (district VARCHAR, iucn VARCHAR, est VARCHAR)
Which district has an IUCN of iii and was established in 1998?
SELECT iucn FROM table_name_84 WHERE district = "cayo" AND reserve = "actun tunichil muknal"
CREATE TABLE table_name_84 (iucn VARCHAR, district VARCHAR, reserve VARCHAR)
What is the IUNC of district of Cayo and reserve of Actun Tunichil Muknal?
SELECT SUM(avg_finish) FROM table_name_80 WHERE poles < 0
CREATE TABLE table_name_80 (avg_finish INTEGER, poles INTEGER)
What is the sum of value for average finish with poles less than 0?
SELECT AVG(starts) FROM table_name_34 WHERE wins > 0 AND position = "32nd"
CREATE TABLE table_name_34 (starts INTEGER, wins VARCHAR, position VARCHAR)
What is the average start with wins larger than 0 and 32nd position?
SELECT specific_impulse__s_ FROM table_name_19 WHERE scenario = "sr-71 at mach 3.2 (wet)"
CREATE TABLE table_name_19 (specific_impulse__s_ VARCHAR, scenario VARCHAR)
What is the specific impulse for the engine with a scenario of sr-71 at mach 3.2 (wet)?
SELECT AVG(specific_impulse__s_) FROM table_name_66 WHERE sfc_in_lb__lbf·h_ = 7.95 AND effective_exhaust_velocity__m_s_ > 4 OFFSET 423
CREATE TABLE table_name_66 (specific_impulse__s_ INTEGER, sfc_in_lb__lbf·h_ VARCHAR, effective_exhaust_velocity__m_s_ VARCHAR)
what is the average specific impulse for engines that have a SFC in lb/(lbf·h) of 7.95, and a Effective exhaust velocity (m/s) larger than 4,423
SELECT college FROM table_name_72 WHERE round < 4
CREATE TABLE table_name_72 (college VARCHAR, round INTEGER)
The draft pick that was taken before round 4 went to what college?
SELECT player FROM table_name_80 WHERE college = "depaul"
CREATE TABLE table_name_80 (player VARCHAR, college VARCHAR)
What player went to DePaul University?
SELECT 1 AS st_round FROM table_name_65 WHERE team_1 = "sporting toulon var (d2)"
CREATE TABLE table_name_65 (team_1 VARCHAR)
What is 1st Round, when Team 1 is Sporting Toulon Var (D2)?
SELECT team_2 FROM table_name_86 WHERE score = "2 - 1"
CREATE TABLE table_name_86 (team_2 VARCHAR, score VARCHAR)
What is Team 2, when Score is 2 - 1?
SELECT viewers FROM table_name_1 WHERE event = "johnson vs. moraga"
CREATE TABLE table_name_1 (viewers VARCHAR, event VARCHAR)
What is Viewers, when Event is Johnson Vs. Moraga?
SELECT rating FROM table_name_23 WHERE event = "johnson vs. dodson"
CREATE TABLE table_name_23 (rating VARCHAR, event VARCHAR)
What is Rating, when Event is Johnson Vs. Dodson?
SELECT event FROM table_name_49 WHERE viewers = "2.4 million" AND rating = "1.4"
CREATE TABLE table_name_49 (event VARCHAR, viewers VARCHAR, rating VARCHAR)
What is Event, when Viewers is 2.4 Million, and when Rating is 1.4?
SELECT event FROM table_name_4 WHERE date = "april 20, 2013"
CREATE TABLE table_name_4 (event VARCHAR, date VARCHAR)
What is Event, when Date is April 20, 2013?
SELECT date FROM table_name_76 WHERE rating = "1.5" AND event = "johnson vs. moraga"
CREATE TABLE table_name_76 (date VARCHAR, rating VARCHAR, event VARCHAR)
What is Date, when Rating 1.5, and when Event is Johnson Vs. Moraga?
SELECT date FROM table_name_92 WHERE viewers = "4.4 million"
CREATE TABLE table_name_92 (date VARCHAR, viewers VARCHAR)
What is Date, when Viewers is 4.4 million?
SELECT score FROM table_name_57 WHERE player = "tiger woods"
CREATE TABLE table_name_57 (score VARCHAR, player VARCHAR)
What was Tiger Woods' score?
SELECT score FROM table_name_33 WHERE country = "united states" AND player = "justin leonard"
CREATE TABLE table_name_33 (score VARCHAR, country VARCHAR, player VARCHAR)
How did Justin Leonard of the United States score?