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