question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
On what date were less than 10 built with a locomotive number of 31-35? | CREATE TABLE table_name_48 (date VARCHAR, no_built VARCHAR, loco_nos VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_48 WHERE no_built < 10 AND loco_nos = \"31-35\""
} |
How many spectators watched when the away team was Collingwood? | CREATE TABLE table_name_8 (crowd VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT crowd FROM table_name_8 WHERE away_team = \"collingwood\""
} |
What did Essendon score when they were the away team? | CREATE TABLE table_name_37 (away_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_37 WHERE away_team = \"essendon\""
} |
Who was the home team at Brunswick Street Oval? | CREATE TABLE table_name_65 (home_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_65 WHERE venue = \"brunswick street oval\""
} |
What was South Melbourne's away team score? | CREATE TABLE table_name_7 (away_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_7 WHERE away_team = \"south melbourne\""
} |
Who was the away team at Brunswick Street Oval? | CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_89 WHERE venue = \"brunswick street oval\""
} |
Tell me the lowest height for class of hewitt and prom less than 148 | CREATE TABLE table_name_37 (height__m_ INTEGER, class VARCHAR, prom__m_ VARCHAR) | {
"SQL_Query": "SELECT MIN(height__m_) FROM table_name_37 WHERE class = \"hewitt\" AND prom__m_ < 148"
} |
Tell me the total number of prom for height less than 615 | CREATE TABLE table_name_59 (prom__m_ VARCHAR, height__m_ INTEGER) | {
"SQL_Query": "SELECT COUNT(prom__m_) FROM table_name_59 WHERE height__m_ < 615"
} |
I want to know the peak which is prom less than 147 and height less than 619 | CREATE TABLE table_name_10 (peak VARCHAR, prom__m_ VARCHAR, height__m_ VARCHAR) | {
"SQL_Query": "SELECT peak FROM table_name_10 WHERE prom__m_ < 147 AND height__m_ < 619"
} |
Tell me the peak for prom being less than 147 | CREATE TABLE table_name_26 (peak VARCHAR, prom__m_ INTEGER) | {
"SQL_Query": "SELECT peak FROM table_name_26 WHERE prom__m_ < 147"
} |
Tell me the lowest prom for class of hewitt and peak of cushat law and height more than 615 | CREATE TABLE table_name_62 (prom__m_ INTEGER, height__m_ VARCHAR, class VARCHAR, peak VARCHAR) | {
"SQL_Query": "SELECT MIN(prom__m_) FROM table_name_62 WHERE class = \"hewitt\" AND peak = \"cushat law\" AND height__m_ > 615"
} |
Name the peak for height more than 619 and class of hewitt with prom being 148 | CREATE TABLE table_name_14 (peak VARCHAR, prom__m_ VARCHAR, height__m_ VARCHAR, class VARCHAR) | {
"SQL_Query": "SELECT peak FROM table_name_14 WHERE height__m_ > 619 AND class = \"hewitt\" AND prom__m_ = 148"
} |
What is the percentage democrats with 2/4 democrat/republican? | CREATE TABLE table_name_57 (percentage_democrats VARCHAR, democratic__republican VARCHAR) | {
"SQL_Query": "SELECT percentage_democrats FROM table_name_57 WHERE democratic__republican = \"2/4\""
} |
What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican? | CREATE TABLE table_name_45 (percentage_democrats VARCHAR, democratic_seat_plurality VARCHAR, democratic__republican VARCHAR) | {
"SQL_Query": "SELECT percentage_democrats FROM table_name_45 WHERE democratic_seat_plurality = \"-3\" AND democratic__republican = \"2/5\""
} |
What is the percent of republicans with 7/6 democrat/republican? | CREATE TABLE table_name_62 (percentage_republicans VARCHAR, democratic__republican VARCHAR) | {
"SQL_Query": "SELECT percentage_republicans FROM table_name_62 WHERE democratic__republican = \"7/6\""
} |
What is the democratic seat plurality with 29% democrat? | CREATE TABLE table_name_94 (democratic_seat_plurality VARCHAR, percentage_democrats VARCHAR) | {
"SQL_Query": "SELECT democratic_seat_plurality FROM table_name_94 WHERE percentage_democrats = \"29%\""
} |
What is the democratic seat plurality with partisan order of New Hampshire? | CREATE TABLE table_name_91 (democratic_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR) | {
"SQL_Query": "SELECT democratic_seat_plurality FROM table_name_91 WHERE state_ranked_in_partisan_order = \"new hampshire\""
} |
What is the score of the game with Pacers as the Visitor? | CREATE TABLE table_name_32 (score VARCHAR, visitor VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_32 WHERE visitor = \"pacers\""
} |
Who was Home on December 5, 2007? | CREATE TABLE table_name_11 (home VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT home FROM table_name_11 WHERE date = \"december 5, 2007\""
} |
What is the Japanese orthography for the abbreviation of ndmc? | CREATE TABLE table_name_39 (japanese_orthography VARCHAR, abbreviation VARCHAR) | {
"SQL_Query": "SELECT japanese_orthography FROM table_name_39 WHERE abbreviation = \"ndmc\""
} |
What is the english name of the ministry of defense with an abbreviation of nda bōei-dai(防衛大)? | CREATE TABLE table_name_31 (english_name VARCHAR, provider_national_government_ VARCHAR, abbreviation VARCHAR) | {
"SQL_Query": "SELECT english_name FROM table_name_31 WHERE provider_national_government_ = \"ministry of defense\" AND abbreviation = \"nda bōei-dai(防衛大)\""
} |
What did the team score when playing at home in victoria park? | CREATE TABLE table_name_18 (home_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_18 WHERE venue = \"victoria park\""
} |
What did st kilda score at home? | CREATE TABLE table_name_95 (home_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_95 WHERE home_team = \"st kilda\""
} |
Which team plays home in western oval venue? | CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_16 WHERE venue = \"western oval\""
} |
When the driver is innes ireland and they drove under 53 laps, what was the Time/Retired? | CREATE TABLE table_name_10 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT time_retired FROM table_name_10 WHERE laps < 53 AND driver = \"innes ireland\""
} |
How many laps does peter arundell have? | CREATE TABLE table_name_65 (laps VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT laps FROM table_name_65 WHERE driver = \"peter arundell\""
} |
Which driver has a grid value larger than 11, and drove more than 52 laps? | CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT driver FROM table_name_38 WHERE grid > 11 AND laps > 52"
} |
What is the crowd for away team of north melbourne? | CREATE TABLE table_name_16 (crowd VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT crowd FROM table_name_16 WHERE away_team = \"north melbourne\""
} |
What is the date when the away team is essendon? | CREATE TABLE table_name_93 (date VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_93 WHERE away_team = \"essendon\""
} |
Name the visitor from vancouver on february 24 | CREATE TABLE table_name_81 (visitor VARCHAR, home VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT visitor FROM table_name_81 WHERE home = \"vancouver\" AND date = \"february 24\""
} |
Which description is dated 1962? | CREATE TABLE table_name_56 (description VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT description FROM table_name_56 WHERE date = \"1962\""
} |
Moorabbin oval is home to what team? | CREATE TABLE table_name_53 (home_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_53 WHERE venue = \"moorabbin oval\""
} |
Who was the leader at the summit for the race in 2005? | CREATE TABLE table_name_23 (leader_at_the_summit VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT leader_at_the_summit FROM table_name_23 WHERE year = 2005"
} |
What is the sum of the stages for category 1 races after the year 2003? | CREATE TABLE table_name_73 (stage INTEGER, category VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT SUM(stage) FROM table_name_73 WHERE category = \"1\" AND year > 2003"
} |
What is the stadium of melbourne? | CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_40 WHERE home_team = \"melbourne\""
} |
What was the record in the game where the decision was Backstrom and there were more than 18,568 in attendance? | CREATE TABLE table_name_42 (record VARCHAR, decision VARCHAR, attendance VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_42 WHERE decision = \"backstrom\" AND attendance > 18 OFFSET 568"
} |
For Getafe CF, what is the highest number of goals scored? | CREATE TABLE table_name_74 (goals INTEGER, team VARCHAR) | {
"SQL_Query": "SELECT MAX(goals) FROM table_name_74 WHERE team = \"getafe cf\""
} |
For players with fewer than 41 goals for CA Osasuna and averages under 1.06, what is the average number of matches? | CREATE TABLE table_name_5 (matches INTEGER, average VARCHAR, goals VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT AVG(matches) FROM table_name_5 WHERE goals < 41 AND team = \"ca osasuna\" AND average < 1.06"
} |
For averages of 1.58 and matches under 38, what is the average number of goals? | CREATE TABLE table_name_79 (goals INTEGER, average VARCHAR, matches VARCHAR) | {
"SQL_Query": "SELECT AVG(goals) FROM table_name_79 WHERE average = 1.58 AND matches < 38"
} |
Which Ranking has a Season of 2009? | CREATE TABLE table_name_14 (ranking VARCHAR, season VARCHAR) | {
"SQL_Query": "SELECT ranking FROM table_name_14 WHERE season = \"2009\""
} |
Which Champions have a Runner-up of tobol, and a Coeff of 1.125? | CREATE TABLE table_name_95 (champions VARCHAR, runner_up VARCHAR, coeff VARCHAR) | {
"SQL_Query": "SELECT champions FROM table_name_95 WHERE runner_up = \"tobol\" AND coeff = \"1.125\""
} |
Which Champion has a Coeff of 1.000? | CREATE TABLE table_name_85 (champions VARCHAR, coeff VARCHAR) | {
"SQL_Query": "SELECT champions FROM table_name_85 WHERE coeff = \"1.000\""
} |
what is the game for 23 april when batting 2nd is england 5/113 (19)? | CREATE TABLE table_name_62 (game INTEGER, date VARCHAR, batting_2nd VARCHAR) | {
"SQL_Query": "SELECT MIN(game) FROM table_name_62 WHERE date = \"23 april\" AND batting_2nd = \"england 5/113 (19)\""
} |
what is the game when batting 2nd is new zealand 6/133 (18)? | CREATE TABLE table_name_17 (game INTEGER, batting_2nd VARCHAR) | {
"SQL_Query": "SELECT MIN(game) FROM table_name_17 WHERE batting_2nd = \"new zealand 6/133 (18)\""
} |
what is the game when the result is new zealand by 4 wickets? | CREATE TABLE table_name_25 (game INTEGER, result VARCHAR) | {
"SQL_Query": "SELECT MAX(game) FROM table_name_25 WHERE result = \"new zealand by 4 wickets\""
} |
who is batting 1st in game 8? | CREATE TABLE table_name_20 (batting_1st VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT batting_1st FROM table_name_20 WHERE game = 8"
} |
What is the playoffs 2 result of season 2010-11? | CREATE TABLE table_name_18 (playoffs_2 VARCHAR, season VARCHAR) | {
"SQL_Query": "SELECT playoffs_2 FROM table_name_18 WHERE season = \"2010-11\""
} |
What is the playoffs 1 result of season 2004-05? | CREATE TABLE table_name_41 (playoffs_1 VARCHAR, season VARCHAR) | {
"SQL_Query": "SELECT playoffs_1 FROM table_name_41 WHERE season = \"2004-05\""
} |
Which Grid did Alain Prost drive on? | CREATE TABLE table_name_39 (grid INTEGER, driver VARCHAR) | {
"SQL_Query": "SELECT SUM(grid) FROM table_name_39 WHERE driver = \"alain prost\""
} |
What was Riccardo Patrese's time/retired? | CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT time_retired FROM table_name_44 WHERE driver = \"riccardo patrese\""
} |
How many rounds did geoff lees drive with chassis of n180? | CREATE TABLE table_name_15 (rounds VARCHAR, chassis VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT rounds FROM table_name_15 WHERE chassis = \"n180\" AND driver = \"geoff lees\""
} |
What is the tyres for Didier pironi? | CREATE TABLE table_name_10 (tyres VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT tyres FROM table_name_10 WHERE driver = \"didier pironi\""
} |
Who was the constructor of the car that Jan Lammers made 7-14 rounds in? | CREATE TABLE table_name_25 (constructor VARCHAR, driver VARCHAR, rounds VARCHAR) | {
"SQL_Query": "SELECT constructor FROM table_name_25 WHERE driver = \"jan lammers\" AND rounds = \"7-14\""
} |
What engine was used during the race driven by Jan Lammers using a chassis of d3 d4, making a tyre of g and rounds of 4-6? | CREATE TABLE table_name_1 (engine VARCHAR, rounds VARCHAR, driver VARCHAR, tyres VARCHAR, chassis VARCHAR) | {
"SQL_Query": "SELECT engine FROM table_name_1 WHERE tyres = \"g\" AND chassis = \"d3 d4\" AND driver = \"jan lammers\" AND rounds = \"4-6\""
} |
Which Competition has a Venue of Seoul, and Result of 4-1? | CREATE TABLE table_name_36 (competition VARCHAR, venue VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_36 WHERE venue = \"seoul\" AND result = \"4-1\""
} |
What's the Result listed that has a Date of June 12, 1997? | CREATE TABLE table_name_76 (result VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_76 WHERE date = \"june 12, 1997\""
} |
What's the Score listed that has a Result of 1-0? | CREATE TABLE table_name_70 (score VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_70 WHERE result = \"1-0\""
} |
What's the Result for the Competition of 1994 FIFA World Cup Qualification, with the Date of May 15, 1993? | CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_14 WHERE competition = \"1994 fifa world cup qualification\" AND date = \"may 15, 1993\""
} |
Which Competition had a Result of 3-0 and VEnue of Suwon? | CREATE TABLE table_name_75 (competition VARCHAR, result VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_75 WHERE result = \"3-0\" AND venue = \"suwon\""
} |
What's the Result of the Competition of 1998 FIFA World Cup Qualification with the Venue of Bangkok? | CREATE TABLE table_name_66 (result VARCHAR, competition VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_66 WHERE competition = \"1998 fifa world cup qualification\" AND venue = \"bangkok\""
} |
Who had the decision with boston at home? | CREATE TABLE table_name_34 (decision VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT decision FROM table_name_34 WHERE home = \"boston\""
} |
Who is the home team that played at MCG? | CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_19 WHERE venue = \"mcg\""
} |
What is the score of the away team that played richmond? | CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_27 WHERE home_team = \"richmond\""
} |
What is the score for the game that Colin Fleming Scott Lipsky played in? | CREATE TABLE table_name_5 (score VARCHAR, opponents VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_5 WHERE opponents = \"colin fleming scott lipsky\""
} |
Which tournament was Dieter Kindlmann a partner? | CREATE TABLE table_name_51 (tournament VARCHAR, partner VARCHAR) | {
"SQL_Query": "SELECT tournament FROM table_name_51 WHERE partner = \"dieter kindlmann\""
} |
When the Apps were smaller than 22, what's the lowest amount of goals scored in a game? | CREATE TABLE table_name_33 (goals INTEGER, apps INTEGER) | {
"SQL_Query": "SELECT MIN(goals) FROM table_name_33 WHERE apps < 22"
} |
What's the total number of all divisions during the 2006/07 season where they scored more than 1 goal? | CREATE TABLE table_name_54 (division VARCHAR, season VARCHAR, goals VARCHAR) | {
"SQL_Query": "SELECT COUNT(division) FROM table_name_54 WHERE season = \"2006/07\" AND goals > 1"
} |
What is the average crowd at victoria park? | CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR) | {
"SQL_Query": "SELECT AVG(crowd) FROM table_name_1 WHERE venue = \"victoria park\""
} |
What is the Away team score with north melbourne as home team? | CREATE TABLE table_name_50 (away_team VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_50 WHERE home_team = \"north melbourne\""
} |
Who had the general classification when the trofeo fast team was Mapei-Bricobi, the points classification went to Mariano Piccoli and the mountains classification went to Marco Pantani in stage 22? | CREATE TABLE table_name_12 (general_classification VARCHAR, stage VARCHAR, mountains_classification VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR) | {
"SQL_Query": "SELECT general_classification FROM table_name_12 WHERE trofeo_fast_team = \"mapei-bricobi\" AND points_classification = \"mariano piccoli\" AND mountains_classification = \"marco pantani\" AND stage = \"22\""
} |
Who was the winner in stage 3? | CREATE TABLE table_name_49 (winner VARCHAR, stage VARCHAR) | {
"SQL_Query": "SELECT winner FROM table_name_49 WHERE stage = \"3\""
} |
Which state was first elected in 1914, and a Member of edward jolley? | CREATE TABLE table_name_97 (state VARCHAR, first_elected VARCHAR, member VARCHAR) | {
"SQL_Query": "SELECT state FROM table_name_97 WHERE first_elected = \"1914\" AND member = \"edward jolley\""
} |
Which state is frederick bamford a member of? | CREATE TABLE table_name_24 (state VARCHAR, member VARCHAR) | {
"SQL_Query": "SELECT state FROM table_name_24 WHERE member = \"frederick bamford\""
} |
Which first election for the labor party is James Sharpe a part of? | CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, member VARCHAR) | {
"SQL_Query": "SELECT first_elected FROM table_name_28 WHERE party = \"labor\" AND member = \"james sharpe\""
} |
Which party is sydney sampson a member of? | CREATE TABLE table_name_10 (party VARCHAR, member VARCHAR) | {
"SQL_Query": "SELECT party FROM table_name_10 WHERE member = \"sydney sampson\""
} |
What position for doug gibson with 2 wins? | CREATE TABLE table_name_32 (position VARCHAR, win__number VARCHAR, winner VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_32 WHERE win__number = 2 AND winner = \"doug gibson\""
} |
How many receptions does Chris Watton with yards of less than 1? | CREATE TABLE table_name_84 (rec VARCHAR, player VARCHAR, yards VARCHAR) | {
"SQL_Query": "SELECT COUNT(rec) FROM table_name_84 WHERE player = \"chris watton\" AND yards < 1"
} |
What is the American locations with less than 114 years and more than 1 tied with more than 1022 total games? | CREATE TABLE table_name_36 (the_american VARCHAR, total_games VARCHAR, years VARCHAR, tied VARCHAR) | {
"SQL_Query": "SELECT the_american FROM table_name_36 WHERE years < 114 AND tied > 1 AND total_games > 1022"
} |
Who was the away team when Melbourne was the home team? | CREATE TABLE table_name_35 (away_team VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_35 WHERE home_team = \"melbourne\""
} |
What is the Away team score for Away team North Melbourne? | CREATE TABLE table_name_13 (away_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_13 WHERE away_team = \"north melbourne\""
} |
Which Away team is associated with the Richmond Home team? | CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_13 WHERE home_team = \"richmond\""
} |
What is the birth date of the member with the Defining characteristic of pink hair? | CREATE TABLE table_name_63 (birthdate VARCHAR, defining_characteristics VARCHAR) | {
"SQL_Query": "SELECT birthdate FROM table_name_63 WHERE defining_characteristics = \"pink hair\""
} |
Who is the person with the defining characteristic of the shortest band member? | CREATE TABLE table_name_95 (Real VARCHAR, defining_characteristics VARCHAR) | {
"SQL_Query": "SELECT Real AS name FROM table_name_95 WHERE defining_characteristics = \"shortest band member\""
} |
What is the name of the member with a costume Role of monster? | CREATE TABLE table_name_9 (name VARCHAR, costume_role VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_9 WHERE costume_role = \"monster\""
} |
What was the final score for the match played in Venue H and the opponent was Newcastle United? | CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_33 WHERE venue = \"h\" AND opponent = \"newcastle united\""
} |
What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5? | CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT MIN(bronze) FROM table_name_75 WHERE silver < 1 AND rank < 5"
} |
How many bronze medals for the nation with fewer than 3 gold, 1 silver and rank of 3? | CREATE TABLE table_name_29 (bronze VARCHAR, rank VARCHAR, total VARCHAR, gold VARCHAR, silver VARCHAR) | {
"SQL_Query": "SELECT COUNT(bronze) FROM table_name_29 WHERE gold < 3 AND silver = 1 AND total < 3 AND rank = 3"
} |
What is the largest total for a nation with 1 bronze and more than 1 silver? | CREATE TABLE table_name_92 (total INTEGER, bronze VARCHAR, silver VARCHAR) | {
"SQL_Query": "SELECT MAX(total) FROM table_name_92 WHERE bronze = 1 AND silver > 1"
} |
What is the smallest total for a nation with more than 1 silver? | CREATE TABLE table_name_75 (total INTEGER, silver INTEGER) | {
"SQL_Query": "SELECT MIN(total) FROM table_name_75 WHERE silver > 1"
} |
What was the aggregate for a team #2 of Okk Beograd? | CREATE TABLE table_name_45 (agg VARCHAR, team__number2 VARCHAR) | {
"SQL_Query": "SELECT agg FROM table_name_45 WHERE team__number2 = \"okk beograd\""
} |
What was the 2nd leg score for Chemie Halle? | CREATE TABLE table_name_73 (team__number1 VARCHAR) | {
"SQL_Query": "SELECT 2 AS nd_leg FROM table_name_73 WHERE team__number1 = \"chemie halle\""
} |
What was South Melbourne's score as the away team? | CREATE TABLE table_name_50 (away_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_50 WHERE away_team = \"south melbourne\""
} |
What was the attendance when Geelong played as the away team? | CREATE TABLE table_name_70 (crowd VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT COUNT(crowd) FROM table_name_70 WHERE away_team = \"geelong\""
} |
Where did Footscray play as the away team? | CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_27 WHERE away_team = \"footscray\""
} |
What was the attendance when the Arden Street Oval? | CREATE TABLE table_name_54 (crowd VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT crowd FROM table_name_54 WHERE venue = \"arden street oval\""
} |
What is the mean pick when the play is Marc Lewis (lhp) and the round is less than 20? | CREATE TABLE table_name_76 (pick INTEGER, player VARCHAR, round VARCHAR) | {
"SQL_Query": "SELECT AVG(pick) FROM table_name_76 WHERE player = \"marc lewis (lhp)\" AND round < 20"
} |
Which pick's player was Marc Lewis (lhp)? | CREATE TABLE table_name_76 (pick VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT pick FROM table_name_76 WHERE player = \"marc lewis (lhp)\""
} |
Which is the biggest pick for Naperville Central High School? | CREATE TABLE table_name_29 (pick INTEGER, school VARCHAR) | {
"SQL_Query": "SELECT MAX(pick) FROM table_name_29 WHERE school = \"naperville central high school\""
} |
What is the media market ranking for new york, new york? | CREATE TABLE table_name_54 (media_market_ranking VARCHAR, metropolitan_area VARCHAR) | {
"SQL_Query": "SELECT media_market_ranking FROM table_name_54 WHERE metropolitan_area = \"new york, new york\""
} |
Is it home or away when opponent is Pride with a W 11-10 result? | CREATE TABLE table_name_49 (home_away VARCHAR, opponent VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT home_away FROM table_name_49 WHERE opponent = \"pride\" AND result = \"w 11-10\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.