answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT recorded FROM table_name_84 WHERE track > 20 AND release_date = "6/6/77" AND time = "2:50"
Tell me the recorded for time of 2:50 and released date of 6/6/77 with track more than 20
CREATE TABLE table_name_84 (recorded VARCHAR, time VARCHAR, track VARCHAR, release_date VARCHAR)
SELECT nationality² FROM table_24565004_7 WHERE name = "Louis Floch"
What is the nationality of Louis floch
CREATE TABLE table_24565004_7 (nationality² VARCHAR, name VARCHAR)
SELECT directed_by FROM table_2226817_7 WHERE original_air_date = "January 19, 1992"
If the original air date January 19, 1992, who was the episode directed by?
CREATE TABLE table_2226817_7 (directed_by VARCHAR, original_air_date VARCHAR)
SELECT AVG(week) FROM table_name_86 WHERE date = "november 11, 1962"
What week had a game that was played on November 11, 1962?
CREATE TABLE table_name_86 (week INTEGER, date VARCHAR)
SELECT COUNT(year) FROM table_name_9 WHERE category = "best actress in a revival"
How many years had the best actress in a Revival category?
CREATE TABLE table_name_9 (year VARCHAR, category VARCHAR)
SELECT director FROM table_name_14 WHERE year = 1935 AND role = "shelby barret wyatt"
What director directed the role of shelby barret wyatt in 1935?
CREATE TABLE table_name_14 (director VARCHAR, year VARCHAR, role VARCHAR)
SELECT score FROM table_name_96 WHERE opponent_in_the_final = "paul goldstein"
What was the final score of the Paul Goldstein match?
CREATE TABLE table_name_96 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE artist = "K.Maro"
How many weeks was K.Maro at #1?
CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, artist VARCHAR)
SELECT region FROM table_name_5 WHERE catalog = "magik muzik 805-5"
What Region was the Catalog magik muzik 805-5 released in?
CREATE TABLE table_name_5 (region VARCHAR, catalog VARCHAR)
SELECT COUNT(DISTINCT Name) FROM PHOTOS
How many distinct names are associated with all the photos?
CREATE TABLE PHOTOS (Name VARCHAR)
SELECT country FROM table_name_61 WHERE abbreviation = "kia"
Which country has an abbreviation of kia?
CREATE TABLE table_name_61 (country VARCHAR, abbreviation VARCHAR)
SELECT horizontal_0_a FROM table_25519358_1 WHERE name = "通 TONG"
Name the horizontal 0 for 通 tong
CREATE TABLE table_25519358_1 (horizontal_0_a VARCHAR, name VARCHAR)
SELECT loss FROM table_name_85 WHERE date = "may 25"
Who took the loss on May 25?
CREATE TABLE table_name_85 (loss VARCHAR, date VARCHAR)
SELECT report FROM table_21191496_1 WHERE circuit = "Autodromo Nazionale Monza"
When autodromo nazionale monza is the circuit what is the report?
CREATE TABLE table_21191496_1 (report VARCHAR, circuit VARCHAR)
SELECT number FROM table_name_46 WHERE points < 32 AND steals = 0
What number has 0 steals and less than 32 points?
CREATE TABLE table_name_46 (number VARCHAR, points VARCHAR, steals VARCHAR)
SELECT MAX(goals) FROM table_name_74 WHERE team = "getafe cf"
For Getafe CF, what is the highest number of goals scored?
CREATE TABLE table_name_74 (goals INTEGER, team VARCHAR)
SELECT outcome FROM table_name_32 WHERE surface = "carpet (i)" AND date = "15 november 1993"
What is Outcome, when Surface is "Carpet (I)", and when Date is "15 November 1993"?
CREATE TABLE table_name_32 (outcome VARCHAR, surface VARCHAR, date VARCHAR)
SELECT title FROM table_name_75 WHERE production_code = "k1504"
What is the title of the episode with a production code of K1504?
CREATE TABLE table_name_75 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(rank) FROM table_211714_2 WHERE season = 6
Name the number of rank for season 6
CREATE TABLE table_211714_2 (rank VARCHAR, season VARCHAR)
SELECT opponent FROM table_1341568_14 WHERE incumbent = "Henry Hyde"
Who was Henry Hyde's opponent in the race?
CREATE TABLE table_1341568_14 (opponent VARCHAR, incumbent VARCHAR)
SELECT score FROM table_name_40 WHERE place = "t8" AND player = "orville moody"
What is Score, when Place is "T8", and when Player is "Orville Moody"?
CREATE TABLE table_name_40 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT production_period FROM table_1245350_1 WHERE units_produced = 668
When were 668 units produced?
CREATE TABLE table_1245350_1 (production_period VARCHAR, units_produced VARCHAR)
SELECT name FROM table_name_78 WHERE overall = 235
Which Name has an Overall of 235?
CREATE TABLE table_name_78 (name VARCHAR, overall VARCHAR)
SELECT player FROM table_name_55 WHERE to_par = "+7" AND score = 69 - 69 - 75 - 74 = 287
What player has +7 as the to par, and 69-69-75-74=287 as the score?
CREATE TABLE table_name_55 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT location FROM table_26681728_1 WHERE score_final = "15.050"
Where did the event with a final score of 15.050 occur?
CREATE TABLE table_26681728_1 (location VARCHAR, score_final VARCHAR)
SELECT doha_, _qatar FROM table_name_17 WHERE snatch = "total"
What is the Doha, Qatar when the snatch is total?
CREATE TABLE table_name_17 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR)
SELECT skip FROM table_name_21 WHERE second = "vicki adams"
Which Skip has a Second of vicki adams?
CREATE TABLE table_name_21 (skip VARCHAR, second VARCHAR)
SELECT year FROM table_name_57 WHERE silver = "yuri omeltchenko"
What year did Yuri Omeltchenko win Silver?
CREATE TABLE table_name_57 (year VARCHAR, silver VARCHAR)
SELECT AVG(rank) FROM table_name_97 WHERE sales__billion_$_ > 146.56 AND profits__billion_$_ = 11.68
What is the average rank of the company with more than 146.56 billion in sales and profits of 11.68 billions?
CREATE TABLE table_name_97 (rank INTEGER, sales__billion_$_ VARCHAR, profits__billion_$_ VARCHAR)
SELECT MAX(score) FROM table_name_69 WHERE player = "arnold palmer"
How high did Arnold Palmer score in 1962?
CREATE TABLE table_name_69 (score INTEGER, player VARCHAR)
SELECT wickets FROM table_28797906_3 WHERE economy = "3.64"
How many wickets was there when the economy was 3.64?
CREATE TABLE table_28797906_3 (wickets VARCHAR, economy VARCHAR)
SELECT score FROM table_name_11 WHERE competition_round = "copa libertadores group 3" AND date = "2 february 1994"
What is the score of the copa libertadores group 3 competition round on 2 February 1994?
CREATE TABLE table_name_11 (score VARCHAR, competition_round VARCHAR, date VARCHAR)
SELECT kick_off FROM table_name_23 WHERE round = "r4"
What was the kickoff date for the round value of R4?
CREATE TABLE table_name_23 (kick_off VARCHAR, round VARCHAR)
SELECT away_team FROM table_name_33 WHERE home_team = "south melbourne"
What away team played when the home team was south melbourne?
CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)
SELECT record FROM table_name_26 WHERE home = "ny islanders"
Can you tell me the Record that has the Home of ny islanders?
CREATE TABLE table_name_26 (record VARCHAR, home VARCHAR)
SELECT COUNT(byes) FROM table_name_12 WHERE wins < 11 AND wimmera_fl = "minyip murtoa" AND losses < 6
How many Byes have Wins smaller than 11, and a Wimmera FL of minyip murtoa, and Losses smaller than 6?
CREATE TABLE table_name_12 (byes VARCHAR, losses VARCHAR, wins VARCHAR, wimmera_fl VARCHAR)
SELECT ratt FROM table_name_85 WHERE year = "1983"
In 1983, what was the RAtt?
CREATE TABLE table_name_85 (ratt VARCHAR, year VARCHAR)
SELECT points FROM table_name_95 WHERE winner = "bill benson"
How many points when Bill Benson was the winner?
CREATE TABLE table_name_95 (points VARCHAR, winner VARCHAR)
SELECT cubic_inches__exact_ FROM table_name_9 WHERE metric_value = "104.955 l"
What are the exact Cubic inches of the Metric value of 104.955 L?
CREATE TABLE table_name_9 (cubic_inches__exact_ VARCHAR, metric_value VARCHAR)
SELECT pressure FROM table_10602294_1 WHERE deaths = "95km/h (60mph)"
What was the cyclone's pressure in the storm that death was equal to 95km/h (60mph)?
CREATE TABLE table_10602294_1 (pressure VARCHAR, deaths VARCHAR)
SELECT stage__winner_ FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini"
WHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION?
CREATE TABLE table_21804557_18 (stage__winner_ VARCHAR, metas_volantes_classification VARCHAR)
SELECT 20 AS _questions FROM table_name_21 WHERE cover_model = "kimberley conrad hefner"
Who was the 20 Questions section aimed at when Cover Model was Kimberley Conrad Hefner?
CREATE TABLE table_name_21 (cover_model VARCHAR)
SELECT MAX(yards) FROM table_name_51 WHERE rec < 54 AND long < 5 AND player = "todd herremans" AND avg > 1
Which Yards is the highest one that has a Rec smaller than 54, and a Long smaller than 5, and a Player of todd herremans, and an Avg larger than 1?
CREATE TABLE table_name_51 (yards INTEGER, avg VARCHAR, player VARCHAR, rec VARCHAR, long VARCHAR)
SELECT MAX(silver) FROM table_name_15 WHERE nation = "russia" AND bronze > 5
What is the highest silver medals for Russia with more than 5 bronze medals?
CREATE TABLE table_name_15 (silver INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT location_attendance FROM table_23284271_11 WHERE game = 4
Name the location attendance for 4 game
CREATE TABLE table_23284271_11 (location_attendance VARCHAR, game VARCHAR)
SELECT place FROM table_name_47 WHERE player = "ed oliver"
Name the place for ed oliver
CREATE TABLE table_name_47 (place VARCHAR, player VARCHAR)
SELECT title FROM table_name_4 WHERE from_album = "tough talk" AND label - Nr = x - 371
Which Title has an album of tough talk, and a Label-Nr of x-371?
CREATE TABLE table_name_4 (title VARCHAR, from_album VARCHAR, label VARCHAR, Nr VARCHAR, x VARCHAR)
SELECT high_rebounds FROM table_name_58 WHERE location_attendance = "conseco fieldhouse 11,964"
What is the highest rebounds that has conseco fieldhouse 11,964 as the location attendance?
CREATE TABLE table_name_58 (high_rebounds VARCHAR, location_attendance VARCHAR)
SELECT country FROM table_name_29 WHERE total < 290 AND year_s__won = "1960"
What is Country, when Total is less than 290, and when Year(s) Won is 1960?
CREATE TABLE table_name_29 (country VARCHAR, total VARCHAR, year_s__won VARCHAR)
SELECT children_together FROM table_24143253_1 WHERE length_of_marriage = "9 years"
Name the children together for 9 years of marriage
CREATE TABLE table_24143253_1 (children_together VARCHAR, length_of_marriage VARCHAR)
SELECT the_icelandic_of_the_glossary FROM table_13003460_1 WHERE the_basque_of_the_glossary = "presenta for mi locaria"
What is the iclandic of the glossary for presenta for mi locaria
CREATE TABLE table_13003460_1 (the_icelandic_of_the_glossary VARCHAR, the_basque_of_the_glossary VARCHAR)
SELECT 2009 FROM table_name_77 WHERE 2012 = "1r" AND tournament = "wimbledon" AND 2011 = "2r"
What is the 2009 for 2012 1R in Wimbledon and a 2011 2r?
CREATE TABLE table_name_77 (tournament VARCHAR)
SELECT championship FROM table_26202788_7 WHERE opponent_in_the_final = "Marat Safin"
Marat Safin is the opponent in the final in what championship?
CREATE TABLE table_26202788_7 (championship VARCHAR, opponent_in_the_final VARCHAR)
SELECT score_in_the_final FROM table_name_48 WHERE partner = "tomas behrend"
What is Partner Tomas Behrend's Score in the final?
CREATE TABLE table_name_48 (score_in_the_final VARCHAR, partner VARCHAR)
SELECT away_team FROM table_name_49 WHERE home_team = "geelong"
What was the away team that played the home team of Geelong?
CREATE TABLE table_name_49 (away_team VARCHAR, home_team VARCHAR)
SELECT regular_season FROM table_name_64 WHERE league = "npsl" AND year = "2008"
WHICH Regular Season has a League of npsl, and a Year of 2008?
CREATE TABLE table_name_64 (regular_season VARCHAR, league VARCHAR, year VARCHAR)
SELECT MIN(size) FROM table_name_94 WHERE school = "international"
What is the size of the International school?
CREATE TABLE table_name_94 (size INTEGER, school VARCHAR)
SELECT film FROM table_name_21 WHERE year < 2002 AND category = "outstanding actress"
what is the film when the year is earlier than 2002 and the category is outstanding actress?
CREATE TABLE table_name_21 (film VARCHAR, year VARCHAR, category VARCHAR)
SELECT COUNT(singles_w_l) FROM table_10023387_1 WHERE doubles_w_l = "0–0" AND total_w_l = "3–1"
what's the total number of singles w-l with doubles w-l of 0–0 and total w-l of 3–1
CREATE TABLE table_10023387_1 (singles_w_l VARCHAR, doubles_w_l VARCHAR, total_w_l VARCHAR)
SELECT character FROM table_name_10 WHERE portrayed_by = "elias koteas"
Which character is portrayed by Elias Koteas?
CREATE TABLE table_name_10 (character VARCHAR, portrayed_by VARCHAR)
SELECT laps FROM table_name_37 WHERE time = "+28.778"
What laps have a Time of +28.778?
CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR)
SELECT institution FROM table_name_22 WHERE team_nickname = "lakers"
what is the institution when the team nickname is lakers?
CREATE TABLE table_name_22 (institution VARCHAR, team_nickname VARCHAR)
SELECT winning_score FROM table_name_9 WHERE runner_s__up = "neal briggs"
What was the winning score when the runner-up was Neal Briggs?
CREATE TABLE table_name_9 (winning_score VARCHAR, runner_s__up VARCHAR)
SELECT date FROM table_name_90 WHERE save = "||20,599||32-37"
When have a Save of ||20,599||32-37?
CREATE TABLE table_name_90 (date VARCHAR, save VARCHAR)
SELECT MIN(erp_w) FROM table_name_58 WHERE frequency_mhz = 91.3
Which ERP W is the lowest one that has a Frequency MHz of 91.3?
CREATE TABLE table_name_58 (erp_w INTEGER, frequency_mhz VARCHAR)
SELECT T1.Name, T3.Visit_Date FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = "Vincent" OR T2.Tourist_Details = "Vivian"
What are the names of the tourist attractions and the dates when the tourists named Vincent or Vivian visited there?
CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE VISITS (Visit_Date VARCHAR, Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
SELECT record FROM table_13762472_4 WHERE date = "December 29"
what's the record with date being december 29
CREATE TABLE table_13762472_4 (record VARCHAR, date VARCHAR)
SELECT rider FROM table_name_43 WHERE time_retired = "accident"
Who is the rider whose time/retired is accident?
CREATE TABLE table_name_43 (rider VARCHAR, time_retired VARCHAR)
SELECT AVG(pieces) FROM table_name_14 WHERE start = "1941" AND release > 2001
What is the average number of pieces for boards that started in 1941 and were released after 2001?
CREATE TABLE table_name_14 (pieces INTEGER, start VARCHAR, release VARCHAR)
SELECT team FROM table_name_76 WHERE high_assists = "brad miller (8)"
What team has brad miller (8) as the high assists?
CREATE TABLE table_name_76 (team VARCHAR, high_assists VARCHAR)
SELECT label FROM table_name_47 WHERE date = "1988" AND catalog = "54513"
Which label had a catalog of 54513 in 1988?
CREATE TABLE table_name_47 (label VARCHAR, date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_76 WHERE week = 9
What was the date of the week 9 game?
CREATE TABLE table_name_76 (date VARCHAR, week VARCHAR)
SELECT MIN(game) FROM table_name_45 WHERE date = "november 1"
What is the lowest Game, when Date is "November 1"?
CREATE TABLE table_name_45 (game INTEGER, date VARCHAR)
SELECT record FROM table_name_72 WHERE date = "november 22"
What is Record, when Date is "November 22"?
CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
SELECT gold FROM table_name_97 WHERE bronze = "↓ 1" AND sport = "cycling"
What is the winner of gold that also has ↓ 1 in the sport of cycling?
CREATE TABLE table_name_97 (gold VARCHAR, bronze VARCHAR, sport VARCHAR)
SELECT COUNT(date) FROM table_14418812_1 WHERE game_site = "Shea Stadium"
Name the number of date for shea stadium
CREATE TABLE table_14418812_1 (date VARCHAR, game_site VARCHAR)
SELECT elevated FROM table_name_7 WHERE elevator = "nicholas iii" AND cardinalatial_order_and_title = "cardinal-deacon of s. eustachio"
What is the date of elevation for the Cardinal elevated by Nicholas III to the title of Cardinal-Deacon of S. Eustachio?
CREATE TABLE table_name_7 (elevated VARCHAR, elevator VARCHAR, cardinalatial_order_and_title VARCHAR)
SELECT activity_name FROM Activity
What activities do we have?
CREATE TABLE Activity (activity_name VARCHAR)
SELECT womens_doubles FROM table_12171145_1 WHERE mixed_doubles = "Jacco Arends Selena Piek"
Who was the womens doubles when the mixed doubles is jacco arends selena piek?
CREATE TABLE table_12171145_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR)
SELECT COUNT(total) FROM table_name_92 WHERE finish = "t32"
How many times was the finish t32?
CREATE TABLE table_name_92 (total VARCHAR, finish VARCHAR)
SELECT year FROM table_name_46 WHERE category = "supernova award"
What year had the supernova award?
CREATE TABLE table_name_46 (year VARCHAR, category VARCHAR)
SELECT SUM(value) FROM table_name_73 WHERE ungegn = "kau sĕb"
How much is the total value of kau sĕb UNGEGN ?
CREATE TABLE table_name_73 (value INTEGER, ungegn VARCHAR)
SELECT state FROM table_name_5 WHERE royal_house = "jiang"
Which state has a royal house of Jiang?
CREATE TABLE table_name_5 (state VARCHAR, royal_house VARCHAR)
SELECT position FROM table_11545282_11 WHERE nationality = "Turkey"
Name the position of Turkey
CREATE TABLE table_11545282_11 (position VARCHAR, nationality VARCHAR)
SELECT MAX(drawn) FROM table_name_85 WHERE position < 8 AND played < 14
Which Drawn has a Position smaller than 8, and a Played smaller than 14?
CREATE TABLE table_name_85 (drawn INTEGER, position VARCHAR, played VARCHAR)
SELECT film FROM table_name_19 WHERE winner_nominee_s_ = "eddie murphy" AND result = "nominated"
Which film was Eddie Murphy nominated for?
CREATE TABLE table_name_19 (film VARCHAR, winner_nominee_s_ VARCHAR, result VARCHAR)
SELECT COUNT(week) FROM table_name_43 WHERE attendance = "53,677"
which week had an attendance of 53,677?
CREATE TABLE table_name_43 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(*) FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id WHERE T2.name = "Kyle"
How many friends does the high school student Kyle have?
CREATE TABLE Friend (student_id VARCHAR); CREATE TABLE Highschooler (id VARCHAR, name VARCHAR)
SELECT player FROM table_name_5 WHERE round > 2 AND pick > 83
Who is the player that has a round greater than 2 and a pick bigger than 83?
CREATE TABLE table_name_5 (player VARCHAR, round VARCHAR, pick VARCHAR)
SELECT gatchaman FROM table_17480471_3 WHERE eagle_riders = "Lukan"
Which gatchaman has eagle riders as lukan?
CREATE TABLE table_17480471_3 (gatchaman VARCHAR, eagle_riders VARCHAR)
SELECT SUM(wins) FROM table_name_25 WHERE scored < 26 AND conceded > 23
What is the number of wins when scored was less than 26, and conceded was larger than 23?
CREATE TABLE table_name_25 (wins INTEGER, scored VARCHAR, conceded VARCHAR)
SELECT venue FROM table_name_60 WHERE result = "2-1"
What is the Venue when the result was 2-1?
CREATE TABLE table_name_60 (venue VARCHAR, result VARCHAR)
SELECT MIN(laps) FROM table_name_48 WHERE finish = "17"
How few laps were finished in 17?
CREATE TABLE table_name_48 (laps INTEGER, finish VARCHAR)
SELECT SUM(scored) FROM table_name_38 WHERE points = 8 AND position < 10
How many points are in the scored category for the team that has 8 total points and a position that is less than 10?
CREATE TABLE table_name_38 (scored INTEGER, points VARCHAR, position VARCHAR)
SELECT control FROM table_2076522_2 WHERE accreditation = "The Higher Learning Commission ( NCA ), CCNE"
What is the control for the school accredited by the higher learning commission ( nca ), ccne?
CREATE TABLE table_2076522_2 (control VARCHAR, accreditation VARCHAR)
SELECT 2012 FROM table_name_28 WHERE 2011 = "1r" AND 2007 = "1r"
What is the 2012 value when the 2011 and 2007 values are 1R?
CREATE TABLE table_name_28 (Id VARCHAR)
SELECT MAX(facility_id) FROM table_name_15 WHERE city_of_license = "springfield, ma" AND erp___power_w < 230
Which Facility ID has a City of license of springfield, ma, and a ERP / Power W smaller than 230?
CREATE TABLE table_name_15 (facility_id INTEGER, city_of_license VARCHAR, erp___power_w VARCHAR)
SELECT cfl_team FROM table_10975034_5 WHERE player = "Ryan Folk"
What is the cfl team with ryan folk?
CREATE TABLE table_10975034_5 (cfl_team VARCHAR, player VARCHAR)
SELECT COUNT(silver) FROM table_name_26 WHERE bronze > 1 AND rank < 5
What is the total number of Silver for the Nation with more than 1 Bronze and a Rank less than 5?
CREATE TABLE table_name_26 (silver VARCHAR, bronze VARCHAR, rank VARCHAR)
SELECT english_name FROM table_2013618_1 WHERE traditional = "福鼎市"
Name the english name for 福鼎市
CREATE TABLE table_2013618_1 (english_name VARCHAR, traditional VARCHAR)