answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT ground FROM table_name_60 WHERE date = "31 jul 2007"
CREATE TABLE table_name_60 (ground VARCHAR, date VARCHAR)
On what ground was the game on 31 Jul 2007?
SELECT SUM(total) FROM table_name_20 WHERE player = "david toms"
CREATE TABLE table_name_20 (total INTEGER, player VARCHAR)
What is the total of David Toms?
SELECT AVG(total) FROM table_name_96 WHERE finish = "t10" AND country = "fiji"
CREATE TABLE table_name_96 (total INTEGER, finish VARCHAR, country VARCHAR)
What is the average of Fiji with t10 Finish?
SELECT player FROM table_name_60 WHERE year_s__won = "1983"
CREATE TABLE table_name_60 (player VARCHAR, year_s__won VARCHAR)
Who won in 1983?
SELECT website FROM table_name_89 WHERE language = "english" AND frequency = "daily"
CREATE TABLE table_name_89 (website VARCHAR, language VARCHAR, frequency VARCHAR)
Which english website has a daily frequency ?
SELECT frequency FROM table_name_70 WHERE city = "nuevo laredo" AND name = "el diario de nuevo laredo"
CREATE TABLE table_name_70 (frequency VARCHAR, city VARCHAR, name VARCHAR)
What is the frequency of the newspaper, el diario de nuevo laredo in the city of nuevo laredo ?
SELECT name FROM table_name_17 WHERE website = "liderinformativo.com"
CREATE TABLE table_name_17 (name VARCHAR, website VARCHAR)
What is the name of the newspaper with the website liderinformativo.com ?
SELECT website FROM table_name_77 WHERE language = "english" AND frequency = "online newspaper"
CREATE TABLE table_name_77 (website VARCHAR, language VARCHAR, frequency VARCHAR)
Which website is in english and has the frequency of an online newspaper ?
SELECT city FROM table_name_3 WHERE language = "spanish" AND website = "ultimahora.com"
CREATE TABLE table_name_3 (city VARCHAR, language VARCHAR, website VARCHAR)
Which city has spanish news on the website ultimahora.com ?
SELECT MAX(points) FROM table_name_92 WHERE year > 1959
CREATE TABLE table_name_92 (points INTEGER, year INTEGER)
Which line after 1959 had the highest amount of points?
SELECT MIN(points) FROM table_name_59 WHERE year = 1954
CREATE TABLE table_name_59 (points INTEGER, year VARCHAR)
Which line has the lowest amount of points and a year of 1954?
SELECT SUM(points) FROM table_name_59 WHERE entrant = "christy" AND year < 1954
CREATE TABLE table_name_59 (points INTEGER, entrant VARCHAR, year VARCHAR)
What is the total amount of points that Christy has in the years before 1954?
SELECT MAX(year) FROM table_name_82 WHERE engine = "offenhauser l4" AND chassis = "kurtis kraft 500c" AND entrant = "federal engineering"
CREATE TABLE table_name_82 (year INTEGER, entrant VARCHAR, engine VARCHAR, chassis VARCHAR)
Which is the latest year that has an engine of Offenhauser l4, a chassis of Kurtis Kraft 500c, and the entrant of Federal Engineering?
SELECT chassis FROM table_name_76 WHERE year = 1954
CREATE TABLE table_name_76 (chassis VARCHAR, year VARCHAR)
Which chasis was in the year 1954?
SELECT final_score FROM table_name_31 WHERE year = 2007 AND competition = "world league" AND town = "novi sad" AND opponent = "italy"
CREATE TABLE table_name_31 (final_score VARCHAR, opponent VARCHAR, town VARCHAR, year VARCHAR, competition VARCHAR)
What is the final score in 2007 for the world league in novi sad played against Italy?
SELECT competition FROM table_name_56 WHERE town = "budva" AND opponent = "italy"
CREATE TABLE table_name_56 (competition VARCHAR, town VARCHAR, opponent VARCHAR)
what is the competition played in budva against italy?
SELECT competition FROM table_name_79 WHERE final_score = "6:5"
CREATE TABLE table_name_79 (competition VARCHAR, final_score VARCHAR)
what is the competition that had a final score of 6:5?
SELECT opponent FROM table_name_90 WHERE year < 2007 AND town = "trieste"
CREATE TABLE table_name_90 (opponent VARCHAR, year VARCHAR, town VARCHAR)
who is the opponent when played in trieste before 2007?
SELECT MIN(bonus_pts) FROM table_name_36 WHERE rider = "bob jameson" AND rides < 15
CREATE TABLE table_name_36 (bonus_pts INTEGER, rider VARCHAR, rides VARCHAR)
What was Bob Jameson's lowest bonus where he had less than 15 rides?
SELECT MIN(rides) FROM table_name_92 WHERE bonus_pts < 3 AND matches < 7
CREATE TABLE table_name_92 (rides INTEGER, bonus_pts VARCHAR, matches VARCHAR)
How many rides did it take to get less than 3 bonus pts in no more than 7 matches?
SELECT AVG(total_points) FROM table_name_29 WHERE matches = 34 AND rides = 111 AND bonus_pts > 15
CREATE TABLE table_name_29 (total_points INTEGER, bonus_pts VARCHAR, matches VARCHAR, rides VARCHAR)
What is the total for 34 matches with 111 rides, but no more than 15 bonus points?
SELECT COUNT(rides) FROM table_name_16 WHERE total_points < 274 AND rider = "ray day" AND bonus_pts > 3
CREATE TABLE table_name_16 (rides VARCHAR, bonus_pts VARCHAR, total_points VARCHAR, rider VARCHAR)
How many rides did it take Ray Day to get 274 points in total with less than 3 bonus points?
SELECT rider FROM table_name_37 WHERE total_points < 342 AND rides < 76 AND matches = 7 AND bonus_pts > 2
CREATE TABLE table_name_37 (rider VARCHAR, bonus_pts VARCHAR, matches VARCHAR, total_points VARCHAR, rides VARCHAR)
Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points?
SELECT margin_of_victory FROM table_name_41 WHERE date = "aug 11, 2002"
CREATE TABLE table_name_41 (margin_of_victory VARCHAR, date VARCHAR)
What is the Margin of victory on aug 11, 2002?
SELECT date FROM table_name_98 WHERE winning_score = –16(70 - 65 - 65 = 200)
CREATE TABLE table_name_98 (date VARCHAR, winning_score VARCHAR)
When has a Winning score of –16 (70-65-65=200)?
SELECT margin_of_victory FROM table_name_21 WHERE date = "oct 5, 1997"
CREATE TABLE table_name_21 (margin_of_victory VARCHAR, date VARCHAR)
What is the Margin of victory on oct 5, 1997?
SELECT winning_score FROM table_name_93 WHERE date = "oct 22, 2000"
CREATE TABLE table_name_93 (winning_score VARCHAR, date VARCHAR)
What is the Winning score on oct 22, 2000?
SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1
CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR)
How many episodes have a share of 16.2% and an episode number of less than 1?
SELECT 2010 FROM table_name_31 WHERE 2012 = "2r" AND tournament = "french open"
CREATE TABLE table_name_31 (tournament VARCHAR)
If the French Open tournament had 2r in 2012, what was it in 2010?
SELECT 2012 FROM table_name_43 WHERE 2010 = "2r"
CREATE TABLE table_name_43 (Id VARCHAR)
Which 2012 tournament had 2r in 2010?
SELECT tournament FROM table_name_60 WHERE 2010 = "2r"
CREATE TABLE table_name_60 (tournament VARCHAR)
Which tournament had 2r in 2010?
SELECT 2009 FROM table_name_71 WHERE 2012 = "2r" AND tournament = "french open"
CREATE TABLE table_name_71 (tournament VARCHAR)
If the French Open tournament had 2r in 2012, what was it in 2009?
SELECT 2010 FROM table_name_84 WHERE 2012 = "2r" AND tournament = "us open"
CREATE TABLE table_name_84 (tournament VARCHAR)
If the US Open tournament had 2r in 2012, what was it in 2010?
SELECT school FROM table_name_56 WHERE team = "senators"
CREATE TABLE table_name_56 (school VARCHAR, team VARCHAR)
What is the school, when the Team is Senators?
SELECT season_outcome FROM table_name_70 WHERE school = "sussex tech"
CREATE TABLE table_name_70 (season_outcome VARCHAR, school VARCHAR)
What is the Season Outcome, when the School is Sussex Tech?
SELECT school FROM table_name_15 WHERE team = "golden knights"
CREATE TABLE table_name_15 (school VARCHAR, team VARCHAR)
What is the School, when the Team is Golden Knights?
SELECT venue FROM table_name_2 WHERE result = "5–1"
CREATE TABLE table_name_2 (venue VARCHAR, result VARCHAR)
What is the Venue where the Result is 5–1?
SELECT score FROM table_name_37 WHERE goal > 11 AND competition = "2009 nehru cup" AND date = "24 august 2009"
CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR, goal VARCHAR, competition VARCHAR)
What was the Score where Goal is larger than 11, and a Competition of 2009 nehru cup, and had a Date of 24 august 2009?
SELECT result FROM table_name_68 WHERE goal = 9
CREATE TABLE table_name_68 (result VARCHAR, goal VARCHAR)
What is the Result where Goal is 9?
SELECT goal FROM table_name_65 WHERE competition = "international friendly" AND result = "2–1"
CREATE TABLE table_name_65 (goal VARCHAR, competition VARCHAR, result VARCHAR)
What was Goal that where Competition of international friendly, and a Result of 2–1?
SELECT competition FROM table_name_59 WHERE score = "3–0" AND goal > 4
CREATE TABLE table_name_59 (competition VARCHAR, score VARCHAR, goal VARCHAR)
What is the Competition where the Score was 3–0, and the was Goal larger than 4?
SELECT population__2009_estimate_ FROM table_name_34 WHERE name = "northeast"
CREATE TABLE table_name_34 (population__2009_estimate_ VARCHAR, name VARCHAR)
What is the 2009 estimate population of the Northeast?
SELECT population__2009_estimate_ FROM table_name_79 WHERE largest_city = "manaus"
CREATE TABLE table_name_79 (population__2009_estimate_ VARCHAR, largest_city VARCHAR)
What is the 2009 estimate population of the region with Manaus as the largest city?
SELECT number_of_states FROM table_name_83 WHERE population__2009_estimate_ = "27,3 million"
CREATE TABLE table_name_83 (number_of_states VARCHAR, population__2009_estimate_ VARCHAR)
How many states has a 2009 estimate population of 27,3 million?
SELECT largest_metropolitan_area FROM table_name_99 WHERE name = "central-west"
CREATE TABLE table_name_99 (largest_metropolitan_area VARCHAR, name VARCHAR)
What is the largest metropolitan area of the Central-West?
SELECT population__2009_estimate_ FROM table_name_11 WHERE largest_city = "manaus"
CREATE TABLE table_name_11 (population__2009_estimate_ VARCHAR, largest_city VARCHAR)
What is the 2009 estimate population of the region with Manaus as the largest city?
SELECT leader_at_the_summit FROM table_name_78 WHERE stage > 14 AND category = 1 AND start = "saint-girons" AND finish = "cauterets"
CREATE TABLE table_name_78 (leader_at_the_summit VARCHAR, finish VARCHAR, start VARCHAR, stage VARCHAR, category VARCHAR)
Who was the leader at the summit when the stage was larger than 14, the category was 1, the start was Saint-Girons, and the finish was Cauterets?
SELECT MIN(year) FROM table_name_56 WHERE start = "saint-gaudens" AND stage < 15
CREATE TABLE table_name_56 (year INTEGER, start VARCHAR, stage VARCHAR)
What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15?
SELECT model FROM table_name_62 WHERE seats = "37-78"
CREATE TABLE table_name_62 (model VARCHAR, seats VARCHAR)
Which Model had 37-78 seats?
SELECT studio FROM table_name_13 WHERE title = "the oregon trail"
CREATE TABLE table_name_13 (studio VARCHAR, title VARCHAR)
Which studio did The Oregon Trail?
SELECT title FROM table_name_28 WHERE leading_lady = "muriel evans"
CREATE TABLE table_name_28 (title VARCHAR, leading_lady VARCHAR)
Which title had Muriel Evans as leading lady?
SELECT leading_lady FROM table_name_96 WHERE title = "the lonely trail"
CREATE TABLE table_name_96 (leading_lady VARCHAR, title VARCHAR)
Who is the leading lady in The Lonely Trail?
SELECT leading_lady FROM table_name_71 WHERE studio = "uni" AND director = "frank strayer"
CREATE TABLE table_name_71 (leading_lady VARCHAR, studio VARCHAR, director VARCHAR)
Who was the leading lady for Uni studio and Frank Strayer?
SELECT title FROM table_name_73 WHERE leading_lady = "ann rutherford" AND director = "joseph kane"
CREATE TABLE table_name_73 (title VARCHAR, leading_lady VARCHAR, director VARCHAR)
In which title was Ann Rutherford the leading lady for Joseph Kane?
SELECT leading_lady FROM table_name_59 WHERE director = "joseph kane" AND title = "the lonely trail"
CREATE TABLE table_name_59 (leading_lady VARCHAR, director VARCHAR, title VARCHAR)
Who is the leading lady in The Lonely Trail for Joseph Kane?
SELECT chassis FROM table_name_12 WHERE year < 1960 AND points < 8
CREATE TABLE table_name_12 (chassis VARCHAR, year VARCHAR, points VARCHAR)
What was the Chassis with less than 8 points before 1960?
SELECT chassis FROM table_name_58 WHERE points = 0
CREATE TABLE table_name_58 (chassis VARCHAR, points VARCHAR)
Which Chassis has 0 points?
SELECT SUM(points) FROM table_name_85 WHERE year > 1957
CREATE TABLE table_name_85 (points INTEGER, year INTEGER)
What were the total Pints after 1957?
SELECT MAX(year) FROM table_name_41 WHERE entrant = "dean van lines"
CREATE TABLE table_name_41 (year INTEGER, entrant VARCHAR)
What was the most recent year for Dean Van Lines?
SELECT gold_coast FROM table_name_58 WHERE auckland = "cancelled" AND adelaide = "yes"
CREATE TABLE table_name_58 (gold_coast VARCHAR, auckland VARCHAR, adelaide VARCHAR)
What Gold Coast has Auckland cancelled, and Adelaide yes?
SELECT sydney FROM table_name_73 WHERE auckland = "cancelled" AND perth = "yes"
CREATE TABLE table_name_73 (sydney VARCHAR, auckland VARCHAR, perth VARCHAR)
Which Sydney has Auckland cancelled and Perth yes?
SELECT sydney FROM table_name_39 WHERE gold_coast = "no" AND adelaide = "no" AND auckland = "no"
CREATE TABLE table_name_39 (sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR)
Which Sydney has Gold Coast no, Adelaide no< and Auckland no?
SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND auckland = "yes"
CREATE TABLE table_name_8 (gold_coast VARCHAR, melbourne VARCHAR, auckland VARCHAR)
Which Gold Coast has Melbourne yes, and Auckland yes?
SELECT perth FROM table_name_50 WHERE auckland = "yes" AND gold_coast = "yes"
CREATE TABLE table_name_50 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR)
Which Perth has Auckland yes and Gold Coast yes?
SELECT gold_coast FROM table_name_24 WHERE auckland = "no" AND adelaide = "yes" AND melbourne = "no"
CREATE TABLE table_name_24 (gold_coast VARCHAR, melbourne VARCHAR, auckland VARCHAR, adelaide VARCHAR)
Which Gold Coast has Auckland no, Adelaide yes, and Melbourne no?
SELECT round FROM table_name_67 WHERE date = "7 january 2003"
CREATE TABLE table_name_67 (round VARCHAR, date VARCHAR)
What round was on 7 January 2003?
SELECT result_f_a FROM table_name_60 WHERE date = "17 december 2002"
CREATE TABLE table_name_60 (result_f_a VARCHAR, date VARCHAR)
What is the result F_A on 17 December 2002?
SELECT attendance FROM table_name_14 WHERE date = "7 january 2003"
CREATE TABLE table_name_14 (attendance VARCHAR, date VARCHAR)
What attendance was on 7 January 2003?
SELECT recording FROM table_name_86 WHERE year = "2012"
CREATE TABLE table_name_86 (recording VARCHAR, year VARCHAR)
Name the recording for 2012
SELECT year FROM table_name_43 WHERE category = "best female pop vocal album" AND result = "won"
CREATE TABLE table_name_43 (year VARCHAR, category VARCHAR, result VARCHAR)
Name the year with the best female pop vocal album and result of won
SELECT category FROM table_name_15 WHERE year = "2013"
CREATE TABLE table_name_15 (category VARCHAR, year VARCHAR)
Name the category for 2013
SELECT MIN(gold) FROM table_name_94 WHERE silver < 0
CREATE TABLE table_name_94 (gold INTEGER, silver INTEGER)
Which was the lowest gold when silver was smaller than 0?
SELECT MAX(total) FROM table_name_74 WHERE rank = 6 AND bronze = 2 AND gold > 0
CREATE TABLE table_name_74 (total INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR)
Which is the highest total at rank 6, bronze 2, and gold larger than 0?
SELECT MAX(bronze) FROM table_name_89 WHERE rank > 5 AND nation = "chinese taipei" AND total < 1
CREATE TABLE table_name_89 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than 1?
SELECT us_dance FROM table_name_89 WHERE year > 1985
CREATE TABLE table_name_89 (us_dance VARCHAR, year INTEGER)
Name the US dance when the year is more than 1985
SELECT us_hot_100 FROM table_name_81 WHERE album = "i like you"
CREATE TABLE table_name_81 (us_hot_100 VARCHAR, album VARCHAR)
Name the US Hot 100 for album of I like you
SELECT us_r & b FROM table_name_39 WHERE year = 1981
CREATE TABLE table_name_39 (us_r VARCHAR, b VARCHAR, year VARCHAR)
Name the US R&B for 1981
SELECT writer_s_ FROM table_name_57 WHERE recipient = "parkville pictures ltd"
CREATE TABLE table_name_57 (writer_s_ VARCHAR, recipient VARCHAR)
Who was the writer when Parkville Pictures Ltd was the recipient?
SELECT director_s_ FROM table_name_35 WHERE writer_s_ = "alex winckler"
CREATE TABLE table_name_35 (director_s_ VARCHAR, writer_s_ VARCHAR)
Alex Winckler wrote the film, who was the director?
SELECT date FROM table_name_43 WHERE writer_s_ = "edward jeffreys"
CREATE TABLE table_name_43 (date VARCHAR, writer_s_ VARCHAR)
On what date was Edward Jeffreys the writer?
SELECT date FROM table_name_48 WHERE award = "Β£6,600"
CREATE TABLE table_name_48 (date VARCHAR, award VARCHAR)
What date was the award of Β£6,600 was given?
SELECT director_s_ FROM table_name_54 WHERE recipient = "redbag pictures ltd"
CREATE TABLE table_name_54 (director_s_ VARCHAR, recipient VARCHAR)
Who was the director that had a recipient of Redbag Pictures Ltd?
SELECT award FROM table_name_64 WHERE writer_s_ = "edward jeffreys"
CREATE TABLE table_name_64 (award VARCHAR, writer_s_ VARCHAR)
What's the name of the award that Edward Jeffreys was the writer?
SELECT player FROM table_name_40 WHERE year_born = 1981
CREATE TABLE table_name_40 (player VARCHAR, year_born VARCHAR)
Who is the Player born in 1981?
SELECT COUNT(height) FROM table_name_49 WHERE year_born < 1977
CREATE TABLE table_name_49 (height VARCHAR, year_born INTEGER)
What is the Height that has a year born before 1977
SELECT MIN(total_region) FROM table_name_75 WHERE year > 2001 AND broadsound > 6 OFFSET 843
CREATE TABLE table_name_75 (total_region INTEGER, year VARCHAR, broadsound VARCHAR)
What is the lowest Total Region that has a Year after 2001, and a Broadsound greater than 6,843?
SELECT SUM(total_region) FROM table_name_2 WHERE year = 1954 AND nebo > 447
CREATE TABLE table_name_2 (total_region INTEGER, year VARCHAR, nebo VARCHAR)
What is the sum of Total Regions that have the Year 1954, and a Nebo greater than 447?
SELECT COUNT(bronze) FROM table_name_34 WHERE gold < 2 AND nation = "uganda" AND total > 2
CREATE TABLE table_name_34 (bronze VARCHAR, total VARCHAR, gold VARCHAR, nation VARCHAR)
What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals?
SELECT MAX(gold) FROM table_name_30 WHERE nation = "canada" AND silver < 7
CREATE TABLE table_name_30 (gold INTEGER, nation VARCHAR, silver VARCHAR)
With less than 7 Silver medals, how many Gold medals did Canada receive?
SELECT outcome FROM table_name_4 WHERE score = "6–1, 6–4"
CREATE TABLE table_name_4 (outcome VARCHAR, score VARCHAR)
What is the outcome of a score that is 6–1, 6–4?
SELECT surface FROM table_name_40 WHERE score = "7–6 (7–3) , 6–3"
CREATE TABLE table_name_40 (surface VARCHAR, score VARCHAR)
What is the surface of the score, 7–6 (7–3) , 6–3?
SELECT venue FROM table_name_71 WHERE year < 2008 AND position = "14th (q)"
CREATE TABLE table_name_71 (venue VARCHAR, year VARCHAR, position VARCHAR)
What venue did he play in before 2008 and finished 14th (q)?
SELECT competition FROM table_name_6 WHERE year < 2007 AND venue = "gothenburg, sweden"
CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR)
What competition did he compete in before 2007 in gothenburg, sweden?
SELECT venue FROM table_name_55 WHERE position = "7th"
CREATE TABLE table_name_55 (venue VARCHAR, position VARCHAR)
What venue did he finish 7th?
SELECT MAX(performances) FROM table_name_43 WHERE role = "geoffrey fitton"
CREATE TABLE table_name_43 (performances INTEGER, role VARCHAR)
Name the most performances for geoffrey fitton
SELECT role FROM table_name_49 WHERE closing_date = "feb 4, 1961"
CREATE TABLE table_name_49 (role VARCHAR, closing_date VARCHAR)
Name the role for Feb 4, 1961 closing date
SELECT theatre FROM table_name_31 WHERE performances > 49 AND role = "aaron jablonski schuyler grogan"
CREATE TABLE table_name_31 (theatre VARCHAR, performances VARCHAR, role VARCHAR)
Name the theatre for aaron jablonski schuyler grogan with performances more than 49
SELECT title FROM table_name_29 WHERE no_in_series < 4
CREATE TABLE table_name_29 (title VARCHAR, no_in_series INTEGER)
What are the titles for episodes prior to episode 4?
SELECT title FROM table_name_23 WHERE no_in_series < 4
CREATE TABLE table_name_23 (title VARCHAR, no_in_series INTEGER)
What are the titles for episodes prior to episode 4?
SELECT original_air_date FROM table_name_58 WHERE no_in_series > 3
CREATE TABLE table_name_58 (original_air_date VARCHAR, no_in_series INTEGER)
What the air dates for the episodes are episode 3 in the series?