question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What was the attendance on November 1, 1942? | CREATE TABLE table_name_62 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_62 WHERE date = "november 1, 1942" |
What is the away team score at victoria park? | CREATE TABLE table_name_49 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_49 WHERE venue = "victoria park" |
What is the away team from st kilda? | CREATE TABLE table_name_89 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_89 WHERE home_team = "st kilda" |
In what Country/Territory did Jason Keatly win Mr. Gay Internatnional? | CREATE TABLE table_name_89 (country_territory VARCHAR, mr_gay_international VARCHAR) | SELECT country_territory FROM table_name_89 WHERE mr_gay_international = "jason keatly" |
What was the score of the match in which Portsmouth was the Away team? | CREATE TABLE table_name_23 (score_1 VARCHAR, away_team VARCHAR) | SELECT score_1 FROM table_name_23 WHERE away_team = "portsmouth" |
Which Away team did West Ham United play against? | CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_95 WHERE home_team = "west ham united" |
What was the final score of the match that had an attendance of 9,205? | CREATE TABLE table_name_99 (score_1 VARCHAR, attendance VARCHAR) | SELECT score_1 FROM table_name_99 WHERE attendance = "9,205" |
What is the home team score at glenferrie oval? | CREATE TABLE table_name_65 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_65 WHERE venue = "glenferrie oval" |
Tell me the Laps for time/retired of +8 laps | CREATE TABLE table_name_35 (laps VARCHAR, time_retired VARCHAR) | SELECT laps FROM table_name_35 WHERE time_retired = "+8 laps" |
Tell me the sum of laps with a time/retired of +13 laps with grid more than 18 | CREATE TABLE table_name_21 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) | SELECT SUM(laps) FROM table_name_21 WHERE time_retired = "+13 laps" AND grid > 18 |
I want the lowest laps that have a grid of 12 | CREATE TABLE table_name_22 (laps INTEGER, grid VARCHAR) | SELECT MIN(laps) FROM table_name_22 WHERE grid = 12 |
Tell me the sum of the grid with alfa romeo and toulo de graffenried | CREATE TABLE table_name_86 (grid INTEGER, constructor VARCHAR, driver VARCHAR) | SELECT SUM(grid) FROM table_name_86 WHERE constructor = "alfa romeo" AND driver = "toulo de graffenried" |
Which away team's Venue is western oval? | CREATE TABLE table_name_4 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_4 WHERE venue = "western oval" |
What was the decision from the Vancouver home game on April 21? | CREATE TABLE table_name_2 (decision VARCHAR, home VARCHAR, date VARCHAR) | SELECT decision FROM table_name_2 WHERE home = "vancouver" AND date = "april 21" |
What was the home team that played Vancouver on April 29? | CREATE TABLE table_name_62 (home VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT home FROM table_name_62 WHERE visitor = "vancouver" AND date = "april 29" |
Which 2009 had a 2011 of SF? | CREATE TABLE table_name_71 (Id VARCHAR) | SELECT 2009 FROM table_name_71 WHERE 2011 = "sf" |
Which 2010 featured the US Open? | CREATE TABLE table_name_56 (tournament VARCHAR) | SELECT 2010 FROM table_name_56 WHERE tournament = "us open" |
What is the highest grid when the race was retired due to the gearbox after 67 laps? | CREATE TABLE table_name_70 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_70 WHERE time_retired = "gearbox" AND laps > 67 |
What was the time of the race for Driver Jarno Trulli on a grid smaller than 13? | CREATE TABLE table_name_59 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_59 WHERE grid < 13 AND driver = "jarno trulli" |
How many laps did Nick Heidfeld drive on grids larger than 4? | CREATE TABLE table_name_77 (laps INTEGER, grid VARCHAR, driver VARCHAR) | SELECT SUM(laps) FROM table_name_77 WHERE grid > 4 AND driver = "nick heidfeld" |
What is the full number of New Council when the previous council was 54 and the staying councilor number is bigger than 36? | CREATE TABLE table_name_82 (new_council VARCHAR, previous_council VARCHAR, staying_councillors VARCHAR) | SELECT COUNT(new_council) FROM table_name_82 WHERE previous_council = 54 AND staying_councillors > 36 |
Which number of New Councils had a previous council number of 19 and the seats up for election were bigger than 6? | CREATE TABLE table_name_14 (new_council VARCHAR, previous_council VARCHAR, seats_up_for_election VARCHAR) | SELECT COUNT(new_council) FROM table_name_14 WHERE previous_council = 19 AND seats_up_for_election < 6 |
What is the mean amount of staying councilors with an election result amounting to less than 10 with the Green party, and a new council bigger than 0? | CREATE TABLE table_name_76 (staying_councillors INTEGER, new_council VARCHAR, election_result VARCHAR, party VARCHAR) | SELECT AVG(staying_councillors) FROM table_name_76 WHERE election_result < 10 AND party = "green" AND new_council > 0 |
What is the number of points for the vehicle with a mp4-17d chassis earlier than 2003? | CREATE TABLE table_name_83 (points INTEGER, chassis VARCHAR, year VARCHAR) | SELECT SUM(points) FROM table_name_83 WHERE chassis = "mp4-17d" AND year < 2003 |
What is the earliest year with a mp4-17d chassis and less than 142 points. | CREATE TABLE table_name_60 (year INTEGER, chassis VARCHAR, points VARCHAR) | SELECT MIN(year) FROM table_name_60 WHERE chassis = "mp4-17d" AND points < 142 |
What is the sum for every value of Decile in Clendon? | CREATE TABLE table_name_88 (decile INTEGER, suburb VARCHAR) | SELECT SUM(decile) FROM table_name_88 WHERE suburb = "clendon" |
Which local board does the Clendon Teen Parent Unit belong to? | CREATE TABLE table_name_98 (local_board VARCHAR, name VARCHAR) | SELECT local_board FROM table_name_98 WHERE name = "clendon teen parent unit" |
Which name is the learning/social difficulties type? | CREATE TABLE table_name_17 (name VARCHAR, type VARCHAR) | SELECT name FROM table_name_17 WHERE type = "learning/social difficulties" |
what is the result when extra is 4 x 100 m relay and the year is later than 1971? | CREATE TABLE table_name_15 (result VARCHAR, extra VARCHAR, year VARCHAR) | SELECT result FROM table_name_15 WHERE extra = "4 x 100 m relay" AND year > 1971 |
what is the venue when the result is 2nd and extra is 4 x 100 m relay? | CREATE TABLE table_name_30 (venue VARCHAR, result VARCHAR, extra VARCHAR) | SELECT venue FROM table_name_30 WHERE result = "2nd" AND extra = "4 x 100 m relay" |
What was the date of the Red Wings home game against Anaheim? | CREATE TABLE table_name_30 (date VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_30 WHERE visitor = "anaheim" |
What was the score of the Red Wings game when Vancouver was the home team? | CREATE TABLE table_name_71 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_71 WHERE home = "vancouver" |
What is the name of the away team who played Footscray? | CREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_23 WHERE home_team = "footscray" |
What date was the game played at Princes Park? | CREATE TABLE table_name_62 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_62 WHERE venue = "princes park" |
During the Australian Grand Prix and the fastest lap was driven by Jacques Villeneuve, what's the report recorded? | CREATE TABLE table_name_65 (report VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR) | SELECT report FROM table_name_65 WHERE fastest_lap = "jacques villeneuve" AND grand_prix = "australian grand prix" |
When the fastest lap was driven by damon hill who was the winning constructor? | CREATE TABLE table_name_16 (winning_constructor VARCHAR, fastest_lap VARCHAR) | SELECT winning_constructor FROM table_name_16 WHERE fastest_lap = "damon hill" |
During the hungarian grand prix where the pole position was michael schumacher and the fastest lap was driven by damon hill, what's the total number of rounds of races matching these standards? | CREATE TABLE table_name_17 (round VARCHAR, grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) | SELECT COUNT(round) FROM table_name_17 WHERE fastest_lap = "damon hill" AND pole_position = "michael schumacher" AND grand_prix = "hungarian grand prix" |
When the winning driver was jacques villeneuve what was the fastest lap driven? | CREATE TABLE table_name_31 (fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT fastest_lap FROM table_name_31 WHERE winning_driver = "jacques villeneuve" |
I want to know the average Gold for total smaller 12 and bronze less than 1 and wushu with silver more than 3 | CREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, sport VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_2 WHERE total < 12 AND bronze < 1 AND sport = "wushu" AND silver > 3 |
I want the lowest Gold for silver being 2 and electronic sports | CREATE TABLE table_name_98 (gold INTEGER, silver VARCHAR, sport VARCHAR) | SELECT MIN(gold) FROM table_name_98 WHERE silver = 2 AND sport = "electronic sports" |
Tell me the total number of Bronze for futsal | CREATE TABLE table_name_67 (bronze VARCHAR, sport VARCHAR) | SELECT COUNT(bronze) FROM table_name_67 WHERE sport = "futsal" |
Tell me the total number of total for vovinam and bronze less than 3 | CREATE TABLE table_name_16 (total VARCHAR, sport VARCHAR, bronze VARCHAR) | SELECT COUNT(total) FROM table_name_16 WHERE sport = "vovinam" AND bronze < 3 |
Tell me the sum of bronze for gold being 27 and silver more than 30 | CREATE TABLE table_name_35 (bronze INTEGER, gold VARCHAR, silver VARCHAR) | SELECT SUM(bronze) FROM table_name_35 WHERE gold = 27 AND silver > 30 |
Who won the season of 1998? | CREATE TABLE table_name_52 (winner_season VARCHAR, year VARCHAR) | SELECT winner_season FROM table_name_52 WHERE year = 1998 |
What year was the locomotive withdrawn that was made in 1876? | CREATE TABLE table_name_90 (year_s__withdrawn VARCHAR, year_made VARCHAR) | SELECT year_s__withdrawn FROM table_name_90 WHERE year_made = "1876" |
What was the lowest attendance when Fitzroy was the home team? | CREATE TABLE table_name_44 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_44 WHERE home_team = "fitzroy" |
Which attendance has the 25β17β5 record? | CREATE TABLE table_name_93 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_93 WHERE record = "25β17β5" |
What was the score when Minnesota visited? | CREATE TABLE table_name_86 (score VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_86 WHERE visitor = "minnesota" |
Who was the leading scorer when the visiting team was the Trail Blazers? | CREATE TABLE table_name_55 (leading_scorer VARCHAR, visitor VARCHAR) | SELECT leading_scorer FROM table_name_55 WHERE visitor = "trail blazers" |
Who was the visiting team on November 26, 2007? | CREATE TABLE table_name_65 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_65 WHERE date = "november 26, 2007" |
Who constructed stefan johansson's car with a grid under 14? | CREATE TABLE table_name_52 (constructor VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_52 WHERE grid < 14 AND driver = "stefan johansson" |
Who constructed piercarlo ghinzani's car with under 44 laps? | CREATE TABLE table_name_59 (constructor VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_59 WHERE laps < 44 AND driver = "piercarlo ghinzani" |
On buses ranging in numbr 401-484, what is the lowest width that one longer thna 25 feet can have? | CREATE TABLE table_name_36 (width__inches_ INTEGER, length__feet_ VARCHAR, numbers VARCHAR) | SELECT MIN(width__inches_) FROM table_name_36 WHERE length__feet_ > 25 AND numbers = "401-484" |
For a vehicle below 25 feet, that was retired in 2005 and had a navistar t444e engine, what was the total width? | CREATE TABLE table_name_11 (width__inches_ VARCHAR, length__feet_ VARCHAR, engine VARCHAR, retired VARCHAR) | SELECT COUNT(width__inches_) FROM table_name_11 WHERE engine = "navistar t444e" AND retired = "2005" AND length__feet_ < 25 |
What was the score of the game when the home was Atlanta? | CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_99 WHERE home = "atlanta" |
What is the number of people in attendance when the decision was brodeur and the home was ottawa? | CREATE TABLE table_name_60 (attendance VARCHAR, decision VARCHAR, home VARCHAR) | SELECT attendance FROM table_name_60 WHERE decision = "brodeur" AND home = "ottawa" |
Which Partner with the surface of Clay ended up as a runner-up with a score of 1β6, 6β4, [10β12]? | CREATE TABLE table_name_45 (partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT partner FROM table_name_45 WHERE surface = "clay" AND outcome = "runner-up" AND score = "1β6, 6β4, [10β12]" |
What was the score of the other team that played Geelong? | CREATE TABLE table_name_89 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_89 WHERE home_team = "geelong" |
What is the lowest mintage in a year earlier than 2005? | CREATE TABLE table_name_49 (mintage INTEGER, year INTEGER) | SELECT MIN(mintage) FROM table_name_49 WHERE year < 2005 |
What is the sum of all mintage created by Pierre Leduc? | CREATE TABLE table_name_61 (mintage INTEGER, artist VARCHAR) | SELECT SUM(mintage) FROM table_name_61 WHERE artist = "pierre leduc" |
Which week was the 1995-10-01 game on? | CREATE TABLE table_name_71 (week INTEGER, date VARCHAR) | SELECT MAX(week) FROM table_name_71 WHERE date = "1995-10-01" |
What was the result of the game prior to week 9 with an attendance of 49,970? | CREATE TABLE table_name_23 (result VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_23 WHERE week < 9 AND attendance = "49,970" |
What was the date of the game at Joe Robbie Stadium? | CREATE TABLE table_name_14 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_14 WHERE game_site = "joe robbie stadium" |
Where was the game with the attendance of 54,436? | CREATE TABLE table_name_99 (game_site VARCHAR, attendance VARCHAR) | SELECT game_site FROM table_name_99 WHERE attendance = "54,436" |
What is the highest silver total for nations with 3 total and over 2 bronze? | CREATE TABLE table_name_47 (silver INTEGER, total VARCHAR, bronze VARCHAR) | SELECT MAX(silver) FROM table_name_47 WHERE total = 3 AND bronze > 2 |
What is the highest bronze total for east germany with under 3 total medals? | CREATE TABLE table_name_5 (bronze INTEGER, nation VARCHAR, total VARCHAR) | SELECT MAX(bronze) FROM table_name_5 WHERE nation = "east germany" AND total < 3 |
What production code does episode 174 of Melrose place have? | CREATE TABLE table_name_92 (production_code VARCHAR, no_in_series VARCHAR) | SELECT production_code FROM table_name_92 WHERE no_in_series = 174 |
What is the title of Melsrose Place episode number 168? | CREATE TABLE table_name_90 (title VARCHAR, no_in_series VARCHAR) | SELECT title FROM table_name_90 WHERE no_in_series = 168 |
What episode number is the first episode of season 11 in Melrose Place? | CREATE TABLE table_name_60 (no_in_series INTEGER, no_in_season VARCHAR) | SELECT MIN(no_in_series) FROM table_name_60 WHERE no_in_season = 11 |
What is the D 46 β when the D 50 β is d 50 β? | CREATE TABLE table_name_14 (d_46_β VARCHAR, d_50_β VARCHAR) | SELECT d_46_β FROM table_name_14 WHERE d_50_β = "d 50 β" |
What is the D 46 β when the D 44 β is β majority? | CREATE TABLE table_name_3 (d_46_β VARCHAR, d_44_β VARCHAR) | SELECT d_46_β FROM table_name_3 WHERE d_44_β = "β majority" |
What is the D 44 β when the D 46 β is r 26? | CREATE TABLE table_name_32 (d_44_β VARCHAR, d_46_β VARCHAR) | SELECT d_44_β FROM table_name_32 WHERE d_46_β = "r 26" |
What is the D 41 β when the D 47 β is d 34? | CREATE TABLE table_name_83 (d_41_β VARCHAR, d_47_β VARCHAR) | SELECT d_41_β FROM table_name_83 WHERE d_47_β = "d 34" |
What is the D 41 β when the D 47 β is r 34 o? | CREATE TABLE table_name_24 (d_41_β VARCHAR, d_47_β VARCHAR) | SELECT d_41_β FROM table_name_24 WHERE d_47_β = "r 34 o" |
What is the highest crowd at windy hill? | CREATE TABLE table_name_51 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_51 WHERE venue = "windy hill" |
What date is st kilda the Away team? | CREATE TABLE table_name_90 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_90 WHERE away_team = "st kilda" |
How many ties drawed at 20? | CREATE TABLE table_name_74 (ties VARCHAR, drawn VARCHAR) | SELECT ties FROM table_name_74 WHERE drawn = "20" |
What is the time for the second qualification where the first qualification time was 1:21.523? | CREATE TABLE table_name_21 (qual_2 VARCHAR, qual_1 VARCHAR) | SELECT qual_2 FROM table_name_21 WHERE qual_1 = "1:21.523" |
What is the time for the second qualification where the best time was 1:20.772? | CREATE TABLE table_name_38 (qual_2 VARCHAR, best VARCHAR) | SELECT qual_2 FROM table_name_38 WHERE best = "1:20.772" |
What is the team name for the racer who had a first qualification time of 1:22.655? | CREATE TABLE table_name_17 (team VARCHAR, qual_1 VARCHAR) | SELECT team FROM table_name_17 WHERE qual_1 = "1:22.655" |
What is the name of the racer that had a first qualification time of 1:22.085? | CREATE TABLE table_name_5 (name VARCHAR, qual_1 VARCHAR) | SELECT name FROM table_name_5 WHERE qual_1 = "1:22.085" |
What is Paul Tracy's best time racing on the Forsythe Racing team? | CREATE TABLE table_name_62 (best VARCHAR, team VARCHAR, name VARCHAR) | SELECT best FROM table_name_62 WHERE team = "forsythe racing" AND name = "paul tracy" |
What is the type of disc by Logistics after 2004? | CREATE TABLE table_name_95 (type VARCHAR, year VARCHAR, artist VARCHAR) | SELECT type FROM table_name_95 WHERE year > 2004 AND artist = "logistics" |
What is the year of the disc with a catalogue number mash02? | CREATE TABLE table_name_22 (year VARCHAR, catalogue_number VARCHAR) | SELECT year FROM table_name_22 WHERE catalogue_number = "mash02" |
What is the lowest swimsuit score a contestant from Rhode Island with an average larger than 9.235 has? | CREATE TABLE table_name_66 (swimsuit INTEGER, state VARCHAR, average VARCHAR) | SELECT MIN(swimsuit) FROM table_name_66 WHERE state = "rhode island" AND average > 9.235 |
What is the highest average a contestant from Iowa with a swimsuit smaller than 9.267 has? | CREATE TABLE table_name_14 (average INTEGER, state VARCHAR, swimsuit VARCHAR) | SELECT MAX(average) FROM table_name_14 WHERE state = "iowa" AND swimsuit < 9.267 |
What is the highest average for a contestant with an evening gown larger than 9.449 from Kansas? | CREATE TABLE table_name_56 (average INTEGER, evening_gown VARCHAR, state VARCHAR) | SELECT MAX(average) FROM table_name_56 WHERE evening_gown > 9.449 AND state = "kansas" |
What is the lowest swimsuit for a contestant with an average of 9.125? | CREATE TABLE table_name_38 (swimsuit INTEGER, average VARCHAR) | SELECT MIN(swimsuit) FROM table_name_38 WHERE average = 9.125 |
What is the lowest interview for a contestant from North Carolina with a swimsuit larger than 9.021, an average smaller than 9.513, and an evening gown larger than 9.5? | CREATE TABLE table_name_60 (interview INTEGER, evening_gown VARCHAR, state VARCHAR, swimsuit VARCHAR, average VARCHAR) | SELECT MIN(interview) FROM table_name_60 WHERE swimsuit > 9.021 AND average < 9.513 AND state = "north carolina" AND evening_gown > 9.5 |
What's the most jim colbert got paid? | CREATE TABLE table_name_23 (earnings__ INTEGER, player VARCHAR) | SELECT MAX(earnings__) AS $__ FROM table_name_23 WHERE player = "jim colbert" |
How many average wins does bruce fleisher have? | CREATE TABLE table_name_40 (wins INTEGER, player VARCHAR) | SELECT AVG(wins) FROM table_name_40 WHERE player = "bruce fleisher" |
What rank has less than 22 wins | CREATE TABLE table_name_88 (rank VARCHAR, wins INTEGER) | SELECT COUNT(rank) FROM table_name_88 WHERE wins < 22 |
Who was the winner of the game in 1999 with Kansas City Chiefs as the loser? | CREATE TABLE table_name_29 (winner VARCHAR, year VARCHAR, loser VARCHAR) | SELECT winner FROM table_name_29 WHERE year = 1999 AND loser = "kansas city chiefs" |
What is the average year of the games with the date December 26? | CREATE TABLE table_name_84 (year INTEGER, date VARCHAR) | SELECT AVG(year) FROM table_name_84 WHERE date = "december 26" |
What is the home team that played Hull City? | CREATE TABLE table_name_40 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_40 WHERE away_team = "hull city" |
Name the height when the floors are bigger than 30 at the bny mellon center | CREATE TABLE table_name_24 (height_ft___m VARCHAR, floors VARCHAR, name VARCHAR) | SELECT height_ft___m FROM table_name_24 WHERE floors > 30 AND name = "bny mellon center" |
Name the year for 8 rank | CREATE TABLE table_name_41 (year VARCHAR, rank VARCHAR) | SELECT year FROM table_name_41 WHERE rank = "8" |
What was the lowest amount of people to turn out at a game with the away team as collingwood? | CREATE TABLE table_name_93 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_93 WHERE away_team = "collingwood" |
When the home team of st kilda was playing, what was the away team score? | CREATE TABLE table_name_97 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_97 WHERE home_team = "st kilda" |
What is the total number of people that attended the glenferrie oval venue? | CREATE TABLE table_name_39 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_39 WHERE venue = "glenferrie oval" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.