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