training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_49 (overall VARCHAR, player VARCHAR) ###human: When was petter ronnquist picked? ###assistant: SELECT overall FROM table_name_49 WHERE player = "petter ronnquist"
###context:CREATE TABLE table_name_96 (venue VARCHAR, result VARCHAR) ###human: Which venue has a Result of 1–0? ###assistant: SELECT venue FROM table_name_96 WHERE result = "1–0"
###context:CREATE TABLE table_name_98 (venue VARCHAR, result VARCHAR) ###human: Which venue has a Result of 1–2? ###assistant: SELECT venue FROM table_name_98 WHERE result = "1–2"
###context:CREATE TABLE table_name_59 (scored INTEGER, result VARCHAR, date VARCHAR) ###human: What is the highest score with a Result of 1–1 on 4 march 2001? ###assistant: SELECT MAX(scored) FROM table_name_59 WHERE result = "1–1" AND date = "4 march 2001"
###context:CREATE TABLE table_name_70 (result VARCHAR, competition VARCHAR, date VARCHAR) ###human: What is the result of 2003 eaff championship preliminary on 2 march 2003? ###assistant: SELECT result FROM table_name_70 WHERE competition = "2003 eaff championship preliminary" AND date = "2 march 2003"
###context:CREATE TABLE table_name_44 (engine VARCHAR, driver VARCHAR) ###human: I want the engine for luigi villoresi ###assistant: SELECT engine FROM table_name_44 WHERE driver = "luigi villoresi"
###context:CREATE TABLE table_name_34 (chassis VARCHAR, entrant VARCHAR) ###human: I want the chassis for entrant of ecurie lutetia ###assistant: SELECT chassis FROM table_name_34 WHERE entrant = "ecurie lutetia"
###context:CREATE TABLE table_name_8 (date VARCHAR, venue VARCHAR) ###human: What date was the game played at princes park? ###assistant: SELECT date FROM table_name_8 WHERE venue = "princes park"
###context:CREATE TABLE table_name_83 (away_team VARCHAR, venue VARCHAR) ###human: What was the score of the away team when the game was played at vfl park? ###assistant: SELECT away_team AS score FROM table_name_83 WHERE venue = "vfl park"
###context:CREATE TABLE table_name_43 (kaz_hayashi VARCHAR, block_a VARCHAR) ###human: Name the kaz hayashi for block A being bushi ###assistant: SELECT kaz_hayashi FROM table_name_43 WHERE block_a = "bushi"
###context:CREATE TABLE table_name_38 (minoru VARCHAR, block_a VARCHAR) ###human: Name the minoru for block A being koji kanemoto ###assistant: SELECT minoru FROM table_name_38 WHERE block_a = "koji kanemoto"
###context:CREATE TABLE table_name_45 (bushi VARCHAR, kenny_omega VARCHAR) ###human: Name the BUSHI when it has kenny omega of yang (7:27) ###assistant: SELECT bushi FROM table_name_45 WHERE kenny_omega = "yang (7:27)"
###context:CREATE TABLE table_name_50 (bushi VARCHAR, kaz_hayashi VARCHAR) ###human: Name the BUSHI that has kaz hayashi of kai (14:01) ###assistant: SELECT bushi FROM table_name_50 WHERE kaz_hayashi = "kai (14:01)"
###context:CREATE TABLE table_name_49 (kaz_hayashi VARCHAR, bushi VARCHAR) ###human: Name the Kaz Hayashi which has BUSHI of yang (9:43) ###assistant: SELECT kaz_hayashi FROM table_name_49 WHERE bushi = "yang (9:43)"
###context:CREATE TABLE table_name_25 (winning_driver VARCHAR, race VARCHAR) ###human: Who was the winning driver for the Dutch Grand Prix? ###assistant: SELECT winning_driver FROM table_name_25 WHERE race = "dutch grand prix"
###context:CREATE TABLE table_name_23 (song VARCHAR, film VARCHAR, year VARCHAR, music_director VARCHAR) ###human: Tell me the song with year before 2013 and music director of yuvan shankar raja and film of billa ii ###assistant: SELECT song FROM table_name_23 WHERE year < 2013 AND music_director = "yuvan shankar raja" AND film = "billa ii"
###context:CREATE TABLE table_name_13 (title VARCHAR, original_air_date VARCHAR) ###human: What title aired on March 19, 1998? ###assistant: SELECT title FROM table_name_13 WHERE original_air_date = "march 19, 1998"
###context:CREATE TABLE table_name_1 (directed_by VARCHAR, production_code VARCHAR) ###human: Who directed the show with the production code k2708? ###assistant: SELECT directed_by FROM table_name_1 WHERE production_code = "k2708"
###context:CREATE TABLE table_name_52 (season__number VARCHAR, series__number VARCHAR) ###human: What is the season for series 81? ###assistant: SELECT season__number FROM table_name_52 WHERE series__number = 81
###context:CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR) ###human: On what date was a match played at Lake Oval? ###assistant: SELECT date FROM table_name_4 WHERE venue = "lake oval"
###context:CREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR) ###human: At the home game in Collingwood, how much did the away team score? ###assistant: SELECT away_team AS score FROM table_name_62 WHERE home_team = "collingwood"
###context:CREATE TABLE table_name_34 (crowd INTEGER, venue VARCHAR) ###human: In the game at Victoria Park, what was the number of people in the crowd? ###assistant: SELECT SUM(crowd) FROM table_name_34 WHERE venue = "victoria park"
###context:CREATE TABLE table_name_84 (tournament VARCHAR, year VARCHAR, venue VARCHAR) ###human: What was the tournament that happened in 1974 in gothenburg , sweden? ###assistant: SELECT tournament FROM table_name_84 WHERE year = 1974 AND venue = "gothenburg , sweden"
###context:CREATE TABLE table_name_26 (division VARCHAR, wins VARCHAR) ###human: Which MLB division has a win record of 76? ###assistant: SELECT division FROM table_name_26 WHERE wins = "76"
###context:CREATE TABLE table_name_63 (finish VARCHAR, team_season VARCHAR) ###human: What was the final rank of the Brewers in 1980? ###assistant: SELECT finish FROM table_name_63 WHERE team_season = "1980"
###context:CREATE TABLE table_name_79 (finish VARCHAR, win__percentage VARCHAR) ###human: What was the final rank of the Brewers when they achieved a win percentage of .585? ###assistant: SELECT finish FROM table_name_79 WHERE win__percentage = ".585"
###context:CREATE TABLE table_name_23 (division VARCHAR, team_season VARCHAR) ###human: Which division were the Brewers a part of in the 1987 season? ###assistant: SELECT division FROM table_name_23 WHERE team_season = "1987"
###context:CREATE TABLE table_name_98 (division VARCHAR, finish VARCHAR, losses VARCHAR) ###human: Which division of the Brewers had a 5th place ranking and a loss record of 87? ###assistant: SELECT division FROM table_name_98 WHERE finish = "5th" AND losses = "87"
###context:CREATE TABLE table_name_52 (game_site VARCHAR, opponent VARCHAR) ###human: where was the game site when the opponent was san diego chargers? ###assistant: SELECT game_site FROM table_name_52 WHERE opponent = "san diego chargers"
###context:CREATE TABLE table_name_44 (opponent VARCHAR, week VARCHAR) ###human: who was the opponent when the week was 9? ###assistant: SELECT opponent FROM table_name_44 WHERE week = "9"
###context:CREATE TABLE table_name_29 (venue VARCHAR, away_team VARCHAR) ###human: What venue features geelong as the away side? ###assistant: SELECT venue FROM table_name_29 WHERE away_team = "geelong"
###context:CREATE TABLE table_name_65 (venue VARCHAR, home_team VARCHAR) ###human: What venue features essendon at home? ###assistant: SELECT venue FROM table_name_65 WHERE home_team = "essendon"
###context:CREATE TABLE table_name_86 (nominee VARCHAR, category VARCHAR) ###human: Who is the nominee for best director? ###assistant: SELECT nominee FROM table_name_86 WHERE category = "best director"
###context:CREATE TABLE table_name_45 (ceremony VARCHAR, outcome VARCHAR, nominee VARCHAR) ###human: What ceremony was leela chitnis nominated at? ###assistant: SELECT ceremony FROM table_name_45 WHERE outcome = "nominated" AND nominee = "leela chitnis"
###context:CREATE TABLE table_name_42 (pick__number INTEGER, cfl_team VARCHAR) ###human: what is the highest pick number of the CFL team, the winnipeg blue bombers? ###assistant: SELECT MAX(pick__number) FROM table_name_42 WHERE cfl_team = "winnipeg blue bombers"
###context:CREATE TABLE table_name_86 (college VARCHAR, pick__number VARCHAR) ###human: Which college has 41 picks? ###assistant: SELECT college FROM table_name_86 WHERE pick__number = 41
###context:CREATE TABLE table_name_96 (player VARCHAR, college VARCHAR) ###human: Which player plays for the college of manitoba? ###assistant: SELECT player FROM table_name_96 WHERE college = "manitoba"
###context:CREATE TABLE table_name_18 (unami_delaware VARCHAR, thomas__1698_ VARCHAR) ###human: What is the Unami Delaware value for a Thomas value of nacha? ###assistant: SELECT unami_delaware FROM table_name_18 WHERE thomas__1698_ = "nacha"
###context:CREATE TABLE table_name_43 (campanius__ca_1645_ VARCHAR, unami_delaware VARCHAR) ###human: What is the Campanius term for an Unami Delaware term of palé·naxk? ###assistant: SELECT campanius__ca_1645_ FROM table_name_43 WHERE unami_delaware = "palé·naxk"
###context:CREATE TABLE table_name_12 (de_laet__1633_ VARCHAR, munsee_delaware VARCHAR) ###human: What is the De Laet term for a Munsee Delaware term of ní·ša? ###assistant: SELECT de_laet__1633_ FROM table_name_12 WHERE munsee_delaware = "ní·ša"
###context:CREATE TABLE table_name_75 (player VARCHAR, round INTEGER) ###human: What is the name of the player picked before round 2? ###assistant: SELECT player FROM table_name_75 WHERE round < 2
###context:CREATE TABLE table_name_85 (player VARCHAR, round VARCHAR, overall VARCHAR, club_team VARCHAR) ###human: What is the name of the player with an overall less than 209 for the Victoriaville tigres (qmjhl), and a Round of 1? ###assistant: SELECT player FROM table_name_85 WHERE overall < 209 AND club_team = "victoriaville tigres (qmjhl)" AND round = 1
###context:CREATE TABLE table_name_14 (player VARCHAR, overall INTEGER) ###human: What is the name of the player with an Overall larger than 227? ###assistant: SELECT player FROM table_name_14 WHERE overall > 227
###context:CREATE TABLE table_name_40 (overall INTEGER, round VARCHAR, player VARCHAR) ###human: What is the highest overall for a round larger than 8 for pavol demitra? ###assistant: SELECT MAX(overall) FROM table_name_40 WHERE round > 8 AND player = "pavol demitra"
###context:CREATE TABLE table_name_61 (description VARCHAR, livery VARCHAR) ###human: What description does Livery of ews have? ###assistant: SELECT description FROM table_name_61 WHERE livery = "ews"
###context:CREATE TABLE table_name_85 (position VARCHAR, competition VARCHAR) ###human: What Position has a Super League 1 Competition? ###assistant: SELECT position FROM table_name_85 WHERE competition = "super league 1"
###context:CREATE TABLE table_name_54 (competition VARCHAR, main_article VARCHAR, captain VARCHAR, lost VARCHAR) ###human: What Competition in Main Article of Bradford Bulls 1997 have Robbie Paul as Captain with less than 5 Lost? ###assistant: SELECT competition FROM table_name_54 WHERE captain = "robbie paul" AND lost < 5 AND main_article = "bradford bulls 1997"
###context:CREATE TABLE table_name_28 (captain VARCHAR, lost VARCHAR) ###human: What Captain has Lost 13? ###assistant: SELECT captain FROM table_name_28 WHERE lost = 13
###context:CREATE TABLE table_name_99 (drawn INTEGER, lost VARCHAR, coach VARCHAR) ###human: How many Drawn did Coach Francis Cummins have with less than 4 Lost? ###assistant: SELECT SUM(drawn) FROM table_name_99 WHERE lost < 4 AND coach = "francis cummins"
###context:CREATE TABLE table_name_10 (horse VARCHAR, faults VARCHAR, total VARCHAR) ###human: What horse did not start and had a total of over 16.16? ###assistant: SELECT horse FROM table_name_10 WHERE faults = "did not start" AND total > 16.16
###context:CREATE TABLE table_name_4 (total INTEGER, rider VARCHAR) ###human: What was the total for christina liebherr? ###assistant: SELECT MIN(total) FROM table_name_4 WHERE rider = "christina liebherr"
###context:CREATE TABLE table_name_51 (population VARCHAR, germans VARCHAR) ###human: What is the population of the year featuring an 87.5% German population? ###assistant: SELECT population FROM table_name_51 WHERE germans = "87.5%"
###context:CREATE TABLE table_name_48 (height VARCHAR, hometown VARCHAR) ###human: How tall is the player from Chicago, IL? ###assistant: SELECT height FROM table_name_48 WHERE hometown = "chicago, il"
###context:CREATE TABLE table_name_26 (college VARCHAR, player VARCHAR) ###human: What college does Dennis Scott attend? ###assistant: SELECT college FROM table_name_26 WHERE player = "dennis scott"
###context:CREATE TABLE table_name_20 (player VARCHAR, hometown VARCHAR) ###human: Who's from Bay City, TX? ###assistant: SELECT player FROM table_name_20 WHERE hometown = "bay city, tx"
###context:CREATE TABLE table_name_61 (nba_draft VARCHAR, player VARCHAR) ###human: Which NBA Draft had Labradford Smith? ###assistant: SELECT nba_draft FROM table_name_61 WHERE player = "labradford smith"
###context:CREATE TABLE table_name_77 (crowd INTEGER, venue VARCHAR) ###human: What was the lowest attendance at Windy Hill? ###assistant: SELECT MIN(crowd) FROM table_name_77 WHERE venue = "windy hill"
###context:CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) ###human: What was the home team's score at Princes Park? ###assistant: SELECT home_team AS score FROM table_name_6 WHERE venue = "princes park"
###context:CREATE TABLE table_name_50 (home_team VARCHAR) ###human: How much did the home team Geelong score? ###assistant: SELECT home_team AS score FROM table_name_50 WHERE home_team = "geelong"
###context:CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) ###human: What is the name of the home team that played Carlton? ###assistant: SELECT home_team FROM table_name_86 WHERE away_team = "carlton"
###context:CREATE TABLE table_name_54 (status VARCHAR, builder VARCHAR) ###human: Name the status with builder of orenstein and koppel ###assistant: SELECT status FROM table_name_54 WHERE builder = "orenstein and koppel"
###context:CREATE TABLE table_name_60 (builder VARCHAR, name_number VARCHAR) ###human: Who was the builder for joffre ###assistant: SELECT builder FROM table_name_60 WHERE name_number = "joffre"
###context:CREATE TABLE table_name_14 (venue VARCHAR, home_team VARCHAR) ###human: Where did Carlton play as the home team? ###assistant: SELECT venue FROM table_name_14 WHERE home_team = "carlton"
###context:CREATE TABLE table_name_98 (home_team VARCHAR, away_team VARCHAR) ###human: Who was the home team when Melbourne was the away team? ###assistant: SELECT home_team FROM table_name_98 WHERE away_team = "melbourne"
###context:CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR) ###human: What was the result on November 20, 1988? ###assistant: SELECT result FROM table_name_49 WHERE date = "november 20, 1988"
###context:CREATE TABLE table_name_60 (kickoff_ VARCHAR, a_ VARCHAR, week VARCHAR) ###human: What time was the kickoff on week 5? ###assistant: SELECT kickoff_[a_] FROM table_name_60 WHERE week = "5"
###context:CREATE TABLE table_name_64 (game_site VARCHAR, attendance VARCHAR) ###human: Where was the game that had an attendance of 39,889? ###assistant: SELECT game_site FROM table_name_64 WHERE attendance = "39,889"
###context:CREATE TABLE table_name_95 (record VARCHAR, attendance VARCHAR) ###human: What was the record when the attendance was 43,502? ###assistant: SELECT record FROM table_name_95 WHERE attendance = "43,502"
###context:CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR, format VARCHAR) ###human: What label released a CD in 1988? ###assistant: SELECT label FROM table_name_37 WHERE date = "1988" AND format = "cd"
###context:CREATE TABLE table_name_86 (date VARCHAR, region VARCHAR, catalog VARCHAR) ###human: On what date did the United Kingdom have a catalog of FT 507? ###assistant: SELECT date FROM table_name_86 WHERE region = "united kingdom" AND catalog = "ft 507"
###context:CREATE TABLE table_name_93 (date VARCHAR, catalog VARCHAR) ###human: On what date was the Catalog FT 507? ###assistant: SELECT date FROM table_name_93 WHERE catalog = "ft 507"
###context:CREATE TABLE table_name_47 (label VARCHAR, date VARCHAR, catalog VARCHAR) ###human: Which label had a catalog of 54513 in 1988? ###assistant: SELECT label FROM table_name_47 WHERE date = "1988" AND catalog = "54513"
###context:CREATE TABLE table_name_54 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR) ###human: On what date did Fantasy Records release a CD format of catalog FCD-4513-2? ###assistant: SELECT date FROM table_name_54 WHERE label = "fantasy records" AND format = "cd" AND catalog = "fcd-4513-2"
###context:CREATE TABLE table_name_21 (laps VARCHAR, driver VARCHAR, grid VARCHAR) ###human: What was John Watson's total laps with a grid of less than 7? ###assistant: SELECT COUNT(laps) FROM table_name_21 WHERE driver = "john watson" AND grid < 7
###context:CREATE TABLE table_name_44 (laps VARCHAR, grid VARCHAR) ###human: How many laps were there with #9 grid? ###assistant: SELECT COUNT(laps) FROM table_name_44 WHERE grid = 9
###context:CREATE TABLE table_name_29 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) ###human: What was the time/retired with laps less than 33 and a grid of 14? ###assistant: SELECT time_retired FROM table_name_29 WHERE laps < 33 AND grid = 14
###context:CREATE TABLE table_name_46 (time_retired VARCHAR, driver VARCHAR) ###human: What was John Watson's time/retired? ###assistant: SELECT time_retired FROM table_name_46 WHERE driver = "john watson"
###context:CREATE TABLE table_name_41 (player VARCHAR, no_s_ VARCHAR) ###human: What is the player with the no. 14? ###assistant: SELECT player FROM table_name_41 WHERE no_s_ = "14"
###context:CREATE TABLE table_name_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR) ###human: What is the height of the player from Benetton Treviso, Italy? ###assistant: SELECT height_in_ft FROM table_name_2 WHERE school_club_team_country = "benetton treviso, italy"
###context:CREATE TABLE table_name_10 (pens VARCHAR, conv VARCHAR) ###human: I want to know the pens with conv of 6 ###assistant: SELECT pens FROM table_name_10 WHERE conv = "6"
###context:CREATE TABLE table_name_38 (pens VARCHAR, conv VARCHAR, tries VARCHAR, player VARCHAR) ###human: Which pens has 1 tries and matt alexander as a player with conv of 4? ###assistant: SELECT pens FROM table_name_38 WHERE tries = "1" AND player = "matt alexander" AND conv = "4"
###context:CREATE TABLE table_name_12 (venue VARCHAR, conv VARCHAR) ###human: Name the venue that has conv of 5 players on 20 points ###assistant: SELECT venue FROM table_name_12 WHERE conv = "5 players on 20 points"
###context:CREATE TABLE table_name_90 (name VARCHAR, wins VARCHAR, matches VARCHAR) ###human: What are the names of those who made less than 3 wins in 15 matches? ###assistant: SELECT name FROM table_name_90 WHERE wins < 3 AND matches < 15
###context:CREATE TABLE table_name_31 (high_points VARCHAR, game INTEGER) ###human: What is the highest amount of points when the game is less than 2? ###assistant: SELECT high_points FROM table_name_31 WHERE game < 2
###context:CREATE TABLE table_name_3 (score VARCHAR, date VARCHAR) ###human: What was the score on April 20? ###assistant: SELECT score FROM table_name_3 WHERE date = "april 20"
###context:CREATE TABLE table_name_70 (surface VARCHAR, date VARCHAR) ###human: Name the surface on june 11, 1995 ###assistant: SELECT surface FROM table_name_70 WHERE date = "june 11, 1995"
###context:CREATE TABLE table_name_34 (score VARCHAR, date VARCHAR) ###human: Name the score for september 12, 1993 ###assistant: SELECT score FROM table_name_34 WHERE date = "september 12, 1993"
###context:CREATE TABLE table_name_71 (surface VARCHAR, score VARCHAR) ###human: Name the surface for score of 7–6(4), 6–1 ###assistant: SELECT surface FROM table_name_71 WHERE score = "7–6(4), 6–1"
###context:CREATE TABLE table_name_98 (date VARCHAR, score VARCHAR) ###human: Name the date that had a score of 7–6(4), 6–1 ###assistant: SELECT date FROM table_name_98 WHERE score = "7–6(4), 6–1"
###context:CREATE TABLE table_name_19 (result VARCHAR, year VARCHAR, competition VARCHAR) ###human: what is the result for the world group, semifinals after the year 1997? ###assistant: SELECT result FROM table_name_19 WHERE year > 1997 AND competition = "world group, semifinals"
###context:CREATE TABLE table_name_54 (home_team VARCHAR, away_team VARCHAR) ###human: What home team played against south Melbourne? ###assistant: SELECT home_team FROM table_name_54 WHERE away_team = "south melbourne"
###context:CREATE TABLE table_name_6 (crowd INTEGER, home_team VARCHAR) ###human: What is the average crowd size for the home team essendon? ###assistant: SELECT AVG(crowd) FROM table_name_6 WHERE home_team = "essendon"
###context:CREATE TABLE table_name_49 (home_team VARCHAR, away_team VARCHAR) ###human: What is the home team score when north Melbourne was the away team? ###assistant: SELECT home_team AS score FROM table_name_49 WHERE away_team = "north melbourne"
###context:CREATE TABLE table_name_33 (grid INTEGER, constructor VARCHAR, laps VARCHAR) ###human: What is the average grid with brm and under 63 laps? ###assistant: SELECT AVG(grid) FROM table_name_33 WHERE constructor = "brm" AND laps < 63
###context:CREATE TABLE table_name_68 (circuit VARCHAR, date VARCHAR, class VARCHAR) ###human: On what circuit is there a class gts-2 race that takes place on May 27? ###assistant: SELECT circuit FROM table_name_68 WHERE date = "may 27" AND class = "gts-2"
###context:CREATE TABLE table_name_69 (circuit VARCHAR, length VARCHAR) ###human: On what circuit is there a race that lasts 2 hours? ###assistant: SELECT circuit FROM table_name_69 WHERE length = "2 hours"
###context:CREATE TABLE table_name_23 (class VARCHAR, race VARCHAR) ###human: What class is the dodge dealers grand prix? ###assistant: SELECT class FROM table_name_23 WHERE race = "the dodge dealers grand prix"
###context:CREATE TABLE table_name_95 (length VARCHAR, race VARCHAR) ###human: What is the length of the First Union six hours at the Glen? ###assistant: SELECT length FROM table_name_95 WHERE race = "first union six hours at the glen"
###context:CREATE TABLE table_name_20 (class VARCHAR, date VARCHAR) ###human: What is the class of the race that takes place on August 25? ###assistant: SELECT class FROM table_name_20 WHERE date = "august 25"
###context:CREATE TABLE table_name_94 (score VARCHAR, home VARCHAR) ###human: What was the score when Montreal was home? ###assistant: SELECT score FROM table_name_94 WHERE home = "montreal"