answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT award FROM table_name_80 WHERE result = "nominated" AND organization = "54th the television academy drama awards"
Where Result is nominated and Organization is 54th the television academy drama awards, what is the award?
CREATE TABLE table_name_80 (award VARCHAR, result VARCHAR, organization VARCHAR)
SELECT place FROM table_name_88 WHERE score = 73 - 67 - 74 - 71 = 285
What is the Place of the Player with a Score of 73-67-74-71=285?
CREATE TABLE table_name_88 (place VARCHAR, score VARCHAR)
SELECT COUNT(games) AS ↑ FROM table_name_18 WHERE position = "fb"
How many games were played by the player at FB?
CREATE TABLE table_name_18 (games VARCHAR, position VARCHAR)
SELECT time FROM table_name_71 WHERE round < 3 AND opponent = "amanda lavoy"
What was the time for the bout against Amanda Lavoy, which went under 3 rounds?
CREATE TABLE table_name_71 (time VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT pole_position FROM table_1137704_2 WHERE date = "26 July"
what are all the pole position where date is 26 july
CREATE TABLE table_1137704_2 (pole_position VARCHAR, date VARCHAR)
SELECT tries_against FROM table_name_52 WHERE club = "cwmtwrch rfc"
How many tries were there for club cwmtwrch rfc?
CREATE TABLE table_name_52 (tries_against VARCHAR, club VARCHAR)
SELECT result FROM table_1341672_10 WHERE candidates = "Robert L. F. Sikes (D) Unopposed"
what is the result where the candidates is robert l. f. sikes (d) unopposed?
CREATE TABLE table_1341672_10 (result VARCHAR, candidates VARCHAR)
SELECT competition FROM table_name_39 WHERE venue = "home" AND attendance = "1,268"
What was the home Competition with Attendance of 1,268?
CREATE TABLE table_name_39 (competition VARCHAR, venue VARCHAR, attendance VARCHAR)
SELECT AVG(attendance) FROM table_name_71 WHERE date = "september 8"
What was the attendance on september 8?
CREATE TABLE table_name_71 (attendance INTEGER, date VARCHAR)
SELECT college FROM table_name_41 WHERE overall > 15 AND round = 7
What is the college when the over is larger than 15 in round 7?
CREATE TABLE table_name_41 (college VARCHAR, overall VARCHAR, round VARCHAR)
SELECT week__number FROM table_name_88 WHERE original_artist = "phil collins"
What is the week number with Phil Collins as the original artist?
CREATE TABLE table_name_88 (week__number VARCHAR, original_artist VARCHAR)
SELECT opponent FROM table_name_31 WHERE week = 12
Who were the opponents for week 12?
CREATE TABLE table_name_31 (opponent VARCHAR, week VARCHAR)
SELECT country FROM table_name_14 WHERE name = "dyer"
Which country is Dyer from?
CREATE TABLE table_name_14 (country VARCHAR, name VARCHAR)
SELECT overall_record FROM table_22993636_2 WHERE road_record = "4-3"
What's the overall record of the team with 4-3 road record?
CREATE TABLE table_22993636_2 (overall_record VARCHAR, road_record VARCHAR)
SELECT home__1st_leg_ FROM table_name_90 WHERE aggregate = "3-1"
What was the first leg home that had a total aggregate of 3-1?
CREATE TABLE table_name_90 (home__1st_leg_ VARCHAR, aggregate VARCHAR)
SELECT venue FROM table_name_4 WHERE date = "november 26"
What was the Venue on November 26?
CREATE TABLE table_name_4 (venue VARCHAR, date VARCHAR)
SELECT directed_by FROM table_name_18 WHERE episode__number = 7
What is Directed By, when Episode # is 7?
CREATE TABLE table_name_18 (directed_by VARCHAR, episode__number VARCHAR)
SELECT MIN(district) FROM table_20403667_2 WHERE animal__in_lakh__ = "33.25"
What is the smallest district that had 33.25 in animals
CREATE TABLE table_20403667_2 (district INTEGER, animal__in_lakh__ VARCHAR)
SELECT MAX(10 AS _c_pts) FROM table_25887826_17 WHERE total_pts = 39
What is the largest number of 10 C points for a team with 39 total points?
CREATE TABLE table_25887826_17 (total_pts VARCHAR)
SELECT COUNT(november) FROM table_name_50 WHERE february > 8.53 AND march = 20.21 AND september < 7.9
What is the total number for November, larger than 8.53 in February, 20.21 in March, and less than 7.9 in September?
CREATE TABLE table_name_50 (november VARCHAR, september VARCHAR, february VARCHAR, march VARCHAR)
SELECT COUNT(round) FROM table_name_1 WHERE time = "6:21"
What is the number of rounds that took place for the fight that lasted 6:21?
CREATE TABLE table_name_1 (round VARCHAR, time VARCHAR)
SELECT COUNT(lane) FROM table_name_28 WHERE nationality = "united states" AND name = "aaron peirsol"
How many lanes have a Nationality of united states, and a Name of aaron peirsol?
CREATE TABLE table_name_28 (lane VARCHAR, nationality VARCHAR, name VARCHAR)
SELECT road_team FROM table_name_39 WHERE result = "105-95"
What is the Road Team in the game with a Result of 105-95?
CREATE TABLE table_name_39 (road_team VARCHAR, result VARCHAR)
SELECT SUM(year) FROM table_name_91 WHERE post = "designer"
In what year has a Post of designer?
CREATE TABLE table_name_91 (year INTEGER, post VARCHAR)
SELECT AVG(fall_09) FROM table_name_34 WHERE fall_05 < 3
What is the mean Fall 09 number where fall 05 is less than 3?
CREATE TABLE table_name_34 (fall_09 INTEGER, fall_05 INTEGER)
SELECT pick FROM table_name_39 WHERE name = "ralph shoaf"
What was Ralph Shoaf's pick number?
CREATE TABLE table_name_39 (pick VARCHAR, name VARCHAR)
SELECT AVG(heat) FROM table_name_99 WHERE time = "2:23.95"
What is the heat number of the athlete who finished in 2:23.95?
CREATE TABLE table_name_99 (heat INTEGER, time VARCHAR)
SELECT AVG(killed) FROM table_name_54 WHERE perpetrator = "wirjo, 42"
What is the average number of people killed with a Perpetrator of wirjo, 42?
CREATE TABLE table_name_54 (killed INTEGER, perpetrator VARCHAR)
SELECT home FROM table_name_92 WHERE series = "series tied 3–3"
Which Home has a Series of series tied 3–3?
CREATE TABLE table_name_92 (home VARCHAR, series VARCHAR)
SELECT attendance FROM table_name_12 WHERE result = "l 26–3"
Tell me the attendance with a result of l 26–3
CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR)
SELECT package_option FROM table_name_68 WHERE content = "religione" AND country = "italy"
What is the package/option in Italy when the content is religione?
CREATE TABLE table_name_68 (package_option VARCHAR, content VARCHAR, country VARCHAR)
SELECT AVG(wins) FROM table_name_70 WHERE losses < 174 AND years = "1951 to 1956" AND ties < 6
What is the average number of wins for the person who coached from 1951 to 1956 and had less than 174 losses and less than 6 ties?
CREATE TABLE table_name_70 (wins INTEGER, ties VARCHAR, losses VARCHAR, years VARCHAR)
SELECT length___ft__ FROM table_name_47 WHERE length___m__ = "64.2"
What is the length in feet when the length in meters is 64.2?
CREATE TABLE table_name_47 (length___ft__ VARCHAR, length___m__ VARCHAR)
SELECT deloria_ & _boas FROM table_name_66 WHERE university_of_minnesota = "ṭ"
University of Minnesota of ṭ had what Deloria & Boas?
CREATE TABLE table_name_66 (deloria_ VARCHAR, _boas VARCHAR, university_of_minnesota VARCHAR)
SELECT away_team FROM table_name_73 WHERE attendance = "1,730"
What is the away team at the game with an Attendance of 1,730?
CREATE TABLE table_name_73 (away_team VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_52 WHERE record = "17-25"
Which of the opponents has a record of 17-25?
CREATE TABLE table_name_52 (opponent VARCHAR, record VARCHAR)
SELECT home_team FROM table_name_49 WHERE tie_no = "4"
What is Home Team, when Tie No is 4?
CREATE TABLE table_name_49 (home_team VARCHAR, tie_no VARCHAR)
SELECT 2013 FROM table_name_5 WHERE 2009 = "virgin"
What is the 2013 with virgin in 2009?
CREATE TABLE table_name_5 (Id VARCHAR)
SELECT name FROM table_name_77 WHERE wins = "1" AND losses = "1" AND matches = "2"
Who has 1 win, 1 loss, and has played 2 matches?
CREATE TABLE table_name_77 (name VARCHAR, matches VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT MIN(division) FROM table_name_79 WHERE goals < 10 AND team = "dalian shide" AND apps < 17 AND season = "2007"
What is the lowest Division, when Goals are less than 10, when Team is Dalian Shide, when Apps are less than 17, and when Season is 2007?
CREATE TABLE table_name_79 (division INTEGER, season VARCHAR, apps VARCHAR, goals VARCHAR, team VARCHAR)
SELECT MIN(draws) FROM table_name_86 WHERE goal_difference > -16 AND club = "elche cf" AND played > 38
What was the number of draws when the Elche CF club played 38 and had a goal difference of -16?
CREATE TABLE table_name_86 (draws INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)
SELECT area_1891__statute_acres_ FROM table_14925084_1 WHERE administrative_county = "Flintshire"
Name the area for administrative county being flintshire
CREATE TABLE table_14925084_1 (area_1891__statute_acres_ VARCHAR, administrative_county VARCHAR)
SELECT scorecard FROM table_22962745_35 WHERE batsmen = "Robin Uthappa Mark Boucher Jacques Kallis"
What was the scorecard when robin uthappa mark boucher jacques kallis was the batsmen?
CREATE TABLE table_22962745_35 (scorecard VARCHAR, batsmen VARCHAR)
SELECT country FROM table_name_41 WHERE airport = "shanghai pudong international airport"
Which country contains the Shanghai Pudong International airport?
CREATE TABLE table_name_41 (country VARCHAR, airport VARCHAR)
SELECT service FROM table_name_22 WHERE origin_of_programming = "india" AND network = "set max"
What is the service of the network Set Max from India?
CREATE TABLE table_name_22 (service VARCHAR, origin_of_programming VARCHAR, network VARCHAR)
SELECT SUM(total) FROM table_name_55 WHERE year_s__won = "1985"
what is the sum of total when year(s) won is 1985?
CREATE TABLE table_name_55 (total INTEGER, year_s__won VARCHAR)
SELECT MIN(ansi_code) FROM table_18600760_1 WHERE pop__2010_ = 609
Name the least ansi code for 609 population 2010
CREATE TABLE table_18600760_1 (ansi_code INTEGER, pop__2010_ VARCHAR)
SELECT COUNT(weight__kg_) FROM table_1360997_3 WHERE winner_2nd = "1st - Defier" AND venue = "Randwick"
How many entries are there for weight when the winner is 1st - defier and venue is randwick?
CREATE TABLE table_1360997_3 (weight__kg_ VARCHAR, winner_2nd VARCHAR, venue VARCHAR)
SELECT AVG(net_yards) FROM table_name_87 WHERE touchdowns = 9 AND attempts = 145 AND yards_per_attempt > 4.8
What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8?
CREATE TABLE table_name_87 (net_yards INTEGER, yards_per_attempt VARCHAR, touchdowns VARCHAR, attempts VARCHAR)
SELECT surface FROM table_name_68 WHERE score = "6–4, 0–6, 6–2"
What kind of Surface has a Score of 6–4, 0–6, 6–2?
CREATE TABLE table_name_68 (surface VARCHAR, score VARCHAR)
SELECT world_record FROM table_name_40 WHERE press = "925"
Which 92.5 holds the world record?
CREATE TABLE table_name_40 (world_record VARCHAR, press VARCHAR)
SELECT position FROM table_name_21 WHERE main_contestant = "vishal singh" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13
What position is there when the main contestant is Vishal Singh and the scores are 1 + 7 + 5 = 13?
CREATE TABLE table_name_21 (position VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR)
SELECT games FROM table_name_54 WHERE medal = "silver" AND event = "light heavyweight"
At what Games did the competitor win a Silver medal in the light heavyweight event?
CREATE TABLE table_name_54 (games VARCHAR, medal VARCHAR, event VARCHAR)
SELECT total_matches FROM table_name_20 WHERE year = "2003"
How many Total matches happened in 2003?
CREATE TABLE table_name_20 (total_matches VARCHAR, year VARCHAR)
SELECT title FROM table_27833469_1 WHERE season__number = "11"
What is the title of the episode number 11 of the season?
CREATE TABLE table_27833469_1 (title VARCHAR, season__number VARCHAR)
SELECT tipuani_municipality FROM table_2509202_2 WHERE tacacoma_municipality = "6"
tipuani municipality when tacacoma municipality is 6?
CREATE TABLE table_2509202_2 (tipuani_municipality VARCHAR, tacacoma_municipality 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 AVG(number_of_households) FROM table_name_98 WHERE county = "cook" AND population < 5 OFFSET 176
Which Number of households has a County of cook, and Population smaller than 5,176?
CREATE TABLE table_name_98 (number_of_households INTEGER, county VARCHAR, population VARCHAR)
SELECT opponents FROM table_name_93 WHERE surface = "clay" AND date = "12 july 1992"
who is the opponents when the surface is clay and the date is 12 july 1992?
CREATE TABLE table_name_93 (opponents VARCHAR, surface VARCHAR, date VARCHAR)
SELECT round FROM table_name_95 WHERE opponent = "mercedes paz" AND result = "4–6, 6–1, 6–3"
For what round was the opponent mercedes paz with a result of 4–6, 6–1, 6–3?
CREATE TABLE table_name_95 (round VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT score FROM table_name_75 WHERE date = "may 18"
What is the score on May 18?
CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR)
SELECT Fname FROM STUDENT ORDER BY Age DESC
Find the first name of students in the descending order of age.
CREATE TABLE STUDENT (Fname VARCHAR, Age VARCHAR)
SELECT MAX(lost) FROM table_name_65 WHERE points < 14 AND played < 18
What is the highest lost number of the team with less than 14 points and less than 18 played?
CREATE TABLE table_name_65 (lost INTEGER, points VARCHAR, played VARCHAR)
SELECT COUNT(total) FROM table_name_53 WHERE silver > 3 AND rank = 3 AND bronze > 2
What is the total number of Total values associated with mroe than 3 silvers, more than 2 bronze, and a rank of 3?
CREATE TABLE table_name_53 (total VARCHAR, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT COUNT(equivalent_daily_inflation_rate) FROM table_13681_2 WHERE time_required_for_prices_to_double = "3.7 days"
how many equivalent daily inflation rate with time required for prices to double being 3.7 days
CREATE TABLE table_13681_2 (equivalent_daily_inflation_rate VARCHAR, time_required_for_prices_to_double VARCHAR)
SELECT COUNT(scoring_average) FROM table_13026799_3 WHERE money_list_rank = "174"
Name the total number of scoring average for money list rank of 174
CREATE TABLE table_13026799_3 (scoring_average VARCHAR, money_list_rank VARCHAR)
SELECT 2011 FROM table_name_31 WHERE 2008 = "134"
What is the 2011 value with a 134 in 2008?
CREATE TABLE table_name_31 (Id VARCHAR)
SELECT T1.Season, T1.Player, T2.Name FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id
Show the season, the player, and the name of the team that players belong to.
CREATE TABLE team (Name VARCHAR, Team_id VARCHAR); CREATE TABLE match_season (Season VARCHAR, Player VARCHAR, Team VARCHAR)
SELECT language FROM table_name_22 WHERE original_title = "karnal"
What language is the film Karnal in?
CREATE TABLE table_name_22 (language VARCHAR, original_title VARCHAR)
SELECT area__km²_ FROM table_16278349_1 WHERE map__number = 24
Name the area for map # 24
CREATE TABLE table_16278349_1 (area__km²_ VARCHAR, map__number VARCHAR)
SELECT nationality FROM table_name_88 WHERE player = "steven anthony"
What nationality is Steven Anthony?
CREATE TABLE table_name_88 (nationality VARCHAR, player VARCHAR)
SELECT date FROM table_name_80 WHERE attendance = "29,000"
Attendance of 29,000 occurred on what date?
CREATE TABLE table_name_80 (date VARCHAR, attendance VARCHAR)
SELECT thai_name FROM table_180802_3 WHERE transcription = "wan chan"
What is the thai name of the transcription wan chan?
CREATE TABLE table_180802_3 (thai_name VARCHAR, transcription VARCHAR)
SELECT class FROM table_name_54 WHERE erp_w > 30
what is the class of the station with erp w more than 30?
CREATE TABLE table_name_54 (class VARCHAR, erp_w INTEGER)
SELECT gold_medals FROM table_1305623_12 WHERE total_medals = 1
How many gold medals does each school who has a total of 1 medal have?
CREATE TABLE table_1305623_12 (gold_medals VARCHAR, total_medals VARCHAR)
SELECT name FROM table_name_95 WHERE medal = "bronze" AND games = "2000 sydney"
Who received the bronze medal in the 2000 Sydney games?
CREATE TABLE table_name_95 (name VARCHAR, medal VARCHAR, games VARCHAR)
SELECT tyres FROM table_name_27 WHERE engine_s_ = "ford dfz v8" AND chassis = "coloni fc187"
What is the Tyres with a ford dfz v8 engine(s) with a chassis of coloni fc187?
CREATE TABLE table_name_27 (tyres VARCHAR, engine_s_ VARCHAR, chassis VARCHAR)
SELECT headquarter FROM table_name_11 WHERE type = "government-owned" AND newspaper_magazine = "al-jumhuriya"
What is Headquarter, when Type is Government-Owned, and when Newspaper/Magazine is Al-Jumhuriya?
CREATE TABLE table_name_11 (headquarter VARCHAR, type VARCHAR, newspaper_magazine VARCHAR)
SELECT home_team FROM table_26842217_6 WHERE visiting_team = "Western Kentucky"
List all home teams when Western Kentucky was the visiting team.
CREATE TABLE table_26842217_6 (home_team VARCHAR, visiting_team VARCHAR)
SELECT gtp_winning_team FROM table_13643320_2 WHERE circuit = "Portland" AND gtu_winning_team = "Jack Baldwin"
What was the GTP winning team in the round in Portland during which Jack Baldwin become part of the GTU winning team?
CREATE TABLE table_13643320_2 (gtp_winning_team VARCHAR, circuit VARCHAR, gtu_winning_team VARCHAR)
SELECT bowling_style FROM table_name_72 WHERE first_class_team = "islamabad" AND date_of_birth = "28 february 1975"
What is the bowling style of the player whose first class team is Islamabad and has a date of birth of 28 February 1975?
CREATE TABLE table_name_72 (bowling_style VARCHAR, first_class_team VARCHAR, date_of_birth VARCHAR)
SELECT COUNT(points) FROM table_name_7 WHERE date = "march 19, 2009"
How many Points have a Date of march 19, 2009?
CREATE TABLE table_name_7 (points VARCHAR, date VARCHAR)
SELECT time_elapsed FROM table_name_52 WHERE launched = "15 october 1997" AND closest_approach = "24 june 1999"
What Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999?
CREATE TABLE table_name_52 (time_elapsed VARCHAR, launched VARCHAR, closest_approach VARCHAR)
SELECT qual FROM table_name_61 WHERE start = "totals"
Name the qual with start of totals
CREATE TABLE table_name_61 (qual VARCHAR, start VARCHAR)
SELECT description FROM table_name_58 WHERE date = 1911
What is the description where the date is 1911?
CREATE TABLE table_name_58 (description VARCHAR, date VARCHAR)
SELECT dysart FROM table_11340432_1 WHERE information = "Principal"
What is the dysart of the principal?
CREATE TABLE table_11340432_1 (dysart VARCHAR, information VARCHAR)
SELECT result FROM table_name_40 WHERE competition = "south american championship" AND date = "december 13, 1925"
What was the score for the South American Championship dated December 13, 1925?
CREATE TABLE table_name_40 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT extortion_theft_3 FROM table_15652027_1 WHERE united_nations_mission = "United Nations Observer Mission Uganda-Rwanda"
What is the extortion and theft rates where the United Nations Observer Mission Uganda-Rwanda is active?
CREATE TABLE table_15652027_1 (extortion_theft_3 VARCHAR, united_nations_mission VARCHAR)
SELECT production_code FROM table_19068566_1 WHERE us_viewers__million_ = "3.39"
When there are 3.39 million u.s viewers what is the production code?
CREATE TABLE table_19068566_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)
SELECT crowd FROM table_name_12 WHERE date = "26 april 1948" AND away_team = "hawthorn"
What was the attendence of the game on 26 April 1948 and an away team of Hawthorn?
CREATE TABLE table_name_12 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT title FROM table_27117365_1 WHERE no_in_season = 10
What's the title in the number 10 in the season?
CREATE TABLE table_27117365_1 (title VARCHAR, no_in_season VARCHAR)
SELECT stage FROM table_name_22 WHERE winner = "robbie mcewen"
Name the stgae with winner of robbie mcewen
CREATE TABLE table_name_22 (stage VARCHAR, winner VARCHAR)
SELECT binary FROM table_name_82 WHERE pairing = "θ(1)" AND binomial = "θ(1)"
Pairing of θ(1), and a Binomial of θ(1) is what binary?
CREATE TABLE table_name_82 (binary VARCHAR, pairing VARCHAR, binomial VARCHAR)
SELECT date FROM table_name_73 WHERE score = "7-1"
When was the score 7-1?
CREATE TABLE table_name_73 (date VARCHAR, score VARCHAR)
SELECT catalog FROM table_name_9 WHERE label = "alfa records" AND format = "cd"
Which Catalog was formated as a CD under the label Alfa Records?
CREATE TABLE table_name_9 (catalog VARCHAR, label VARCHAR, format VARCHAR)
SELECT candidates FROM table_2668199_2 WHERE result = "Re-elected" AND first_elected = "1832" AND party = "Jacksonian"
Who were all the candidates when the results were re-elected, first elected was 1832 and the party was jacksonian?
CREATE TABLE table_2668199_2 (candidates VARCHAR, party VARCHAR, result VARCHAR, first_elected VARCHAR)
SELECT opponent FROM table_name_65 WHERE save = "smith (22)"
Which opponent has a save of smith (22)?
CREATE TABLE table_name_65 (opponent VARCHAR, save VARCHAR)
SELECT attendance FROM table_name_44 WHERE record = "63-76"
with a record of 63-76 what was the attendance?
CREATE TABLE table_name_44 (attendance VARCHAR, record VARCHAR)
SELECT money___$__ FROM table_name_30 WHERE player = "lawson little"
What is Lawson Little's Money ($) amount?
CREATE TABLE table_name_30 (money___$__ VARCHAR, player VARCHAR)
SELECT music FROM table_name_79 WHERE dance = "modern"
Which Music has a Dance of Modern?
CREATE TABLE table_name_79 (music VARCHAR, dance VARCHAR)