answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT result FROM table_26842217_8 WHERE site = "Wallace Wade Stadium • Durham, NC"
If the site was wallace wade stadium • durham, nc, what was the result?
CREATE TABLE table_26842217_8 (result VARCHAR, site VARCHAR)
SELECT attendance FROM table_11964047_5 WHERE score = "L 92–101"
what's the attendance where score is l 92–101
CREATE TABLE table_11964047_5 (attendance VARCHAR, score VARCHAR)
SELECT indicia FROM table_name_52 WHERE end_month = "feb-75"
Which Indicia has anEnd month in feb-75?
CREATE TABLE table_name_52 (indicia VARCHAR, end_month VARCHAR)
SELECT AVG(place) FROM table_name_99 WHERE artist = "juliana pasha & luiz ejlli" AND points > 119
what is the average place when the artist is juliana pasha & luiz ejlli and the points is more than 119?
CREATE TABLE table_name_99 (place INTEGER, artist VARCHAR, points VARCHAR)
SELECT report FROM table_16099880_5 WHERE pole_position = "Will Power" AND fastest_lap = "Will Power"
What is the report for races where Will Power had both pole position and fastest lap?
CREATE TABLE table_16099880_5 (report VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
SELECT repeatairdate_s_ FROM table_13403120_1 WHERE originalairdate = "22/12/1968"
What is the repeat date of the episode that aired 22/12/1968?
CREATE TABLE table_13403120_1 (repeatairdate_s_ VARCHAR, originalairdate VARCHAR)
SELECT MIN(episode__number) FROM table_2501754_4
What is the lowest episode number?
CREATE TABLE table_2501754_4 (episode__number INTEGER)
SELECT player FROM table_name_41 WHERE year = "1974"
What is the Player in the Int'l Debut of 1974?
CREATE TABLE table_name_41 (player VARCHAR, year VARCHAR)
SELECT season FROM table_24575253_4 WHERE division_four = "Wallington New Foresters"
When the wallington new foresters are in division four what is the season?
CREATE TABLE table_24575253_4 (season VARCHAR, division_four VARCHAR)
SELECT 1987 FROM table_name_45 WHERE 1994 = "atp masters series"
What is the 1987 value of the 1994 atp masters series?
CREATE TABLE table_name_45 (Id VARCHAR)
SELECT name FROM table_name_17 WHERE decile = "3" AND roll < 310 AND area = "onehunga"
What is the Onehunga school with a decile 3 and smaller than 310 rolls?
CREATE TABLE table_name_17 (name VARCHAR, area VARCHAR, decile VARCHAR, roll VARCHAR)
SELECT result FROM table_name_70 WHERE attendance = "58,516"
What was the result when 58,516 were in attendance?
CREATE TABLE table_name_70 (result VARCHAR, attendance VARCHAR)
SELECT SUM(grid) FROM table_name_14 WHERE laps > 73 AND driver = "bruce mclaren"
What is the grid total for bruce mclaren with over 73 laps?
CREATE TABLE table_name_14 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT lead FROM table_name_74 WHERE second = "vicki adams" AND third = "anna sloan"
What is the lead with a second of Vicki Adams and a third of Anna Sloan?
CREATE TABLE table_name_74 (lead VARCHAR, second VARCHAR, third VARCHAR)
SELECT constructor FROM table_name_13 WHERE laps = 56
What Constructor has 56 Laps?
CREATE TABLE table_name_13 (constructor VARCHAR, laps VARCHAR)
SELECT record FROM table_name_91 WHERE time = "1:11"
What is the record when the time is 1:11?
CREATE TABLE table_name_91 (record VARCHAR, time VARCHAR)
SELECT MIN(total) FROM table_name_41 WHERE matches < 3 AND rank < 2
What is the total when matches is less than 3, and rank is smaller than 2?
CREATE TABLE table_name_41 (total INTEGER, matches VARCHAR, rank VARCHAR)
SELECT title FROM table_28146944_2 WHERE no_in_series = 36
What's the title of the episode with series number 36?
CREATE TABLE table_28146944_2 (title VARCHAR, no_in_series VARCHAR)
SELECT school FROM table_name_37 WHERE location = "valparaiso"
What is the name of the school that is in Valparaiso?
CREATE TABLE table_name_37 (school VARCHAR, location VARCHAR)
SELECT position FROM table_name_79 WHERE first_team_goals = "ongoing" AND current_club = "aston villa"
What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa club?
CREATE TABLE table_name_79 (position VARCHAR, first_team_goals VARCHAR, current_club VARCHAR)
SELECT ground FROM table_name_55 WHERE home_team = "carlton"
What was the Home team Carlton's Ground?
CREATE TABLE table_name_55 (ground VARCHAR, home_team VARCHAR)
SELECT COUNT(ngc_number) FROM table_name_86 WHERE constellation = "sagittarius" AND object_type = "diffuse nebula" AND declination___j2000__ = "°02′"
Name the total number of NGC number for sagittarius and diffuse nebula with declination of °02′
CREATE TABLE table_name_86 (ngc_number VARCHAR, declination___j2000__ VARCHAR, constellation VARCHAR, object_type VARCHAR)
SELECT visitor FROM table_name_24 WHERE date = "april 24"
What is Visitor, when Date is "April 24"?
CREATE TABLE table_name_24 (visitor VARCHAR, date VARCHAR)
SELECT total FROM table_name_5 WHERE name = "grant brebner"
How many total appearances did Grant Brebner have?
CREATE TABLE table_name_5 (total VARCHAR, name VARCHAR)
SELECT COUNT(rank_by_average) FROM table_name_12 WHERE total_points > 392 AND average = 24.8
What is the total rank with more than 392 total points and an 24.8 average?
CREATE TABLE table_name_12 (rank_by_average VARCHAR, total_points VARCHAR, average VARCHAR)
SELECT MIN(total_attendance) FROM table_10815352_1 WHERE sport = "Association football" AND league = "Premier league"
What's the minimum total attendance of the Premier League association football?
CREATE TABLE table_10815352_1 (total_attendance INTEGER, sport VARCHAR, league VARCHAR)
SELECT first_criticality FROM table_name_3 WHERE electric_power = "1,380 mw"
Name the first citicality for electric power of 1,380 mw
CREATE TABLE table_name_3 (first_criticality VARCHAR, electric_power VARCHAR)
SELECT rank FROM table_name_14 WHERE headquarters = "united kingdom" AND sales__billion_$_ = 370.9
What is Rank, when Headquarters is United Kingdom, and when Sales (billion $) is 370.9?
CREATE TABLE table_name_14 (rank VARCHAR, headquarters VARCHAR, sales__billion_$_ VARCHAR)
SELECT opponent FROM table_name_32 WHERE time = "3:24"
Who's the opponent with a time of 3:24?
CREATE TABLE table_name_32 (opponent VARCHAR, time VARCHAR)
SELECT title FROM table_name_90 WHERE name = "david campbell mulford"
What is the title for david campbell mulford?
CREATE TABLE table_name_90 (title VARCHAR, name VARCHAR)
SELECT location FROM table_name_21 WHERE round = 1 AND time = "1:25"
What is the Location of the Event in Round 1 with a Time of 1:25?
CREATE TABLE table_name_21 (location VARCHAR, round VARCHAR, time VARCHAR)
SELECT _number FROM table_2950964_5 WHERE title = "The Empty House"
The Empty House audiobook has what #?
CREATE TABLE table_2950964_5 (_number VARCHAR, title VARCHAR)
SELECT MAX(opening_week_nett_gross) FROM table_name_42 WHERE rank < 5 AND studio_s_ = "reliance entertainment"
What is the highest opening week net gross of the movie ranked higher than 5 from Reliance Entertainment?
CREATE TABLE table_name_42 (opening_week_nett_gross INTEGER, rank VARCHAR, studio_s_ VARCHAR)
SELECT record FROM table_name_35 WHERE event = "cage rage 23"
Which Record has an Event of cage rage 23?
CREATE TABLE table_name_35 (record VARCHAR, event VARCHAR)
SELECT COUNT(party) FROM table_2668347_14 WHERE incumbent = "John B. Yates"
how many times was the incumbent is john b. yates?
CREATE TABLE table_2668347_14 (party VARCHAR, incumbent VARCHAR)
SELECT average_attendance_home FROM table_1816947_2 WHERE division___section = "Superettan" AND average_attendance_away = "1.889"
When the average away attendance is 1.889 in the Superettan, what's the average home attendance?
CREATE TABLE table_1816947_2 (average_attendance_home VARCHAR, division___section VARCHAR, average_attendance_away VARCHAR)
SELECT MAX(year_completed) FROM table_name_81 WHERE rank < 3 AND height_ft__m_ = "274 (84)"
What year was the building with a top 3 rank and a height of 274 (84) ft (m) completed?
CREATE TABLE table_name_81 (year_completed INTEGER, rank VARCHAR, height_ft__m_ VARCHAR)
SELECT MAX(episodes) FROM table_18540104_1
What is maximum number of episodes for a show?
CREATE TABLE table_18540104_1 (episodes INTEGER)
SELECT school FROM table_11677691_5 WHERE hometown = "Aledo, Texas"
Which school is in the hometown of Aledo, Texas?
CREATE TABLE table_11677691_5 (school VARCHAR, hometown VARCHAR)
SELECT capital FROM table_name_73 WHERE population = "308,610"
Which capital has a population of 308,610?
CREATE TABLE table_name_73 (capital VARCHAR, population VARCHAR)
SELECT score FROM table_name_75 WHERE visitor = "boston bruins"
What was the score of the game when the Boston Bruins were the visiting team?
CREATE TABLE table_name_75 (score VARCHAR, visitor VARCHAR)
SELECT episode_title FROM table_191105_4 WHERE performed_by = "Essra Mohawk"
What is the name of the episode performed by Essra Mohawk
CREATE TABLE table_191105_4 (episode_title VARCHAR, performed_by VARCHAR)
SELECT MIN(meas_num) FROM table_256286_60
What was the lowest measure number?
CREATE TABLE table_256286_60 (meas_num INTEGER)
SELECT team_nickname FROM table_28211213_2 WHERE enrollment = 4512
4512 is the enrollment what is the team nickname?
CREATE TABLE table_28211213_2 (team_nickname VARCHAR, enrollment VARCHAR)
SELECT part_1 FROM table_13241993_3 WHERE part_2 = "December 2, 2007"
What's the air date of part 1 of the episode whose part 2 aired on December 2, 2007?
CREATE TABLE table_13241993_3 (part_1 VARCHAR, part_2 VARCHAR)
SELECT issue_price FROM table_name_89 WHERE year < 2006 AND theme = "voyageur"
What is the issue price of a voyageur before 2006?
CREATE TABLE table_name_89 (issue_price VARCHAR, year VARCHAR, theme VARCHAR)
SELECT MAX(csa_cma_2009_population) FROM table_name_89 WHERE state__province = "ia-il"
What's the CSA/CMA Population in IA-IL?
CREATE TABLE table_name_89 (csa_cma_2009_population INTEGER, state__province VARCHAR)
SELECT score_in_the_final FROM table_name_25 WHERE opponent_in_the_final = "alberto berasategui"
What is the score of the match that was against alberto berasategui?
CREATE TABLE table_name_25 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR)
SELECT affiliation FROM table_name_48 WHERE institution = "southern illinois university edwardsville"
What is Southern Illinois University Edwardsville's affiliation?
CREATE TABLE table_name_48 (affiliation VARCHAR, institution VARCHAR)
SELECT song_choice FROM table_25374338_1 WHERE episode = "Live Show 1"
What is the song choice where the episode is Live Show 1?
CREATE TABLE table_25374338_1 (song_choice VARCHAR, episode VARCHAR)
SELECT competition FROM table_name_22 WHERE goal = 6
How was the competition in which 6 goals were made?
CREATE TABLE table_name_22 (competition VARCHAR, goal VARCHAR)
SELECT coastal_carolina_head_coach FROM table_28418916_3 WHERE year = 2013
Who was the coastal Carolina head coach in 2013?
CREATE TABLE table_28418916_3 (coastal_carolina_head_coach VARCHAR, year VARCHAR)
SELECT home_team FROM table_name_14 WHERE game = "game 3"
Which was the home team for game 3?
CREATE TABLE table_name_14 (home_team VARCHAR, game VARCHAR)
SELECT score FROM table_name_39 WHERE result = "4-0"
What is the score of the match with a 4-0 result?
CREATE TABLE table_name_39 (score VARCHAR, result VARCHAR)
SELECT roomName FROM Rooms ORDER BY basePrice
List the name of all rooms sorted by their prices.
CREATE TABLE Rooms (roomName VARCHAR, basePrice VARCHAR)
SELECT MIN(profits__billion_) AS $_ FROM table_name_14 WHERE sales__billion_$_ = 425.7 AND rank > 4
Name the lowest Profits (billion $) which has a Sales (billion $) of 425.7, and a Rank larger than 4?
CREATE TABLE table_name_14 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, rank VARCHAR)
SELECT method FROM table_name_56 WHERE event = "pride bushido 10"
Which method did pride bushido 10 have ?
CREATE TABLE table_name_56 (method VARCHAR, event VARCHAR)
SELECT Fname FROM STUDENT WHERE Age > 22
Find the first names of students with age above 22.
CREATE TABLE STUDENT (Fname VARCHAR, Age INTEGER)
SELECT 2008 FROM table_name_15 WHERE 2005 = "deandria hill"
Who attended the school in 2008, that Deandria Hill attended in 2005?
CREATE TABLE table_name_15 (Id VARCHAR)
SELECT date FROM table_name_50 WHERE ground = "a" AND opponent = "cartagena"
What is the date ground A and Cartagena as an opponent?
CREATE TABLE table_name_50 (date VARCHAR, ground VARCHAR, opponent VARCHAR)
SELECT home_team AS score FROM table_name_20 WHERE crowd > 32 OFFSET 576
Who was the home team at the game with a crowd larger than 32,576?
CREATE TABLE table_name_20 (home_team VARCHAR, crowd INTEGER)
SELECT type FROM table_2562572_19 WHERE settlement = "Lok"
What type is the settlement of Lok?
CREATE TABLE table_2562572_19 (type VARCHAR, settlement VARCHAR)
SELECT COUNT(year) FROM table_27435931_1 WHERE continent = "Australia/Oceania"
In what year is australia/oceania listed?
CREATE TABLE table_27435931_1 (year VARCHAR, continent VARCHAR)
SELECT candidates FROM table_25030512_12 WHERE district = "Florida 7" AND first_elected = "2010"
When 2010 is the first elected and Florida 7 is the district who are the candidates?
CREATE TABLE table_25030512_12 (candidates VARCHAR, district VARCHAR, first_elected VARCHAR)
SELECT 2011 FROM table_name_58 WHERE 2007 = "a" AND 2012 = "sf"
What is the 2011 when the 2007 is a, and the 2012 is sf?
CREATE TABLE table_name_58 (Id VARCHAR)
SELECT player FROM table_18621456_22 WHERE legs_lost = 41
Who is the player with 41 legs lost?
CREATE TABLE table_18621456_22 (player VARCHAR, legs_lost VARCHAR)
SELECT colors FROM table_1221089_1 WHERE institution = "University of Richmond"
What are the the University of Richmond's school colors?
CREATE TABLE table_1221089_1 (colors VARCHAR, institution VARCHAR)
SELECT COUNT(average) FROM table_name_85 WHERE goals < 41 AND goalkeeper = "claudio bravo"
What is the average goals less than 41 that goalkeeper Claudio Bravo had?
CREATE TABLE table_name_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR)
SELECT standard_cost__usd_ FROM table_name_95 WHERE creator = "kwin team"
What is the Standard cost (USD) of Kwin team creator?
CREATE TABLE table_name_95 (standard_cost__usd_ VARCHAR, creator VARCHAR)
SELECT uk_broadcast_date FROM table_name_87 WHERE presenter = "ben okri"
What is the UK broadcast date of the episode with Ben Okri as the presenter?
CREATE TABLE table_name_87 (uk_broadcast_date VARCHAR, presenter VARCHAR)
SELECT COUNT(years_active) FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Japan 1992"
What is the total number of years active listings where Asian Cup played as a captain is Japan 1992?
CREATE TABLE table_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR)
SELECT mdt___6_utc_ FROM table_name_58 WHERE edt___4_utc_ = "set" AND pdt___7_utc_ = "6:00 a.m."
What time is MDT when EDT is set and PDT is 6:00 a.m.?
CREATE TABLE table_name_58 (mdt___6_utc_ VARCHAR, edt___4_utc_ VARCHAR, pdt___7_utc_ VARCHAR)
SELECT position FROM table_11734041_7 WHERE years_for_rockets = "2008"
What are all the positions for the rockets in 2008?
CREATE TABLE table_11734041_7 (position VARCHAR, years_for_rockets VARCHAR)
SELECT stories FROM table_name_43 WHERE rank = "14"
Which stories have a rank of 14?
CREATE TABLE table_name_43 (stories VARCHAR, rank VARCHAR)
SELECT AVG(popular_vote) FROM table_name_32 WHERE liberal_leader = "king" AND seats_won > 116 AND year = "1921"
Which Popular vote has a Liberal leader of king, and Seats won larger than 116, and a Year of 1921?
CREATE TABLE table_name_32 (popular_vote INTEGER, year VARCHAR, liberal_leader VARCHAR, seats_won VARCHAR)
SELECT territory FROM table_name_86 WHERE channel = 83
Where is channel 83 broadcasted?
CREATE TABLE table_name_86 (territory VARCHAR, channel VARCHAR)
SELECT home_team AS score FROM table_name_64 WHERE venue = "windy hill"
What is the Home Team Score at Windy Hill?
CREATE TABLE table_name_64 (home_team VARCHAR, venue VARCHAR)
SELECT gname, gtype FROM Video_games ORDER BY gname
Show all video games and their types in the order of their names.
CREATE TABLE Video_games (gname VARCHAR, gtype VARCHAR)
SELECT AVG(position) FROM table_name_60 WHERE lost < 7
What is the position when lost is less than 7?
CREATE TABLE table_name_60 (position INTEGER, lost INTEGER)
SELECT starting_point FROM table_name_66 WHERE operates = "north/south" AND name = "palafox street"
What is the starting point of the north/south operating Palafox Street route?
CREATE TABLE table_name_66 (starting_point VARCHAR, operates VARCHAR, name VARCHAR)
SELECT MIN(series__number) FROM table_30012404_4 WHERE us_air_date = "20 July 2012"
What is the series # when the US air date is 20 July 2012?
CREATE TABLE table_30012404_4 (series__number INTEGER, us_air_date VARCHAR)
SELECT MAX(percentage) FROM table_name_66 WHERE total_blocks > 361
What is the highest percentage when there are more than 361 blocks?
CREATE TABLE table_name_66 (percentage INTEGER, total_blocks INTEGER)
SELECT eliminated AS by FROM table_29692554_2 WHERE time = "18:48"
Who was eliminated a person at 18:48?
CREATE TABLE table_29692554_2 (eliminated VARCHAR, time VARCHAR)
SELECT number_of_votes FROM table_name_82 WHERE candidate = "edward mahama" AND share_of_votes = "0.9%"
What is the number of votes of candidate edward mahama, who had 0.9% share of votes?
CREATE TABLE table_name_82 (number_of_votes VARCHAR, candidate VARCHAR, share_of_votes VARCHAR)
SELECT AVG(round) FROM table_name_5 WHERE school = "xavier"
What wss the average round drafted for xavier players?
CREATE TABLE table_name_5 (round INTEGER, school VARCHAR)
SELECT MAX(points) FROM table_name_9 WHERE club = "cf calvo sotelo" AND goal_difference > -3
Which Points have a Club of cf calvo sotelo, and a Goal Difference larger than -3?
CREATE TABLE table_name_9 (points INTEGER, club VARCHAR, goal_difference VARCHAR)
SELECT AVG(bronze) FROM table_name_52 WHERE silver = 0 AND rank = "3" AND total < 1
What is the average number of bronze medals of the team with 0 silvers, ranked 3, and less than 1 total medal?
CREATE TABLE table_name_52 (bronze INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT COUNT(london) FROM table_10402018_1 WHERE character = "Frank"
How many people play Frank in London?
CREATE TABLE table_10402018_1 (london VARCHAR, character VARCHAR)
SELECT result FROM table_name_31 WHERE date = "26th"
What was the result on the 26th?
CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR)
SELECT wins FROM table_name_66 WHERE top_25 = 1 AND events = 7
What is the Wins of the Top-25 of 1 and 7 Events?
CREATE TABLE table_name_66 (wins VARCHAR, top_25 VARCHAR, events VARCHAR)
SELECT rating FROM table_23799417_2 WHERE rating / SHARE(18 AS –49) = 3.6
What is the rating if the rating/share (18-49) is 3.6?
CREATE TABLE table_23799417_2 (rating VARCHAR)
SELECT width_feet__m_ FROM table_name_63 WHERE source__year_ = "nbi (2009)"
What is the width feet in meeters for the truss with a source of nbi (2009)?
CREATE TABLE table_name_63 (width_feet__m_ VARCHAR, source__year_ VARCHAR)
SELECT time_retired FROM table_name_44 WHERE driver = "jan heylen (r)"
What is the Time of Driver Jan Heylen (r)?
CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR)
SELECT number FROM table_name_15 WHERE builder = "baldwin locomotive works" AND works_number = 40864
With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is?
CREATE TABLE table_name_15 (number VARCHAR, builder VARCHAR, works_number VARCHAR)
SELECT position FROM table_10812938_3 WHERE cfl_team = "Winnipeg Blue Bombers"
What is the position for the player with cfl team Winnipeg blue bombers?
CREATE TABLE table_10812938_3 (position VARCHAR, cfl_team VARCHAR)
SELECT class FROM table_12232526_2 WHERE note = "Reportedly still active as of 2012"
who is the class where note is reportedly still active as of 2012?
CREATE TABLE table_12232526_2 (class VARCHAR, note VARCHAR)
SELECT MIN(interview) FROM table_name_52 WHERE state = "south dakota" AND evening_gown < 8.513
Who had the lowest interview score from South Dakota with an evening gown less than 8.513?
CREATE TABLE table_name_52 (interview INTEGER, state VARCHAR, evening_gown VARCHAR)
SELECT genre FROM table_name_53 WHERE station = "class 95fm"
What genre has a station of Class 95FM?
CREATE TABLE table_name_53 (genre VARCHAR, station VARCHAR)
SELECT year FROM table_name_66 WHERE moves = 14 AND opening = "c54 italian game"
What year has 14 moves and an opening of C54 Italian Game?
CREATE TABLE table_name_66 (year VARCHAR, moves VARCHAR, opening VARCHAR)
SELECT 2011 FROM table_name_73 WHERE tournament = "monte carlo masters"
Tell me the 2011 tournament of monte carlo masters
CREATE TABLE table_name_73 (tournament VARCHAR)