question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the release date of the feature with a production number of 1018, BR 1352?
CREATE TABLE table_name_14 (release_date VARCHAR, production_number VARCHAR)
SELECT release_date FROM table_name_14 WHERE production_number = "1018, br 1352"
What candidate was featured in the election for incumbent samuel j. nicholls' seat?
CREATE TABLE table_1342451_38 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342451_38 WHERE incumbent = "Samuel J. Nicholls"
What is the Class of 1899–1900?
CREATE TABLE table_name_16 (class VARCHAR, year_made VARCHAR)
SELECT class FROM table_name_16 WHERE year_made = "1899–1900"
Who was the opponent in the game that was attended by 48,000 people?
CREATE TABLE table_name_93 (opponent_number VARCHAR, attendance VARCHAR)
SELECT opponent_number FROM table_name_93 WHERE attendance = "48,000"
What is the name of the free transfer fee with a transfer status and an ENG country?
CREATE TABLE table_name_31 (name VARCHAR, country VARCHAR, transfer_fee VARCHAR, status VARCHAR)
SELECT name FROM table_name_31 WHERE transfer_fee = "free" AND status = "transfer" AND country = "eng"
Name the presenter 11 may
CREATE TABLE table_20466963_13 (presenter VARCHAR, date VARCHAR)
SELECT presenter FROM table_20466963_13 WHERE date = "11 May"
What is Venue, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?
CREATE TABLE table_name_46 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_46 WHERE date = "23,24,26,27,28,29 feb, 1 mar 1912"
Which Position has an Against smaller than 49, and a Drawn of 4?
CREATE TABLE table_name_16 (position INTEGER, against VARCHAR, drawn VARCHAR)
SELECT MAX(position) FROM table_name_16 WHERE against < 49 AND drawn = 4
What try bonus has 18 as the played of and 204 as the points?
CREATE TABLE table_name_83 (try_bonus VARCHAR, played VARCHAR, points_for VARCHAR)
SELECT try_bonus FROM table_name_83 WHERE played = "18" AND points_for = "204"
What is the version when the codename is ada?
CREATE TABLE table_27329061_2 (version VARCHAR, codename VARCHAR)
SELECT version FROM table_27329061_2 WHERE codename = "Ada"
What was being played on Nov 23, 2006?
CREATE TABLE table_name_79 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_79 WHERE date = "nov 23, 2006"
What was the title of the episode with the production code 311?
CREATE TABLE table_11630008_5 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_11630008_5 WHERE production_code = 311
What is the only type of university that was founded in 1873?
CREATE TABLE table_2076463_2 (control VARCHAR, founded VARCHAR)
SELECT control FROM table_2076463_2 WHERE founded = 1873
I want to know the date with attendance of 35,763
CREATE TABLE table_name_88 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_88 WHERE attendance = "35,763"
What time is listed against Elimination number 2?
CREATE TABLE table_name_21 (time VARCHAR, elimination VARCHAR)
SELECT time FROM table_name_21 WHERE elimination = "2"
What's the average year a Rangam movie came out?
CREATE TABLE table_name_33 (year INTEGER, movie VARCHAR)
SELECT AVG(year) FROM table_name_33 WHERE movie = "rangam"
Who constructed rolf stommelen's car?
CREATE TABLE table_name_83 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_83 WHERE driver = "rolf stommelen"
WHAT IS THE GERMAN NAME OF LIBERALISM?
CREATE TABLE table_name_85 (name__german_ VARCHAR, ideology VARCHAR)
SELECT name__german_ FROM table_name_85 WHERE ideology = "liberalism"
Who is the quarterback for Arkansas State?
CREATE TABLE table_name_38 (player VARCHAR, position VARCHAR, college VARCHAR)
SELECT player FROM table_name_38 WHERE position = "quarterback" AND college = "arkansas state"
What year is the happy planet index?
CREATE TABLE table_name_79 (year INTEGER, index VARCHAR)
SELECT SUM(year) FROM table_name_79 WHERE index = "happy planet index"
Which Year born (Age) has a Current Club of sporting al riyadi beirut, and a Position of pf?
CREATE TABLE table_name_41 (year_born__age_ VARCHAR, current_club VARCHAR, position VARCHAR)
SELECT year_born__age_ FROM table_name_41 WHERE current_club = "sporting al riyadi beirut" AND position = "pf"
What is the smallest capacity for Bursa?
CREATE TABLE table_name_10 (capacity INTEGER, city VARCHAR)
SELECT MIN(capacity) FROM table_name_10 WHERE city = "bursa"
Which Senior status has a Chief Judge of 1991–1995?
CREATE TABLE table_name_30 (senior_status VARCHAR, chief_judge VARCHAR)
SELECT senior_status FROM table_name_30 WHERE chief_judge = "1991–1995"
WHAT IS THE LEAGUE WITH HOME 1-1?
CREATE TABLE table_name_63 (league VARCHAR, home VARCHAR)
SELECT league FROM table_name_63 WHERE home = "1-1"
what is the mountain range when the state is colorado, rank is higher than 90 and mountain peak is whetstone mountain?
CREATE TABLE table_name_28 (mountain_range VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR)
SELECT mountain_range FROM table_name_28 WHERE state = "colorado" AND rank > 90 AND mountain_peak = "whetstone mountain"
What was the university of akron's enrollment?
CREATE TABLE table_name_35 (enrollment VARCHAR, university VARCHAR)
SELECT enrollment FROM table_name_35 WHERE university = "university of akron"
Which Assist/pass has a Goal of 5?
CREATE TABLE table_name_31 (assist_pass VARCHAR, goal VARCHAR)
SELECT assist_pass FROM table_name_31 WHERE goal = "5"
Who was the match played against in the final on March 14, 2008?
CREATE TABLE table_name_2 (opponents_in_the_final VARCHAR, date VARCHAR)
SELECT opponents_in_the_final FROM table_name_2 WHERE date = "march 14, 2008"
What is the average number of points when the ranking is 7th and the draw is less than 4?
CREATE TABLE table_name_63 (points INTEGER, rank VARCHAR, draw VARCHAR)
SELECT AVG(points) FROM table_name_63 WHERE rank = "7th" AND draw < 4
What was the order of succession for the department of education?
CREATE TABLE table_name_87 (order_of_succession VARCHAR, department VARCHAR)
SELECT order_of_succession FROM table_name_87 WHERE department = "education"
List the name of the stadium where both the player 'Walter Samuel' and the player 'Thiago Motta' got injured.
CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE game (stadium_id VARCHAR, id VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR, player VARCHAR)
SELECT T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id WHERE T3.player = 'Walter Samuel' INTERSECT SELECT T2.name FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id WHERE T3.player = 'Thiago Mo...
What is the result after 1993 of the first four rounds?
CREATE TABLE table_name_2 (result VARCHAR, year VARCHAR, round VARCHAR)
SELECT result FROM table_name_2 WHERE year > 1993 AND round = "first four"
Who is the runner(s)-up for a winning score of −3 (71-74-66-66=277)?
CREATE TABLE table_name_65 (runner_s__up VARCHAR, winning_score VARCHAR)
SELECT runner_s__up FROM table_name_65 WHERE winning_score = −3(71 - 74 - 66 - 66 = 277)
What is the rank of the airport with a freight ( metric tonnes ) of 23791?
CREATE TABLE table_13836704_6 (rank VARCHAR, freight___metric_tonnes__ VARCHAR)
SELECT rank FROM table_13836704_6 WHERE freight___metric_tonnes__ = 23791
When Jean Alesi had laps less than 24, what was his highest grid?
CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_75 WHERE driver = "jean alesi" AND laps < 24
Matches of 127 has how many total number of inns?
CREATE TABLE table_name_56 (inns VARCHAR, matches VARCHAR)
SELECT COUNT(inns) FROM table_name_56 WHERE matches = 127
What's the name of the team who had a Honda motorcycle?
CREATE TABLE table_20016339_1 (team VARCHAR, motorcycle VARCHAR)
SELECT team FROM table_20016339_1 WHERE motorcycle = "Honda"
Which Date has a Home of minnesota?
CREATE TABLE table_name_25 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_25 WHERE home = "minnesota"
What is the finish when the to par is +18?
CREATE TABLE table_name_18 (finish VARCHAR, to_par VARCHAR)
SELECT finish FROM table_name_18 WHERE to_par = "+18"
What is the title of the prerequisite class of International Finance course?
CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR)
SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'International Finance')
What is the to par that has jimmy hines as the player?
CREATE TABLE table_name_46 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_46 WHERE player = "jimmy hines"
What name has a qual 2 of 1:46.025?
CREATE TABLE table_name_33 (name VARCHAR, qual_2 VARCHAR)
SELECT name FROM table_name_33 WHERE qual_2 = "1:46.025"
What is the latest year with less than 0 points?
CREATE TABLE table_name_54 (year INTEGER, points INTEGER)
SELECT MAX(year) FROM table_name_54 WHERE points < 0
Name the total number of hdtv for eurotic tv
CREATE TABLE table_15887683_17 (hdtv VARCHAR, television_service VARCHAR)
SELECT COUNT(hdtv) FROM table_15887683_17 WHERE television_service = "Eurotic TV"
What is the length of fleet number 501-506?
CREATE TABLE table_name_62 (length VARCHAR, fleet_number VARCHAR)
SELECT length FROM table_name_62 WHERE fleet_number = "501-506"
What is the location of the 1999 tournament?
CREATE TABLE table_22165661_3 (location VARCHAR, tournament VARCHAR)
SELECT location FROM table_22165661_3 WHERE tournament = 1999
What is the lowest GDP (ppp) per capita?
CREATE TABLE table_25869317_1 (gdp__ppp__per_capita INTEGER)
SELECT MIN(gdp__ppp__per_capita) FROM table_25869317_1
Where is the headquarters of Alpha Nu Omega
CREATE TABLE table_10054296_1 (headquarters VARCHAR, member VARCHAR)
SELECT headquarters FROM table_10054296_1 WHERE member = "Alpha Nu Omega"
Who was the winning mentor in season two?
CREATE TABLE table_16331144_1 (winning_mentor VARCHAR, season VARCHAR)
SELECT winning_mentor FROM table_16331144_1 WHERE season = "Two"
What were the guests that aired on 7 June 2010?
CREATE TABLE table_26733129_1 (guests VARCHAR, air_date VARCHAR)
SELECT guests FROM table_26733129_1 WHERE air_date = "7 June 2010"
When the To par is E, what is the Score?
CREATE TABLE table_name_62 (score VARCHAR, to_par VARCHAR)
SELECT score FROM table_name_62 WHERE to_par = "e"
What institution is a NCAA Division i school and part of the NEC conference with a nickname the Blue Devils?
CREATE TABLE table_name_48 (institution VARCHAR, nickname VARCHAR, classification VARCHAR, current_conference VARCHAR)
SELECT institution FROM table_name_48 WHERE classification = "ncaa division i" AND current_conference = "nec" AND nickname = "blue devils"
Name what was published in july 1934 with a setting of mars
CREATE TABLE table_name_22 (published_in VARCHAR, setting VARCHAR, publication_date VARCHAR)
SELECT published_in FROM table_name_22 WHERE setting = "mars" AND publication_date = "july 1934"
IN WHAT STAGE DID ALEXANDER VINOKOUROV WON THE GENERAL CLASSIFICATION?
CREATE TABLE table_11667521_17 (stage__winner_ VARCHAR, general_classification VARCHAR)
SELECT stage__winner_ FROM table_11667521_17 WHERE general_classification = "Alexander Vinokourov"
Did he win or lose rof 32: respect?
CREATE TABLE table_name_47 (res VARCHAR, event VARCHAR)
SELECT res FROM table_name_47 WHERE event = "rof 32: respect"
What is the rank of the player with the 39.69 average?
CREATE TABLE table_26041144_11 (rank VARCHAR, average VARCHAR)
SELECT rank FROM table_26041144_11 WHERE average = "39.69"
Which gender had a decile of more than 1 and featured the South Auckland Seventh-Day Adventist School?
CREATE TABLE table_name_16 (gender VARCHAR, decile VARCHAR, name VARCHAR)
SELECT gender FROM table_name_16 WHERE decile > 1 AND name = "south auckland seventh-day adventist school"
What is the score of the match with a 4-0 result?
CREATE TABLE table_name_39 (score VARCHAR, result VARCHAR)
SELECT score FROM table_name_39 WHERE result = "4-0"
Which District has a First elected of 1856, and an Incumbent of william kellogg?
CREATE TABLE table_name_20 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
SELECT district FROM table_name_20 WHERE first_elected = 1856 AND incumbent = "william kellogg"
How many entries for conference tournament are listed when Texas Western is the regular season winner?
CREATE TABLE table_28365816_2 (conference VARCHAR, regular_season_winner VARCHAR)
SELECT COUNT(conference) AS Tournament FROM table_28365816_2 WHERE regular_season_winner = "Texas Western"
What is the highest total medals won by a nation that had 7 bronze but more than 12 silver medals?
CREATE TABLE table_name_43 (total INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT MAX(total) FROM table_name_43 WHERE bronze = 7 AND silver > 12
What is the rank of the film directed by Kevin Costner?
CREATE TABLE table_name_14 (rank VARCHAR, director VARCHAR)
SELECT COUNT(rank) FROM table_name_14 WHERE director = "kevin costner"
What were the total number of matches played when the Deccan Chargers had a strike rate of 15.5?
CREATE TABLE table_name_50 (matches INTEGER, team VARCHAR, strike_rate VARCHAR)
SELECT MAX(matches) FROM table_name_50 WHERE team = "deccan chargers" AND strike_rate > 15.5
How many series did John Banas direct?
CREATE TABLE table_18428024_3 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT no_in_series FROM table_18428024_3 WHERE directed_by = "John Banas"
What is the average start with wins larger than 0 and 32nd position?
CREATE TABLE table_name_34 (starts INTEGER, wins VARCHAR, position VARCHAR)
SELECT AVG(starts) FROM table_name_34 WHERE wins > 0 AND position = "32nd"
What is the Opponent of the game in 1989?
CREATE TABLE table_name_76 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_76 WHERE date = 1989
What is the Label when the album shows cover version vi?
CREATE TABLE table_name_26 (label VARCHAR, album VARCHAR)
SELECT label FROM table_name_26 WHERE album = "cover version vi"
What tournament had an A in 2012 and Q2 in 2010?
CREATE TABLE table_name_4 (tournament VARCHAR)
SELECT tournament FROM table_name_4 WHERE 2012 = "a" AND 2010 = "q2"
Who had the fastest lap of the race that Ayrton Senna won on 23 April?
CREATE TABLE table_name_4 (fastest_lap VARCHAR, winning_driver VARCHAR, date VARCHAR)
SELECT fastest_lap FROM table_name_4 WHERE winning_driver = "ayrton senna" AND date = "23 april"
What was the result of the game in halifax?
CREATE TABLE table_name_34 (result VARCHAR, city VARCHAR)
SELECT result FROM table_name_34 WHERE city = "halifax"
Who won the australian grand prix?
CREATE TABLE table_name_53 (race VARCHAR)
SELECT race AS Winner FROM table_name_53 WHERE race = "australian grand prix"
What were the highest points before the year 1974?
CREATE TABLE table_name_61 (points INTEGER, year INTEGER)
SELECT MAX(points) FROM table_name_61 WHERE year < 1974
The release from Simply Vinyl label was on what date?
CREATE TABLE table_name_91 (date VARCHAR, label VARCHAR)
SELECT date FROM table_name_91 WHERE label = "simply vinyl"
When was the event in the City of Baden?
CREATE TABLE table_name_35 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_35 WHERE city = "baden"
How many cup apps for the season where there are more than 10 league goals and 23 league apps?
CREATE TABLE table_name_17 (cup_apps VARCHAR, league_goals VARCHAR, league_apps VARCHAR)
SELECT cup_apps FROM table_name_17 WHERE league_goals > 10 AND league_apps = 23
What team has Carlos Sánchez as a goalkeeper and an average below 1.12?
CREATE TABLE table_name_64 (team VARCHAR, average VARCHAR, goalkeeper VARCHAR)
SELECT team FROM table_name_64 WHERE average < 1.12 AND goalkeeper = "carlos sánchez"
What is the QLD Cup Premierships if team is Gold Coast Vikings?
CREATE TABLE table_2383498_4 (qld_cup_premierships VARCHAR, team VARCHAR)
SELECT qld_cup_premierships FROM table_2383498_4 WHERE team = "Gold Coast Vikings"
Which Hakhun has a Tikhak of ʒu²?
CREATE TABLE table_name_11 (hakhun VARCHAR, tikhak VARCHAR)
SELECT hakhun FROM table_name_11 WHERE tikhak = "ʒu²"
What is canada's margin?
CREATE TABLE table_name_40 (margin INTEGER, country VARCHAR)
SELECT SUM(margin) FROM table_name_40 WHERE country = "canada"
What is the try bonus of the club with played?
CREATE TABLE table_name_87 (try_bonus VARCHAR)
SELECT try_bonus FROM table_name_87 WHERE "played" = "played"
What park opened in 1999?
CREATE TABLE table_name_48 (park VARCHAR, opened VARCHAR)
SELECT park FROM table_name_48 WHERE opened = "1999"
What date was the opponent the Portland Trail Blazers?
CREATE TABLE table_name_67 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_67 WHERE opponent = "portland trail blazers"
For the game played on 31 July 2007 on clay what was the score?
CREATE TABLE table_name_42 (score VARCHAR, surface VARCHAR, date VARCHAR)
SELECT score FROM table_name_42 WHERE surface = "clay" AND date = "31 july 2007"
What is the name on the Communist ticket with an Office of judge of the court of appeals?
CREATE TABLE table_name_63 (communist_ticket VARCHAR, office VARCHAR)
SELECT communist_ticket FROM table_name_63 WHERE office = "judge of the court of appeals"
What is the lowest Pick # with michael grabner and less than 20 Reg GP?
CREATE TABLE table_name_90 (pick__number INTEGER, player VARCHAR, reg_gp VARCHAR)
SELECT MIN(pick__number) FROM table_name_90 WHERE player = "michael grabner" AND reg_gp < 20
Which grid has a time/retired of +27.347?
CREATE TABLE table_name_24 (grid VARCHAR, time_retired VARCHAR)
SELECT COUNT(grid) FROM table_name_24 WHERE time_retired = "+27.347"
What is Videoconferencing, when Synchronous Conferencing is "No", when Web Conferencing is "No", and when Faxing is "Yes"?
CREATE TABLE table_name_24 (videoconferencing VARCHAR, faxing VARCHAR, synchronous_conferencing VARCHAR, web_conferencing VARCHAR)
SELECT videoconferencing FROM table_name_24 WHERE synchronous_conferencing = "no" AND web_conferencing = "no" AND faxing = "yes"
What is the format of catalog number 886973273913 (gowow012) in the United Kingdom?
CREATE TABLE table_name_70 (format VARCHAR, country VARCHAR, catalogue__number VARCHAR)
SELECT format FROM table_name_70 WHERE country = "united kingdom" AND catalogue__number = "886973273913 (gowow012)"
What is the D 45 √ with a D 46 √ with d 46 √?
CREATE TABLE table_name_99 (d_45_√ VARCHAR, d_46_√ VARCHAR)
SELECT d_45_√ FROM table_name_99 WHERE d_46_√ = "d 46 √"
Name the opponents for 6–2, 3–6, 6–3
CREATE TABLE table_24638867_6 (opponents VARCHAR, score VARCHAR)
SELECT opponents FROM table_24638867_6 WHERE score = "6–2, 3–6, 6–3"
What division was the regular season 5th, Northeast?
CREATE TABLE table_name_97 (division VARCHAR, regular_season VARCHAR)
SELECT division FROM table_name_97 WHERE regular_season = "5th, northeast"
What film earmed p3.2 million on December 25?
CREATE TABLE table_29217650_1 (movies VARCHAR, december_25 VARCHAR)
SELECT movies FROM table_29217650_1 WHERE december_25 = "P3.2 million"
How many goals does Mike Eruzione have in total?
CREATE TABLE table_name_6 (goals VARCHAR, player VARCHAR)
SELECT goals FROM table_name_6 WHERE player = "mike eruzione"
Who was the opponent in the game played after Week 4 on October 15, 2000?
CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_37 WHERE week > 4 AND date = "october 15, 2000"
What is the Name of the Center?
CREATE TABLE table_name_84 (name VARCHAR, position VARCHAR)
SELECT name FROM table_name_84 WHERE position = "center"
Who won stage 16?
CREATE TABLE table_name_87 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_87 WHERE stage = "16"
What medal was won in the men's light welterweight event at the 1996 Atlanta games?
CREATE TABLE table_name_68 (medal VARCHAR, event VARCHAR, games VARCHAR)
SELECT medal FROM table_name_68 WHERE event = "men's light welterweight" AND games = "1996 atlanta"
Who wrote the story viewed by 0.53 million viewers?
CREATE TABLE table_26914076_3 (story_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT story_by FROM table_26914076_3 WHERE us_viewers__millions_ = "0.53"
What is the Weight of the player with a Block larger than 328, Spike greater than 375 and Height larger than 207?
CREATE TABLE table_name_28 (weight VARCHAR, spike VARCHAR, block VARCHAR, height VARCHAR)
SELECT COUNT(weight) FROM table_name_28 WHERE block > 328 AND height > 207 AND spike > 375
Name the location of buffalo sabres
CREATE TABLE table_23453931_5 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_23453931_5 WHERE opponent = "Buffalo Sabres"