question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who is the Candidate when the Riding is Hochelaga?
CREATE TABLE table_name_13 (candidate VARCHAR, riding VARCHAR)
SELECT candidate FROM table_name_13 WHERE riding = "hochelaga"
What is the Placement when the Candidate is Jean-Patrick Berthiaume?
CREATE TABLE table_name_96 (placement VARCHAR, candidate VARCHAR)
SELECT placement FROM table_name_96 WHERE candidate = "jean-patrick berthiaume"
What is the value for the League Cup when the FA Cup value is 0 13 0 (49)?
CREATE TABLE table_name_20 (league VARCHAR, fa_cup VARCHAR)
SELECT league AS Cup FROM table_name_20 WHERE fa_cup = "0 13 0 (49)"
What is the League Cup value for 1991–present?
CREATE TABLE table_name_13 (league VARCHAR, years VARCHAR)
SELECT league AS Cup FROM table_name_13 WHERE years = "1991–present"
What league has a value of 0 29 (152) for Europe?
CREATE TABLE table_name_43 (league VARCHAR, europe VARCHAR)
SELECT league FROM table_name_43 WHERE europe = "0 29 (152)"
Which week was there a w 23–14 result?
CREATE TABLE table_name_1 (week VARCHAR, result VARCHAR)
SELECT week FROM table_name_1 WHERE result = "w 23–14"
Name the score for hawthorn opponent
CREATE TABLE table_name_64 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_64 WHERE opponent = "hawthorn"
Name the score at mcg venue and footscray opponent
CREATE TABLE table_name_13 (score VARCHAR, venue VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_13 WHERE venue = "mcg" AND opponent = "footscray"
Name the venue with opponent of collingwood
CREATE TABLE table_name_19 (venue VARCHAR, opponent VARCHAR)
SELECT venue FROM table_name_19 WHERE opponent = "collingwood"
When has Result of 2–0, and a Score of 2 – 0?
CREATE TABLE table_name_38 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT date FROM table_name_38 WHERE result = "2–0" AND score = "2 – 0"
Which Venue has a Goal larger than 3, and a Competition of 2011 afc asian cup?
CREATE TABLE table_name_3 (venue VARCHAR, goal VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_3 WHERE goal > 3 AND competition = "2011 afc asian cup"
Name the casualities for nation of incident of hostile on 2006-06-26
CREATE TABLE table_name_43 (casualties VARCHAR, nature_of_incident VARCHAR, date VARCHAR)
SELECT casualties FROM table_name_43 WHERE nature_of_incident = "hostile" AND date = "2006-06-26"
Name the casualities for kabul area
CREATE TABLE table_name_74 (casualties VARCHAR, location VARCHAR)
SELECT casualties FROM table_name_74 WHERE location = "kabul area"
Name the location on 2006-04-07 for direct fire
CREATE TABLE table_name_9 (location VARCHAR, date VARCHAR, circumstances VARCHAR)
SELECT location FROM table_name_9 WHERE date = "2006-04-07" AND circumstances = "direct fire"
Which venue has a Date of 20,21,22,23,24 november 1998?
CREATE TABLE table_name_57 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_57 WHERE date = "20,21,22,23,24 november 1998"
Which Away captain has a Date of 26,27,28,29 december 1998?
CREATE TABLE table_name_12 (away_captain VARCHAR, date VARCHAR)
SELECT away_captain FROM table_name_12 WHERE date = "26,27,28,29 december 1998"
Which venue has a Result of draw?
CREATE TABLE table_name_92 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_92 WHERE result = "draw"
Which Home captain has a Venue of melbourne cricket ground?
CREATE TABLE table_name_53 (home_captain VARCHAR, venue VARCHAR)
SELECT home_captain FROM table_name_53 WHERE venue = "melbourne cricket ground"
Which Away captain has a Date of 2,3,4,5 january 1999?
CREATE TABLE table_name_69 (away_captain VARCHAR, date VARCHAR)
SELECT away_captain FROM table_name_69 WHERE date = "2,3,4,5 january 1999"
What was the margin of victory for the win with a score of 71-69-71-70=281?
CREATE TABLE table_name_38 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_38 WHERE winning_score = 71 - 69 - 71 - 70 = 281
What is the to par value for the game with a winning score of 71-69-71-70=281?
CREATE TABLE table_name_49 (to_par VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_name_49 WHERE winning_score = 71 - 69 - 71 - 70 = 281
For what tournament was Bubba Watson the runner-up?
CREATE TABLE table_name_29 (tournament VARCHAR, runner_s__up VARCHAR)
SELECT tournament FROM table_name_29 WHERE runner_s__up = "bubba watson"
When John Senden was the runner-up, what was the To Par?
CREATE TABLE table_name_76 (to_par VARCHAR, runner_s__up VARCHAR)
SELECT to_par FROM table_name_76 WHERE runner_s__up = "john senden"
In 1988, what Metro Champion had a Runner-up of Memphis State?
CREATE TABLE table_name_73 (metro_champion VARCHAR, runner_up VARCHAR, year VARCHAR)
SELECT metro_champion FROM table_name_73 WHERE runner_up = "memphis state" AND year = 1988
What is the latest year a ride opened that was manufactured by Zamperla, was a convoy ride, and had a name of Tiny Truckers?
CREATE TABLE table_name_93 (opened_in INTEGER, ride_name VARCHAR, manufacture VARCHAR, type VARCHAR)
SELECT MAX(opened_in) FROM table_name_93 WHERE manufacture = "zamperla" AND type = "convoy ride" AND ride_name = "tiny truckers"
Who is the manufacturer of the mini jet red baron ride that opened before 2001?
CREATE TABLE table_name_33 (manufacture VARCHAR, opened_in VARCHAR, type VARCHAR)
SELECT manufacture FROM table_name_33 WHERE opened_in < 2001 AND type = "mini jet red baron"
Name the least year for les triplettes de belleville
CREATE TABLE table_name_45 (year INTEGER, original_title VARCHAR)
SELECT MIN(year) FROM table_name_45 WHERE original_title = "les triplettes de belleville"
Name the english title for zhang yimou
CREATE TABLE table_name_18 (english_title VARCHAR, director VARCHAR)
SELECT english_title FROM table_name_18 WHERE director = "zhang yimou"
Name the country for 2002
CREATE TABLE table_name_81 (country VARCHAR, year VARCHAR)
SELECT country FROM table_name_81 WHERE year = 2002
Name the english title for mexico/spain/usa
CREATE TABLE table_name_24 (english_title VARCHAR, country VARCHAR)
SELECT english_title FROM table_name_24 WHERE country = "mexico/spain/usa"
Name the country with year more than 2008
CREATE TABLE table_name_95 (country VARCHAR, year INTEGER)
SELECT country FROM table_name_95 WHERE year > 2008
What year did the Cosworth v8 engine participate in?
CREATE TABLE table_name_37 (year INTEGER, engine VARCHAR)
SELECT AVG(year) FROM table_name_37 WHERE engine = "cosworth v8"
Which year did the team receive more than 0 points?
CREATE TABLE table_name_65 (year INTEGER, points INTEGER)
SELECT AVG(year) FROM table_name_65 WHERE points > 0
Which chassis was used in 1971?
CREATE TABLE table_name_1 (chassis VARCHAR, year VARCHAR)
SELECT chassis FROM table_name_1 WHERE year = 1971
What was the time for Jean Luc Razakarivony with less than 3 heat and more than 2 lanes?
CREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT time FROM table_name_44 WHERE heat < 3 AND lane > 2 AND name = "jean luc razakarivony"
What was Domenico Fioravanti's time on lane 5?
CREATE TABLE table_name_66 (time VARCHAR, lane VARCHAR, name VARCHAR)
SELECT time FROM table_name_66 WHERE lane = 5 AND name = "domenico fioravanti"
What is the nationality with less than 9 heat, and a time of 1:01.87?
CREATE TABLE table_name_3 (nationality VARCHAR, heat VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_3 WHERE heat < 9 AND time = "1:01.87"
On which dates played Home Captain Courtney Walsh at the Queen's Park Oval?
CREATE TABLE table_name_35 (date VARCHAR, home_captain VARCHAR, venue VARCHAR)
SELECT date FROM table_name_35 WHERE home_captain = "courtney walsh" AND venue = "queen's park oval"
On what dates did the draw at the Antigua Recreation Ground happen?
CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR, venue VARCHAR)
SELECT date FROM table_name_25 WHERE result = "draw" AND venue = "antigua recreation ground"
Who was the Home Captain at Sabina Park?
CREATE TABLE table_name_65 (home_captain VARCHAR, venue VARCHAR)
SELECT home_captain FROM table_name_65 WHERE venue = "sabina park"
When did the draw happen?
CREATE TABLE table_name_76 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_76 WHERE result = "draw"
When did Northeastern University join?
CREATE TABLE table_name_59 (joined INTEGER, institution VARCHAR)
SELECT SUM(joined) FROM table_name_59 WHERE institution = "northeastern university"
Which type of institution is in Amherst, MA?
CREATE TABLE table_name_1 (type VARCHAR, location VARCHAR)
SELECT type FROM table_name_1 WHERE location = "amherst, ma"
What is the tenure of the person whose courtesy title is yamashiro-no-kami?
CREATE TABLE table_name_96 (tenure VARCHAR, courtesy_title VARCHAR)
SELECT tenure FROM table_name_96 WHERE courtesy_title = "yamashiro-no-kami"
What is the courtesy title of the person whose tenure goes from 1766–1794?
CREATE TABLE table_name_1 (courtesy_title VARCHAR, tenure VARCHAR)
SELECT courtesy_title FROM table_name_1 WHERE tenure = "1766–1794"
What is the bronze value associated with ranks over 5?
CREATE TABLE table_name_2 (bronze VARCHAR, rank INTEGER)
SELECT bronze FROM table_name_2 WHERE rank > 5
What is the highest number of bronzes for countries ranking over 5 with 0 golds?
CREATE TABLE table_name_74 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
SELECT MAX(bronze) FROM table_name_74 WHERE rank > 5 AND gold < 0
Name the loss for june 22
CREATE TABLE table_name_8 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_8 WHERE date = "june 22"
Name the loss for june 30
CREATE TABLE table_name_96 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_96 WHERE date = "june 30"
Name the score on august 21, 2007
CREATE TABLE table_name_46 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_46 WHERE date = "august 21, 2007"
Name the competition on august 25, 2007
CREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_83 WHERE date = "august 25, 2007"
Name the competition that was on august 25, 2007
CREATE TABLE table_name_48 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_48 WHERE date = "august 25, 2007"
Name the result for january 14, 2008
CREATE TABLE table_name_19 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_19 WHERE date = "january 14, 2008"
How many matches played are associated with 20 losses?
CREATE TABLE table_name_38 (played VARCHAR, lost VARCHAR)
SELECT played FROM table_name_38 WHERE lost = "20"
How many matches have Rhymney RFC played?
CREATE TABLE table_name_24 (played VARCHAR, club VARCHAR)
SELECT played FROM table_name_24 WHERE club = "rhymney rfc"
How many losses does Abercarn RFC have?
CREATE TABLE table_name_90 (lost VARCHAR, club VARCHAR)
SELECT lost FROM table_name_90 WHERE club = "abercarn rfc"
When did a Position of 21st (q) happen?
CREATE TABLE table_name_67 (year VARCHAR, position VARCHAR)
SELECT year FROM table_name_67 WHERE position = "21st (q)"
What is the Venue before 2003 with Notes of 57.73 m?
CREATE TABLE table_name_63 (venue VARCHAR, year VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_63 WHERE year < 2003 AND notes = "57.73 m"
What notes have the 8th position?
CREATE TABLE table_name_39 (notes VARCHAR, position VARCHAR)
SELECT notes FROM table_name_39 WHERE position = "8th"
Where was European Championships held with notes of 61.46 m?
CREATE TABLE table_name_52 (venue VARCHAR, competition VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_52 WHERE competition = "european championships" AND notes = "61.46 m"
What is the 0–100km/h (62mph) when the max power is s diesel engine all direct injection (dci)?
CREATE TABLE table_name_16 (max_power VARCHAR)
SELECT 0 AS _100km_h__62mph_ FROM table_name_16 WHERE max_power = "s diesel engine all direct injection (dci)"
Name the original name for last days of the victim
CREATE TABLE table_name_97 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_name FROM table_name_97 WHERE film_title_used_in_nomination = "last days of the victim"
Name the film title for okkar á milli: í hita og þunga dagsins
CREATE TABLE table_name_98 (film_title_used_in_nomination VARCHAR, original_name VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_98 WHERE original_name = "okkar á milli: í hita og þunga dagsins"
Name the film title that was norwegian
CREATE TABLE table_name_40 (film_title_used_in_nomination VARCHAR, language VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_40 WHERE language = "norwegian"
Name the film title for german
CREATE TABLE table_name_8 (film_title_used_in_nomination VARCHAR, language VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_8 WHERE language = "german"
Name the original name for the one from bulgaria
CREATE TABLE table_name_4 (original_name VARCHAR, country VARCHAR)
SELECT original_name FROM table_name_4 WHERE country = "bulgaria"
who was the opponent when the attendance was larger than 54,766?
CREATE TABLE table_name_27 (opponent VARCHAR, attendance INTEGER)
SELECT opponent FROM table_name_27 WHERE attendance > 54 OFFSET 766
What was the attendance when the series was at 0-1?
CREATE TABLE table_name_2 (attendance VARCHAR, series VARCHAR)
SELECT attendance FROM table_name_2 WHERE series = "0-1"
Who was the opponent when the series was at 1-3?
CREATE TABLE table_name_86 (opponent VARCHAR, series VARCHAR)
SELECT opponent FROM table_name_86 WHERE series = "1-3"
what was the score in the loss to tapani (0-1)?
CREATE TABLE table_name_39 (score VARCHAR, loss VARCHAR)
SELECT score FROM table_name_39 WHERE loss = "tapani (0-1)"
What id the team with a smaller Time than 18?
CREATE TABLE table_name_76 (team__number1 VARCHAR, time___cest__ INTEGER)
SELECT team__number1 FROM table_name_76 WHERE time___cest__ < 18
What is the location of the match with the record 10-8-1?
CREATE TABLE table_name_84 (location VARCHAR, record VARCHAR)
SELECT location FROM table_name_84 WHERE record = "10-8-1"
What is the method of the match in the Road fc 12 at 5:00 with less than 3 rounds, and a loss result?
CREATE TABLE table_name_72 (method VARCHAR, event VARCHAR, res VARCHAR, time VARCHAR, round VARCHAR)
SELECT method FROM table_name_72 WHERE time = "5:00" AND round < 3 AND res = "loss" AND event = "road fc 12"
What is the record of the match at 6:00?
CREATE TABLE table_name_84 (record VARCHAR, time VARCHAR)
SELECT record FROM table_name_84 WHERE time = "6:00"
What is the method of the match with a 3-4 record?
CREATE TABLE table_name_69 (method VARCHAR, record VARCHAR)
SELECT method FROM table_name_69 WHERE record = "3-4"
What is the location of the match with a round bigger than 1 where the opponent was Yoshihiro Akiyama?
CREATE TABLE table_name_62 (location VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_62 WHERE round > 1 AND opponent = "yoshihiro akiyama"
What is the average round of the match with a draw result and a record of 4-4-1?
CREATE TABLE table_name_26 (round INTEGER, res VARCHAR, record VARCHAR)
SELECT AVG(round) FROM table_name_26 WHERE res = "draw" AND record = "4-4-1"
What is the average round of the match in the Hero's 9 event with a time of 5:00?
CREATE TABLE table_name_7 (round INTEGER, time VARCHAR, event VARCHAR)
SELECT AVG(round) FROM table_name_7 WHERE time = "5:00" AND event = "hero's 9"
What shows as the First US Tour Cast when the Original Broadway Cast was Sarah Bolt?
CREATE TABLE table_name_16 (first_us_tour_cast VARCHAR, original_broadway_cast VARCHAR)
SELECT first_us_tour_cast FROM table_name_16 WHERE original_broadway_cast = "sarah bolt"
What is the name of the person in the First UK Tour Cast for the Character of Sister Mary Robert?
CREATE TABLE table_name_54 (first_uk_tour_cast VARCHAR, character VARCHAR)
SELECT first_uk_tour_cast FROM table_name_54 WHERE character = "sister mary robert"
What character did Katie Rowley Jones play in the Original West End Cast?
CREATE TABLE table_name_22 (character VARCHAR, original_west_end_cast VARCHAR)
SELECT character FROM table_name_22 WHERE original_west_end_cast = "katie rowley jones"
Who was the Original West End Cast when the irst US Tour Cast was lael van keuren?
CREATE TABLE table_name_55 (original_west_end_cast VARCHAR, first_us_tour_cast VARCHAR)
SELECT original_west_end_cast FROM table_name_55 WHERE first_us_tour_cast = "lael van keuren"
Who was in the Original West End Cast when the Original Broadway Cast was audrie neenan?
CREATE TABLE table_name_1 (original_west_end_cast VARCHAR, original_broadway_cast VARCHAR)
SELECT original_west_end_cast FROM table_name_1 WHERE original_broadway_cast = "audrie neenan"
What is the name of the person who was in the Original Broadway Cast that was Original West End Cast of sheila hancock?
CREATE TABLE table_name_56 (original_broadway_cast VARCHAR, original_west_end_cast VARCHAR)
SELECT original_broadway_cast FROM table_name_56 WHERE original_west_end_cast = "sheila hancock"
Dave Douglas has what score?
CREATE TABLE table_name_46 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_46 WHERE player = "dave douglas"
Who has more than 70 score with +1 to par?
CREATE TABLE table_name_13 (player VARCHAR, score VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_13 WHERE score > 70 AND to_par = "+1"
What game did they lose by 6 - 5?
CREATE TABLE table_name_67 (loss VARCHAR, score VARCHAR)
SELECT loss FROM table_name_67 WHERE score = "6 - 5"
What is the original title of the film from years after 1985 from the UK?
CREATE TABLE table_name_75 (original_title VARCHAR, year VARCHAR, country VARCHAR)
SELECT original_title FROM table_name_75 WHERE year > 1985 AND country = "uk"
What is the English title for years after 1981 originating from Argentina?
CREATE TABLE table_name_93 (english_title VARCHAR, year VARCHAR, country VARCHAR)
SELECT english_title FROM table_name_93 WHERE year > 1981 AND country = "argentina"
What is the English title for 1984 from Sweden?
CREATE TABLE table_name_68 (english_title VARCHAR, year VARCHAR, country VARCHAR)
SELECT english_title FROM table_name_68 WHERE year = 1984 AND country = "sweden"
What is the English title for the film directed by George Miller?
CREATE TABLE table_name_19 (english_title VARCHAR, director VARCHAR)
SELECT english_title FROM table_name_19 WHERE director = "george miller"
What is the Country of origin for the film directed by George Miller?
CREATE TABLE table_name_3 (country VARCHAR, director VARCHAR)
SELECT country FROM table_name_3 WHERE director = "george miller"
How many golds for west germany with over 8 total?
CREATE TABLE table_name_11 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT MIN(gold) FROM table_name_11 WHERE nation = "west germany" AND total > 8
How many golds for nations with under 1 bronze?
CREATE TABLE table_name_41 (gold INTEGER, bronze INTEGER)
SELECT SUM(gold) FROM table_name_41 WHERE bronze < 1
How many total medals for the nation ranked 7 with 1 silver and under 4 bronzes?
CREATE TABLE table_name_56 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_56 WHERE bronze < 4 AND silver = 1 AND rank = "7"
Name the city of license when founded was may 1995
CREATE TABLE table_name_92 (city_of_license VARCHAR, founded VARCHAR)
SELECT city_of_license FROM table_name_92 WHERE founded = "may 1995"
Name the city of license for when founded is october 2010
CREATE TABLE table_name_3 (city_of_license VARCHAR, founded VARCHAR)
SELECT city_of_license FROM table_name_3 WHERE founded = "october 2010"
Name the coverage area for licesne of hillsboro, west virginia
CREATE TABLE table_name_25 (coverage_area VARCHAR, city_of_license VARCHAR)
SELECT coverage_area FROM table_name_25 WHERE city_of_license = "hillsboro, west virginia"
Name the city of license which has age Watt of 160 watts
CREATE TABLE table_name_56 (city_of_license VARCHAR, age_watt VARCHAR)
SELECT city_of_license FROM table_name_56 WHERE age_watt = "160 watts"
Name the city of license with frequency of 103.5 mhz
CREATE TABLE table_name_80 (city_of_license VARCHAR, frequency VARCHAR)
SELECT city_of_license FROM table_name_80 WHERE frequency = "103.5 mhz"