training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_55 (home VARCHAR, record VARCHAR) ###human: Who had a 32-29-8 record at home? ###assistant: SELECT home FROM table_name_55 WHERE record = "32-29-8"
###context:CREATE TABLE table_name_99 (home VARCHAR, record VARCHAR) ###human: Who had a 33-30-8 record at home? ###assistant: SELECT home FROM table_name_99 WHERE record = "33-30-8"
###context:CREATE TABLE table_name_15 (home_team VARCHAR, away_team VARCHAR) ###human: What was the home teams score when North Melbourne played as the away team? ###assistant: SELECT home_team AS score FROM table_name_15 WHERE away_team = "north melbourne"
###context:CREATE TABLE table_name_11 (away_team VARCHAR, venue VARCHAR) ###human: Who was the away team at Windy Hill? ###assistant: SELECT away_team FROM table_name_11 WHERE venue = "windy hill"
###context:CREATE TABLE table_name_22 (venue VARCHAR, home_team VARCHAR) ###human: Where did Fitzroy play as the home team? ###assistant: SELECT venue FROM table_name_22 WHERE home_team = "fitzroy"
###context:CREATE TABLE table_name_99 (away_team VARCHAR, home_team VARCHAR) ###human: Who was away team at the home game of south melbourne? ###assistant: SELECT away_team FROM table_name_99 WHERE home_team = "south melbourne"
###context:CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR) ###human: What did the away team score when they visited south melbourne? ###assistant: SELECT away_team AS score FROM table_name_26 WHERE home_team = "south melbourne"
###context:CREATE TABLE table_name_10 (crowd INTEGER, away_team VARCHAR) ###human: What is the highest crowd with north melbourne as away team? ###assistant: SELECT MAX(crowd) FROM table_name_10 WHERE away_team = "north melbourne"
###context:CREATE TABLE table_name_88 (venue VARCHAR, home_team VARCHAR) ###human: Which venue has a Home team of south melbourne? ###assistant: SELECT venue FROM table_name_88 WHERE home_team = "south melbourne"
###context:CREATE TABLE table_name_82 (home_team VARCHAR, away_team VARCHAR) ###human: What home score has an Away team of fitzroy? ###assistant: SELECT home_team AS score FROM table_name_82 WHERE away_team = "fitzroy"
###context:CREATE TABLE table_name_61 (home_team VARCHAR, venue VARCHAR) ###human: Which home team has a Venue of corio oval? ###assistant: SELECT home_team FROM table_name_61 WHERE venue = "corio oval"
###context:CREATE TABLE table_name_58 (home_team VARCHAR, away_team VARCHAR) ###human: Which team has an Away team of carlton? ###assistant: SELECT home_team FROM table_name_58 WHERE away_team = "carlton"
###context:CREATE TABLE table_name_21 (date VARCHAR, away_team VARCHAR) ###human: Which date has an Away team of richmond? ###assistant: SELECT date FROM table_name_21 WHERE away_team = "richmond"
###context:CREATE TABLE table_name_85 (area__km²_ VARCHAR, capital VARCHAR, population__2005_ VARCHAR) ###human: How many regions have a capital of matanzas and a 2005 population under 670427? ###assistant: SELECT COUNT(area__km²_) FROM table_name_85 WHERE capital = "matanzas" AND population__2005_ < 670427
###context:CREATE TABLE table_name_25 (area__km²_ INTEGER, capital VARCHAR, population___percentage_ VARCHAR) ###human: What is the average area that has a Capital of camagüey, with a Population (%) larger than 7.02? ###assistant: SELECT AVG(area__km²_) FROM table_name_25 WHERE capital = "camagüey" AND population___percentage_ > 7.02
###context:CREATE TABLE table_name_76 (score VARCHAR, attendance INTEGER) ###human: What was the score of the Kings game attended by more than 18,630 people? ###assistant: SELECT score FROM table_name_76 WHERE attendance > 18 OFFSET 630
###context:CREATE TABLE table_name_92 (attendance INTEGER, record VARCHAR) ###human: What was the average attendance for a Kings game when they had a record of 1–5–0? ###assistant: SELECT AVG(attendance) FROM table_name_92 WHERE record = "1–5–0"
###context:CREATE TABLE table_name_47 (team VARCHAR, total VARCHAR, tournament VARCHAR, regular_season VARCHAR) ###human: What team has over 1 tournament title, 0 in the regular season, and 2 total? ###assistant: SELECT team FROM table_name_47 WHERE tournament > 1 AND regular_season = "0" AND total = 2
###context:CREATE TABLE table_name_8 (total INTEGER, tournament VARCHAR) ###human: What is the total on average for teams with 3 tournaments? ###assistant: SELECT AVG(total) FROM table_name_8 WHERE tournament = 3
###context:CREATE TABLE table_name_21 (grid INTEGER, laps VARCHAR, driver VARCHAR) ###human: what is the lowest grid when the laps is more than 7 and the driver is rubens barrichello? ###assistant: SELECT MIN(grid) FROM table_name_21 WHERE laps > 7 AND driver = "rubens barrichello"
###context:CREATE TABLE table_name_5 (grid VARCHAR, driver VARCHAR, laps VARCHAR, time_retired VARCHAR) ###human: what is the grid when the laps is more than 0, the time/retired is engine and the driver is pedro de la rosa? ###assistant: SELECT grid FROM table_name_5 WHERE laps > 0 AND time_retired = "engine" AND driver = "pedro de la rosa"
###context:CREATE TABLE table_name_84 (driver VARCHAR, grid VARCHAR) ###human: who is the driver with the grid of 13? ###assistant: SELECT driver FROM table_name_84 WHERE grid = 13
###context:CREATE TABLE table_name_92 (championships INTEGER, established VARCHAR) ###human: How many championships did the team or teams established in 1976 win? ###assistant: SELECT SUM(championships) FROM table_name_92 WHERE established = 1976
###context:CREATE TABLE table_name_54 (established INTEGER, league VARCHAR, championships VARCHAR) ###human: Which WNBA team that won at least 2 championships was established most recently? ###assistant: SELECT MAX(established) FROM table_name_54 WHERE league = "wnba" AND championships > 2
###context:CREATE TABLE table_name_39 (venue VARCHAR, league VARCHAR) ###human: What are the venues that host WNBA games? ###assistant: SELECT venue FROM table_name_39 WHERE league = "wnba"
###context:CREATE TABLE table_name_10 (bowling_style VARCHAR, date_of_birth VARCHAR) ###human: Name the bowling style of the player born 16 march 1974 ###assistant: SELECT bowling_style FROM table_name_10 WHERE date_of_birth = "16 march 1974"
###context:CREATE TABLE table_name_57 (batting_style VARCHAR, player VARCHAR) ###human: Name the batting style for heath streak ###assistant: SELECT batting_style FROM table_name_57 WHERE player = "heath streak"
###context:CREATE TABLE table_name_87 (name VARCHAR, floors VARCHAR) ###human: What is the name of a building that has 52 floors? ###assistant: SELECT name FROM table_name_87 WHERE floors = 52
###context:CREATE TABLE table_name_95 (floors VARCHAR, name VARCHAR) ###human: How many floors does the Custom House Tower have? ###assistant: SELECT COUNT(floors) FROM table_name_95 WHERE name = "custom house tower"
###context:CREATE TABLE table_name_52 (floors INTEGER, street_address VARCHAR) ###human: How many floors does the building on 800 Boylston Street have? ###assistant: SELECT MAX(floors) FROM table_name_52 WHERE street_address = "800 boylston street"
###context:CREATE TABLE table_name_17 (street_address VARCHAR, name VARCHAR) ###human: What is the street address for the Prudential Tower building? ###assistant: SELECT street_address FROM table_name_17 WHERE name = "prudential tower"
###context:CREATE TABLE table_name_81 (floors INTEGER, street_address VARCHAR) ###human: There is a building at 800 Boylston Street, how many floors does it have? ###assistant: SELECT SUM(floors) FROM table_name_81 WHERE street_address = "800 boylston street"
###context:CREATE TABLE table_name_1 (number_of_jews__wjc_ INTEGER, rank___wjc__ VARCHAR, rank__arda_ VARCHAR) ###human: What was the highest number of WJC Jews that had a WJC rank of 6 and a ARDA rank of more than 8? ###assistant: SELECT MAX(number_of_jews__wjc_) FROM table_name_1 WHERE rank___wjc__ = 6 AND rank__arda_ > 8
###context:CREATE TABLE table_name_96 (number_of_jews__wjc_ VARCHAR, rank___wjc__ VARCHAR) ###human: What was the number of WJC Jews with a WJC rank of 6? ###assistant: SELECT number_of_jews__wjc_ FROM table_name_96 WHERE rank___wjc__ = 6
###context:CREATE TABLE table_name_73 (number_of_jews__wjc_ INTEGER, metro_area VARCHAR, rank__arda_ VARCHAR) ###human: How many number of WJC Jews in the Los Angeles Metro Area has a ARDA rank of more than 2? ###assistant: SELECT SUM(number_of_jews__wjc_) FROM table_name_73 WHERE metro_area = "los angeles" AND rank__arda_ > 2
###context:CREATE TABLE table_name_55 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR) ###human: Who drove during the race with less than 19 laps and a time listed as ignition? ###assistant: SELECT driver FROM table_name_55 WHERE laps < 19 AND time_retired = "ignition"
###context:CREATE TABLE table_name_90 (record VARCHAR, round VARCHAR, event VARCHAR) ###human: What is his record for fights that went over 2 rounds in the Event of raging wolf 6: mayhem in the mist? ###assistant: SELECT record FROM table_name_90 WHERE round > 2 AND event = "raging wolf 6: mayhem in the mist"
###context:CREATE TABLE table_name_54 (crowd INTEGER, venue VARCHAR) ###human: What is the highest number of people that attended a game at Moorabbin Oval? ###assistant: SELECT MAX(crowd) FROM table_name_54 WHERE venue = "moorabbin oval"
###context:CREATE TABLE table_name_83 (crowd INTEGER, away_team VARCHAR) ###human: What is the least amount of people that attended a game when Essendon was the away team? ###assistant: SELECT MIN(crowd) FROM table_name_83 WHERE away_team = "essendon"
###context:CREATE TABLE table_name_74 (date VARCHAR, away_team VARCHAR) ###human: Which date did South Melbourne play as the away team? ###assistant: SELECT date FROM table_name_74 WHERE away_team = "south melbourne"
###context:CREATE TABLE table_name_3 (constructor VARCHAR, driver VARCHAR) ###human: What is the constructor for Jackie Stewart's car? ###assistant: SELECT constructor FROM table_name_3 WHERE driver = "jackie stewart"
###context:CREATE TABLE table_name_54 (location VARCHAR, driver VARCHAR) ###human: What is the location where Denny Hulme was the driver? ###assistant: SELECT location FROM table_name_54 WHERE driver = "denny hulme"
###context:CREATE TABLE table_name_87 (train_no VARCHAR, origin VARCHAR) ###human: What is number of the train that originated in Secunderabad Junction? ###assistant: SELECT train_no FROM table_name_87 WHERE origin = "secunderabad junction"
###context:CREATE TABLE table_name_29 (origin VARCHAR, destination VARCHAR) ###human: From where did the train that arrived in the Anand Vihar Terminal originate? ###assistant: SELECT origin FROM table_name_29 WHERE destination = "anand vihar terminal"
###context:CREATE TABLE table_name_15 (origin VARCHAR, train_no VARCHAR) ###human: From where did Train No. 15929/30 originate? ###assistant: SELECT origin FROM table_name_15 WHERE train_no = "15929/30"
###context:CREATE TABLE table_name_82 (frequency VARCHAR, destination VARCHAR) ###human: What is the frequency of the train to Bangalore? ###assistant: SELECT frequency FROM table_name_82 WHERE destination = "bangalore"
###context:CREATE TABLE table_name_72 (norwegian_americans__2009_ VARCHAR, norwegian_americans__2000_ VARCHAR) ###human: How many Norwegian Americans have Norwegian Americans (2000) of 109,744? ###assistant: SELECT COUNT(norwegian_americans__2009_) FROM table_name_72 WHERE norwegian_americans__2000_ = 109 OFFSET 744
###context:CREATE TABLE table_name_95 (state VARCHAR, percent__2009_ VARCHAR) ###human: Which state has a Percent (2009) of 6.2%? ###assistant: SELECT state FROM table_name_95 WHERE percent__2009_ = "6.2%"
###context:CREATE TABLE table_name_56 (holding VARCHAR, component VARCHAR) ###human: What is the holding of the customers? ###assistant: SELECT holding FROM table_name_56 WHERE component = "customers"
###context:CREATE TABLE table_name_61 (allied_unrelated VARCHAR, allied_related VARCHAR) ###human: What Allied-Unrelated is labeled as "common"? ###assistant: SELECT allied_unrelated FROM table_name_61 WHERE allied_related = "common"
###context:CREATE TABLE table_name_40 (integrated VARCHAR, allied_related VARCHAR) ###human: Which integrated has an allied-related of some shared? ###assistant: SELECT integrated FROM table_name_40 WHERE allied_related = "some shared"
###context:CREATE TABLE table_name_11 (integrated VARCHAR, allied_related VARCHAR) ###human: What integrated has an allied-related of centralized? ###assistant: SELECT integrated FROM table_name_11 WHERE allied_related = "centralized"
###context:CREATE TABLE table_name_21 (component VARCHAR, integrated VARCHAR) ###human: What component has an integrated of one? ###assistant: SELECT component FROM table_name_21 WHERE integrated = "one"
###context:CREATE TABLE table_name_71 (candidates VARCHAR, seats_won VARCHAR, _percentage_of_vote VARCHAR, election VARCHAR) ###human: How many candidates had 0 percent of the vote in 1999? ###assistant: SELECT COUNT(candidates) FROM table_name_71 WHERE _percentage_of_vote = 0 AND election = 1999 AND seats_won > 0
###context:CREATE TABLE table_name_27 (score VARCHAR, leading_scorer VARCHAR) ###human: What is the score of the game with Manu ginóbili (44) as the leading scorer? ###assistant: SELECT score FROM table_name_27 WHERE leading_scorer = "manu ginóbili (44)"
###context:CREATE TABLE table_name_60 (record VARCHAR, date VARCHAR) ###human: What is the record of the game on February 21, 2008? ###assistant: SELECT record FROM table_name_60 WHERE date = "february 21, 2008"
###context:CREATE TABLE table_name_74 (home VARCHAR, leading_scorer VARCHAR) ###human: Who was the home team of the game with manu ginóbili (34) as the leading scorer? ###assistant: SELECT home FROM table_name_74 WHERE leading_scorer = "manu ginóbili (34)"
###context:CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR) ###human: What is the record of the game on February 25, 2008? ###assistant: SELECT record FROM table_name_59 WHERE date = "february 25, 2008"
###context:CREATE TABLE table_name_7 (type VARCHAR, moving_to VARCHAR) ###human: What type is shown with a moving to of valenciennes? ###assistant: SELECT type FROM table_name_7 WHERE moving_to = "valenciennes"
###context:CREATE TABLE table_name_63 (transfer_window VARCHAR, name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) ###human: What is the transfer window with n/a as the Transfer fee, free agent for the Moving to, and Joe Sagar as the name? ###assistant: SELECT transfer_window FROM table_name_63 WHERE transfer_fee = "n/a" AND moving_to = "free agent" AND name = "joe sagar"
###context:CREATE TABLE table_name_81 (name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR) ###human: What is the name of the person with a type of end of contract, nat of sco, and the Moving to is cardiff city? ###assistant: SELECT name FROM table_name_81 WHERE type = "end of contract" AND nat = "sco" AND moving_to = "cardiff city"
###context:CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) ###human: What Transfer window that has a Transfer fee of free, with a Moving to of derby county? ###assistant: SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county"
###context:CREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR) ###human: What is the first game number that had attendance of 56,505? ###assistant: SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505
###context:CREATE TABLE table_name_59 (crowd VARCHAR, away_team VARCHAR) ###human: What was the crowd size for the away team footscray? ###assistant: SELECT crowd FROM table_name_59 WHERE away_team = "footscray"
###context:CREATE TABLE table_name_4 (race_name VARCHAR, circuit VARCHAR) ###human: Which Race Name has Goodwood in the Curcuit? ###assistant: SELECT race_name FROM table_name_4 WHERE circuit = "goodwood"
###context:CREATE TABLE table_name_6 (constructor VARCHAR, winning_driver VARCHAR, circuit VARCHAR) ###human: Which Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse? ###assistant: SELECT constructor FROM table_name_6 WHERE winning_driver = "jim clark" AND circuit = "syracuse"
###context:CREATE TABLE table_name_72 (constructor VARCHAR, winning_driver VARCHAR) ###human: Which Constructor has the Winning Driver, Jo Siffert? ###assistant: SELECT constructor FROM table_name_72 WHERE winning_driver = "jo siffert"
###context:CREATE TABLE table_name_49 (constructor VARCHAR, circuit VARCHAR) ###human: Which Constructor has Pergusa in the Circuit? ###assistant: SELECT constructor FROM table_name_49 WHERE circuit = "pergusa"
###context:CREATE TABLE table_name_89 (date VARCHAR, venue VARCHAR) ###human: On what date was a game played at MCG? ###assistant: SELECT date FROM table_name_89 WHERE venue = "mcg"
###context:CREATE TABLE table_name_93 (total INTEGER, gold VARCHAR, silver VARCHAR) ###human: What is the average total medals of the team with 2 gold and less than 1 silver? ###assistant: SELECT AVG(total) FROM table_name_93 WHERE gold = 2 AND silver < 1
###context:CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR) ###human: What is the lowest amount of silver medals Iceland, who has less than 87 medals, has? ###assistant: SELECT MIN(silver) FROM table_name_95 WHERE nation = "iceland" AND total < 87
###context:CREATE TABLE table_name_86 (bronze INTEGER, nation VARCHAR, total VARCHAR) ###human: What is the least amount of bronze Andorra, who has more than 6 total medals, has? ###assistant: SELECT MIN(bronze) FROM table_name_86 WHERE nation = "andorra" AND total > 6
###context:CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, gold VARCHAR) ###human: What is the lowest amount of bronze Liechtenstein, who has more than 11 gold, has? ###assistant: SELECT MIN(bronze) FROM table_name_75 WHERE nation = "liechtenstein" AND gold > 11
###context:CREATE TABLE table_name_87 (silver INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR) ###human: What is the average amount of silver medals Montenegro, who has less than 15 bronze and more than 11 total medals, has? ###assistant: SELECT AVG(silver) FROM table_name_87 WHERE bronze < 15 AND nation = "montenegro" AND total > 11
###context:CREATE TABLE table_name_62 (voter_turnout INTEGER, byut VARCHAR, ou_psd VARCHAR) ###human: What is the lower turnout that has a byut of 50.7 and an ou psd smaller than 36.8? ###assistant: SELECT MIN(voter_turnout) FROM table_name_62 WHERE byut = 50.7 AND ou_psd < 36.8
###context:CREATE TABLE table_name_78 (voter_registration VARCHAR, byut VARCHAR) ###human: What is the voter registration that has a BYut of 48.2? ###assistant: SELECT COUNT(voter_registration) FROM table_name_78 WHERE byut = 48.2
###context:CREATE TABLE table_name_22 (home_team VARCHAR, venue VARCHAR) ###human: Who was the home team at VFL Park? ###assistant: SELECT home_team FROM table_name_22 WHERE venue = "vfl park"
###context:CREATE TABLE table_name_78 (home_team VARCHAR, venue VARCHAR) ###human: Who was the home team at Kardinia Park? ###assistant: SELECT home_team FROM table_name_78 WHERE venue = "kardinia park"
###context:CREATE TABLE table_name_3 (paper_type VARCHAR, denomination VARCHAR) ###human: What type of paper is the 1 cent denominations made on? ###assistant: SELECT paper_type FROM table_name_3 WHERE denomination = "1 cent"
###context:CREATE TABLE table_name_7 (paper_type VARCHAR, date_of_issue VARCHAR) ###human: What is the paper type that the one that was issued on 26 july 2007 done on? ###assistant: SELECT paper_type FROM table_name_7 WHERE date_of_issue = "26 july 2007"
###context:CREATE TABLE table_name_65 (home_team VARCHAR) ###human: What did the home team footscray score? ###assistant: SELECT home_team AS score FROM table_name_65 WHERE home_team = "footscray"
###context:CREATE TABLE table_name_95 (crowd VARCHAR, home_team VARCHAR) ###human: What was the total crowd size for the him team footscray? ###assistant: SELECT COUNT(crowd) FROM table_name_95 WHERE home_team = "footscray"
###context:CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR) ###human: What is the Home team at corio oval? ###assistant: SELECT home_team FROM table_name_57 WHERE venue = "corio oval"
###context:CREATE TABLE table_name_82 (livery VARCHAR, date VARCHAR, description VARCHAR) ###human: What livery was worn on the date before 1936, with the description of Gresley RF? ###assistant: SELECT livery FROM table_name_82 WHERE date < 1936 AND description = "gresley rf"
###context:CREATE TABLE table_name_16 (number_ VARCHAR, _name VARCHAR, description VARCHAR, date VARCHAR) ###human: Which number and name has the description Gresley RB and a date before 1937? ###assistant: SELECT number_ & _name FROM table_name_16 WHERE description = "gresley rb" AND date < 1937
###context:CREATE TABLE table_name_60 (owner_s_ VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR) ###human: Who is the owner before 1940, who had a number and name of no. 1222? ###assistant: SELECT owner_s_ FROM table_name_60 WHERE date < 1940 AND number_ & _name = "no. 1222"
###context:CREATE TABLE table_name_2 (type VARCHAR, scratch VARCHAR) ###human: What type has a scratch of 750 GB? ###assistant: SELECT type FROM table_name_2 WHERE scratch = "750 gb"
###context:CREATE TABLE table_name_13 (cache VARCHAR, memory VARCHAR, number VARCHAR) ###human: What is the Cache for a Number 64 with a Memory of 24 gb qpi 5.86 gt/s? ###assistant: SELECT cache FROM table_name_13 WHERE memory = "24 gb qpi 5.86 gt/s" AND number = 64
###context:CREATE TABLE table_name_68 (memory VARCHAR, clock VARCHAR, number VARCHAR) ###human: What is the Memory for a Number 32 with a Clock of 2.26ghz? ###assistant: SELECT memory FROM table_name_68 WHERE clock = "2.26ghz" AND number = 32
###context:CREATE TABLE table_name_62 (place_of_birth VARCHAR, acquired VARCHAR) ###human: Of those acquired in 2008, where were they born? ###assistant: SELECT place_of_birth FROM table_name_62 WHERE acquired = 2008
###context:CREATE TABLE table_name_99 (shoots VARCHAR, acquired VARCHAR, player VARCHAR) ###human: What is the shooting preference of Matthew Myers, acquired in 2010? ###assistant: SELECT shoots FROM table_name_99 WHERE acquired = 2010 AND player = "matthew myers"
###context:CREATE TABLE table_name_18 (acquired VARCHAR, player VARCHAR) ###human: In what year was player Bruce Graham acquired? ###assistant: SELECT acquired FROM table_name_18 WHERE player = "bruce graham"
###context:CREATE TABLE table_name_67 (d_42_√ VARCHAR, d_44_√ VARCHAR) ###human: Name the D 42 √ when it has D 44 √ of r 36 √ ###assistant: SELECT d_42_√ FROM table_name_67 WHERE d_44_√ = "r 36 √"
###context:CREATE TABLE table_name_30 (d_45_o VARCHAR, d_46_o VARCHAR) ###human: Name the D 45 O that has D 46 O of d 26 ###assistant: SELECT d_45_o FROM table_name_30 WHERE d_46_o = "d 26"
###context:CREATE TABLE table_name_29 (goals_against INTEGER, goal_difference VARCHAR, losses VARCHAR) ###human: Name the least goals for goal difference of 7 and losses more than 13 ###assistant: SELECT MIN(goals_against) FROM table_name_29 WHERE goal_difference = 7 AND losses > 13
###context:CREATE TABLE table_name_12 (position VARCHAR, goal_difference VARCHAR, played VARCHAR) ###human: Tell me the total number of positions with goal difference more than -17 and played less than 38 ###assistant: SELECT COUNT(position) FROM table_name_12 WHERE goal_difference > -17 AND played < 38
###context:CREATE TABLE table_name_21 (crowd INTEGER, home_team VARCHAR) ###human: What was the attendance when South Melbourne played as the home team? ###assistant: SELECT MIN(crowd) FROM table_name_21 WHERE home_team = "south melbourne"
###context:CREATE TABLE table_name_80 (crowd VARCHAR, away_team VARCHAR) ###human: What was the attendance when Footscray played as the away team? ###assistant: SELECT COUNT(crowd) FROM table_name_80 WHERE away_team = "footscray"
###context:CREATE TABLE table_name_72 (quantity INTEGER, manufacturer VARCHAR, gwr_nos VARCHAR) ###human: What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons? ###assistant: SELECT MIN(quantity) FROM table_name_72 WHERE manufacturer = "peckett and sons" AND gwr_nos = "696, 779, 93 5"
###context:CREATE TABLE table_name_95 (capacity INTEGER, opening VARCHAR, city VARCHAR) ###human: What is the lowest capacity with an opening larger than 2015 in Trabzon? ###assistant: SELECT MIN(capacity) FROM table_name_95 WHERE opening > 2015 AND city = "trabzon"