combined_text
stringlengths
106
1.05k
###question:what category is for tom shankland, director?###answer:SELECT category FROM table_name_56 WHERE director_s_ = "tom shankland"###context:CREATE TABLE table_name_56 (category VARCHAR, director_s_ VARCHAR)
###question:How many transfer fees did Afonso Alves have after 2008?###answer:SELECT COUNT(transfer_fee___) AS €_million_ FROM table_name_13 WHERE player = "afonso alves" AND year > 2008###context:CREATE TABLE table_name_13 (transfer_fee___ VARCHAR, player VARCHAR, year VARCHAR)
###question:Where was the film about the garden of the finzi-continis made?###answer:SELECT country FROM table_name_30 WHERE film_title_used_in_nomination = "the garden of the finzi-continis"###context:CREATE TABLE table_name_30 (country VARCHAR, film_title_used_in_nomination VARCHAR)
###question:Which film was translated from portuguese?###answer:SELECT original_name FROM table_name_44 WHERE language = "portuguese"###context:CREATE TABLE table_name_44 (original_name VARCHAR, language VARCHAR)
###question:Which film originated in France?###answer:SELECT original_name FROM table_name_27 WHERE country = "france"###context:CREATE TABLE table_name_27 (original_name VARCHAR, country VARCHAR)
###question:What is the real name of the movie about love?###answer:SELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = "love"###context:CREATE TABLE table_name_26 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)
###question:What is the real name of the movie directed by gert fredholm?###answer:SELECT original_name FROM table_name_22 WHERE director = "gert fredholm"###context:CREATE TABLE table_name_22 (original_name VARCHAR, director VARCHAR)
###question:Which movie originated in Bulgaria?###answer:SELECT film_title_used_in_nomination FROM table_name_9 WHERE country = "bulgaria"###context:CREATE TABLE table_name_9 (film_title_used_in_nomination VARCHAR, country VARCHAR)
###question:Who was the opponent at the game that had a loss of Stieb (5-7)?###answer:SELECT opponent FROM table_name_64 WHERE loss = "stieb (5-7)"###context:CREATE TABLE table_name_64 (opponent VARCHAR, loss VARCHAR)
###question:What was the loss of the game against the Angels with a 26-30 record?###answer:SELECT loss FROM table_name_9 WHERE opponent = "angels" AND record = "26-30"###context:CREATE TABLE table_name_9 (loss VARCHAR, opponent VARCHAR, record VARCHAR)
###question:What is the most points earlier than 1953 with a Ferrari 375/50 chassis?###answer:SELECT MAX(points) FROM table_name_22 WHERE year < 1953 AND chassis = "ferrari 375/50"###context:CREATE TABLE table_name_22 (points INTEGER, year VARCHAR, chassis VARCHAR)
###question:What is the latest year with more than 0 points?###answer:SELECT MAX(year) FROM table_name_13 WHERE points > 0###context:CREATE TABLE table_name_13 (year INTEGER, points INTEGER)
###question:What year were there less than 1.5 points and an Entrant of escuderia bandeirantes, and a maserati straight-4 engine?###answer:SELECT year FROM table_name_90 WHERE points < 1.5 AND entrant = "escuderia bandeirantes" AND engine = "maserati straight-4"###context:CREATE TABLE table_name_90 (year VARCHAR, engin...
###question:What is the number of points for the Entrant of escuderia bandeirantes earlier than 1952?###answer:SELECT SUM(points) FROM table_name_65 WHERE entrant = "escuderia bandeirantes" AND year < 1952###context:CREATE TABLE table_name_65 (points INTEGER, entrant VARCHAR, year VARCHAR)
###question:What was the double's performance data from the Canada Masters tournament in 2008?###answer:SELECT 2008 FROM table_name_5 WHERE tournament = "canada masters"###context:CREATE TABLE table_name_5 (tournament VARCHAR)
###question:What was the double's performance data from the Monte Carlo Masters tournament in 2007?###answer:SELECT 2007 FROM table_name_54 WHERE tournament = "monte carlo masters"###context:CREATE TABLE table_name_54 (tournament VARCHAR)
###question:What is the lowest 2004 population when there were 5158 households?###answer:SELECT MIN(population__2004_) FROM table_name_8 WHERE households = 5158###context:CREATE TABLE table_name_8 (population__2004_ INTEGER, households VARCHAR)
###question:What is the number for the Moroccan population when the name is Sebt Saiss and the 2004 population is more than 11212?###answer:SELECT COUNT(moroccan_population) FROM table_name_30 WHERE name = "sebt saiss" AND population__2004_ > 11212###context:CREATE TABLE table_name_30 (moroccan_population VARCHAR, name...
###question:What is the largest foreign population when the 2004 population is 7641?###answer:SELECT MAX(foreign_population) FROM table_name_83 WHERE population__2004_ = 7641###context:CREATE TABLE table_name_83 (foreign_population INTEGER, population__2004_ VARCHAR)
###question:What is the highest year that has no more than 0 points?###answer:SELECT MAX(year) FROM table_name_85 WHERE points < 0###context:CREATE TABLE table_name_85 (year INTEGER, points INTEGER)
###question:Which of the chassis had a total of 7 points?###answer:SELECT chassis FROM table_name_60 WHERE points = 7###context:CREATE TABLE table_name_60 (chassis VARCHAR, points VARCHAR)
###question:What was the latest year that a Bardahl entrant had a Kurtis Kraft 500c chassis with no more than 0 points?###answer:SELECT MAX(year) FROM table_name_35 WHERE chassis = "kurtis kraft 500c" AND entrant = "bardahl" AND points < 0###context:CREATE TABLE table_name_35 (year INTEGER, points VARCHAR, chassis VARC...
###question:What was the average points for Hopkins before 1956?###answer:SELECT AVG(points) FROM table_name_75 WHERE entrant = "hopkins" AND year < 1956###context:CREATE TABLE table_name_75 (points INTEGER, entrant VARCHAR, year VARCHAR)
###question:What is the least amount of points the entrant Simoniz received before 1960?###answer:SELECT MIN(points) FROM table_name_19 WHERE year < 1960 AND entrant = "simoniz"###context:CREATE TABLE table_name_19 (points INTEGER, year VARCHAR, entrant VARCHAR)
###question:What was the original title of the film directed by Lene Grønlykke and Sven Grønlykke?###answer:SELECT original_title FROM table_name_72 WHERE director = "lene grønlykke and sven grønlykke"###context:CREATE TABLE table_name_72 (original_title VARCHAR, director VARCHAR)
###question:What is the language of the film directed by Federico Fellini?###answer:SELECT language FROM table_name_27 WHERE director = "federico fellini"###context:CREATE TABLE table_name_27 (language VARCHAR, director VARCHAR)
###question:What is the film title used in nomination for the film from South Korea?###answer:SELECT film_title_used_in_nomination FROM table_name_26 WHERE country = "south korea"###context:CREATE TABLE table_name_26 (film_title_used_in_nomination VARCHAR, country VARCHAR)
###question:What was the film title used in nomination for the film directed by Gheorghe Vitanidis?###answer:SELECT film_title_used_in_nomination FROM table_name_89 WHERE director = "gheorghe vitanidis"###context:CREATE TABLE table_name_89 (film_title_used_in_nomination VARCHAR, director VARCHAR)
###question:When did the film 'Monsters' come out?###answer:SELECT date FROM table_name_96 WHERE film = "monsters"###context:CREATE TABLE table_name_96 (date VARCHAR, film VARCHAR)
###question:What movie won with a date of 12/11/03###answer:SELECT recipient FROM table_name_78 WHERE date = "12/11/03"###context:CREATE TABLE table_name_78 (recipient VARCHAR, date VARCHAR)
###question:Who was the producer for the film 'Strange Little Girls'?###answer:SELECT producer_s_ FROM table_name_20 WHERE film = "strange little girls"###context:CREATE TABLE table_name_20 (producer_s_ VARCHAR, film VARCHAR)
###question:Which writer worked for Intrepido LTD for a film on 17/03/04?###answer:SELECT writer_s_ FROM table_name_35 WHERE recipient = "intrepido ltd" AND date = "17/03/04"###context:CREATE TABLE table_name_35 (writer_s_ VARCHAR, recipient VARCHAR, date VARCHAR)
###question:Which producer worked for Animus Films LTD?###answer:SELECT producer_s_ FROM table_name_42 WHERE recipient = "animus films ltd"###context:CREATE TABLE table_name_42 (producer_s_ VARCHAR, recipient VARCHAR)
###question:How many people attended the game against the Mariners with a score of 9-6?###answer:SELECT COUNT(attendance) FROM table_name_94 WHERE opponent = "mariners" AND score = "9-6"###context:CREATE TABLE table_name_94 (attendance VARCHAR, opponent VARCHAR, score VARCHAR)
###question:What is the loss for the record of 42-36?###answer:SELECT loss FROM table_name_82 WHERE record = "42-36"###context:CREATE TABLE table_name_82 (loss VARCHAR, record VARCHAR)
###question:What date was the score 5-2 with a loss of sele (3-2)?###answer:SELECT date FROM table_name_17 WHERE score = "5-2" AND loss = "sele (3-2)"###context:CREATE TABLE table_name_17 (date VARCHAR, score VARCHAR, loss VARCHAR)
###question:What is the loss when the record is 38-33?###answer:SELECT loss FROM table_name_67 WHERE record = "38-33"###context:CREATE TABLE table_name_67 (loss VARCHAR, record VARCHAR)
###question:What was the pick number of Conor Jackson?###answer:SELECT AVG(pick) FROM table_name_72 WHERE player = "conor jackson"###context:CREATE TABLE table_name_72 (pick INTEGER, player VARCHAR)
###question:What school had the draft pick of 29?###answer:SELECT school FROM table_name_36 WHERE pick = 29###context:CREATE TABLE table_name_36 (school VARCHAR, pick VARCHAR)
###question:What school did Conor Jackson attend?###answer:SELECT school FROM table_name_75 WHERE player = "conor jackson"###context:CREATE TABLE table_name_75 (school VARCHAR, player VARCHAR)
###question:What is the value for 2007 when 2008 is Q1?###answer:SELECT 2007 FROM table_name_68 WHERE 2008 = "q1"###context:CREATE TABLE table_name_68 (Id VARCHAR)
###question:What is the win-loss when 2008 has a value of Q1 at Australian Open?###answer:SELECT career_win_loss FROM table_name_65 WHERE 2008 = "q1" AND tournament = "australian open"###context:CREATE TABLE table_name_65 (career_win_loss VARCHAR, tournament VARCHAR)
###question:What is the value in 2009 at the French Open?###answer:SELECT 2009 FROM table_name_86 WHERE tournament = "french open"###context:CREATE TABLE table_name_86 (tournament VARCHAR)
###question:What is the value in 2008 for the US Open?###answer:SELECT 2008 FROM table_name_31 WHERE tournament = "us open"###context:CREATE TABLE table_name_31 (tournament VARCHAR)
###question:What is the value in 2009 when 1R is in 2007?###answer:SELECT 2009 FROM table_name_19 WHERE 2007 = "1r"###context:CREATE TABLE table_name_19 (Id VARCHAR)
###question:What is the record of the game on May 6?###answer:SELECT record FROM table_name_4 WHERE date = "may 6"###context:CREATE TABLE table_name_4 (record VARCHAR, date VARCHAR)
###question:what is the tournament when in 2012 the performance was 2r?###answer:SELECT tournament FROM table_name_38 WHERE 2012 = "2r"###context:CREATE TABLE table_name_38 (tournament VARCHAR)
###question:what is the tournament with the performance in 2010 and 2011 is 1r?###answer:SELECT tournament FROM table_name_12 WHERE 2010 = "1r" AND 2011 = "1r"###context:CREATE TABLE table_name_12 (tournament VARCHAR)
###question:what is the 2012 performance when in 2011 is qf and 2010 is 3r?###answer:SELECT 2012 FROM table_name_28 WHERE 2011 = "qf" AND 2010 = "3r"###context:CREATE TABLE table_name_28 (Id VARCHAR)
###question:what is the tournament when 2011 is qf and 2012 is sf?###answer:SELECT tournament FROM table_name_42 WHERE 2011 = "qf" AND 2012 = "sf"###context:CREATE TABLE table_name_42 (tournament VARCHAR)
###question:what is the tournament when the performance in 2012 is 3r and 2011 is qf?###answer:SELECT tournament FROM table_name_77 WHERE 2012 = "3r" AND 2011 = "qf"###context:CREATE TABLE table_name_77 (tournament VARCHAR)
###question:what is the 2011 performance for the US open?###answer:SELECT 2011 FROM table_name_2 WHERE tournament = "us open"###context:CREATE TABLE table_name_2 (tournament VARCHAR)
###question:What is the year when Spirit Tom's Racing had more than 3 points?###answer:SELECT SUM(year) FROM table_name_70 WHERE entrant = "spirit tom's racing" AND points > 3###context:CREATE TABLE table_name_70 (year INTEGER, entrant VARCHAR, points VARCHAR)
###question:Name the average week for attendance of 75,111###answer:SELECT AVG(week) FROM table_name_17 WHERE attendance = 75 OFFSET 111###context:CREATE TABLE table_name_17 (week INTEGER, attendance VARCHAR)
###question:Name the sum of week with attendance of 62,233###answer:SELECT SUM(week) FROM table_name_49 WHERE attendance = 62 OFFSET 233###context:CREATE TABLE table_name_49 (week INTEGER, attendance VARCHAR)
###question:Who had the smallest points in 3rd place but had a position greater than 8?###answer:SELECT MIN(points) FROM table_name_9 WHERE place = "3rd" AND position > 8###context:CREATE TABLE table_name_9 (points INTEGER, place VARCHAR, position VARCHAR)
###question:What was the place with 90 point total but a position less than 5?###answer:SELECT place FROM table_name_12 WHERE position < 5 AND points = 90###context:CREATE TABLE table_name_12 (place VARCHAR, position VARCHAR, points VARCHAR)
###question:What's the name of the song by afro-dite that had a points total greater than 100?###answer:SELECT song FROM table_name_31 WHERE points > 100 AND artist = "afro-dite"###context:CREATE TABLE table_name_31 (song VARCHAR, points VARCHAR, artist VARCHAR)
###question:how much money was requested on the show which aired on 4 september 2011?###answer:SELECT SUM(money_requested__) AS £_ FROM table_name_87 WHERE first_aired = "4 september 2011"###context:CREATE TABLE table_name_87 (money_requested__ INTEGER, first_aired VARCHAR)
###question:what investing dragons aired on episode 10?###answer:SELECT investing_dragon_s_ FROM table_name_31 WHERE episode = "episode 10"###context:CREATE TABLE table_name_31 (investing_dragon_s_ VARCHAR, episode VARCHAR)
###question:For the Entrant of Sasol Jordan, add up all the points with a Year larger than 1993.###answer:SELECT SUM(points) FROM table_name_53 WHERE year > 1993 AND entrant = "sasol jordan"###context:CREATE TABLE table_name_53 (points INTEGER, year VARCHAR, entrant VARCHAR)
###question:Give the most points that features jordan 194 in the Chassis column.###answer:SELECT MAX(points) FROM table_name_64 WHERE chassis = "jordan 194"###context:CREATE TABLE table_name_64 (points INTEGER, chassis VARCHAR)
###question:What car was awarded sub 1 litre in 2000?###answer:SELECT 2000 FROM table_name_18 WHERE category = "sub 1 litre"###context:CREATE TABLE table_name_18 (category VARCHAR)
###question:What car was awarded sub 1 litre in 2000 (won by toyota 1sz-fe 1.0l yaris in 1999)?###answer:SELECT 2000 FROM table_name_35 WHERE 1999 = "toyota 1sz-fe 1.0l yaris" AND category = "sub 1 litre"###context:CREATE TABLE table_name_35 (category VARCHAR)
###question:Which car won the same award in 2001 that the toyota 1nz-fxe hybrid prius won in 1999?###answer:SELECT 2001 FROM table_name_76 WHERE 1999 = "toyota 1nz-fxe hybrid prius"###context:CREATE TABLE table_name_76 (Id VARCHAR)
###question:Which car won the same award in 2000 that the ferrari f133 5.5l v12 456 / 550 won in 2001?###answer:SELECT 2000 FROM table_name_13 WHERE 2001 = "ferrari f133 5.5l v12 456 / 550"###context:CREATE TABLE table_name_13 (Id VARCHAR)
###question:Which car won the same award in 2001 that the bmw m67d39 3.9l v8 e38 740d won in 1999?###answer:SELECT 2001 FROM table_name_26 WHERE 1999 = "bmw m67d39 3.9l v8 e38 740d"###context:CREATE TABLE table_name_26 (Id VARCHAR)
###question:Which car won the 1.4litre to 1.8litre award in 2001?###answer:SELECT 2001 FROM table_name_17 WHERE category = "1.4litre to 1.8litre"###context:CREATE TABLE table_name_17 (category VARCHAR)
###question:What is the surface of the mountain range that contains the Elk Garden Mountain?###answer:SELECT surface FROM table_name_38 WHERE mountain = "elk garden"###context:CREATE TABLE table_name_38 (surface VARCHAR, mountain VARCHAR)
###question:What is the 2012 value at the Grand Slam Tournaments?###answer:SELECT 2012 FROM table_name_70 WHERE tournament = "grand slam tournaments"###context:CREATE TABLE table_name_70 (tournament VARCHAR)
###question:What is the tournament with A in 2011?###answer:SELECT tournament FROM table_name_77 WHERE 2011 = "a"###context:CREATE TABLE table_name_77 (tournament VARCHAR)
###question:What is the 2010 value with A in 2009 and A in 2008 in the Australian Open?###answer:SELECT 2010 FROM table_name_43 WHERE 2009 = "a" AND 2008 = "a" AND tournament = "australian open"###context:CREATE TABLE table_name_43 (tournament VARCHAR)
###question:What is the 2012 value with A in 2010 at the Tournament of Wimbledon?###answer:SELECT 2012 FROM table_name_13 WHERE 2010 = "a" AND tournament = "wimbledon"###context:CREATE TABLE table_name_13 (tournament VARCHAR)
###question:What is the 2009 value with q1 in 2010?###answer:SELECT 2009 FROM table_name_60 WHERE 2010 = "q1"###context:CREATE TABLE table_name_60 (Id VARCHAR)
###question:What was the record of the game that went 0-7?###answer:SELECT record FROM table_name_20 WHERE score = "0-7"###context:CREATE TABLE table_name_20 (record VARCHAR, score VARCHAR)
###question:What day did the Diamondbacks go 2-7?###answer:SELECT date FROM table_name_92 WHERE opponent = "diamondbacks" AND score = "2-7"###context:CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR, score VARCHAR)
###question:What was the record of the game that went 3-5?###answer:SELECT record FROM table_name_88 WHERE score = "3-5"###context:CREATE TABLE table_name_88 (record VARCHAR, score VARCHAR)
###question:Type of stratovolcano, and a Name of goat rocks, and a Elevation (m) larger than 2,494 has what highest elevation in feet?###answer:SELECT MAX(elevation__ft_) FROM table_name_40 WHERE type = "stratovolcano" AND name = "goat rocks" AND elevation__m_ > 2 OFFSET 494###context:CREATE TABLE table_name_40 (elevat...
###question:What is the lowest points of British Racing after 1963?###answer:SELECT MIN(points) FROM table_name_90 WHERE year > 1963###context:CREATE TABLE table_name_90 (points INTEGER, year INTEGER)
###question:Which chassis was used when over 6 points were earned?###answer:SELECT chassis FROM table_name_47 WHERE points = 6###context:CREATE TABLE table_name_47 (chassis VARCHAR, points VARCHAR)
###question:What is the average points of the drivers before 1964?###answer:SELECT AVG(points) FROM table_name_73 WHERE year < 1964###context:CREATE TABLE table_name_73 (points INTEGER, year INTEGER)
###question:In what time period were 578 built?###answer:SELECT period FROM table_name_93 WHERE built = "578"###context:CREATE TABLE table_name_93 (period VARCHAR, built VARCHAR)
###question:In what time period was the Cessna 208 built?###answer:SELECT period FROM table_name_2 WHERE model = "cessna 208"###context:CREATE TABLE table_name_2 (period VARCHAR, model VARCHAR)
###question:In what time period were 354 built?###answer:SELECT period FROM table_name_13 WHERE built = "354"###context:CREATE TABLE table_name_13 (period VARCHAR, built VARCHAR)
###question:How many silver metals are possessed by countries with 2 gold medals?###answer:SELECT COUNT(silver) FROM table_name_97 WHERE gold = 2###context:CREATE TABLE table_name_97 (silver VARCHAR, gold VARCHAR)
###question:What is the total sum of silver metals for all countries with more than 2 Bronze medals?###answer:SELECT SUM(silver) FROM table_name_76 WHERE total > 2 AND bronze > 2###context:CREATE TABLE table_name_76 (silver INTEGER, total VARCHAR, bronze VARCHAR)
###question:What is the lowest number of bronze medals for a country with less than 1 gold and 0 silver?###answer:SELECT MIN(bronze) FROM table_name_70 WHERE gold = 1 AND silver < 0###context:CREATE TABLE table_name_70 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
###question:What was the score of the game for April 16?###answer:SELECT loss FROM table_name_62 WHERE date = "april 16"###context:CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)
###question:What year was the No. 7 charts?###answer:SELECT AVG(year) FROM table_name_32 WHERE charts = "no. 7"###context:CREATE TABLE table_name_32 (year INTEGER, charts VARCHAR)
###question:Name the date for game site of riverfront stadium###answer:SELECT date FROM table_name_31 WHERE game_site = "riverfront stadium"###context:CREATE TABLE table_name_31 (date VARCHAR, game_site VARCHAR)
###question:Name the record with attendance of 73,996###answer:SELECT record FROM table_name_67 WHERE attendance = "73,996"###context:CREATE TABLE table_name_67 (record VARCHAR, attendance VARCHAR)
###question:Name the game site with result of w 20-14###answer:SELECT game_site FROM table_name_88 WHERE result = "w 20-14"###context:CREATE TABLE table_name_88 (game_site VARCHAR, result VARCHAR)
###question:Name the result with week of 16###answer:SELECT result FROM table_name_72 WHERE week = "16"###context:CREATE TABLE table_name_72 (result VARCHAR, week VARCHAR)
###question:Name the record with result of w 13-11###answer:SELECT record FROM table_name_51 WHERE result = "w 13-11"###context:CREATE TABLE table_name_51 (record VARCHAR, result VARCHAR)
###question:Name the result for opponent of chicago bears###answer:SELECT result FROM table_name_14 WHERE opponent = "chicago bears"###context:CREATE TABLE table_name_14 (result VARCHAR, opponent VARCHAR)
###question:The length of 30 minutes aired on what date?###answer:SELECT airdate FROM table_name_54 WHERE length = "30 minutes"###context:CREATE TABLE table_name_54 (airdate VARCHAR, length VARCHAR)
###question:When did the length of 60 minutes air?###answer:SELECT airdate FROM table_name_46 WHERE length = "60 minutes"###context:CREATE TABLE table_name_46 (airdate VARCHAR, length VARCHAR)
###question:With a Division II of Portsmouth, what is the Division IV?###answer:SELECT division_iV FROM table_name_35 WHERE division_iII = portsmouth###context:CREATE TABLE table_name_35 (division_iV VARCHAR, division_iII VARCHAR, portsmouth VARCHAR)
###question:What Division III has Bishop Brady in Division V and Hanover in Division IV?###answer:SELECT division_iII FROM table_name_97 WHERE division_v = "bishop brady" AND division_iV = hanover###context:CREATE TABLE table_name_97 (division_iII VARCHAR, division_v VARCHAR, division_iV VARCHAR, hanover VARCHAR)
###question:What is the total sum of points of entrants with a reynard 92d chassis?###answer:SELECT SUM(points) FROM table_name_88 WHERE chassis = "reynard 92d"###context:CREATE TABLE table_name_88 (points INTEGER, chassis VARCHAR)