answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT owner FROM table_name_42 WHERE re_entered_service__p_ = "11 september 1985" AND pre_conversion = "t326" | CREATE TABLE table_name_42 (owner VARCHAR, re_entered_service__p_ VARCHAR, pre_conversion VARCHAR) | Who owns the item that was a T326 before conversion and re-entered service on 11 September 1985? |
SELECT re_entered_service__p_ FROM table_name_22 WHERE entered_service__t_ = "18 june 1956" AND pre_conversion = "t328" | CREATE TABLE table_name_22 (re_entered_service__p_ VARCHAR, entered_service__t_ VARCHAR, pre_conversion VARCHAR) | What date did the T328 that entered service on 18 June 1956 re-enter service? |
SELECT pre_conversion FROM table_name_16 WHERE owner = "v/line passenger" AND re_entered_service__p_ = "23 november 1984" | CREATE TABLE table_name_16 (pre_conversion VARCHAR, owner VARCHAR, re_entered_service__p_ VARCHAR) | Which of V/Line Passenger's pre-conversions re-entered service on 23 November 1984? |
SELECT owner FROM table_name_80 WHERE entered_service__t_ = "30 october 1956" | CREATE TABLE table_name_80 (owner VARCHAR, entered_service__t_ VARCHAR) | Who owns the locomotive that entered service on 30 October 1956? |
SELECT score FROM table_name_73 WHERE record = "50-85" | CREATE TABLE table_name_73 (score VARCHAR, record VARCHAR) | What was the score of the game when the record was 50-85? |
SELECT loss FROM table_name_65 WHERE record = "46-84" | CREATE TABLE table_name_65 (loss VARCHAR, record VARCHAR) | What was the loss of the game when the record was 46-84? |
SELECT record FROM table_name_61 WHERE loss = "cook (14β7)" | CREATE TABLE table_name_61 (record VARCHAR, loss VARCHAR) | What was the record at the game with a loss of Cook (14β7)? |
SELECT album FROM table_name_74 WHERE length = "4:53" | CREATE TABLE table_name_74 (album VARCHAR, length VARCHAR) | What album is 4:53 long? |
SELECT 1989 FROM table_name_42 WHERE 1986 = "99" | CREATE TABLE table_name_42 (Id VARCHAR) | Which 1989 has a 1986 of 99? |
SELECT 1983 FROM table_name_2 WHERE tournament = "wimbledon" | CREATE TABLE table_name_2 (tournament VARCHAR) | Which 1983 has a Tournament of wimbledon? |
SELECT tournament FROM table_name_11 WHERE 1987 = "a" | CREATE TABLE table_name_11 (tournament VARCHAR) | Which Tournament has A in 1987? |
SELECT 1988 FROM table_name_54 WHERE 1985 = "2r" | CREATE TABLE table_name_54 (Id VARCHAR) | Which 1988 has a 1985 of 2r? |
SELECT 1988 FROM table_name_46 WHERE 1982 = "104" | CREATE TABLE table_name_46 (Id VARCHAR) | Which 1988 has a 1982 of 104? |
SELECT tournament FROM table_name_26 WHERE 1984 = "1r" | CREATE TABLE table_name_26 (tournament VARCHAR) | Which Tournament has a 1984 of 1r? |
SELECT release_price___usd__ FROM table_name_69 WHERE release_date = "2008 q3" | CREATE TABLE table_name_69 (release_price___usd__ VARCHAR, release_date VARCHAR) | Release date of 2008 q3 has what release price? |
SELECT socket FROM table_name_91 WHERE frequency = "1.2 ghz" AND release_price___usd__ = "$70" | CREATE TABLE table_name_91 (socket VARCHAR, frequency VARCHAR, release_price___usd__ VARCHAR) | Frequency of 1.2 ghz, and a Release price ( USD ) of $70 is what socket? |
SELECT mult FROM table_name_3 WHERE socket = "fcbga1088" AND voltage = "1v" AND part_number_s_ = "nu80579ez600cnu80579ez600ct" | CREATE TABLE table_name_3 (mult VARCHAR, part_number_s_ VARCHAR, socket VARCHAR, voltage VARCHAR) | Socket of fcbga1088, and a Voltage of 1v, and a Part number(s) of nu80579ez600cnu80579ez600ct is what mult? |
SELECT mult FROM table_name_85 WHERE sspec_number = "slj6d(b1)slj6f(b1)" | CREATE TABLE table_name_85 (mult VARCHAR, sspec_number VARCHAR) | Spec number of slj6d(b1)slj6f(b1) has what mult.? |
SELECT release_price___usd__ FROM table_name_63 WHERE socket = "without quickassist" | CREATE TABLE table_name_63 (release_price___usd__ VARCHAR, socket VARCHAR) | Socket of without quickassist has what release price? |
SELECT release_price___usd__ FROM table_name_3 WHERE release_date = "2008 q3" AND part_number_s_ = "nu80579ez009c" | CREATE TABLE table_name_3 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR) | Release date of 2008 q3, and a Part number(s) of nu80579ez009c has what Release price ( USD )? |
SELECT MIN(hong_kong) FROM table_name_52 WHERE brisbane = 0 AND kuala_lumpur > 0 | CREATE TABLE table_name_52 (hong_kong INTEGER, brisbane VARCHAR, kuala_lumpur VARCHAR) | What is the lowest Hong Kong value with a 0 Brisbane value and a greater than 0 Kuala Lumpur value? |
SELECT MAX(kuala_lumpur) FROM table_name_82 WHERE durban < 1 AND mar_del_plata > 0 | CREATE TABLE table_name_82 (kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR) | What is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del Plata value greater than 0? |
SELECT MAX(new_zealand) FROM table_name_47 WHERE hong_kong < 0 | CREATE TABLE table_name_47 (new_zealand INTEGER, hong_kong INTEGER) | What is the highest New Zealand value with a Hong Kong value less than 0? |
SELECT AVG(singapore) FROM table_name_80 WHERE london < 0 | CREATE TABLE table_name_80 (singapore INTEGER, london INTEGER) | What is the average Singapore value with a London value less than 0? |
SELECT position FROM table_name_61 WHERE country = "canada" AND pick = "8" | CREATE TABLE table_name_61 (position VARCHAR, country VARCHAR, pick VARCHAR) | What position was picked for Canada on Pick 8? |
SELECT position FROM table_name_41 WHERE year = 2011 | CREATE TABLE table_name_41 (position VARCHAR, year VARCHAR) | What is the position that is shown for 2011? |
SELECT language FROM table_name_27 WHERE film_name = "seethaiah" | CREATE TABLE table_name_27 (language VARCHAR, film_name VARCHAR) | what language is seethaiah in |
SELECT producer FROM table_name_74 WHERE role = "rizzette" | CREATE TABLE table_name_74 (producer VARCHAR, role VARCHAR) | Which Producer has a Role of rizzette? |
SELECT title FROM table_name_39 WHERE director = "rowell santiago" | CREATE TABLE table_name_39 (title VARCHAR, director VARCHAR) | Which Title has a Director of rowell santiago? |
SELECT year FROM table_name_41 WHERE producer = "viva films" AND title = "magkapatid" | CREATE TABLE table_name_41 (year VARCHAR, producer VARCHAR, title VARCHAR) | Which Year has a Producer of viva films, and a Title of magkapatid? |
SELECT director FROM table_name_80 WHERE role = "melissa" | CREATE TABLE table_name_80 (director VARCHAR, role VARCHAR) | Which Director has a Role of melissa? |
SELECT 1990 AS _91 FROM table_name_34 WHERE average = 1.035 | CREATE TABLE table_name_34 (average VARCHAR) | Which 1990-91 has an average number of 1.035? |
SELECT result FROM table_name_90 WHERE week > 13 | CREATE TABLE table_name_90 (result VARCHAR, week INTEGER) | What results has a week larger than 13? |
SELECT result FROM table_name_79 WHERE week < 2 | CREATE TABLE table_name_79 (result VARCHAR, week INTEGER) | What results has a week smaller than 2? |
SELECT score FROM table_name_71 WHERE game = 30 | CREATE TABLE table_name_71 (score VARCHAR, game VARCHAR) | What was the score for game number 30? |
SELECT SUM(game) FROM table_name_91 WHERE score = "103β126" | CREATE TABLE table_name_91 (game INTEGER, score VARCHAR) | What is the sum for the game with a score of 103β126? |
SELECT MIN(game) FROM table_name_93 WHERE record = "3β33" | CREATE TABLE table_name_93 (game INTEGER, record VARCHAR) | What is the lowest game number that has a Record of 3β33? |
SELECT score FROM table_name_18 WHERE february = 21 | CREATE TABLE table_name_18 (score VARCHAR, february VARCHAR) | what score was on february 21 |
SELECT nationality FROM table_name_20 WHERE college_junior_club_team__league_ = "ohio state university (ncaa)" | CREATE TABLE table_name_20 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR) | What is the nationality of the player from the Ohio State University (NCAA) Team? |
SELECT MIN(round) FROM table_name_97 WHERE college_junior_club_team__league_ = "kitchener rangers (oha)" | CREATE TABLE table_name_97 (round INTEGER, college_junior_club_team__league_ VARCHAR) | What is the lowest round of the Kitchener Rangers (OHA)? |
SELECT position FROM table_name_58 WHERE player = "pierre daigneault" | CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR) | What is the position of Pierre Daigneault? |
SELECT AVG(2006) FROM table_name_26 WHERE 2010 = 417.9 AND 2011 > 426.7 | CREATE TABLE table_name_26 (Id VARCHAR) | What is the average 2006 value with a 2010 value of 417.9 and a 2011 value greater than 426.7? |
SELECT COUNT(2011) FROM table_name_45 WHERE 2008 > 346.5 AND 2009 = 392 AND 2010 > 354.6 | CREATE TABLE table_name_45 (Id VARCHAR) | What is the 2011 total with a 2008 value greater than 346.5, a 2009 value of 392, and a 2010 value bigger than 354.6? |
SELECT COUNT(2008) FROM table_name_53 WHERE 2006 > 322.7 AND 2011 = 353.9 AND 2009 < 392 | CREATE TABLE table_name_53 (Id VARCHAR) | What is the total 2008 value with a 2006 value greater than 322.7, a 353.9 in 2011, and a 2009 less than 392? |
SELECT MAX(2009) FROM table_name_10 WHERE 2006 < 280.4 AND 2007 < 2.2 AND 2010 < 3.5 | CREATE TABLE table_name_10 (Id VARCHAR) | What is the highest 2009 value with a 2006 value smaller than 280.4, a 2007 less than 2.2, and a 2011 less than 3.5? |
SELECT AVG(2007) FROM table_name_19 WHERE 2009 > 2.8 AND 2010 = 4.9 AND 2006 < 2.5 | CREATE TABLE table_name_19 (Id VARCHAR) | What is the average 2007 value with a 2009 value greater than 2.8, a 4.9 in 2010, and a 2006 less than 2.5? |
SELECT COUNT(2006) FROM table_name_95 WHERE 2010 > 417.9 | CREATE TABLE table_name_95 (Id VARCHAR) | What is the 2006 total with a 2010 value greater than 417.9? |
SELECT date FROM table_name_19 WHERE opponent = "@ philadelphia phillies" AND attendance = "20,072" | CREATE TABLE table_name_19 (date VARCHAR, opponent VARCHAR, attendance VARCHAR) | when has an Opponent of @ philadelphia phillies and an Attendance of 20,072? |
SELECT opponent FROM table_name_19 WHERE date = "april 28" | CREATE TABLE table_name_19 (opponent VARCHAR, date VARCHAR) | Which Opponent is on april 28? |
SELECT record FROM table_name_62 WHERE attendance = "24,597" | CREATE TABLE table_name_62 (record VARCHAR, attendance VARCHAR) | Which Record has an Attendance of 24,597? |
SELECT record FROM table_name_44 WHERE loss = "o'connor (0-1)" | CREATE TABLE table_name_44 (record VARCHAR, loss VARCHAR) | Which Record has a Loss of o'connor (0-1)? |
SELECT attendance FROM table_name_24 WHERE loss = "drese (0-2)" | CREATE TABLE table_name_24 (attendance VARCHAR, loss VARCHAR) | which attendance has a Loss of drese (0-2)? |
SELECT MAX(2 AS nd__m_) FROM table_name_14 WHERE rank > 2 AND points > 249.3 | CREATE TABLE table_name_14 (rank VARCHAR, points VARCHAR) | What is the highest 2nd in (m) that has a Rank more than 2 and Points more than 249.3 |
SELECT first_elected FROM table_name_45 WHERE result = "re-elected" AND district = "south carolina 1" | CREATE TABLE table_name_45 (first_elected VARCHAR, result VARCHAR, district VARCHAR) | What is the first date of election for the incumbent that was re-elected in the South Carolina 1 district? |
SELECT incumbent FROM table_name_43 WHERE first_elected = "1876" | CREATE TABLE table_name_43 (incumbent VARCHAR, first_elected VARCHAR) | Who was the incumbent who was first elected in 1876? |
SELECT incumbent FROM table_name_84 WHERE party = "democratic" AND district = "south carolina 5" | CREATE TABLE table_name_84 (incumbent VARCHAR, party VARCHAR, district VARCHAR) | Who was the Democratic incumbent in the South Carolina 5 District? |
SELECT first_elected FROM table_name_98 WHERE district = "south carolina 4" | CREATE TABLE table_name_98 (first_elected VARCHAR, district VARCHAR) | What is the first elected date for the incumbent in the South Carolina 4 district? |
SELECT area__km_2__ FROM table_name_1 WHERE telephone__052_ = "3862279" | CREATE TABLE table_name_1 (area__km_2__ VARCHAR, telephone__052_ VARCHAR) | Which area has a telephone of (052) of 3862279? |
SELECT driver FROM table_name_40 WHERE points > 252 AND season = "2012" AND percentage_of_possible_points = "55.60%" | CREATE TABLE table_name_40 (driver VARCHAR, percentage_of_possible_points VARCHAR, points VARCHAR, season VARCHAR) | Which driver had points over 252 in the season of 2012 with a percentage of possible points at 55.60%? |
SELECT SUM(races) FROM table_name_28 WHERE points = 257 | CREATE TABLE table_name_28 (races INTEGER, points VARCHAR) | What is the number of races that took place with points of 257? |
SELECT SUM(points) FROM table_name_72 WHERE races = 20 AND driver = "fernando alonso" | CREATE TABLE table_name_72 (points INTEGER, races VARCHAR, driver VARCHAR) | What is the number of points that driver fernando alonso has in the season he had 20 races? |
SELECT AVG(points) FROM table_name_15 WHERE driver = "fernando alonso" AND percentage_of_possible_points = "53.05%" | CREATE TABLE table_name_15 (points INTEGER, driver VARCHAR, percentage_of_possible_points VARCHAR) | What was the average Points of the season driver Fernando Alonso had a percentage of possible points of 53.05%? |
SELECT position FROM table_name_93 WHERE pick = 217 | CREATE TABLE table_name_93 (position VARCHAR, pick VARCHAR) | What position has 217 as the pick? |
SELECT score FROM table_name_36 WHERE record = "18-21-7" | CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR) | Which score has a record of 18-21-7? |
SELECT MIN(apps) FROM table_name_86 WHERE season = "2009" AND division < 1 | CREATE TABLE table_name_86 (apps INTEGER, season VARCHAR, division VARCHAR) | What is the lowest value for apps in 2009 season in a division less than 1? |
SELECT SUM(goals) FROM table_name_48 WHERE team = "torpedo moscow" AND division = 1 AND apps < 29 | CREATE TABLE table_name_48 (goals INTEGER, apps VARCHAR, team VARCHAR, division VARCHAR) | What is the sum of goals for Torpedo Moscow in division 1 with an apps value less than 29? |
SELECT remixed_by FROM table_name_80 WHERE version = "album version" AND album = "les mots" | CREATE TABLE table_name_80 (remixed_by VARCHAR, version VARCHAR, album VARCHAR) | Which Remixed by has a Version of album version, and an Album of les mots? |
SELECT length FROM table_name_74 WHERE year = 1986 AND version = "instrumental" | CREATE TABLE table_name_74 (length VARCHAR, year VARCHAR, version VARCHAR) | How long was the instrumental version in 1986? |
SELECT remixed_by FROM table_name_51 WHERE year = 1986 AND version = "long version" | CREATE TABLE table_name_51 (remixed_by VARCHAR, year VARCHAR, version VARCHAR) | Which long version was remixed in 1986? |
SELECT lead FROM table_name_76 WHERE country = "canada" | CREATE TABLE table_name_76 (lead VARCHAR, country VARCHAR) | Who was Canada's lead? |
SELECT skip FROM table_name_68 WHERE country = "canada" | CREATE TABLE table_name_68 (skip VARCHAR, country VARCHAR) | What was Canada's skip? |
SELECT country FROM table_name_50 WHERE lead = "sarah wazney" | CREATE TABLE table_name_50 (country VARCHAR, lead VARCHAR) | Which country has a Lead of sarah wazney? |
SELECT lead FROM table_name_56 WHERE third = "jeanne ellegaard" | CREATE TABLE table_name_56 (lead VARCHAR, third VARCHAR) | Which Lead has a Third of jeanne ellegaard? |
SELECT skip FROM table_name_39 WHERE third = "sara carlsson" | CREATE TABLE table_name_39 (skip VARCHAR, third VARCHAR) | Which Skip has a Third of sara carlsson? |
SELECT skip FROM table_name_21 WHERE second = "vicki adams" | CREATE TABLE table_name_21 (skip VARCHAR, second VARCHAR) | Which Skip has a Second of vicki adams? |
SELECT SUM(enrollment) FROM table_name_72 WHERE school = "south central (union mills)" | CREATE TABLE table_name_72 (enrollment INTEGER, school VARCHAR) | Enrollment that has a School of south central (union mills) has what sum? |
SELECT city FROM table_name_17 WHERE mascot = "blazers" | CREATE TABLE table_name_17 (city VARCHAR, mascot VARCHAR) | Mascot of blazers involves what city? |
SELECT school FROM table_name_83 WHERE county = "46 laporte" | CREATE TABLE table_name_83 (school VARCHAR, county VARCHAR) | County of 46 laporte is what school? |
SELECT AVG(laps) FROM table_name_56 WHERE time = "spun off" | CREATE TABLE table_name_56 (laps INTEGER, time VARCHAR) | What is the average Laps that shows spun off for time? |
SELECT AVG(laps) FROM table_name_76 WHERE grid > 1 AND team = "mexico" | CREATE TABLE table_name_76 (laps INTEGER, grid VARCHAR, team VARCHAR) | What is the average Laps for the Mexico team with a grid number of more than 1? |
SELECT driver FROM table_name_85 WHERE time = "+13.315" | CREATE TABLE table_name_85 (driver VARCHAR, time VARCHAR) | What is name of the drive with a Time of +13.315? |
SELECT COUNT(grid) FROM table_name_6 WHERE laps = 14 AND time = "+29.483" | CREATE TABLE table_name_6 (grid VARCHAR, laps VARCHAR, time VARCHAR) | What is the total grid number that has 14 laps and a time of +29.483? |
SELECT COUNT(laps) FROM table_name_39 WHERE time = "collision" AND team = "switzerland" AND grid < 11 | CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR, time VARCHAR, team VARCHAR) | What is the total number of Laps when collision shows for time for Switzerland and less than 11 for grid? |
SELECT time___et__ FROM table_name_67 WHERE week > 4 AND opponent = "baltimore ravens" | CREATE TABLE table_name_67 (time___et__ VARCHAR, week VARCHAR, opponent VARCHAR) | What is the time of the game after week 4 against the Baltimore Ravens? |
SELECT nominated_work FROM table_name_24 WHERE award = "seattle international film festival" | CREATE TABLE table_name_24 (nominated_work VARCHAR, award VARCHAR) | What nominated work has seattle international film festival as the award? |
SELECT award FROM table_name_52 WHERE category = "breakthrough performance" | CREATE TABLE table_name_52 (award VARCHAR, category VARCHAR) | What award has breakthrough performance as the category? |
SELECT category FROM table_name_9 WHERE award = "showest award" | CREATE TABLE table_name_9 (category VARCHAR, award VARCHAR) | What category has showest award for the category awards? |
SELECT category FROM table_name_33 WHERE year > 2004 | CREATE TABLE table_name_33 (category VARCHAR, year INTEGER) | What category has a year after 2004? |
SELECT opponent FROM table_name_67 WHERE score = "6-3, 6-2" | CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR) | Which Opponent had a Score of 6-3, 6-2? |
SELECT score FROM table_name_53 WHERE opponent = "chris evert-lloyd" | CREATE TABLE table_name_53 (score VARCHAR, opponent VARCHAR) | Which Score had an Opponent of chris evert-lloyd? |
SELECT surface FROM table_name_45 WHERE opponent = "chris evert-lloyd" | CREATE TABLE table_name_45 (surface VARCHAR, opponent VARCHAR) | Which Surface had an Opponent of chris evert-lloyd? |
SELECT surface FROM table_name_14 WHERE date = "june 13, 1983" | CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR) | Which Surface had a Date of june 13, 1983? |
SELECT MAX(crowd) FROM table_name_25 WHERE home_team = "geelong" | CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR) | What was the highest attendance for a game where Geelong was the home team? |
SELECT away_team AS score FROM table_name_83 WHERE home_team = "brisbane lions" | CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR) | What was the away team score when the home team was the Brisbane Lions? |
SELECT MAX(crowd) FROM table_name_30 WHERE ground = "telstra dome" AND home_team = "western bulldogs" | CREATE TABLE table_name_30 (crowd INTEGER, ground VARCHAR, home_team VARCHAR) | What was the largest attendance at the Telstra Dome, when the home team was the Western Bulldogs? |
SELECT SUM(total_cargo__metric_tonnes_) FROM table_name_13 WHERE code__iata_icao_ = "pvg/zspd" AND rank < 3 | CREATE TABLE table_name_13 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR) | What is the full amount of Total Cargo (in Metric Tonnes) where the Code (IATA/ICAO) is pvg/zspd, and the rank is less than 3? |
SELECT date FROM table_name_7 WHERE site = "memorial stadium β’ minneapolis, mn" AND attendance = "20,000" AND result = "w52-0" | CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR) | What is the Date at memorial stadium β’ minneapolis, mn with an Attendance of 20,000, and a Result of w52-0? |
SELECT opponent_number FROM table_name_25 WHERE site = "memorial stadium β’ minneapolis, mn" AND date = "10/20/1928" | CREATE TABLE table_name_25 (opponent_number VARCHAR, site VARCHAR, date VARCHAR) | What is the Opponent name at memorial stadium β’ minneapolis, mn on 10/20/1928? |
SELECT attendance FROM table_name_15 WHERE opponent_number = "purdue" | CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR) | What is the Attendance number when the Opponent was purdue? |
SELECT site FROM table_name_92 WHERE result = "w52-0" | CREATE TABLE table_name_92 (site VARCHAR, result VARCHAR) | What is the Site when the Result was w52-0? |
Subsets and Splits