question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
What was the result when the opponent was fenerbahçe? | CREATE TABLE table_name_5 (result VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_5 WHERE opponent = \"fenerbahçe\""
} |
what is the apparent magnitude of NGC number 6027d? | CREATE TABLE table_name_14 (apparent_magnitude VARCHAR, ngc_number VARCHAR) | {
"SQL_Query": "SELECT apparent_magnitude FROM table_name_14 WHERE ngc_number = \"6027d\""
} |
What is the visiting team of the game with the home team Grizzlies on 13 November 2007? | CREATE TABLE table_name_77 (visitor VARCHAR, home VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT visitor FROM table_name_77 WHERE home = \"grizzlies\" AND date = \"13 november 2007\""
} |
What is the date of the game when the Mavericks were the home team? | CREATE TABLE table_name_98 (date VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_98 WHERE home = \"mavericks\""
} |
Which of the lowest years had a Wheel arrangement that was 0-4-2t? | CREATE TABLE table_name_86 (year_made INTEGER, wheel_arrangement VARCHAR) | {
"SQL_Query": "SELECT MIN(year_made) FROM table_name_86 WHERE wheel_arrangement = \"0-4-2t\""
} |
What is the mean Year when the IWCR number was 5 and the Year withdrawn was bigger than 1926? | CREATE TABLE table_name_85 (year_made INTEGER, iwcr_no VARCHAR, year_withdrawn VARCHAR) | {
"SQL_Query": "SELECT AVG(year_made) FROM table_name_85 WHERE iwcr_no = \"5\" AND year_withdrawn > 1926"
} |
Which SR number had a wheel arrangement of 0-6-0t, the year made was more recent than 1874, and the year withdrawn was 1963? | CREATE TABLE table_name_87 (sr_no VARCHAR, year_withdrawn VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) | {
"SQL_Query": "SELECT sr_no FROM table_name_87 WHERE wheel_arrangement = \"0-6-0t\" AND year_made > 1874 AND year_withdrawn = 1963"
} |
What is the sum number of years where the wheel arrangement of 0-4-0t? | CREATE TABLE table_name_18 (year_made VARCHAR, wheel_arrangement VARCHAR) | {
"SQL_Query": "SELECT COUNT(year_made) FROM table_name_18 WHERE wheel_arrangement = \"0-4-0t\""
} |
What was the latest week of a game that had an attendance of 63,001? | CREATE TABLE table_name_63 (week INTEGER, attendance VARCHAR) | {
"SQL_Query": "SELECT MAX(week) FROM table_name_63 WHERE attendance = \"63,001\""
} |
What is the total medals Austria and those with larger than rank 4 have? | CREATE TABLE table_name_76 (total VARCHAR, nation VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT COUNT(total) FROM table_name_76 WHERE nation = \"austria\" AND rank > 4"
} |
What is the most gold medals that a team ranked higher than 6, have 1 silver medal, and more than 4 total medals have? | CREATE TABLE table_name_96 (gold INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR) | {
"SQL_Query": "SELECT MAX(gold) FROM table_name_96 WHERE rank < 6 AND silver = 1 AND total > 4"
} |
Which country has a rollercoaster that opened in 2002, is a spinning coaster, and is located in Disney's Animal Kingdom? | CREATE TABLE table_name_76 (country VARCHAR, park VARCHAR, opened VARCHAR, model VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_76 WHERE opened = 2002 AND model = \"spinning coaster\" AND park = \"disney's animal kingdom\""
} |
What is the name of the roller coaster that opened in 2000 in Brighton Pier? | CREATE TABLE table_name_98 (name VARCHAR, opened VARCHAR, park VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_98 WHERE opened = 2000 AND park = \"brighton pier\""
} |
How many attended on may 6? | CREATE TABLE table_name_85 (attendance VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT COUNT(attendance) FROM table_name_85 WHERE date = \"may 6\""
} |
Who did they lose to 3-17? | CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_67 WHERE score = \"3-17\""
} |
What venue did Richmond play at as the home team? | CREATE TABLE table_name_56 (venue VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_56 WHERE home_team = \"richmond\""
} |
What home team played against Footscray as the away team? | CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_73 WHERE away_team = \"footscray\""
} |
what was the attendance when the away team was boreham wood? | CREATE TABLE table_name_84 (attendance VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT attendance FROM table_name_84 WHERE away_team = \"boreham wood\""
} |
what is the tie no when the away team is solihull moors? | CREATE TABLE table_name_82 (tie_no INTEGER, away_team VARCHAR) | {
"SQL_Query": "SELECT SUM(tie_no) FROM table_name_82 WHERE away_team = \"solihull moors\""
} |
who is the away team when the tie no is more than 13 and the home team is team bath? | CREATE TABLE table_name_30 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_30 WHERE tie_no > 13 AND home_team = \"team bath\""
} |
What is the Pick # of the player from Simon Fraser College? | CREATE TABLE table_name_50 (pick__number INTEGER, college VARCHAR) | {
"SQL_Query": "SELECT AVG(pick__number) FROM table_name_50 WHERE college = \"simon fraser\""
} |
What is the margin of victory for the winning score of −10 (71-65-68-70=274)? | CREATE TABLE table_name_78 (margin_of_victory VARCHAR, winning_score VARCHAR) | {
"SQL_Query": "SELECT margin_of_victory FROM table_name_78 WHERE winning_score = −10(71 - 65 - 68 - 70 = 274)"
} |
Who is the runner(s)-up for a winning score of −3 (71-74-66-66=277)? | CREATE TABLE table_name_65 (runner_s__up VARCHAR, winning_score VARCHAR) | {
"SQL_Query": "SELECT runner_s__up FROM table_name_65 WHERE winning_score = −3(71 - 74 - 66 - 66 = 277)"
} |
What venue had less than 7.4 extra and the result of 4th? | CREATE TABLE table_name_58 (venue VARCHAR, extra VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_58 WHERE extra < 7.4 AND result = \"4th\""
} |
What is the highest extra total before 2003 at the Meeting of all africa games? | CREATE TABLE table_name_51 (extra INTEGER, meeting VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT MAX(extra) FROM table_name_51 WHERE meeting = \"all africa games\" AND year < 2003"
} |
What year has an extra of 8, and a result of 3rd? | CREATE TABLE table_name_12 (year VARCHAR, extra VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT year FROM table_name_12 WHERE extra = 8 AND result = \"3rd\""
} |
What year has a venue of algiers, algeria, extra smaller than 8.03, and a Meeting of all africa games? | CREATE TABLE table_name_52 (year VARCHAR, meeting VARCHAR, venue VARCHAR, extra VARCHAR) | {
"SQL_Query": "SELECT year FROM table_name_52 WHERE venue = \"algiers, algeria\" AND extra < 8.03 AND meeting = \"all africa games\""
} |
What is the Date with a Set 3 with 15–6? | CREATE TABLE table_name_98 (date VARCHAR, set_3 VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_98 WHERE set_3 = \"15–6\""
} |
What is the Set 3 with a Score of 3–1, and has a Set 2 of 13–15? | CREATE TABLE table_name_7 (set_3 VARCHAR, score VARCHAR, set_2 VARCHAR) | {
"SQL_Query": "SELECT set_3 FROM table_name_7 WHERE score = \"3–1\" AND set_2 = \"13–15\""
} |
What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–12? | CREATE TABLE table_name_92 (set_1 VARCHAR, score VARCHAR, set_3 VARCHAR) | {
"SQL_Query": "SELECT set_1 FROM table_name_92 WHERE score = \"3–0\" AND set_3 = \"15–12\""
} |
What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–10? | CREATE TABLE table_name_4 (set_1 VARCHAR, score VARCHAR, set_3 VARCHAR) | {
"SQL_Query": "SELECT set_1 FROM table_name_4 WHERE score = \"3–0\" AND set_3 = \"15–10\""
} |
What is the Set 2 with a Total with 45–12? | CREATE TABLE table_name_42 (set_2 VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT set_2 FROM table_name_42 WHERE total = \"45–12\""
} |
What is the Total with a Score of 3–0, and a Date of 14 oct, and has a Set 1 of 15–12? | CREATE TABLE table_name_78 (total VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT total FROM table_name_78 WHERE score = \"3–0\" AND date = \"14 oct\" AND set_1 = \"15–12\""
} |
What was the date of the footscray home game? | CREATE TABLE table_name_46 (date VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_46 WHERE home_team = \"footscray\""
} |
Tell me the time for martin kampmann | CREATE TABLE table_name_90 (time VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT time FROM table_name_90 WHERE opponent = \"martin kampmann\""
} |
Tell me the sum of round for record of 6-3 | CREATE TABLE table_name_41 (round INTEGER, record VARCHAR) | {
"SQL_Query": "SELECT SUM(round) FROM table_name_41 WHERE record = \"6-3\""
} |
Tell me the location for win with record of 8-5 | CREATE TABLE table_name_52 (location VARCHAR, res VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_52 WHERE res = \"win\" AND record = \"8-5\""
} |
In which of North Melbourne's away games was there the lowest crowd? | CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR) | {
"SQL_Query": "SELECT MIN(crowd) FROM table_name_71 WHERE away_team = \"north melbourne\""
} |
What is the build date of the model with PRR Class brs24? | CREATE TABLE table_name_56 (build_date VARCHAR, prr_class VARCHAR) | {
"SQL_Query": "SELECT build_date FROM table_name_56 WHERE prr_class = \"brs24\""
} |
How many total units were built of Model ds-4-4-660 with a b-b wheel arrangement and a PRR Class of bs6? | CREATE TABLE table_name_13 (total_produced INTEGER, builder’s_model VARCHAR, wheel_arrangement VARCHAR, prr_class VARCHAR) | {
"SQL_Query": "SELECT SUM(total_produced) FROM table_name_13 WHERE wheel_arrangement = \"b-b\" AND prr_class = \"bs6\" AND builder’s_model = \"ds-4-4-660\""
} |
What is the build date of the model with a PRR Class of brs24? | CREATE TABLE table_name_61 (build_date VARCHAR, prr_class VARCHAR) | {
"SQL_Query": "SELECT build_date FROM table_name_61 WHERE prr_class = \"brs24\""
} |
What is the total number of roll for Te Hapua school? | CREATE TABLE table_name_12 (roll VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT COUNT(roll) FROM table_name_12 WHERE name = \"te hapua school\""
} |
Name the place of action for the marine corps and corporal rank | CREATE TABLE table_name_45 (place_of_action VARCHAR, service VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT place_of_action FROM table_name_45 WHERE service = \"marine corps\" AND rank = \"corporal\""
} |
When driver heinz-harald frentzen has a number of laps greater than 60, what is the sum of grid? | CREATE TABLE table_name_51 (grid VARCHAR, laps VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT COUNT(grid) FROM table_name_51 WHERE laps > 60 AND driver = \"heinz-harald frentzen\""
} |
What is the population total for saint-wenceslas with a region number of under 17? | CREATE TABLE table_name_44 (population INTEGER, name VARCHAR, region VARCHAR) | {
"SQL_Query": "SELECT SUM(population) FROM table_name_44 WHERE name = \"saint-wenceslas\" AND region < 17"
} |
What is the smallest code associated with a type of m for a region less than 17 named, named saint-sylvère? | CREATE TABLE table_name_98 (code INTEGER, region VARCHAR, type VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT MIN(code) FROM table_name_98 WHERE type = \"m\" AND name = \"saint-sylvère\" AND region < 17"
} |
What competition was at the Daugava Stadium, Riga, Latvia? | CREATE TABLE table_name_19 (competition VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_19 WHERE venue = \"daugava stadium, riga, latvia\""
} |
How many total goals were made at the game on 15 November 1989? | CREATE TABLE table_name_81 (goal VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT COUNT(goal) FROM table_name_81 WHERE date = \"15 november 1989\""
} |
What is the captain's name of team Leeds United? | CREATE TABLE table_name_86 (captain VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT captain FROM table_name_86 WHERE team = \"leeds united\""
} |
Who is the shirt sponsor for Captain Geoff Thomas' team? | CREATE TABLE table_name_10 (shirt_sponsor VARCHAR, captain VARCHAR) | {
"SQL_Query": "SELECT shirt_sponsor FROM table_name_10 WHERE captain = \"geoff thomas\""
} |
What is the name of the team that Tulip Computers NV sponsors? | CREATE TABLE table_name_99 (team VARCHAR, shirt_sponsor VARCHAR) | {
"SQL_Query": "SELECT team FROM table_name_99 WHERE shirt_sponsor = \"tulip computers nv\""
} |
What is the name of the captain for team Norwich City? | CREATE TABLE table_name_49 (captain VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT captain FROM table_name_49 WHERE team = \"norwich city\""
} |
What team does Graeme Souness manage? | CREATE TABLE table_name_32 (team VARCHAR, manager VARCHAR) | {
"SQL_Query": "SELECT team FROM table_name_32 WHERE manager = \"graeme souness\""
} |
what is the lowest laps when the grid is smaller than 5 and the driver is juan manuel fangio? | CREATE TABLE table_name_45 (laps INTEGER, grid VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT MIN(laps) FROM table_name_45 WHERE grid < 5 AND driver = \"juan manuel fangio\""
} |
what is the grid when the time/retired is +9 laps and the laps is larger than 91? | CREATE TABLE table_name_18 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT COUNT(grid) FROM table_name_18 WHERE time_retired = \"+9 laps\" AND laps > 91"
} |
what is the lowest grid when the time retired is clutch, the driver is peter collins and the laps is smaller than 26? | CREATE TABLE table_name_88 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT MIN(grid) FROM table_name_88 WHERE time_retired = \"clutch\" AND driver = \"peter collins\" AND laps < 26"
} |
What zone has camp type D/S in area Bl9? | CREATE TABLE table_name_41 (zone VARCHAR, camp_type VARCHAR, area VARCHAR) | {
"SQL_Query": "SELECT zone FROM table_name_41 WHERE camp_type = \"d/s\" AND area = \"bl9\""
} |
Which name has group 0 in Bl4 area? | CREATE TABLE table_name_51 (name VARCHAR, group_s_ VARCHAR, area VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_51 WHERE group_s_ = 0 AND area = \"bl4\""
} |
Which zone has max capacity of 23 in a group under 2 at Robbers Roost? | CREATE TABLE table_name_80 (zone VARCHAR, name VARCHAR, max_people VARCHAR, group_s_ VARCHAR) | {
"SQL_Query": "SELECT zone FROM table_name_80 WHERE max_people > 23 AND group_s_ < 2 AND name = \"robbers roost\""
} |
I want to know the average crowd for away team of melbourne | CREATE TABLE table_name_43 (crowd INTEGER, away_team VARCHAR) | {
"SQL_Query": "SELECT AVG(crowd) FROM table_name_43 WHERE away_team = \"melbourne\""
} |
Which driver had a time off course? | CREATE TABLE table_name_39 (driver VARCHAR, time_retired VARCHAR) | {
"SQL_Query": "SELECT driver FROM table_name_39 WHERE time_retired = \"off course\""
} |
What is the top lap that had 2 grids and more than 26 points? | CREATE TABLE table_name_9 (laps INTEGER, grid VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT MAX(laps) FROM table_name_9 WHERE grid = \"2\" AND points > 26"
} |
What is the top lap that had 6 grids and more than 19 points? | CREATE TABLE table_name_38 (laps INTEGER, grid VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT MAX(laps) FROM table_name_38 WHERE grid = \"6\" AND points > 19"
} |
What is the average point count for tristan gommendy? | CREATE TABLE table_name_30 (points INTEGER, driver VARCHAR) | {
"SQL_Query": "SELECT AVG(points) FROM table_name_30 WHERE driver = \"tristan gommendy\""
} |
What is the point low with 2 grids? | CREATE TABLE table_name_88 (points INTEGER, grid VARCHAR) | {
"SQL_Query": "SELECT MIN(points) FROM table_name_88 WHERE grid = \"2\""
} |
What is the Dismissals with a Venue with source: cricinfo.com? | CREATE TABLE table_name_43 (dismissals VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT dismissals FROM table_name_43 WHERE venue = \"source: cricinfo.com\""
} |
What is the Versus with a Player with ko otieno, with Venue with bloemfontein? | CREATE TABLE table_name_37 (versus VARCHAR, player VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT versus FROM table_name_37 WHERE player = \"ko otieno\" AND venue = \"bloemfontein\""
} |
What is the Venue with a Date with 27-02-2003? | CREATE TABLE table_name_22 (venue VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_22 WHERE date = \"27-02-2003\""
} |
What is the Player with Versus with australia? | CREATE TABLE table_name_34 (player VARCHAR, versus VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_34 WHERE versus = \"australia\""
} |
What is the Player with a Date with 12-03-2003? | CREATE TABLE table_name_31 (player VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_31 WHERE date = \"12-03-2003\""
} |
What is the Dismissals with a Player with source: cricinfo.com? | CREATE TABLE table_name_67 (dismissals VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT dismissals FROM table_name_67 WHERE player = \"source: cricinfo.com\""
} |
What is the sum number of attendance when the visiting team was Charlotte and the leading scorer was Ricky Davis (23)? | CREATE TABLE table_name_76 (attendance VARCHAR, visitor VARCHAR, leading_scorer VARCHAR) | {
"SQL_Query": "SELECT COUNT(attendance) FROM table_name_76 WHERE visitor = \"charlotte\" AND leading_scorer = \"ricky davis (23)\""
} |
Which Visitor was there when the Home game was played in Miami on November 4? | CREATE TABLE table_name_80 (visitor VARCHAR, home VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT visitor FROM table_name_80 WHERE home = \"miami\" AND date = \"november 4\""
} |
What nationality is Demetris Nichols? | CREATE TABLE table_name_1 (nationality VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT nationality FROM table_name_1 WHERE player = \"demetris nichols\""
} |
What school or team has round of 2 with less than 42 picks? | CREATE TABLE table_name_50 (school_club_team VARCHAR, round VARCHAR, pick VARCHAR) | {
"SQL_Query": "SELECT school_club_team FROM table_name_50 WHERE round = 2 AND pick < 42"
} |
What position has round less than 2? | CREATE TABLE table_name_86 (position VARCHAR, round INTEGER) | {
"SQL_Query": "SELECT position FROM table_name_86 WHERE round < 2"
} |
In what venue is Essendon the home team? | CREATE TABLE table_name_92 (venue VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_92 WHERE home_team = \"essendon\""
} |
Who was the away team when the venue was Windy Hill? | CREATE TABLE table_name_59 (away_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_59 WHERE venue = \"windy hill\""
} |
What was the score for Hawthorn when they were the away team? | CREATE TABLE table_name_56 (away_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_56 WHERE away_team = \"hawthorn\""
} |
What method was used that had a resulting win against opponent, Natsuko Kikukawa? | CREATE TABLE table_name_56 (method VARCHAR, res VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT method FROM table_name_56 WHERE res = \"win\" AND opponent = \"natsuko kikukawa\""
} |
What was the highest number of rounds that had Hikaru Shinohara as an opponent and a record of 11-7? | CREATE TABLE table_name_85 (round INTEGER, opponent VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT MAX(round) FROM table_name_85 WHERE opponent = \"hikaru shinohara\" AND record = \"11-7\""
} |
Which method has a record of 11-10? | CREATE TABLE table_name_70 (method VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT method FROM table_name_70 WHERE record = \"11-10\""
} |
How many wins were there in 2004-05? | CREATE TABLE table_name_67 (win__number VARCHAR, season VARCHAR) | {
"SQL_Query": "SELECT win__number FROM table_name_67 WHERE season = \"2004-05\""
} |
How many times did jim vivona win? | CREATE TABLE table_name_2 (win__number VARCHAR, winner VARCHAR) | {
"SQL_Query": "SELECT COUNT(win__number) FROM table_name_2 WHERE winner = \"jim vivona\""
} |
Which position was morristown minutemen in? | CREATE TABLE table_name_1 (position VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_1 WHERE team = \"morristown minutemen\""
} |
Which season was harrisburg lunatics in? | CREATE TABLE table_name_75 (season VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_75 WHERE team = \"harrisburg lunatics\""
} |
What was the venue for Round f? | CREATE TABLE table_name_8 (venue VARCHAR, round VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_8 WHERE round = \"f\""
} |
On what date was the Result 1-0? | CREATE TABLE table_name_33 (date VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_33 WHERE result = \"1-0\""
} |
What was the attendance on 10 november 2004? | CREATE TABLE table_name_31 (attendance INTEGER, date VARCHAR) | {
"SQL_Query": "SELECT AVG(attendance) FROM table_name_31 WHERE date = \"10 november 2004\""
} |
What is the size of the crowd when the home team is Fitzroy? | CREATE TABLE table_name_29 (crowd VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT COUNT(crowd) FROM table_name_29 WHERE home_team = \"fitzroy\""
} |
How many laps did riccardo patrese do when he had a time/retird of + 1 lap? | CREATE TABLE table_name_96 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT COUNT(laps) FROM table_name_96 WHERE time_retired = \"+ 1 lap\" AND driver = \"riccardo patrese\""
} |
Name the episode for jenny bicks and cindy chupack nominees in 2004 | CREATE TABLE table_name_16 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR) | {
"SQL_Query": "SELECT episode FROM table_name_16 WHERE year = 2004 AND nominee_s_ = \"jenny bicks and cindy chupack\""
} |
Name the episode for year more than 1999 | CREATE TABLE table_name_30 (episode VARCHAR, year INTEGER) | {
"SQL_Query": "SELECT episode FROM table_name_30 WHERE year > 1999"
} |
What was the home team's score at the game held at Junction Oval? | CREATE TABLE table_name_13 (home_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_13 WHERE venue = \"junction oval\""
} |
What was the away team's score at the game held at MCG? | CREATE TABLE table_name_44 (away_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_44 WHERE venue = \"mcg\""
} |
Who was the away team at the game held at Arden Street Oval? | CREATE TABLE table_name_53 (away_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_53 WHERE venue = \"arden street oval\""
} |
What was the size of the crowd at the game where Fitzroy was the home team? | CREATE TABLE table_name_94 (crowd VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT crowd FROM table_name_94 WHERE home_team = \"fitzroy\""
} |
Name the most bronze for silver more than 6 and total less than 127 with gold less than 11 | CREATE TABLE table_name_17 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT MAX(bronze) FROM table_name_17 WHERE silver > 6 AND total < 127 AND gold < 11"
} |
Name the highest silver for table tennis and bronze more than 0 | CREATE TABLE table_name_18 (silver INTEGER, sport VARCHAR, bronze VARCHAR) | {
"SQL_Query": "SELECT MAX(silver) FROM table_name_18 WHERE sport = \"table tennis\" AND bronze > 0"
} |
Which kickoff had an attendance of 58,120? | CREATE TABLE table_name_9 (kickoff_ VARCHAR, a_ VARCHAR, attendance VARCHAR) | {
"SQL_Query": "SELECT kickoff_[a_] FROM table_name_9 WHERE attendance = \"58,120\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.