answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT award FROM table_name_14 WHERE recipient = "charlie productions ltd"
CREATE TABLE table_name_14 (award VARCHAR, recipient VARCHAR)
What award did Charlie Productions Ltd receive?
SELECT film FROM table_name_75 WHERE recipient = "bub ltd"
CREATE TABLE table_name_75 (film VARCHAR, recipient VARCHAR)
What film had Bub Ltd as the recipient?
SELECT film FROM table_name_2 WHERE date = "22/3/06"
CREATE TABLE table_name_2 (film VARCHAR, date VARCHAR)
What film was awarded on 22/3/06?
SELECT score FROM table_name_18 WHERE outcome = "winner" AND year > 2008
CREATE TABLE table_name_18 (score VARCHAR, outcome VARCHAR, year VARCHAR)
What score resulted in a winner after 2008?
SELECT score FROM table_name_6 WHERE opponent = "gan teik chai lin woon fui"
CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR)
What score has an opponent gan teik chai lin woon fui?
SELECT tournament FROM table_name_77 WHERE opponent = "gan teik chai lin woon fui"
CREATE TABLE table_name_77 (tournament VARCHAR, opponent VARCHAR)
What tournament has an opponent gan teik chai lin woon fui?
SELECT tournament FROM table_name_59 WHERE opponent = "jung jae-sung lee yong-dae"
CREATE TABLE table_name_59 (tournament VARCHAR, opponent VARCHAR)
What tournament has an opponent jung jae-sung lee yong-dae?
SELECT record FROM table_name_12 WHERE loss = "alexander (5-2)"
CREATE TABLE table_name_12 (record VARCHAR, loss VARCHAR)
What is the record of the team that lost to Alexander (5-2)?
SELECT opponent FROM table_name_86 WHERE record = "17-11"
CREATE TABLE table_name_86 (opponent VARCHAR, record VARCHAR)
Which opponent has a record of 17-11?
SELECT score FROM table_name_46 WHERE record = "15-9"
CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR)
What is the score of the game that resulted in a 15-9 record?
SELECT attendance FROM table_name_86 WHERE date = "may 26"
CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR)
What was the attendance on May 26?
SELECT score FROM table_name_34 WHERE loss = "dotson (2-3)"
CREATE TABLE table_name_34 (score VARCHAR, loss VARCHAR)
What is the score of the game that was a loss to Dotson (2-3)?
SELECT date FROM table_name_58 WHERE record = "19-11"
CREATE TABLE table_name_58 (date VARCHAR, record VARCHAR)
On what date was the record 19-11?
SELECT MAX(points) FROM table_name_61 WHERE year < 1974
CREATE TABLE table_name_61 (points INTEGER, year INTEGER)
What were the highest points before the year 1974?
SELECT chassis FROM table_name_75 WHERE entrant = "lavazza march" AND points = 0.5
CREATE TABLE table_name_75 (chassis VARCHAR, entrant VARCHAR, points VARCHAR)
What was the chassis when the entrant was Lavazza March, and the points were 0.5?
SELECT chassis FROM table_name_38 WHERE entrant = "lavazza march" AND year = 1975
CREATE TABLE table_name_38 (chassis VARCHAR, entrant VARCHAR, year VARCHAR)
What was the chassis when the entrant was Lavazza March, and the year was 1975?
SELECT chassis FROM table_name_74 WHERE points > 0 AND entrant = "march engineering"
CREATE TABLE table_name_74 (chassis VARCHAR, points VARCHAR, entrant VARCHAR)
What was the chassis when the points were greater than 0 and the entrant was March Engineering?
SELECT name FROM table_name_21 WHERE time = 56.07
CREATE TABLE table_name_21 (name VARCHAR, time VARCHAR)
Who had a time of 56.07?
SELECT original_title FROM table_name_83 WHERE english_title = "madame rosa"
CREATE TABLE table_name_83 (original_title VARCHAR, english_title VARCHAR)
What is the original title of Madame Rosa?
SELECT original_title FROM table_name_42 WHERE director = "paul verhoeven"
CREATE TABLE table_name_42 (original_title VARCHAR, director VARCHAR)
What is the original title where Paul Verhoeven is the director?
SELECT original_title FROM table_name_18 WHERE year = "1978"
CREATE TABLE table_name_18 (original_title VARCHAR, year VARCHAR)
What original title has a year of 1978?
SELECT director FROM table_name_14 WHERE original_title = "best foreign film"
CREATE TABLE table_name_14 (director VARCHAR, original_title VARCHAR)
Who is the director of the best foreign film?
SELECT english_title FROM table_name_90 WHERE original_title = "ansikte mot ansikte"
CREATE TABLE table_name_90 (english_title VARCHAR, original_title VARCHAR)
What is the English title for Ansikte Mot Ansikte?
SELECT circumstances FROM table_name_93 WHERE date = "2009-09-05"
CREATE TABLE table_name_93 (circumstances VARCHAR, date VARCHAR)
What happened on 2009-09-05?
SELECT location FROM table_name_80 WHERE circumstances = "combat" AND date = "2009-09-16"
CREATE TABLE table_name_80 (location VARCHAR, circumstances VARCHAR, date VARCHAR)
Where was the combat of 2009-09-16?
SELECT circumstances FROM table_name_25 WHERE date = "2009-03-14"
CREATE TABLE table_name_25 (circumstances VARCHAR, date VARCHAR)
What happened on 2009-03-14?
SELECT casualties FROM table_name_71 WHERE circumstances = "combat" AND location = "fayzabad area"
CREATE TABLE table_name_71 (casualties VARCHAR, circumstances VARCHAR, location VARCHAR)
How many casualties from the combat in the Fayzabad area?
SELECT location FROM table_name_28 WHERE date = "2009-09-05"
CREATE TABLE table_name_28 (location VARCHAR, date VARCHAR)
Where was the incident of 2009-09-05?
SELECT home FROM table_name_67 WHERE date = "january 22"
CREATE TABLE table_name_67 (home VARCHAR, date VARCHAR)
What is the home team of the game on January 22?
SELECT score FROM table_name_59 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND date = "february 26"
CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)
What is the score of the game on February 26 with the Chicago black hawks as the home team and the New York Rangers as the visitor team?
SELECT home FROM table_name_74 WHERE date = "february 4"
CREATE TABLE table_name_74 (home VARCHAR, date VARCHAR)
What is the home team of the game on February 4?
SELECT team FROM table_name_44 WHERE points < 1 AND chassis = "zakspeed 871"
CREATE TABLE table_name_44 (team VARCHAR, points VARCHAR, chassis VARCHAR)
What Team had less than 1 point with a Zakspeed 871 chassis?
SELECT MIN(points) FROM table_name_35 WHERE engine = "ford cosworth dfr (mader) 3.5 v8"
CREATE TABLE table_name_35 (points INTEGER, engine VARCHAR)
What is the lowest amount of points for a Ford Cosworth DFR (Mader) 3.5 V8 engine?
SELECT SUM(year) FROM table_name_55 WHERE chassis = "rial arc2"
CREATE TABLE table_name_55 (year INTEGER, chassis VARCHAR)
What year was a Rial Arc2 chassis used?
SELECT bronze FROM table_name_25 WHERE silver = 1
CREATE TABLE table_name_25 (bronze VARCHAR, silver VARCHAR)
Name the bronze when silver is 1
SELECT MIN(silver) FROM table_name_41 WHERE gold < 0
CREATE TABLE table_name_41 (silver INTEGER, gold INTEGER)
Name the least silver when gold is less than 0
SELECT MIN(silver) FROM table_name_40 WHERE nation = "total" AND bronze > 24
CREATE TABLE table_name_40 (silver INTEGER, nation VARCHAR, bronze VARCHAR)
Name the least silver for nation of total when bronze is more than 24
SELECT year FROM table_name_14 WHERE finish = "12th" AND record = "23-36"
CREATE TABLE table_name_14 (year VARCHAR, finish VARCHAR, record VARCHAR)
Name the year with finish of 12th and record of 23-36
SELECT record FROM table_name_78 WHERE year = "1997"
CREATE TABLE table_name_78 (record VARCHAR, year VARCHAR)
Name the record for 1997
SELECT year FROM table_name_65 WHERE manager = "jesus alfaro" AND finish = "6th"
CREATE TABLE table_name_65 (year VARCHAR, manager VARCHAR, finish VARCHAR)
Name the year for jesus alfaro and finish of 6th
SELECT manager FROM table_name_45 WHERE playoffs = "missed" AND year = "1999"
CREATE TABLE table_name_45 (manager VARCHAR, playoffs VARCHAR, year VARCHAR)
Name the manager for playoffs of missed for 1999
SELECT AVG(attendance) FROM table_name_45 WHERE record = "17-18"
CREATE TABLE table_name_45 (attendance INTEGER, record VARCHAR)
What was the average attendance when the record was 17-18?
SELECT MIN(points) FROM table_name_60 WHERE entrant = "marlboro brm" AND chassis = "brm p160b"
CREATE TABLE table_name_60 (points INTEGER, entrant VARCHAR, chassis VARCHAR)
What was marlboro brm's lowest points by using brm p160b?
SELECT COUNT(points) FROM table_name_47 WHERE year = 1974
CREATE TABLE table_name_47 (points VARCHAR, year VARCHAR)
What is the total points in 1974?
SELECT entrant FROM table_name_3 WHERE points = 0 AND year = 1974
CREATE TABLE table_name_3 (entrant VARCHAR, points VARCHAR, year VARCHAR)
Who has 0 points in 1974?
SELECT MIN(points) FROM table_name_37 WHERE chassis = "mclaren m14a"
CREATE TABLE table_name_37 (points INTEGER, chassis VARCHAR)
What is the lowest points of using mclaren m14a as chassis?
SELECT SUM(year) FROM table_name_39 WHERE location = "saint paul" AND final_score > 14.35 AND event = "all around"
CREATE TABLE table_name_39 (year INTEGER, event VARCHAR, location VARCHAR, final_score VARCHAR)
Location of saint paul, and a Final-Score larger than 14.35, and a Event of all around is what sum of year?
SELECT AVG(year) FROM table_name_61 WHERE competition = "u.s championships" AND event = "all around"
CREATE TABLE table_name_61 (year INTEGER, competition VARCHAR, event VARCHAR)
Competition of u.s championships, and a Event of all around has what average year?
SELECT film FROM table_name_55 WHERE year = 1970
CREATE TABLE table_name_55 (film VARCHAR, year VARCHAR)
What film was in 1970?
SELECT lyricist FROM table_name_14 WHERE film = "mukti"
CREATE TABLE table_name_14 (lyricist VARCHAR, film VARCHAR)
Who wrote the lyrics for Mukti?
SELECT song FROM table_name_13 WHERE music_director_s_ = "shankar jaikishan"
CREATE TABLE table_name_13 (song VARCHAR, music_director_s_ VARCHAR)
What song was directed by Shankar Jaikishan?
SELECT song FROM table_name_23 WHERE year > 1976 AND music_director_s_ = "rahul dev burman"
CREATE TABLE table_name_23 (song VARCHAR, year VARCHAR, music_director_s_ VARCHAR)
What song was written after 1976 and directed by Rahul Dev Burman?
SELECT car_s_ FROM table_name_24 WHERE rounds < 12 AND owner_s_ = "scott deware"
CREATE TABLE table_name_24 (car_s_ VARCHAR, rounds VARCHAR, owner_s_ VARCHAR)
What car does Scott Deware own that has rounds under 12?
SELECT city_or_town FROM table_name_92 WHERE top_division_titles = "17"
CREATE TABLE table_name_92 (city_or_town VARCHAR, top_division_titles VARCHAR)
Which City or town has a Top division titles of 17
SELECT city_or_town FROM table_name_70 WHERE number_of_seasons_in_top_division < 40 AND club = "gaziantepspor"
CREATE TABLE table_name_70 (city_or_town VARCHAR, number_of_seasons_in_top_division VARCHAR, club VARCHAR)
Which City or town has top division smaller than 40 and Gaziantepspor Club ?
SELECT 2003 FROM table_name_59 WHERE 2008 = "2r" AND 2011 = "1r"
CREATE TABLE table_name_59 (Id VARCHAR)
What is the 2003 value with 2r in 2008 and 1r in 2011?
SELECT 2007 FROM table_name_67 WHERE 2011 = "2r" AND 2008 = "2r"
CREATE TABLE table_name_67 (Id VARCHAR)
What is the 2007 value with 2r in 2011 and 2r in 2008?
SELECT 2007 FROM table_name_36 WHERE 2009 = "1r" AND 2011 = "2r" AND tournament = "wimbledon"
CREATE TABLE table_name_36 (tournament VARCHAR)
What is the 2007 value with 1r in 2009 and 2r in 2011 at the Tournament of Wimbledon?
SELECT 2003 FROM table_name_16 WHERE 2009 = "1r" AND tournament = "australian open"
CREATE TABLE table_name_16 (tournament VARCHAR)
What is the 2003 value with 1r in 2009 at the Australian Open?
SELECT wins FROM table_name_20 WHERE stadium = "richmond cricket ground"
CREATE TABLE table_name_20 (wins VARCHAR, stadium VARCHAR)
How many wins did they have at Richmond Cricket Ground Stadium?
SELECT AVG(played) FROM table_name_83 WHERE years = "1905"
CREATE TABLE table_name_83 (played INTEGER, years VARCHAR)
How many games did they play in 1905?
SELECT term_in_office FROM table_name_76 WHERE state = "qld" AND party = "labor" AND electorate = "fisher"
CREATE TABLE table_name_76 (term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR)
Which term in office has a qld state, a Party of labor, and an Electorate of fisher?
SELECT member FROM table_name_50 WHERE electorate = "kennedy"
CREATE TABLE table_name_50 (member VARCHAR, electorate VARCHAR)
Which member has an Electorate of kennedy?
SELECT party FROM table_name_75 WHERE member = "david jull"
CREATE TABLE table_name_75 (party VARCHAR, member VARCHAR)
Which Party has a Member of david jull?
SELECT term_in_office FROM table_name_65 WHERE electorate = "hinkler"
CREATE TABLE table_name_65 (term_in_office VARCHAR, electorate VARCHAR)
Which term in office has an Electorate of hinkler?
SELECT electorate FROM table_name_31 WHERE state = "qld" AND party = "national" AND member = "hon evan adermann"
CREATE TABLE table_name_31 (electorate VARCHAR, member VARCHAR, state VARCHAR, party VARCHAR)
Which Electorate has a State of qld, a Party of national, and a Member of hon evan adermann?
SELECT state FROM table_name_48 WHERE term_in_office = "1984–1996" AND party = "labor" AND member = "robert tickner"
CREATE TABLE table_name_48 (state VARCHAR, member VARCHAR, term_in_office VARCHAR, party VARCHAR)
Which state has a Term in office of 1984–1996, a Party of labor, and a Member of robert tickner?
SELECT SUM(decile) FROM table_name_44 WHERE authority = "state" AND name = "pokuru school" AND roll < 109
CREATE TABLE table_name_44 (decile INTEGER, roll VARCHAR, authority VARCHAR, name VARCHAR)
What is the total amount of decile with the authority of state around the Pokuru School and a roll smaller than 109?
SELECT MAX(laps) FROM table_name_11 WHERE team = "corvette racing" AND year = 2004
CREATE TABLE table_name_11 (laps INTEGER, team VARCHAR, year VARCHAR)
Name the most laps for corvette racing in 2004
SELECT class FROM table_name_67 WHERE pos = "4th" AND year < 2006
CREATE TABLE table_name_67 (class VARCHAR, pos VARCHAR, year VARCHAR)
Name the class for 4th position with year before 2006
SELECT COUNT(laps) FROM table_name_17 WHERE pos = "23rd"
CREATE TABLE table_name_17 (laps VARCHAR, pos VARCHAR)
Name the total number of laps for 23rd position
SELECT team FROM table_name_83 WHERE laps < 315 AND co_drivers = "david brabham franck lagorce"
CREATE TABLE table_name_83 (team VARCHAR, laps VARCHAR, co_drivers VARCHAR)
Name the team with laps less than 315 and co-drivers of david brabham franck lagorce?
SELECT team FROM table_name_15 WHERE co_drivers = "david brabham mario andretti"
CREATE TABLE table_name_15 (team VARCHAR, co_drivers VARCHAR)
Name the team for co-drivers of david brabham mario andretti
SELECT MAX(year) FROM table_name_90 WHERE points > 0
CREATE TABLE table_name_90 (year INTEGER, points INTEGER)
Name the highest year with points more than 0
SELECT MAX(points) FROM table_name_8 WHERE year > 1953
CREATE TABLE table_name_8 (points INTEGER, year INTEGER)
Name the highest points when year is more than 1953
SELECT engine FROM table_name_38 WHERE points = 0 AND chassis = "kuzma indy roadster" AND year = 1954
CREATE TABLE table_name_38 (engine VARCHAR, year VARCHAR, points VARCHAR, chassis VARCHAR)
Name the engine when points are 0 and chassis is kuzma indy roadster for 1954
SELECT MIN(points) FROM table_name_92 WHERE chassis = "kurtis kraft 3000" AND year < 1951
CREATE TABLE table_name_92 (points INTEGER, chassis VARCHAR, year VARCHAR)
Name the least points with chassis of kurtis kraft 3000 and year before 1951
SELECT MIN(pioneer) FROM table_name_31 WHERE year = 1966 AND sarina > 4 OFFSET 611
CREATE TABLE table_name_31 (pioneer INTEGER, year VARCHAR, sarina VARCHAR)
What is the lowest Pioneer population in 1966 with a Sarina population greater than 4,611?
SELECT year FROM table_name_1 WHERE director = "soroush sehat"
CREATE TABLE table_name_1 (year VARCHAR, director VARCHAR)
What is the year of the TV series directed by Soroush Sehat?
SELECT title FROM table_name_54 WHERE character = "sheyda/ashraf"
CREATE TABLE table_name_54 (title VARCHAR, character VARCHAR)
What is the title of the TV series with a character of Sheyda/Ashraf?
SELECT year FROM table_name_88 WHERE character = "leiloon bala barareh"
CREATE TABLE table_name_88 (year VARCHAR, character VARCHAR)
What is the year of the TV series that has a character of Leiloon Bala Barareh?
SELECT title FROM table_name_70 WHERE year = "2012"
CREATE TABLE table_name_70 (title VARCHAR, year VARCHAR)
What is the title of the TV series in 2012?
SELECT publisher FROM table_name_17 WHERE year = "2014" AND title = "star citizen"
CREATE TABLE table_name_17 (publisher VARCHAR, year VARCHAR, title VARCHAR)
Who published Star Citizen in 2014?
SELECT title FROM table_name_96 WHERE developer = "battlecry studios"
CREATE TABLE table_name_96 (title VARCHAR, developer VARCHAR)
Which title was developed by Battlecry Studios?
SELECT attendance FROM table_name_66 WHERE date = "july 13"
CREATE TABLE table_name_66 (attendance VARCHAR, date VARCHAR)
How many people were at the match on July 13/
SELECT opponent FROM table_name_44 WHERE date = "july 27"
CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR)
Who was the opponent on July 27?
SELECT losing_bonus FROM table_name_48 WHERE points_for = "416" AND club = "ynysybwl rfc"
CREATE TABLE table_name_48 (losing_bonus VARCHAR, points_for VARCHAR, club VARCHAR)
For Ynysybwl RFC, what was the losing bonus for 416 points?
SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonus = "5"
CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR)
For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn?
SELECT points_against FROM table_name_51 WHERE drawn = "0" AND tries_for = "50"
CREATE TABLE table_name_51 (points_against VARCHAR, drawn VARCHAR, tries_for VARCHAR)
For the club that had tries of 50 and drawn of 0, what were the points?
SELECT losing_bonus FROM table_name_71 WHERE points_against = "546"
CREATE TABLE table_name_71 (losing_bonus VARCHAR, points_against VARCHAR)
The club that had 546 points against, what was the losing bonus?
SELECT lost FROM table_name_47 WHERE club = "ynysybwl rfc"
CREATE TABLE table_name_47 (lost VARCHAR, club VARCHAR)
What is the lost of Ynysybwl RFC?
SELECT points FROM table_name_41 WHERE "club" = "club"
CREATE TABLE table_name_41 (points VARCHAR)
How many points does Club have?
SELECT part_6 FROM table_name_89 WHERE part_4 = "march 2, 2008"
CREATE TABLE table_name_89 (part_6 VARCHAR, part_4 VARCHAR)
When is Part 6, when Part 4 is on March 2, 2008?
SELECT title FROM table_name_98 WHERE episode__number > 2 AND part_6 = "january 6, 2008"
CREATE TABLE table_name_98 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR)
What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008?
SELECT part_2 FROM table_name_44 WHERE part_4 = "december 9, 2007"
CREATE TABLE table_name_44 (part_2 VARCHAR, part_4 VARCHAR)
When is Part 2, when Part 4 is on December 9, 2007?
SELECT part_1 FROM table_name_88 WHERE part_4 = "february 10, 2008"
CREATE TABLE table_name_88 (part_1 VARCHAR, part_4 VARCHAR)
When is Part 1, when Part 4 is on February 10, 2008?
SELECT part_2 FROM table_name_42 WHERE part_5 = "january 24, 2008"
CREATE TABLE table_name_42 (part_2 VARCHAR, part_5 VARCHAR)
When is Part 2, when Part 5 is on January 24, 2008?
SELECT opponent_in_the_final FROM table_name_11 WHERE surface = "hard"
CREATE TABLE table_name_11 (opponent_in_the_final VARCHAR, surface VARCHAR)
Who was the finals opponent on the hard surface tournament?
SELECT surface FROM table_name_46 WHERE tournament = "curitiba"
CREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR)
Which surface was played during Curitiba tournament?
SELECT MAX(round) FROM table_name_92 WHERE event = "ufc 109"
CREATE TABLE table_name_92 (round INTEGER, event VARCHAR)
What is the highest round for UFC 109?