question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
When playing at the Kardinia Park; what was the home teams score?
CREATE TABLE table_name_39 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_39 WHERE venue = "kardinia park"
When Essendon played away; where did they play?
CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_50 WHERE away_team = "essendon"
What is the terminini of the highway with an east west direction and remarks that it was replaced by us 59?
CREATE TABLE table_name_19 (termini VARCHAR, direction VARCHAR, remarks VARCHAR)
SELECT termini FROM table_name_19 WHERE direction = "east west" AND remarks = "replaced by us 59"
What is the length of the highway with the route name sh 2?
CREATE TABLE table_name_57 (length VARCHAR, route_name VARCHAR)
SELECT length FROM table_name_57 WHERE route_name = "sh 2"
What is the length of the highway with remarks that it was replaced by lp 20?
CREATE TABLE table_name_28 (length VARCHAR, remarks VARCHAR)
SELECT length FROM table_name_28 WHERE remarks = "replaced by lp 20"
What is the length of the highway with remarks that it was replaced by bsi-35?
CREATE TABLE table_name_77 (length VARCHAR, remarks VARCHAR)
SELECT length FROM table_name_77 WHERE remarks = "replaced by bsi-35"
What is the length of the highway with junctions i-35 us 83 and named us 83 bus.?
CREATE TABLE table_name_25 (length VARCHAR, junctions VARCHAR, route_name VARCHAR)
SELECT length FROM table_name_25 WHERE junctions = "i-35 us 83" AND route_name = "us 83 bus."
What college has the Chicago Stags?
CREATE TABLE table_name_60 (college VARCHAR, team VARCHAR)
SELECT college FROM table_name_60 WHERE team = "chicago stags"
What college has the Chicago stags and position is G?
CREATE TABLE table_name_78 (college VARCHAR, team VARCHAR, position VARCHAR)
SELECT college FROM table_name_78 WHERE team = "chicago stags" AND position = "g"
What is the name of the player with position of G and the team was the Washington Capitols?
CREATE TABLE table_name_58 (player VARCHAR, position VARCHAR, team VARCHAR)
SELECT player FROM table_name_58 WHERE position = "g" AND team = "washington capitols"
What is the date of the inauguration with a Length of retirement of 00,624 days?
CREATE TABLE table_name_78 (date_of_inauguration VARCHAR, length_of_retirement VARCHAR)
SELECT date_of_inauguration FROM table_name_78 WHERE length_of_retirement = "00,624 days"
What largest bronze number has a gold number that is bigger than 1?
CREATE TABLE table_name_66 (bronze INTEGER, gold INTEGER)
SELECT MAX(bronze) FROM table_name_66 WHERE gold > 1
What is the sum number of bronzes when the rank is less than 2 and the gold is less than 1?
CREATE TABLE table_name_86 (bronze VARCHAR, rank VARCHAR, gold VARCHAR)
SELECT COUNT(bronze) FROM table_name_86 WHERE rank < 2 AND gold < 1
Which of the largest ranks has a bronze number less than 1, a silver of 1, and a total that is more than 1?
CREATE TABLE table_name_37 (rank INTEGER, total VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT MAX(rank) FROM table_name_37 WHERE bronze < 1 AND silver = 1 AND total > 1
What is the Average for South Carolina with an Interview less than 9.626?
CREATE TABLE table_name_21 (average INTEGER, state VARCHAR, interview VARCHAR)
SELECT SUM(average) FROM table_name_21 WHERE state = "south carolina" AND interview < 9.626
What is the highest interview for Louisiana with an average above 9.324?
CREATE TABLE table_name_77 (interview INTEGER, average VARCHAR, state VARCHAR)
SELECT MAX(interview) FROM table_name_77 WHERE average > 9.324 AND state = "louisiana"
How many people were in the crowd when Carlton was the away team?
CREATE TABLE table_name_43 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_43 WHERE away_team = "carlton"
What was the date when the home team was Essendon?
CREATE TABLE table_name_9 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_9 WHERE home_team = "essendon"
What was the away score at the game at MCG?
CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_63 WHERE venue = "mcg"
Who wrote series number 99?
CREATE TABLE table_name_68 (written_by VARCHAR, series__number VARCHAR)
SELECT written_by FROM table_name_68 WHERE series__number = 99
What was the original air date of a series number after 78, written by Jenee V. Giles?
CREATE TABLE table_name_85 (original_air_date VARCHAR, series__number VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_name_85 WHERE series__number > 78 AND written_by = "jenee v. giles"
When tennis has less than 2 bronze, what is the total number of Gold?
CREATE TABLE table_name_53 (gold VARCHAR, sport VARCHAR, bronze VARCHAR)
SELECT COUNT(gold) FROM table_name_53 WHERE sport = "tennis" AND bronze < 2
When volleyball has 2 bronze, what is the total number of silver?
CREATE TABLE table_name_28 (silver VARCHAR, bronze VARCHAR, sport VARCHAR)
SELECT COUNT(silver) FROM table_name_28 WHERE bronze = 2 AND sport = "volleyball"
When athletics has a total more than 2 and 0 gold, what is the total number of bronze?
CREATE TABLE table_name_2 (bronze VARCHAR, sport VARCHAR, total VARCHAR, gold VARCHAR)
SELECT COUNT(bronze) FROM table_name_2 WHERE total > 2 AND gold = 0 AND sport = "athletics"
Which is the most recent game with an attendance larger than 65,042?
CREATE TABLE table_name_44 (game INTEGER, attendance INTEGER)
SELECT MAX(game) FROM table_name_44 WHERE attendance > 65 OFFSET 042
Which name has an Order smaller than 997,more than 5 goals, and 215 games?
CREATE TABLE table_name_43 (name VARCHAR, games VARCHAR, order VARCHAR, goals VARCHAR)
SELECT name FROM table_name_43 WHERE order < 997 AND goals > 5 AND games = 215
How many games have an Order of 1006, and Goals larger than 192?
CREATE TABLE table_name_94 (games INTEGER, order VARCHAR, goals VARCHAR)
SELECT SUM(games) FROM table_name_94 WHERE order = 1006 AND goals > 192
Which game has an order larger than 975, Seasons of 2005 – 2007, and 46 goals?
CREATE TABLE table_name_5 (games VARCHAR, goals VARCHAR, order VARCHAR, seasons VARCHAR)
SELECT games FROM table_name_5 WHERE order > 975 AND seasons = "2005 – 2007" AND goals = 46
What is the latest year in Annecy, France?
CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR)
SELECT MAX(year) FROM table_name_66 WHERE venue = "annecy, france"
What's the Time/Retired of Ivan Capelli?
CREATE TABLE table_name_61 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_61 WHERE driver = "ivan capelli"
How many people attended the game on january 10 with a Score of 3 – 2?
CREATE TABLE table_name_96 (attendance VARCHAR, score VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_96 WHERE score = "3 – 2" AND date = "january 10"
How many attended the game with a Record of 21–22–2?
CREATE TABLE table_name_23 (attendance VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_name_23 WHERE record = "21–22–2"
What is the team's record when the NY rangers are at home with atlanta visting and lehtonen getting the decision?
CREATE TABLE table_name_25 (record VARCHAR, home VARCHAR, decision VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_25 WHERE decision = "lehtonen" AND visitor = "atlanta" AND home = "ny rangers"
What was the time/retired for the driver with fewer than 23 laps and grid larger than 23?
CREATE TABLE table_name_75 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_75 WHERE laps < 23 AND grid > 23
How many laps by Jorge Lorenzo on the Aprilia with a grid bigger than 1?
CREATE TABLE table_name_34 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, rider VARCHAR)
SELECT SUM(laps) FROM table_name_34 WHERE manufacturer = "aprilia" AND rider = "jorge lorenzo" AND grid > 1
Where was the game on March 11, 1999 played?
CREATE TABLE table_name_30 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_30 WHERE date = "march 11, 1999"
When were the British Grand Prix races?
CREATE TABLE table_name_95 (date VARCHAR, race VARCHAR)
SELECT date FROM table_name_95 WHERE race = "british grand prix"
What Canadian Grand Prix race winner had Didier Pironi in Pole Position?
CREATE TABLE table_name_11 (race VARCHAR, pole_position VARCHAR)
SELECT race AS Winner FROM table_name_11 WHERE pole_position = "didier pironi" AND race = "canadian grand prix"
Tell me the average top 10 for cuts made less than 10, wins less than 1 and top 25 of 5
CREATE TABLE table_name_42 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR, top_25 VARCHAR)
SELECT AVG(top_10) FROM table_name_42 WHERE wins < 1 AND top_25 = 5 AND cuts_made < 10
What is the prom with Hewitt class and a Height (m) of 715?
CREATE TABLE table_name_20 (prom__m_ VARCHAR, class VARCHAR, height__m_ VARCHAR)
SELECT prom__m_ FROM table_name_20 WHERE class = "hewitt" AND height__m_ = 715
How many laps have a Time/Retired of + 4 laps, and a Driver of graham hill?
CREATE TABLE table_name_3 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_3 WHERE time_retired = "+ 4 laps" AND driver = "graham hill"
Which Time/Retired has less than 77 laps, and a Grid of 16?
CREATE TABLE table_name_68 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_68 WHERE laps < 77 AND grid = 16
Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise?
CREATE TABLE table_name_53 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT constructor FROM table_name_53 WHERE grid < 24 AND laps > 77 AND driver = "jean-pierre beltoise"
What's the team of the player who went to lawrence tech?
CREATE TABLE table_name_56 (team VARCHAR, college VARCHAR)
SELECT team FROM table_name_56 WHERE college = "lawrence tech"
Who drove the maserati under 18 laps with an oil leak that had a grid of under 14?
CREATE TABLE table_name_34 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_34 WHERE constructor = "maserati" AND laps < 18 AND grid < 14 AND time_retired = "oil leak"
What is the average grid for jo siffert?
CREATE TABLE table_name_57 (grid INTEGER, driver VARCHAR)
SELECT AVG(grid) FROM table_name_57 WHERE driver = "jo siffert"
What nation has 1 bronze and 3 silvers?
CREATE TABLE table_name_9 (nation VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT nation FROM table_name_9 WHERE bronze = "1" AND silver = "3"
How many total medals for the netherlands?
CREATE TABLE table_name_9 (total INTEGER, nation VARCHAR)
SELECT SUM(total) FROM table_name_9 WHERE nation = "netherlands"
Which venue hosted an away team of Footscray?
CREATE TABLE table_name_22 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_22 WHERE away_team = "footscray"
Which player is from Murray State college?
CREATE TABLE table_name_9 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_9 WHERE college = "murray state"
Name the opponent in the final for year of 1888
CREATE TABLE table_name_36 (opponent_in_the_final VARCHAR, year VARCHAR)
SELECT opponent_in_the_final FROM table_name_36 WHERE year = 1888
I want the tournament for 1889
CREATE TABLE table_name_76 (tournament VARCHAR, year VARCHAR)
SELECT tournament FROM table_name_76 WHERE year = 1889
On what date is Isabel cueto the opponent in the final?
CREATE TABLE table_name_78 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_78 WHERE opponent_in_the_final = "isabel cueto"
Which tournament has raffaella reggi listed as the opponent in the final?
CREATE TABLE table_name_55 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_55 WHERE opponent_in_the_final = "raffaella reggi"
What type of surface was used where the final score was 6–2, 6–3?
CREATE TABLE table_name_41 (surface VARCHAR, score_in_the_final VARCHAR)
SELECT surface FROM table_name_41 WHERE score_in_the_final = "6–2, 6–3"
What was the record on April 22?
CREATE TABLE table_name_1 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_1 WHERE date = "april 22"
When was the game played against Southampton?
CREATE TABLE table_name_29 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_29 WHERE opponent = "southampton"
Which venue has 13,634 people in attendance?
CREATE TABLE table_name_57 (venue VARCHAR, attendance VARCHAR)
SELECT venue FROM table_name_57 WHERE attendance = "13,634"
When was Leyton Orient an away team?
CREATE TABLE table_name_68 (date VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT date FROM table_name_68 WHERE opponent = "leyton orient" AND venue = "away"
What is the score on may 16?
CREATE TABLE table_name_60 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_60 WHERE date = "may 16"
What was the constructor for jo bonnier of 6 rounds?
CREATE TABLE table_name_69 (constructor VARCHAR, entrant VARCHAR, rounds VARCHAR)
SELECT constructor FROM table_name_69 WHERE entrant = "jo bonnier" AND rounds = "6"
What was the driver with chassis of t45 t44 and rounds of 7?
CREATE TABLE table_name_27 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
SELECT driver FROM table_name_27 WHERE chassis = "t45 t44" AND rounds = "7"
What was the biggest crowd when the away team of south melbourne played there?
CREATE TABLE table_name_40 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_40 WHERE away_team = "south melbourne"
What was the score of the away team at princes park?
CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_30 WHERE venue = "princes park"
Who was the winner with a mountain stage type on 22 May?
CREATE TABLE table_name_81 (winner VARCHAR, type VARCHAR, date VARCHAR)
SELECT winner FROM table_name_81 WHERE type = "mountain stage" AND date = "22 may"
Which course had a mountain stage type on 3 June?
CREATE TABLE table_name_76 (course VARCHAR, type VARCHAR, date VARCHAR)
SELECT course FROM table_name_76 WHERE type = "mountain stage" AND date = "3 june"
What was the course type on 22 May?
CREATE TABLE table_name_13 (type VARCHAR, date VARCHAR)
SELECT type FROM table_name_13 WHERE date = "22 may"
What is the pick number of Jesse Alexander?
CREATE TABLE table_name_39 (pick__number INTEGER, player VARCHAR)
SELECT MIN(pick__number) FROM table_name_39 WHERE player = "jesse alexander"
How many weeks do they have a bye?
CREATE TABLE table_name_37 (week VARCHAR, result VARCHAR)
SELECT COUNT(week) FROM table_name_37 WHERE result = "bye"
Which title aired on 18 dec 2006- 10 feb 2007?
CREATE TABLE table_name_67 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR)
SELECT english_title__chinese_title_ FROM table_name_67 WHERE airing_date = "18 dec 2006- 10 feb 2007"
Which genre aired on 12 feb- 9 mar?
CREATE TABLE table_name_27 (genre VARCHAR, airing_date VARCHAR)
SELECT genre FROM table_name_27 WHERE airing_date = "12 feb- 9 mar"
Which title had 20 episodes and aired on 11 jun- 6 jul?
CREATE TABLE table_name_20 (english_title__chinese_title_ VARCHAR, number_of_episodes VARCHAR, airing_date VARCHAR)
SELECT english_title__chinese_title_ FROM table_name_20 WHERE number_of_episodes = 20 AND airing_date = "11 jun- 6 jul"
Who was the opponent on September 17?
CREATE TABLE table_name_41 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_41 WHERE date = "september 17"
Which Opponent has a Date of september 28, 1951?
CREATE TABLE table_name_53 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_53 WHERE date = "september 28, 1951"
Which Attendance has a Date of november 18, 1951?
CREATE TABLE table_name_22 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_22 WHERE date = "november 18, 1951"
Name the Bore x stroke of 1929-32
CREATE TABLE table_name_83 (bore_x_stroke VARCHAR, year VARCHAR)
SELECT bore_x_stroke FROM table_name_83 WHERE year = "1929-32"
Tell me the displacement for 1935-45
CREATE TABLE table_name_63 (displacement VARCHAR, year VARCHAR)
SELECT displacement FROM table_name_63 WHERE year = "1935-45"
Tell me the power for 1935-45
CREATE TABLE table_name_91 (power VARCHAR, year VARCHAR)
SELECT power FROM table_name_91 WHERE year = "1935-45"
I want the displacement for version of db
CREATE TABLE table_name_28 (displacement VARCHAR, version VARCHAR)
SELECT displacement FROM table_name_28 WHERE version = "db"
Tell me the version for 1940-45
CREATE TABLE table_name_71 (version VARCHAR, year VARCHAR)
SELECT version FROM table_name_71 WHERE year = "1940-45"
What's the name of the competition in 8th position?
CREATE TABLE table_name_98 (competition VARCHAR, position VARCHAR)
SELECT competition FROM table_name_98 WHERE position = "8th"
After 1979, where was the European Indoor Championships held?
CREATE TABLE table_name_27 (venue VARCHAR, competition VARCHAR, year VARCHAR)
SELECT venue FROM table_name_27 WHERE competition = "european indoor championships" AND year > 1979
Before 1979, what position was the European Indoor Championships?
CREATE TABLE table_name_78 (position VARCHAR, competition VARCHAR, year VARCHAR)
SELECT position FROM table_name_78 WHERE competition = "european indoor championships" AND year < 1979
What player is picked before 2?
CREATE TABLE table_name_94 (player VARCHAR, pick__number INTEGER)
SELECT player FROM table_name_94 WHERE pick__number < 2
What position do the bc lions pick?
CREATE TABLE table_name_22 (position VARCHAR, cfl_team VARCHAR)
SELECT position FROM table_name_22 WHERE cfl_team = "bc lions"
Where has an ICAO of EPWA?
CREATE TABLE table_name_43 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_43 WHERE icao = "epwa"
Where has an IATA of BVA?
CREATE TABLE table_name_69 (city VARCHAR, iata VARCHAR)
SELECT city FROM table_name_69 WHERE iata = "bva"
When was the record 3-14-6?
CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_62 WHERE record = "3-14-6"
What home team had a record of 4-16-7?
CREATE TABLE table_name_34 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_34 WHERE record = "4-16-7"
Which year was the film Rang Barse introduced?
CREATE TABLE table_name_63 (year VARCHAR, film_name VARCHAR)
SELECT COUNT(year) FROM table_name_63 WHERE film_name = "rang barse"
What was the latest year for the film Gaon Ki Ganga?
CREATE TABLE table_name_95 (year INTEGER, film_name VARCHAR)
SELECT MAX(year) FROM table_name_95 WHERE film_name = "gaon ki ganga"
Which film was released in the year 2002?
CREATE TABLE table_name_63 (film_name VARCHAR, year VARCHAR)
SELECT film_name FROM table_name_63 WHERE year = 2002
Name a music director, belonging to a year after 2003?
CREATE TABLE table_name_86 (music_director VARCHAR, year INTEGER)
SELECT music_director FROM table_name_86 WHERE year > 2003
What is the average crowd when the team Collingwood was away?
CREATE TABLE table_name_38 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_38 WHERE away_team = "collingwood"
Name the first citicality for electric power of 1,380 mw
CREATE TABLE table_name_3 (first_criticality VARCHAR, electric_power VARCHAR)
SELECT first_criticality FROM table_name_3 WHERE electric_power = "1,380 mw"
What constructor has an engine of cosworth cr-2 and a driver of luciano burti?
CREATE TABLE table_name_52 (constructor VARCHAR, engine_† VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_52 WHERE engine_† = "cosworth cr-2" AND driver = "luciano burti"
What is the tyre for the peugeot a20 engine?
CREATE TABLE table_name_40 (tyre VARCHAR, engine_† VARCHAR)
SELECT tyre FROM table_name_40 WHERE engine_† = "peugeot a20"
Which entrant had a constructor of benetton - playlife?
CREATE TABLE table_name_62 (entrant VARCHAR, constructor VARCHAR)
SELECT entrant FROM table_name_62 WHERE constructor = "benetton - playlife"
Which entrant had a mugen-honda mf-301 he engine?
CREATE TABLE table_name_68 (entrant VARCHAR, engine_† VARCHAR)
SELECT entrant FROM table_name_68 WHERE engine_† = "mugen-honda mf-301 he"
What's the chassis for alexander wurz's playlife fb02 engine?
CREATE TABLE table_name_7 (chassis VARCHAR, engine_† VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_7 WHERE engine_† = "playlife fb02" AND driver = "alexander wurz"