Question: What type is shown with a moving to of valenciennes?

Context: CREATE TABLE table_name_7 (type VARCHAR, moving_to VARCHAR)

SELECT type FROM table_name_7 WHERE moving_to = "valenciennes"


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?

Context: CREATE TABLE table_name_63 (transfer_window VARCHAR, name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)

SELECT transfer_window FROM table_name_63 WHERE transfer_fee = "n/a" AND moving_to = "free agent" AND name = "joe sagar"


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?

Context: CREATE TABLE table_name_81 (name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR)

SELECT name FROM table_name_81 WHERE type = "end of contract" AND nat = "sco" AND moving_to = "cardiff city"


Question: What Transfer window that has a Transfer fee of free, with a Moving to of derby county?

Context: CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)

SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county"


Question: What is the first game number that had attendance of 56,505?

Context: CREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR)

SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505


Question: What was the crowd size for the away team footscray?

Context: CREATE TABLE table_name_59 (crowd VARCHAR, away_team VARCHAR)

SELECT crowd FROM table_name_59 WHERE away_team = "footscray"


Question: Which Race Name has Goodwood in the Curcuit?

Context: CREATE TABLE table_name_4 (race_name VARCHAR, circuit VARCHAR)

SELECT race_name FROM table_name_4 WHERE circuit = "goodwood"


Question: Which Constructor has the Winning Driver, Jim Clark and the Circuit, Syracuse?

Context: CREATE TABLE table_name_6 (constructor VARCHAR, winning_driver VARCHAR, circuit VARCHAR)

SELECT constructor FROM table_name_6 WHERE winning_driver = "jim clark" AND circuit = "syracuse"


Question: Which Constructor has the Winning Driver, Jo Siffert?

Context: CREATE TABLE table_name_72 (constructor VARCHAR, winning_driver VARCHAR)

SELECT constructor FROM table_name_72 WHERE winning_driver = "jo siffert"


Question: Which Constructor has Pergusa in the Circuit?

Context: CREATE TABLE table_name_49 (constructor VARCHAR, circuit VARCHAR)

SELECT constructor FROM table_name_49 WHERE circuit = "pergusa"


Question: On what date was a game played at MCG?

Context: CREATE TABLE table_name_89 (date VARCHAR, venue VARCHAR)

SELECT date FROM table_name_89 WHERE venue = "mcg"


Question: What is the average total medals of the team with 2 gold and less than 1 silver?

Context: CREATE TABLE table_name_93 (total INTEGER, gold VARCHAR, silver VARCHAR)

SELECT AVG(total) FROM table_name_93 WHERE gold = 2 AND silver < 1


Question: What is the lowest amount of silver medals Iceland, who has less than 87 medals, has?

Context: CREATE TABLE table_name_95 (silver INTEGER, nation VARCHAR, total VARCHAR)

SELECT MIN(silver) FROM table_name_95 WHERE nation = "iceland" AND total < 87


Question: What is the least amount of bronze Andorra, who has more than 6 total medals, has?

Context: CREATE TABLE table_name_86 (bronze INTEGER, nation VARCHAR, total VARCHAR)

SELECT MIN(bronze) FROM table_name_86 WHERE nation = "andorra" AND total > 6


Question: What is the lowest amount of bronze Liechtenstein, who has more than 11 gold, has?

Context: CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, gold VARCHAR)

SELECT MIN(bronze) FROM table_name_75 WHERE nation = "liechtenstein" AND gold > 11


Question: What is the average amount of silver medals Montenegro, who has less than 15 bronze and more than 11 total medals, has?

Context: CREATE TABLE table_name_87 (silver INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)

SELECT AVG(silver) FROM table_name_87 WHERE bronze < 15 AND nation = "montenegro" AND total > 11


Question: What is the lower turnout that has a byut of 50.7 and an ou psd smaller than 36.8?

Context: CREATE TABLE table_name_62 (voter_turnout INTEGER, byut VARCHAR, ou_psd VARCHAR)

SELECT MIN(voter_turnout) FROM table_name_62 WHERE byut = 50.7 AND ou_psd < 36.8


Question: What is the voter registration that has a BYut of 48.2?

Context: CREATE TABLE table_name_78 (voter_registration VARCHAR, byut VARCHAR)

SELECT COUNT(voter_registration) FROM table_name_78 WHERE byut = 48.2


Question: Who was the home team at VFL Park?

Context: CREATE TABLE table_name_22 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_22 WHERE venue = "vfl park"


Question: Who was the home team at Kardinia Park?

Context: CREATE TABLE table_name_78 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_78 WHERE venue = "kardinia park"


Question: What type of paper is the 1 cent denominations made on?

Context: CREATE TABLE table_name_3 (paper_type VARCHAR, denomination VARCHAR)

SELECT paper_type FROM table_name_3 WHERE denomination = "1 cent"


Question: What is the paper type that the one that was issued on 26 july 2007 done on?

Context: CREATE TABLE table_name_7 (paper_type VARCHAR, date_of_issue VARCHAR)

SELECT paper_type FROM table_name_7 WHERE date_of_issue = "26 july 2007"


Question: What did the home team footscray score?

Context: CREATE TABLE table_name_65 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_65 WHERE home_team = "footscray"


Question: What was the total crowd size for the him team footscray?

Context: CREATE TABLE table_name_95 (crowd VARCHAR, home_team VARCHAR)

SELECT COUNT(crowd) FROM table_name_95 WHERE home_team = "footscray"


Question: What is the Home team at corio oval?

Context: CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_57 WHERE venue = "corio oval"


Question: What livery was worn on the date before 1936, with the description of Gresley RF?

Context: CREATE TABLE table_name_82 (livery VARCHAR, date VARCHAR, description VARCHAR)

SELECT livery FROM table_name_82 WHERE date < 1936 AND description = "gresley rf"


Question: Which number and name has the description Gresley RB and a date before 1937?

Context: CREATE TABLE table_name_16 (number_ VARCHAR, _name VARCHAR, description VARCHAR, date VARCHAR)

SELECT number_ & _name FROM table_name_16 WHERE description = "gresley rb" AND date < 1937


Question: Who is the owner before 1940, who had a number and name of no. 1222?

Context: CREATE TABLE table_name_60 (owner_s_ VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR)

SELECT owner_s_ FROM table_name_60 WHERE date < 1940 AND number_ & _name = "no. 1222"


Question: What type has a scratch of 750 GB?

Context: CREATE TABLE table_name_2 (type VARCHAR, scratch VARCHAR)

SELECT type FROM table_name_2 WHERE scratch = "750 gb"


Question: What is the Cache for a Number 64 with a Memory of 24 gb qpi 5.86 gt/s?

Context: CREATE TABLE table_name_13 (cache VARCHAR, memory VARCHAR, number VARCHAR)

SELECT cache FROM table_name_13 WHERE memory = "24 gb qpi 5.86 gt/s" AND number = 64


Question: What is the Memory for a Number 32 with a Clock of 2.26ghz?

Context: CREATE TABLE table_name_68 (memory VARCHAR, clock VARCHAR, number VARCHAR)

SELECT memory FROM table_name_68 WHERE clock = "2.26ghz" AND number = 32


Question: Of those acquired in 2008, where were they born?

Context: CREATE TABLE table_name_62 (place_of_birth VARCHAR, acquired VARCHAR)

SELECT place_of_birth FROM table_name_62 WHERE acquired = 2008


Question: What is the shooting preference of Matthew Myers, acquired in 2010?

Context: CREATE TABLE table_name_99 (shoots VARCHAR, acquired VARCHAR, player VARCHAR)

SELECT shoots FROM table_name_99 WHERE acquired = 2010 AND player = "matthew myers"


Question: In what year was player Bruce Graham acquired?

Context: CREATE TABLE table_name_18 (acquired VARCHAR, player VARCHAR)

SELECT acquired FROM table_name_18 WHERE player = "bruce graham"


Question: Name the D 42 √ when it has D 44 √ of r 36 √

Context: CREATE TABLE table_name_67 (d_42_√ VARCHAR, d_44_√ VARCHAR)

SELECT d_42_√ FROM table_name_67 WHERE d_44_√ = "r 36 √"


Question: Name the D 45 O that has D 46 O of d 26

Context: CREATE TABLE table_name_30 (d_45_o VARCHAR, d_46_o VARCHAR)

SELECT d_45_o FROM table_name_30 WHERE d_46_o = "d 26"


Question: Name the least goals for goal difference of 7 and losses more than 13

Context: CREATE TABLE table_name_29 (goals_against INTEGER, goal_difference VARCHAR, losses VARCHAR)

SELECT MIN(goals_against) FROM table_name_29 WHERE goal_difference = 7 AND losses > 13


Question: Tell me the total number of positions with goal difference more than -17 and played less than 38

Context: CREATE TABLE table_name_12 (position VARCHAR, goal_difference VARCHAR, played VARCHAR)

SELECT COUNT(position) FROM table_name_12 WHERE goal_difference > -17 AND played < 38


Question: What was the attendance when South Melbourne played as the home team?

Context: CREATE TABLE table_name_21 (crowd INTEGER, home_team VARCHAR)

SELECT MIN(crowd) FROM table_name_21 WHERE home_team = "south melbourne"


Question: What was the attendance when Footscray played as the away team?

Context: CREATE TABLE table_name_80 (crowd VARCHAR, away_team VARCHAR)

SELECT COUNT(crowd) FROM table_name_80 WHERE away_team = "footscray"


Question: What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons?

Context: CREATE TABLE table_name_72 (quantity INTEGER, manufacturer VARCHAR, gwr_nos VARCHAR)

SELECT MIN(quantity) FROM table_name_72 WHERE manufacturer = "peckett and sons" AND gwr_nos = "696, 779, 93 5"


Question: What is the lowest capacity with an opening larger than 2015 in Trabzon?

Context: CREATE TABLE table_name_95 (capacity INTEGER, opening VARCHAR, city VARCHAR)

SELECT MIN(capacity) FROM table_name_95 WHERE opening > 2015 AND city = "trabzon"


Question: What is the average opening at Stadyum Samsun with a capacity smaller than 34,658?

Context: CREATE TABLE table_name_20 (opening INTEGER, stadium VARCHAR, capacity VARCHAR)

SELECT AVG(opening) FROM table_name_20 WHERE stadium = "stadyum samsun" AND capacity < 34 OFFSET 658


Question: What is the Years for Jazz Club at Oregon State?

Context: CREATE TABLE table_name_46 (years_for_jazz VARCHAR, school_club_team VARCHAR)

SELECT years_for_jazz FROM table_name_46 WHERE school_club_team = "oregon state"


Question: Which player is Andre Owens in Year for Jazz?

Context: CREATE TABLE table_name_38 (years_for_jazz VARCHAR, player VARCHAR)

SELECT years_for_jazz FROM table_name_38 WHERE player = "andre owens"


Question: What is the Year for Jazz club of Houston?

Context: CREATE TABLE table_name_54 (years_for_jazz VARCHAR, school_club_team VARCHAR)

SELECT years_for_jazz FROM table_name_54 WHERE school_club_team = "houston"


Question: What is position does Dan O'Sullivan play?

Context: CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR)

SELECT position FROM table_name_58 WHERE player = "dan o'sullivan"


Question: What position in the club team of Kansas?

Context: CREATE TABLE table_name_21 (position VARCHAR, school_club_team VARCHAR)

SELECT position FROM table_name_21 WHERE school_club_team = "kansas"


Question: Who is the center position of Years for Jazz, Greg Ostertag?

Context: CREATE TABLE table_name_43 (years_for_jazz VARCHAR, position VARCHAR, player VARCHAR)

SELECT years_for_jazz FROM table_name_43 WHERE position = "center" AND player = "greg ostertag"


Question: What is the Date for the Away team University?

Context: CREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_73 WHERE away_team = "university"


Question: What is the Home team score at junction oval?

Context: CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_19 WHERE venue = "junction oval"


Question: What Date did the Home team play in essendon?

Context: CREATE TABLE table_name_48 (date VARCHAR, home_team VARCHAR)

SELECT date FROM table_name_48 WHERE home_team = "essendon"


Question: What country has OF-1 Locotenent?

Context: CREATE TABLE table_name_1 (country VARCHAR, of_1 VARCHAR)

SELECT country FROM table_name_1 WHERE of_1 = "locotenent"


Question: What country has OF-1 Locotenent?

Context: CREATE TABLE table_name_40 (country VARCHAR, of_1 VARCHAR)

SELECT country FROM table_name_40 WHERE of_1 = "locotenent"


Question: Which OF-5 is in Ghana?

Context: CREATE TABLE table_name_48 (of_5 VARCHAR, country VARCHAR)

SELECT of_5 FROM table_name_48 WHERE country = "ghana"


Question: What is the OF-4 of Albania?

Context: CREATE TABLE table_name_47 (of_4 VARCHAR, country VARCHAR)

SELECT of_4 FROM table_name_47 WHERE country = "albania"


Question: What is the total pick numbers for the CFL team Edmonton Eskimos?

Context: CREATE TABLE table_name_79 (pick__number INTEGER, cfl_team VARCHAR)

SELECT SUM(pick__number) FROM table_name_79 WHERE cfl_team = "edmonton eskimos"


Question: What p;layer attended Concordia College?

Context: CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR)

SELECT player FROM table_name_40 WHERE college = "concordia"


Question: What is the total number of picks for the position of OL?

Context: CREATE TABLE table_name_87 (pick__number INTEGER, position VARCHAR)

SELECT SUM(pick__number) FROM table_name_87 WHERE position = "ol"


Question: Name the highest week for result of w 38-13

Context: CREATE TABLE table_name_7 (week INTEGER, result VARCHAR)

SELECT MAX(week) FROM table_name_7 WHERE result = "w 38-13"


Question: I want to know the date with attendance of 35,763

Context: CREATE TABLE table_name_88 (date VARCHAR, attendance VARCHAR)

SELECT date FROM table_name_88 WHERE attendance = "35,763"


Question: Which series with a total of 27 albums did Dargaud edit?

Context: CREATE TABLE table_name_39 (series VARCHAR, editor VARCHAR, albums VARCHAR)

SELECT series FROM table_name_39 WHERE editor = "dargaud" AND albums = "27"


Question: What years did the magazine Vaillant and Pif run?

Context: CREATE TABLE table_name_78 (years VARCHAR, magazine VARCHAR)

SELECT years FROM table_name_78 WHERE magazine = "vaillant and pif"


Question: What state is susana martinez from?

Context: CREATE TABLE table_name_72 (state VARCHAR, current_governor VARCHAR)

SELECT state FROM table_name_72 WHERE current_governor = "susana martinez"


Question: What is the Home team score when away team is hawthorn?

Context: CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_70 WHERE away_team = "hawthorn"


Question: What league is ordabasy-2 in?

Context: CREATE TABLE table_name_64 (league VARCHAR, team VARCHAR)

SELECT league FROM table_name_64 WHERE team = "ordabasy-2"


Question: On what date was Richmond hosted as the away team?

Context: CREATE TABLE table_name_50 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_50 WHERE away_team = "richmond"


Question: Tell me the Hindu with Jewish of source: uk 2001 census

Context: CREATE TABLE table_name_87 (hindu VARCHAR, jewish VARCHAR)

SELECT hindu FROM table_name_87 WHERE jewish = "source: uk 2001 census"


Question: Tell me the ethnic group for jewish of 0.47%

Context: CREATE TABLE table_name_77 (ethnic_group VARCHAR, jewish VARCHAR)

SELECT ethnic_group FROM table_name_77 WHERE jewish = "0.47%"


Question: Tell me the Hindu for ethnic group for white irish

Context: CREATE TABLE table_name_4 (hindu VARCHAR, ethnic_group VARCHAR)

SELECT hindu FROM table_name_4 WHERE ethnic_group = "white irish"


Question: Name the ethnic group with a buddhist of 0.19%

Context: CREATE TABLE table_name_94 (ethnic_group VARCHAR, buddhist VARCHAR)

SELECT ethnic_group FROM table_name_94 WHERE buddhist = "0.19%"


Question: What was the attendance of week 8?

Context: CREATE TABLE table_name_24 (attendance VARCHAR, week VARCHAR)

SELECT attendance FROM table_name_24 WHERE week = 8


Question: Who was the opponent of carlton at their home game?

Context: CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_95 WHERE home_team = "carlton"


Question: Tell me the result for 3 goals

Context: CREATE TABLE table_name_46 (result VARCHAR, goal VARCHAR)

SELECT result FROM table_name_46 WHERE goal = 3


Question: Name the score for november 16

Context: CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR)

SELECT score FROM table_name_8 WHERE date = "november 16"


Question: What is the Away Team Score of the Hawthorn Home Team?

Context: CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team AS score FROM table_name_6 WHERE home_team = "hawthorn"


Question: What is the Away Team Score of the Collingwood Home Team?

Context: CREATE TABLE table_name_26 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_26 WHERE away_team = "collingwood"


Question: What Away Team's venue is Arden Street Oval?

Context: CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR)

SELECT away_team FROM table_name_45 WHERE venue = "arden street oval"


Question: Name the least Laps for accident and gird more than 13

Context: CREATE TABLE table_name_41 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)

SELECT MIN(laps) FROM table_name_41 WHERE time_retired = "accident" AND grid > 13


Question: Tell me the lowest Grid for engine and driver of emerson fittipaldi with more laps than 70

Context: CREATE TABLE table_name_83 (grid INTEGER, laps VARCHAR, time_retired VARCHAR, driver VARCHAR)

SELECT MIN(grid) FROM table_name_83 WHERE time_retired = "engine" AND driver = "emerson fittipaldi" AND laps > 70


Question: In what venue was the away team South Melbourne?

Context: CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)

SELECT venue FROM table_name_62 WHERE away_team = "south melbourne"


Question: Where did the away team Carlton play?

Context: CREATE TABLE table_name_2 (venue VARCHAR, away_team VARCHAR)

SELECT venue FROM table_name_2 WHERE away_team = "carlton"


Question: What home team played against Richmond?

Context: CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_73 WHERE away_team = "richmond"


Question: What is the smallest crowd size for punt road oval?

Context: CREATE TABLE table_name_68 (crowd INTEGER, venue VARCHAR)

SELECT MIN(crowd) FROM table_name_68 WHERE venue = "punt road oval"


Question: Which Number of people 1991 has a Percent of Slovenes 1991 of 14.4%?

Context: CREATE TABLE table_name_67 (number_of_people_1991 INTEGER, percent_of_slovenes_1991 VARCHAR)

SELECT MAX(number_of_people_1991) FROM table_name_67 WHERE percent_of_slovenes_1991 = "14.4%"


Question: Which Percent of Slovenes 1951 has a Number of people 1991 larger than 8, and a Village (German) of plöschenberg?

Context: CREATE TABLE table_name_60 (percent_of_slovenes_1951 VARCHAR, number_of_people_1991 VARCHAR, village__german_ VARCHAR)

SELECT percent_of_slovenes_1951 FROM table_name_60 WHERE number_of_people_1991 > 8 AND village__german_ = "plöschenberg"


Question: Where was Collingwood's away game played?

Context: CREATE TABLE table_name_3 (venue VARCHAR, away_team VARCHAR)

SELECT venue FROM table_name_3 WHERE away_team = "collingwood"


Question: What was the away team's score at Western Oval?

Context: CREATE TABLE table_name_74 (away_team VARCHAR, venue VARCHAR)

SELECT away_team AS score FROM table_name_74 WHERE venue = "western oval"


Question: When did Collingwood play an away game?

Context: CREATE TABLE table_name_53 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_53 WHERE away_team = "collingwood"


Question: What team is based at junction oval?

Context: CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_66 WHERE venue = "junction oval"


Question: What is the team set at junction oval?

Context: CREATE TABLE table_name_68 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_68 WHERE venue = "junction oval"


Question: What driver has a grid under 12 with a Time/Retired of + 3 laps?

Context: CREATE TABLE table_name_87 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)

SELECT driver FROM table_name_87 WHERE grid < 12 AND time_retired = "+ 3 laps"


Question: What is the high grid for osella - alfa romeo, and a Laps larger than 61?

Context: CREATE TABLE table_name_56 (grid INTEGER, constructor VARCHAR, laps VARCHAR)

SELECT MAX(grid) FROM table_name_56 WHERE constructor = "osella - alfa romeo" AND laps > 61


Question: How many picks does Matt Moran have altogether after round 6?

Context: CREATE TABLE table_name_72 (pick VARCHAR, name VARCHAR, round VARCHAR)

SELECT COUNT(pick) FROM table_name_72 WHERE name = "matt moran" AND round > 6


Question: What position after round 8 has a pick less than 270?

Context: CREATE TABLE table_name_67 (position VARCHAR, round VARCHAR, pick VARCHAR)

SELECT position FROM table_name_67 WHERE round > 8 AND pick < 270


Question: What is the total number of rounds that UCLA has?

Context: CREATE TABLE table_name_41 (round VARCHAR, school VARCHAR)

SELECT COUNT(round) FROM table_name_41 WHERE school = "ucla"


Question: What is the lowest round for Georgia Tech?

Context: CREATE TABLE table_name_2 (round INTEGER, school VARCHAR)

SELECT MIN(round) FROM table_name_2 WHERE school = "georgia tech"


Question: What is the average round for Georgia Tech with a pick greater than 103?

Context: CREATE TABLE table_name_81 (round INTEGER, school VARCHAR, pick VARCHAR)

SELECT AVG(round) FROM table_name_81 WHERE school = "georgia tech" AND pick > 103


Question: Which player is featured for 2001-2002?

Context: CREATE TABLE table_name_28 (player VARCHAR, year VARCHAR)

SELECT player FROM table_name_28 WHERE year = "2001-2002"


Question: Which player is from Queens, NY?

Context: CREATE TABLE table_name_77 (player VARCHAR, hometown VARCHAR)

SELECT player FROM table_name_77 WHERE hometown = "queens, ny"


Question: Where did Maya Moore attend school?

Context: CREATE TABLE table_name_6 (school VARCHAR, player VARCHAR)

SELECT school FROM table_name_6 WHERE player = "maya moore"


Question: What is the difference with a loss smaller than 5 and points lower than 32?

Context: CREATE TABLE table_name_50 (diff VARCHAR, lost VARCHAR, points VARCHAR)

SELECT COUNT(diff) FROM table_name_50 WHERE lost < 5 AND points < 32


Question: Which loss had a player lower than 18?

Context: CREATE TABLE table_name_63 (lost INTEGER, played INTEGER)

SELECT MIN(lost) FROM table_name_63 WHERE played < 18


Question: Who won the 2012 game that had a score of 15–0?

Context: CREATE TABLE table_name_88 (winner VARCHAR, year VARCHAR, result VARCHAR)

SELECT winner FROM table_name_88 WHERE year = 2012 AND result = "15–0"


Question: Tell me the week for result of l 31-27, and an Attendance smaller than 85,865

Context: CREATE TABLE table_name_99 (week INTEGER, result VARCHAR, attendance VARCHAR)

SELECT AVG(week) FROM table_name_99 WHERE result = "l 31-27" AND attendance < 85 OFFSET 865


Question: Who had notes of Prizzi's Honor?

Context: CREATE TABLE table_name_72 (director VARCHAR, notes VARCHAR)

SELECT director FROM table_name_72 WHERE notes = "prizzi's honor"


Question: What Superlative had a record set of 12 nominations?

Context: CREATE TABLE table_name_23 (superlative VARCHAR, record_set VARCHAR)

SELECT superlative FROM table_name_23 WHERE record_set = "12 nominations"


Question: What is the highest number of laps completed by driver Joe Nemechek?

Context: CREATE TABLE table_name_3 (laps INTEGER, driver VARCHAR)

SELECT MAX(laps) FROM table_name_3 WHERE driver = "joe nemechek"


Question: What is the home team score when they played at Victoria Park?

Context: CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_7 WHERE venue = "victoria park"


Question: What was the venue when the home team was Fitzroy?

Context: CREATE TABLE table_name_76 (venue VARCHAR, home_team VARCHAR)

SELECT venue FROM table_name_76 WHERE home_team = "fitzroy"


Question: What is the date for proposed for revere textile prints corporation

Context: CREATE TABLE table_name_40 (proposed VARCHAR, name VARCHAR)

SELECT proposed FROM table_name_40 WHERE name = "revere textile prints corporation"


Question: What is the deleted for tolland?

Context: CREATE TABLE table_name_71 (deleted VARCHAR, county VARCHAR)

SELECT deleted FROM table_name_71 WHERE county = "tolland"


Question: What is the away side score when hawthorn is the home side?

Context: CREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team AS score FROM table_name_93 WHERE home_team = "hawthorn"


Question: What is the average lap total for grids under 19 and a Time/Retired of +4 laps?

Context: CREATE TABLE table_name_63 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)

SELECT AVG(laps) FROM table_name_63 WHERE time_retired = "+4 laps" AND grid < 19


Question: Who drive over 43 laps in grid 5?

Context: CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR, grid VARCHAR)

SELECT driver FROM table_name_66 WHERE laps > 43 AND grid = 5


Question: Which Away team score has a Venue of princes park?

Context: CREATE TABLE table_name_7 (away_team VARCHAR, venue VARCHAR)

SELECT away_team AS score FROM table_name_7 WHERE venue = "princes park"


Question: Which Away team score has a Home team of melbourne?

Context: CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team AS score FROM table_name_17 WHERE home_team = "melbourne"


Question: What genre is revolving doors of vengeance 酒店風雲?

Context: CREATE TABLE table_name_30 (genre VARCHAR, english_title__chinese_title_ VARCHAR)

SELECT genre FROM table_name_30 WHERE english_title__chinese_title_ = "revolving doors of vengeance 酒店風雲"


Question: What is the english title of the modern drama, episode 20, that airs on 26 sep- 21 oct?

Context: CREATE TABLE table_name_82 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR, genre VARCHAR, number_of_episodes VARCHAR)

SELECT english_title__chinese_title_ FROM table_name_82 WHERE genre = "modern drama" AND number_of_episodes = 20 AND airing_date = "26 sep- 21 oct"


Question: What is the D48 when the D 50 O is d 31?

Context: CREATE TABLE table_name_67 (d_48_√ VARCHAR, d_50_o VARCHAR)

SELECT d_48_√ FROM table_name_67 WHERE d_50_o = "d 31"


Question: What was Catalogue tojp 60121-22's Date?

Context: CREATE TABLE table_name_67 (date VARCHAR, catalogue VARCHAR)

SELECT date FROM table_name_67 WHERE catalogue = "tojp 60121-22"


Question: What was the Date of Country of United States?

Context: CREATE TABLE table_name_97 (date VARCHAR, country VARCHAR)

SELECT date FROM table_name_97 WHERE country = "united states"


Question: What Catalogue is Dated 14 november 2003, with the Format compact disc?

Context: CREATE TABLE table_name_47 (catalogue VARCHAR, date VARCHAR, format VARCHAR)

SELECT catalogue FROM table_name_47 WHERE date = "14 november 2003" AND format = "compact disc"


Question: What is the Label for Date of 14 November 2003, and Catalogue tojp 60121-22?

Context: CREATE TABLE table_name_70 (label VARCHAR, date VARCHAR, catalogue VARCHAR)

SELECT label FROM table_name_70 WHERE date = "14 november 2003" AND catalogue = "tojp 60121-22"


Question: What Label was Catalogued tojp 60121-22?

Context: CREATE TABLE table_name_83 (label VARCHAR, catalogue VARCHAR)

SELECT label FROM table_name_83 WHERE catalogue = "tojp 60121-22"


Question: What is the record for Norway on 23 august 1981?

Context: CREATE TABLE table_name_56 (record VARCHAR, nationality VARCHAR, date VARCHAR)

SELECT record FROM table_name_56 WHERE nationality = "norway" AND date = "23 august 1981"


Question: What is the record for the 20000 m walk?

Context: CREATE TABLE table_name_12 (record VARCHAR, event VARCHAR)

SELECT record FROM table_name_12 WHERE event = "20000 m walk"


Question: When was the Bye week?

Context: CREATE TABLE table_name_62 (date VARCHAR, result VARCHAR)

SELECT date FROM table_name_62 WHERE result = "bye"


Question: Which Open 2nd VIII had a U15 6th Quad of BGS and a U16 1st VII of TSS?

Context: CREATE TABLE table_name_5 (open_2nd_viii VARCHAR, u15_6th_quad VARCHAR, u16_1st_viii VARCHAR)

SELECT open_2nd_viii FROM table_name_5 WHERE u15_6th_quad = "bgs" AND u16_1st_viii = "tss"


Question: What U15 3rd Quad has a U15 2nd Quad of ACGS?

Context: CREATE TABLE table_name_89 (u15_3rd_quad VARCHAR, u15_2nd_quad VARCHAR)

SELECT u15_3rd_quad FROM table_name_89 WHERE u15_2nd_quad = "acgs"


Question: Which U15 4th Quad had a U15 3rd Quad of BBC and U15 6th Quad of GT?

Context: CREATE TABLE table_name_68 (u15_4th_quad VARCHAR, u15_3rd_quad VARCHAR, u15_6th_quad VARCHAR)

SELECT u15_4th_quad FROM table_name_68 WHERE u15_3rd_quad = "bbc" AND u15_6th_quad = "gt"


Question: Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC?

Context: CREATE TABLE table_name_37 (u15_1st_quad VARCHAR, open_3rd_viii VARCHAR, u16_3rd_viii VARCHAR)

SELECT u15_1st_quad FROM table_name_37 WHERE open_3rd_viii = "bbc" AND u16_3rd_viii = "bbc"


Question: What was the nationality of the athlete with a final result of 4.50?

Context: CREATE TABLE table_name_92 (nationality VARCHAR, result VARCHAR)

SELECT nationality FROM table_name_92 WHERE result = "4.50"


Question: What was the athlete with a final result of 4.30?

Context: CREATE TABLE table_name_48 (athlete VARCHAR, result VARCHAR)

SELECT athlete FROM table_name_48 WHERE result = "4.30"


Question: Which country has the Highest mountain of rettlkirchspitze?

Context: CREATE TABLE table_name_68 (country VARCHAR, highest_mountain VARCHAR)

SELECT country FROM table_name_68 WHERE highest_mountain = "rettlkirchspitze"


Question: What is the average height with the Highest mountain of hochgall?

Context: CREATE TABLE table_name_54 (height__m_ INTEGER, highest_mountain VARCHAR)

SELECT AVG(height__m_) FROM table_name_54 WHERE highest_mountain = "hochgall"


Question: What US Country released an album of singles only in 1967?

Context: CREATE TABLE table_name_30 (us_country VARCHAR, album VARCHAR, year VARCHAR)

SELECT us_country FROM table_name_30 WHERE album = "singles only" AND year = 1967


Question: What was the best album in 1965?

Context: CREATE TABLE table_name_13 (us VARCHAR, album VARCHAR, year VARCHAR)

SELECT us AS AC FROM table_name_13 WHERE album = "the best" AND year = 1965


Question: What is the result of the fight that had a tko (low kicks)?

Context: CREATE TABLE table_name_98 (result VARCHAR, method VARCHAR)

SELECT result FROM table_name_98 WHERE method = "tko (low kicks)"


Question: What event went under 3 rounds and was no contest (punch after knockdown)?

Context: CREATE TABLE table_name_74 (event VARCHAR, round VARCHAR, method VARCHAR)

SELECT event FROM table_name_74 WHERE round < 3 AND method = "no contest (punch after knockdown)"


Question: What event was in hong kong and went less than 2 rounds?

Context: CREATE TABLE table_name_66 (event VARCHAR, round VARCHAR, location VARCHAR)

SELECT event FROM table_name_66 WHERE round < 2 AND location = "hong kong"


Question: How many rounds was the fight against carter williams?

Context: CREATE TABLE table_name_2 (round VARCHAR, opponent VARCHAR)

SELECT round FROM table_name_2 WHERE opponent = "carter williams"


Question: In rounds 7-13 what engine was featured?

Context: CREATE TABLE table_name_58 (engine VARCHAR, rounds VARCHAR)

SELECT engine FROM table_name_58 WHERE rounds = "7-13"


Question: What score was conceded by Richmond?

Context: CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team AS score FROM table_name_94 WHERE home_team = "richmond"


Question: What is the number of Goals on 1950-05-30?

Context: CREATE TABLE table_name_63 (goals VARCHAR, date VARCHAR)

SELECT COUNT(goals) FROM table_name_63 WHERE date = "1950-05-30"


Question: In 1948-10-28, what were the lowest Goals in Tehran, Iran?

Context: CREATE TABLE table_name_75 (goals INTEGER, venue VARCHAR, date VARCHAR)

SELECT MIN(goals) FROM table_name_75 WHERE venue = "tehran, iran" AND date = "1948-10-28"


Question: In what Venue was the Result 1-3?

Context: CREATE TABLE table_name_16 (venue VARCHAR, result VARCHAR)

SELECT venue FROM table_name_16 WHERE result = "1-3"


Question: In 1948-10-28, in what Venue was the Competition of International Match held?

Context: CREATE TABLE table_name_26 (venue VARCHAR, competition VARCHAR, date VARCHAR)

SELECT venue FROM table_name_26 WHERE competition = "international match" AND date = "1948-10-28"


Question: What was the Zakspeed 1500/4 1.5 l4 t chassis?

Context: CREATE TABLE table_name_42 (chassis VARCHAR, engine VARCHAR)

SELECT chassis FROM table_name_42 WHERE engine = "zakspeed 1500/4 1.5 l4 t"


Question: What was the Michele Alboreto's engine?

Context: CREATE TABLE table_name_22 (engine VARCHAR, driver VARCHAR)

SELECT engine FROM table_name_22 WHERE driver = "michele alboreto"


Question: What is the average rank for antun salman?

Context: CREATE TABLE table_name_26 (rank INTEGER, candidate_name VARCHAR)

SELECT AVG(rank) FROM table_name_26 WHERE candidate_name = "antun salman"


Question: Khalil chawka has a gender of ♂, a religion of ☪, and how many votes?

Context: CREATE TABLE table_name_55 (votes VARCHAR, candidate_name VARCHAR, gender VARCHAR, religion VARCHAR)

SELECT votes FROM table_name_55 WHERE gender = "♂" AND religion = "☪" AND candidate_name = "khalil chawka"


Question: Who has a religion of ☪ and more than 1853 votes?

Context: CREATE TABLE table_name_66 (candidate_name VARCHAR, votes VARCHAR, religion VARCHAR)

SELECT candidate_name FROM table_name_66 WHERE votes > 1853 AND religion = "☪"


Question: What is the recorder has a Track more than 11 with a time 3:06

Context: CREATE TABLE table_name_77 (recorded VARCHAR, track VARCHAR, time VARCHAR)

SELECT recorded FROM table_name_77 WHERE track > 11 AND time = "3:06"


Question: Which track has a title : Just a little bit

Context: CREATE TABLE table_name_64 (track INTEGER, song_title VARCHAR)

SELECT MIN(track) FROM table_name_64 WHERE song_title = "just a little bit"


Question: What is the Trophy with a Season with 2008–2009?

Context: CREATE TABLE table_name_78 (trophy VARCHAR, season VARCHAR)

SELECT trophy FROM table_name_78 WHERE season = "2008–2009"


Question: What Wasatch time corresponds to a total time of 122:13:40?

Context: CREATE TABLE table_name_31 (wasatch VARCHAR, total_time VARCHAR)

SELECT wasatch FROM table_name_31 WHERE total_time = "122:13:40"


Question: Who were the opponents in the final on 9 January 1994?

Context: CREATE TABLE table_name_29 (opponents_in_final VARCHAR, date VARCHAR)

SELECT opponents_in_final FROM table_name_29 WHERE date = "9 january 1994"


Question: Who was Melbourne's home team opponent?

Context: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_90 WHERE away_team = "melbourne"


Question: Who was Richmond's away team opponent?

Context: CREATE TABLE table_name_10 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_10 WHERE home_team = "richmond"


Question: What is the smallest value for League Cup when the League number is greater than 1, no FA Cups, and Brian Deane scoring?

Context: CREATE TABLE table_name_88 (league INTEGER, fa_cup VARCHAR, name VARCHAR)

SELECT MIN(league) AS Cup FROM table_name_88 WHERE league > 1 AND name = "brian deane" AND fa_cup < 1


Question: Name the region before 2008 when name of best 1200

Context: CREATE TABLE table_name_58 (region VARCHAR, year VARCHAR, name VARCHAR)

SELECT region FROM table_name_58 WHERE year < 2008 AND name = "best 1200"


Question: What method resulted in a win and a time of 4:36?

Context: CREATE TABLE table_name_44 (method VARCHAR, res VARCHAR, time VARCHAR)

SELECT method FROM table_name_44 WHERE res = "win" AND time = "4:36"


Question: At what venue did the Essendon team play as an away team?

Context: CREATE TABLE table_name_92 (venue VARCHAR, away_team VARCHAR)

SELECT venue FROM table_name_92 WHERE away_team = "essendon"


Question: Who was the home team for the game played at Junction Oval?

Context: CREATE TABLE table_name_98 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_98 WHERE venue = "junction oval"


Question: What was the score of the home team when the away team was Geelong?

Context: CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_59 WHERE away_team = "geelong"


Question: What was the away team when the home team was South Melbourne?

Context: CREATE TABLE table_name_77 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_77 WHERE home_team = "south melbourne"


Question: What was the name of the home team playing at the Junction Oval venue?

Context: CREATE TABLE table_name_10 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_10 WHERE venue = "junction oval"


Question: What is the total number of the established club of Lehigh Valley Storm?

Context: CREATE TABLE table_name_86 (established VARCHAR, club VARCHAR)

SELECT COUNT(established) FROM table_name_86 WHERE club = "lehigh valley storm"


Question: What is the name of a league in the sport of baseball?

Context: CREATE TABLE table_name_96 (league VARCHAR, sport VARCHAR)

SELECT league FROM table_name_96 WHERE sport = "baseball"


Question: What venue does the soccer team Pennsylvania Stoners play in?

Context: CREATE TABLE table_name_55 (venue VARCHAR, sport VARCHAR, club VARCHAR)

SELECT venue FROM table_name_55 WHERE sport = "soccer" AND club = "pennsylvania stoners"


Question: What game number was played on March 4?

Context: CREATE TABLE table_name_67 (game__number INTEGER, date VARCHAR)

SELECT AVG(game__number) FROM table_name_67 WHERE date = "march 4"


Question: What is the record when the visitor is Buffalo?

Context: CREATE TABLE table_name_69 (record VARCHAR, visitor VARCHAR)

SELECT record FROM table_name_69 WHERE visitor = "buffalo"


Question: Tell me the number of attendance that has a result of l 35-17

Context: CREATE TABLE table_name_4 (attendance VARCHAR, result VARCHAR)

SELECT COUNT(attendance) FROM table_name_4 WHERE result = "l 35-17"


Question: I want the attendance for week larger than 10 and result of l 22-21

Context: CREATE TABLE table_name_60 (attendance VARCHAR, week VARCHAR, result VARCHAR)

SELECT attendance FROM table_name_60 WHERE week > 10 AND result = "l 22-21"


Question: Name for me the total number in attendance for week before 2 and result of t 24-24

Context: CREATE TABLE table_name_60 (attendance VARCHAR, result VARCHAR, week VARCHAR)

SELECT COUNT(attendance) FROM table_name_60 WHERE result = "t 24-24" AND week < 2


Question: I want the greatest attendance when the opponent is the chicago bears

Context: CREATE TABLE table_name_64 (attendance INTEGER, opponent VARCHAR)

SELECT MAX(attendance) FROM table_name_64 WHERE opponent = "chicago bears"


Question: What is the average attendance for a game against Phoenix?

Context: CREATE TABLE table_name_16 (attendance INTEGER, visitor VARCHAR)

SELECT AVG(attendance) FROM table_name_16 WHERE visitor = "phoenix"


Question: What was the home team in the February 22 game that Legace played in for the St. Louis Blues?

Context: CREATE TABLE table_name_78 (home VARCHAR, date VARCHAR, decision VARCHAR, visitor VARCHAR)

SELECT home FROM table_name_78 WHERE decision = "legace" AND visitor = "st. louis" AND date = "february 22"


Question: Who was Carlton's home team opponent?

Context: CREATE TABLE table_name_65 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_65 WHERE away_team = "carlton"


Question: Who was the away team at Lake Oval?

Context: CREATE TABLE table_name_68 (away_team VARCHAR, venue VARCHAR)

SELECT away_team AS score FROM table_name_68 WHERE venue = "lake oval"


Question: Who was South Melbourne's away team opponent?

Context: CREATE TABLE table_name_8 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_8 WHERE home_team = "south melbourne"


Question: What is the high grid with 27 laps?

Context: CREATE TABLE table_name_89 (grid INTEGER, laps VARCHAR)

SELECT MAX(grid) FROM table_name_89 WHERE laps = 27


Question: What is the high grid that has a Time/Retired of +6 laps, and under 69 laps?

Context: CREATE TABLE table_name_4 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)

SELECT MAX(grid) FROM table_name_4 WHERE time_retired = "+6 laps" AND laps < 69


Question: What's the total number of copies sold for the single that sold 206,030 in the first week?

Context: CREATE TABLE table_name_43 (copies_sold VARCHAR, first_week_sales VARCHAR)

SELECT COUNT(copies_sold) FROM table_name_43 WHERE first_week_sales = 206 OFFSET 030


Question: What was the latest release date for Ariola in Spain?

Context: CREATE TABLE table_name_3 (release_date INTEGER, label VARCHAR, country VARCHAR)

SELECT MAX(release_date) FROM table_name_3 WHERE label = "ariola" AND country = "spain"


Question: What type of format was released after 1979?

Context: CREATE TABLE table_name_48 (release_format VARCHAR, release_date INTEGER)

SELECT release_format FROM table_name_48 WHERE release_date > 1979


Question: On what date did Epic label start its release?

Context: CREATE TABLE table_name_3 (release_date INTEGER, label VARCHAR)

SELECT SUM(release_date) FROM table_name_3 WHERE label = "epic"


Question: Which game had less than 270 rebounds and a rank lower than 5?

Context: CREATE TABLE table_name_36 (games VARCHAR, rebounds VARCHAR, rank VARCHAR)

SELECT games FROM table_name_36 WHERE rebounds < 270 AND rank < 5


Question: Which game did Curtis Borchardt play with more than 274 rebounds?

Context: CREATE TABLE table_name_20 (games INTEGER, name VARCHAR, rebounds VARCHAR)

SELECT SUM(games) FROM table_name_20 WHERE name = "curtis borchardt" AND rebounds > 274


Question: In game 34 Curtis Borchardt played on which team with less than 275 rebounds?

Context: CREATE TABLE table_name_70 (team VARCHAR, name VARCHAR, rebounds VARCHAR, games VARCHAR)

SELECT team FROM table_name_70 WHERE rebounds < 275 AND games < 34 AND name = "curtis borchardt"


Question: How many rebounds occurred in a rank 4 game?

Context: CREATE TABLE table_name_73 (rebounds VARCHAR, rank VARCHAR)

SELECT rebounds FROM table_name_73 WHERE rank = 4


Question: Which game did was Bud Eley a player in?

Context: CREATE TABLE table_name_88 (games VARCHAR, name VARCHAR)

SELECT games FROM table_name_88 WHERE name = "bud eley"


Question: Which game did Bruesa GBC play in with fewer than 275 rebounds that is ranked less than 4?

Context: CREATE TABLE table_name_80 (games INTEGER, team VARCHAR, rank VARCHAR, rebounds VARCHAR)

SELECT SUM(games) FROM table_name_80 WHERE rank < 4 AND rebounds < 275 AND team = "bruesa gbc"


Question: What is the grid for johnny herbert?

Context: CREATE TABLE table_name_6 (grid VARCHAR, driver VARCHAR)

SELECT grid FROM table_name_6 WHERE driver = "johnny herbert"


Question: Tell me the average rank for dharma productions before 2013

Context: CREATE TABLE table_name_43 (rank INTEGER, studio_s_ VARCHAR, year VARCHAR)

SELECT AVG(rank) FROM table_name_43 WHERE studio_s_ = "dharma productions" AND year < 2013


Question: Name the average year for 4 rank

Context: CREATE TABLE table_name_33 (year INTEGER, rank VARCHAR)

SELECT AVG(year) FROM table_name_33 WHERE rank = 4


Question: Name the lowest rank for red chillies entertainment for 2013

Context: CREATE TABLE table_name_99 (rank INTEGER, year VARCHAR, studio_s_ VARCHAR)

SELECT MIN(rank) FROM table_name_99 WHERE year = 2013 AND studio_s_ = "red chillies entertainment"


Question: Which date did richmond play as away?

Context: CREATE TABLE table_name_27 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_27 WHERE away_team = "richmond"


Question: What is the rank for the player with 5 wins and under 32 events?

Context: CREATE TABLE table_name_52 (rank INTEGER, wins VARCHAR, events VARCHAR)

SELECT SUM(rank) FROM table_name_52 WHERE wins = 5 AND events < 32


Question: What is the issue price of a Year 2000 coin by artist John Mardon of the Included in Steam Buggy mintage.

Context: CREATE TABLE table_name_46 (issue_price VARCHAR, mintage VARCHAR, artist VARCHAR, year VARCHAR)

SELECT issue_price FROM table_name_46 WHERE artist = "john mardon" AND year = 2000 AND mintage = "included in steam buggy"


Question: What is the theme of the Year 2002 which was created by Artist Dan Fell?

Context: CREATE TABLE table_name_86 (theme VARCHAR, year VARCHAR, artist VARCHAR)

SELECT theme FROM table_name_86 WHERE year = 2002 AND artist = "dan fell"


Question: What artist had a mintage of 41,828 before year 2002?

Context: CREATE TABLE table_name_81 (artist VARCHAR, year VARCHAR, mintage VARCHAR)

SELECT artist FROM table_name_81 WHERE year < 2002 AND mintage = "41,828"


Question: A mintage of 31,997 has what issue price?

Context: CREATE TABLE table_name_36 (issue_price VARCHAR, mintage VARCHAR)

SELECT issue_price FROM table_name_36 WHERE mintage = "31,997"


Question: Tell me the control trailers for 52 motors

Context: CREATE TABLE table_name_71 (Control VARCHAR, motors VARCHAR)

SELECT Control AS trailers FROM table_name_71 WHERE motors = "52"


Question: I want the trailers for 1931 and builder of mccw

Context: CREATE TABLE table_name_48 (trailers VARCHAR, year VARCHAR, builder VARCHAR)

SELECT trailers FROM table_name_48 WHERE year = "1931" AND builder = "mccw"


Question: I want the control trailers for 1931 with builder of grcw

Context: CREATE TABLE table_name_45 (Control VARCHAR, year VARCHAR, builder VARCHAR)

SELECT Control AS trailers FROM table_name_45 WHERE year = "1931" AND builder = "grcw"


Question: I want the trailers for motors of 145

Context: CREATE TABLE table_name_92 (trailers VARCHAR, motors VARCHAR)

SELECT trailers FROM table_name_92 WHERE motors = "145"


Question: Tell me the sum of wins for top 5 less than 1

Context: CREATE TABLE table_name_77 (wins INTEGER, top_5 INTEGER)

SELECT SUM(wins) FROM table_name_77 WHERE top_5 < 1


Question: I want the average events for top 10 less than 4

Context: CREATE TABLE table_name_17 (events INTEGER, top_10 INTEGER)

SELECT AVG(events) FROM table_name_17 WHERE top_10 < 4


Question: Name the highest cuts made when top 5 is less than 3 and top ten is more than 4

Context: CREATE TABLE table_name_99 (cuts_made INTEGER, top_5 VARCHAR, top_10 VARCHAR)

SELECT MAX(cuts_made) FROM table_name_99 WHERE top_5 < 3 AND top_10 > 4


Question: I want the most top 25 when events are more than 20 and top 10 is more than 21

Context: CREATE TABLE table_name_84 (top_25 INTEGER, events VARCHAR, top_10 VARCHAR)

SELECT MAX(top_25) FROM table_name_84 WHERE events > 20 AND top_10 > 21


Question: What was the Attendance on April 28?

Context: CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR)

SELECT SUM(attendance) FROM table_name_40 WHERE date = "april 28"


Question: What was escape to river cottage released?

Context: CREATE TABLE table_name_64 (released VARCHAR, dvd_name VARCHAR)

SELECT released FROM table_name_64 WHERE dvd_name = "escape to river cottage"


Question: What DVD has a time of 2 hours 22 minutes?

Context: CREATE TABLE table_name_61 (dvd_name VARCHAR, duration VARCHAR)

SELECT dvd_name FROM table_name_61 WHERE duration = "2 hours 22 minutes"


Question: What was the date for the game in week 7?

Context: CREATE TABLE table_name_14 (date VARCHAR, week VARCHAR)

SELECT date FROM table_name_14 WHERE week = 7


Question: On what date was the attendance of the crowd 78,431?

Context: CREATE TABLE table_name_54 (date VARCHAR, attendance VARCHAR)

SELECT date FROM table_name_54 WHERE attendance = "78,431"


Question: What was the date of the Capitals game when Columbus was the home team?

Context: CREATE TABLE table_name_28 (date VARCHAR, home VARCHAR)

SELECT date FROM table_name_28 WHERE home = "columbus"


Question: The 2002 African Cup of Nations was held on what date?

Context: CREATE TABLE table_name_20 (date VARCHAR, competition VARCHAR)

SELECT date FROM table_name_20 WHERE competition = "2002 african cup of nations"


Question: Which competition took place at Stade Fernand Fournier, Arles?

Context: CREATE TABLE table_name_51 (competition VARCHAR, venue VARCHAR)

SELECT competition FROM table_name_51 WHERE venue = "stade fernand fournier, arles"


Question: What was the attendance of the game where fitzroy was the away team?

Context: CREATE TABLE table_name_83 (crowd VARCHAR, away_team VARCHAR)

SELECT COUNT(crowd) FROM table_name_83 WHERE away_team = "fitzroy"


Question: Which artist created the silver dollar for the 400th anniversary of Quebec?

Context: CREATE TABLE table_name_80 (artist VARCHAR, theme VARCHAR)

SELECT artist FROM table_name_80 WHERE theme = "400th anniversary of quebec"


Question: Which year did the Royal Canadian Mint Staff create a silver dollar?

Context: CREATE TABLE table_name_25 (year VARCHAR, artist VARCHAR)

SELECT year FROM table_name_25 WHERE artist = "royal canadian mint staff"


Question: How many coins by Suzanne Duranceau were minted?

Context: CREATE TABLE table_name_93 (mintage VARCHAR, artist VARCHAR)

SELECT mintage FROM table_name_93 WHERE artist = "suzanne duranceau"


Question: What was the method for the resolution of nc where the fight lasted less than 3 rounds?

Context: CREATE TABLE table_name_72 (method VARCHAR, round VARCHAR, res VARCHAR)

SELECT method FROM table_name_72 WHERE round < 3 AND res = "nc"


Question: Who was the opponent during the UFC 90 event with a fight that lasted less than 4 rounds?

Context: CREATE TABLE table_name_95 (opponent VARCHAR, round VARCHAR, event VARCHAR)

SELECT opponent FROM table_name_95 WHERE round < 4 AND event = "ufc 90"


Question: What was the method for the resolution of the fight at UFC 160?

Context: CREATE TABLE table_name_33 (method VARCHAR, event VARCHAR)

SELECT method FROM table_name_33 WHERE event = "ufc 160"


Question: What is the league on 5 October 1997?

Context: CREATE TABLE table_name_48 (league VARCHAR, date VARCHAR)

SELECT league FROM table_name_48 WHERE date = "5 october 1997"


Question: Which season was on 30 October 1977?

Context: CREATE TABLE table_name_50 (season VARCHAR, date VARCHAR)

SELECT season FROM table_name_50 WHERE date = "30 october 1977"


Question: What season had the Roma-Napoli match on 12 September 1993?

Context: CREATE TABLE table_name_1 (season VARCHAR, match VARCHAR, date VARCHAR)

SELECT season FROM table_name_1 WHERE match = "roma-napoli" AND date = "12 september 1993"


Question: What club/province for the player with over 18 caps and plays the fly-half?

Context: CREATE TABLE table_name_28 (club_province VARCHAR, caps VARCHAR, position VARCHAR)

SELECT club_province FROM table_name_28 WHERE caps > 18 AND position = "fly-half"


Question: What driver has less than 18 laps and a grid number under 16?

Context: CREATE TABLE table_name_14 (driver VARCHAR, laps VARCHAR, grid VARCHAR)

SELECT driver FROM table_name_14 WHERE laps < 18 AND grid < 16


Question: Who constructed the car with laps more than 70 and a time/retired of +12.535?

Context: CREATE TABLE table_name_5 (constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)

SELECT constructor FROM table_name_5 WHERE laps > 70 AND time_retired = "+12.535"


Question: What was Alexander Wurz's highest laps when he has a grid less than 14 and a time/retired of +1 lap.

Context: CREATE TABLE table_name_52 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, driver VARCHAR)

SELECT MAX(laps) FROM table_name_52 WHERE time_retired = "+1 lap" AND driver = "alexander wurz" AND grid < 14


Question: Who was Footscray's opponent on June 15th of 1968?

Context: CREATE TABLE table_name_54 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_54 WHERE away_team = "footscray"


Question: What was the most recent year that a team located in Highland Township and a member of the West Division joined the Kensington Lakes Activities Association?

Context: CREATE TABLE table_name_43 (joined INTEGER, division VARCHAR, location VARCHAR)

SELECT MAX(joined) FROM table_name_43 WHERE division = "west" AND location = "highland township"


Question: What was the pole position for the belgian grand prix?

Context: CREATE TABLE table_name_87 (pole_position VARCHAR, race VARCHAR)

SELECT pole_position FROM table_name_87 WHERE race = "belgian grand prix"


Question: Who won the australian grand prix?

Context: CREATE TABLE table_name_53 (race VARCHAR)

SELECT race AS Winner FROM table_name_53 WHERE race = "australian grand prix"


Question: What was the pole position for jerez?

Context: CREATE TABLE table_name_39 (pole_position VARCHAR, location VARCHAR)

SELECT pole_position FROM table_name_39 WHERE location = "jerez"


Question: What is the enzyme involved in the disorder of Ornithine Transcarbamylase deficiency?

Context: CREATE TABLE table_name_66 (enzyme VARCHAR, disorder VARCHAR)

SELECT enzyme FROM table_name_66 WHERE disorder = "ornithine transcarbamylase deficiency"


Question: What lab measurements can help diagnosie ornithine transcarbamylase deficiency?

Context: CREATE TABLE table_name_15 (measurements VARCHAR, disorder VARCHAR)

SELECT measurements FROM table_name_15 WHERE disorder = "ornithine transcarbamylase deficiency"


Question: What is the abbreviation of the enzyme involved in carbamoyl phosphate synthetase i deficiency?

Context: CREATE TABLE table_name_30 (abb VARCHAR, disorder VARCHAR)

SELECT abb FROM table_name_30 WHERE disorder = "carbamoyl phosphate synthetase i deficiency"


Question: what is the venue when the home team is melbourne?

Context: CREATE TABLE table_name_67 (venue VARCHAR, home_team VARCHAR)

SELECT venue FROM table_name_67 WHERE home_team = "melbourne"


Question: what is the date when the home team is st kilda?

Context: CREATE TABLE table_name_26 (date VARCHAR, home_team VARCHAR)

SELECT date FROM table_name_26 WHERE home_team = "st kilda"


Question: what is the date when the venue is junction oval?

Context: CREATE TABLE table_name_47 (date VARCHAR, venue VARCHAR)

SELECT date FROM table_name_47 WHERE venue = "junction oval"


Question: What is the home team score when played at mcg?

Context: CREATE TABLE table_name_24 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_24 WHERE venue = "mcg"


Question: who is the away team when played at junction oval?

Context: CREATE TABLE table_name_41 (away_team VARCHAR, venue VARCHAR)

SELECT away_team FROM table_name_41 WHERE venue = "junction oval"


Question: What is the top speed of the model 1.8 20v t?

Context: CREATE TABLE table_name_84 (top_speed__km_h_ INTEGER, model VARCHAR)

SELECT SUM(top_speed__km_h_) FROM table_name_84 WHERE model = "1.8 20v t"


Question: What is the max torque of model 1.4 16v?

Context: CREATE TABLE table_name_82 (max_torque__nm__at_rpm VARCHAR, model VARCHAR)

SELECT max_torque__nm__at_rpm FROM table_name_82 WHERE model = "1.4 16v"


Question: How many rounds did Ken Wharton go?

Context: CREATE TABLE table_name_64 (rounds VARCHAR, driver VARCHAR)

SELECT rounds FROM table_name_64 WHERE driver = "ken wharton"


Question: What driver has a 166 c 500 chassis?

Context: CREATE TABLE table_name_56 (driver VARCHAR, chassis VARCHAR)

SELECT driver FROM table_name_56 WHERE chassis = "166 c 500"


Question: What is the Onehunga school with a decile 3 and smaller than 310 rolls?

Context: CREATE TABLE table_name_17 (name VARCHAR, area VARCHAR, decile VARCHAR, roll VARCHAR)

SELECT name FROM table_name_17 WHERE decile = "3" AND roll < 310 AND area = "onehunga"


Question: What is the authority status of the school in Ellerslie with a decile of 7?

Context: CREATE TABLE table_name_38 (authority VARCHAR, area VARCHAR, decile VARCHAR)

SELECT authority FROM table_name_38 WHERE area = "ellerslie" AND decile = "7"


Question: What is the biggest roll number of Sylvia Park School, which has a state authority?

Context: CREATE TABLE table_name_12 (roll INTEGER, authority VARCHAR, name VARCHAR)

SELECT MAX(roll) FROM table_name_12 WHERE authority = "state" AND name = "sylvia park school"


Question: What is the name of the school with a decile of 1, a state authority, and located in Otahuhu?

Context: CREATE TABLE table_name_41 (name VARCHAR, area VARCHAR, decile VARCHAR, authority VARCHAR)

SELECT name FROM table_name_41 WHERE decile = "1" AND authority = "state" AND area = "otahuhu"


Question: What is the special notes value for years under 2009?

Context: CREATE TABLE table_name_56 (special_notes VARCHAR, year INTEGER)

SELECT special_notes FROM table_name_56 WHERE year < 2009


Question: How many years have a theme of Toronto Maple Leafs and an Issue Price of 24.95?

Context: CREATE TABLE table_name_39 (year VARCHAR, theme VARCHAR, issue_price VARCHAR)

SELECT COUNT(year) FROM table_name_39 WHERE theme = "toronto maple leafs" AND issue_price = 24.95


Question: Who was the winner for the Winton Motor Raceway circuit?

Context: CREATE TABLE table_name_51 (winner VARCHAR, circuit VARCHAR)

SELECT winner FROM table_name_51 WHERE circuit = "winton motor raceway"


Question: What was the team that held the race title of Mallala?

Context: CREATE TABLE table_name_47 (team VARCHAR, race_title VARCHAR)

SELECT team FROM table_name_47 WHERE race_title = "mallala"


Question: Name the driver for Laps less than 9 and a grid of 13

Context: CREATE TABLE table_name_60 (driver VARCHAR, laps VARCHAR, grid VARCHAR)

SELECT driver FROM table_name_60 WHERE laps < 9 AND grid = 13


Question: Who was the winner in the competition in which the runner-up was Rosenborg?

Context: CREATE TABLE table_name_16 (winners VARCHAR, runners_up VARCHAR)

SELECT winners FROM table_name_16 WHERE runners_up = "rosenborg"


Question: What was the year of the competition in which Odd Grenland was the runner-up?

Context: CREATE TABLE table_name_57 (years VARCHAR, runners_up VARCHAR)

SELECT years FROM table_name_57 WHERE runners_up = "odd grenland"


Question: Who was the winner in the competition in which Lyn took third place and Lillestrøm was the runner-up?

Context: CREATE TABLE table_name_44 (winners VARCHAR, runners_up VARCHAR, third VARCHAR)

SELECT winners FROM table_name_44 WHERE runners_up = "lillestrøm" AND third = "lyn"


Question: What was the report in Buenos Aires?

Context: CREATE TABLE table_name_98 (report VARCHAR, location VARCHAR)

SELECT report FROM table_name_98 WHERE location = "buenos aires"


Question: What date was the Italian Grand Prix?

Context: CREATE TABLE table_name_12 (date VARCHAR, race VARCHAR)

SELECT date FROM table_name_12 WHERE race = "italian grand prix"


Question: What was the report when Mario Andretti held pole position and Jean-Pierre Jarier had the fastest lap?

Context: CREATE TABLE table_name_54 (report VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)

SELECT report FROM table_name_54 WHERE pole_position = "mario andretti" AND fastest_lap = "jean-pierre jarier"


Question: What was the report in the Belgian Grand Prix?

Context: CREATE TABLE table_name_5 (report VARCHAR, race VARCHAR)

SELECT report FROM table_name_5 WHERE race = "belgian grand prix"


Question: Who was the winner when Niki Lauda held pole position?

Context: CREATE TABLE table_name_48 (race VARCHAR, pole_position VARCHAR)

SELECT race AS Winner FROM table_name_48 WHERE pole_position = "niki lauda"


Question: Who had the fastest lap in the Monaco Grand Prix?

Context: CREATE TABLE table_name_98 (fastest_lap VARCHAR, race VARCHAR)

SELECT fastest_lap FROM table_name_98 WHERE race = "monaco grand prix"


Question: Which Object type has a Constellation of cancer?

Context: CREATE TABLE table_name_58 (object_type VARCHAR, constellation VARCHAR)

SELECT object_type FROM table_name_58 WHERE constellation = "cancer"


Question: Which NGC number has a Constellation of ursa major?

Context: CREATE TABLE table_name_1 (ngc_number INTEGER, constellation VARCHAR)

SELECT MAX(ngc_number) FROM table_name_1 WHERE constellation = "ursa major"


Question: Which Constellation has a NGC number smaller than 2775, and a Declination (J2000) of °05′07″?

Context: CREATE TABLE table_name_3 (constellation VARCHAR, ngc_number VARCHAR, declination___j2000__ VARCHAR)

SELECT constellation FROM table_name_3 WHERE ngc_number < 2775 AND declination___j2000__ = "°05′07″"


Question: Which Object type has a NGC number of 2787?

Context: CREATE TABLE table_name_19 (object_type VARCHAR, ngc_number VARCHAR)

SELECT object_type FROM table_name_19 WHERE ngc_number = 2787


Question: Where did St KIlda play their away game?

Context: CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR)

SELECT venue FROM table_name_46 WHERE away_team = "st kilda"


Question: What is the score when Philadelphia was the visitor with a Record of 7–4–0?

Context: CREATE TABLE table_name_79 (score VARCHAR, visitor VARCHAR, record VARCHAR)

SELECT score FROM table_name_79 WHERE visitor = "philadelphia" AND record = "7–4–0"


Question: What was nominee nominated for outstanding featured actor in a musical?

Context: CREATE TABLE table_name_65 (nominee VARCHAR, category VARCHAR, result VARCHAR)

SELECT nominee FROM table_name_65 WHERE category = "outstanding featured actor in a musical" AND result = "nominated"


Question: What is the result of nominee, Patricia McGourty, for the drama desk award?

Context: CREATE TABLE table_name_17 (result VARCHAR, award VARCHAR, nominee VARCHAR)

SELECT result FROM table_name_17 WHERE award = "drama desk award" AND nominee = "patricia mcgourty"


Question: What year was Patricia Mcgourty nominated for a Tony award?

Context: CREATE TABLE table_name_41 (year VARCHAR, nominee VARCHAR, award VARCHAR)

SELECT year FROM table_name_41 WHERE nominee = "patricia mcgourty" AND award = "tony award"


Question: I want the driver with Laps larger than 16 with a ferrari and grid less than 15

Context: CREATE TABLE table_name_44 (driver VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR)

SELECT driver FROM table_name_44 WHERE laps > 16 AND constructor = "ferrari" AND grid < 15


Question: What is the D 46 √ with a D 43 √ with r 3?

Context: CREATE TABLE table_name_2 (d_46_√ VARCHAR, d_43_√ VARCHAR)

SELECT d_46_√ FROM table_name_2 WHERE d_43_√ = "r 3"


Question: What is the D 43 √ with a D 49 √ with d 49 √?

Context: CREATE TABLE table_name_64 (d_43_√ VARCHAR, d_49_√ VARCHAR)

SELECT d_43_√ FROM table_name_64 WHERE d_49_√ = "d 49 √"


Question: What is the D 48 √ with a D 46 √ with r 33 o?

Context: CREATE TABLE table_name_87 (d_48_√ VARCHAR, d_46_√ VARCHAR)

SELECT d_48_√ FROM table_name_87 WHERE d_46_√ = "r 33 o"


Question: What is the D 48 √ with a D 49 √ with r 9?

Context: CREATE TABLE table_name_27 (d_48_√ VARCHAR, d_49_√ VARCHAR)

SELECT d_48_√ FROM table_name_27 WHERE d_49_√ = "r 9"


Question: What is the D 46 √ with a D 41 √ with d 38 √?

Context: CREATE TABLE table_name_94 (d_46_√ VARCHAR, d_41_√ VARCHAR)

SELECT d_46_√ FROM table_name_94 WHERE d_41_√ = "d 38 √"


Question: What is the D 45 √ with a D 46 √ with d 46 √?

Context: CREATE TABLE table_name_99 (d_45_√ VARCHAR, d_46_√ VARCHAR)

SELECT d_45_√ FROM table_name_99 WHERE d_46_√ = "d 46 √"


Question: Which constructor was there for the race with 25 laps?

Context: CREATE TABLE table_name_31 (constructor VARCHAR, laps VARCHAR)

SELECT constructor FROM table_name_31 WHERE laps = 25


Question: Which driver had brm as a constructor and a time/retired of engine?

Context: CREATE TABLE table_name_99 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR)

SELECT driver FROM table_name_99 WHERE constructor = "brm" AND time_retired = "engine"


Question: What is the call sign for a class of A?

Context: CREATE TABLE table_name_69 (call_sign VARCHAR, class VARCHAR)

SELECT call_sign FROM table_name_69 WHERE class = "a"


Question: What is the average frequency MHz for license of eastville, virginia?

Context: CREATE TABLE table_name_24 (frequency_mhz INTEGER, city_of_license VARCHAR)

SELECT AVG(frequency_mhz) FROM table_name_24 WHERE city_of_license = "eastville, virginia"


Question: What is the average ERP W when the call sign is whre?

Context: CREATE TABLE table_name_15 (erp_w INTEGER, call_sign VARCHAR)

SELECT AVG(erp_w) FROM table_name_15 WHERE call_sign = "whre"


Question: What is the name of the school in Hillcrest?

Context: CREATE TABLE table_name_12 (name VARCHAR, area VARCHAR)

SELECT name FROM table_name_12 WHERE area = "hillcrest"


Question: What are the years available at Bayview School, which has state authority and a roll number larger than 333?

Context: CREATE TABLE table_name_58 (years VARCHAR, name VARCHAR, authority VARCHAR, roll VARCHAR)

SELECT years FROM table_name_58 WHERE authority = "state" AND roll > 333 AND name = "bayview school"


Question: When was Tomokazu Soma born who plays for the wild knights?

Context: CREATE TABLE table_name_71 (date_of_birth__age_ VARCHAR, club_province VARCHAR, player VARCHAR)

SELECT date_of_birth__age_ FROM table_name_71 WHERE club_province = "wild knights" AND player = "tomokazu soma"


Question: On November 19, 2008 what was the score?

Context: CREATE TABLE table_name_13 (score VARCHAR, date VARCHAR)

SELECT score FROM table_name_13 WHERE date = "november 19, 2008"


Question: What is the score on February 23, 2005?

Context: CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)

SELECT score FROM table_name_81 WHERE date = "february 23, 2005"


Question: What is the result foe October 12, 2005?

Context: CREATE TABLE table_name_75 (result VARCHAR, date VARCHAR)

SELECT result FROM table_name_75 WHERE date = "october 12, 2005"


Question: How many events for orville moody, ranking below 3?

Context: CREATE TABLE table_name_67 (events INTEGER, rank VARCHAR, player VARCHAR)

SELECT SUM(events) FROM table_name_67 WHERE rank > 3 AND player = "orville moody"


Question: What is the rank for don january with over 2 wins and over 17 events?

Context: CREATE TABLE table_name_65 (rank INTEGER, events VARCHAR, wins VARCHAR, player VARCHAR)

SELECT MIN(rank) FROM table_name_65 WHERE wins > 2 AND player = "don january" AND events > 17


Question: What is the score of the Home team of geelong?

Context: CREATE TABLE table_name_74 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_74 WHERE home_team = "geelong"


Question: Which Away team has a Home team of south melbourne?

Context: CREATE TABLE table_name_63 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_63 WHERE home_team = "south melbourne"


Question: Which Away team has a Venue of arden street oval?

Context: CREATE TABLE table_name_32 (away_team VARCHAR, venue VARCHAR)

SELECT away_team FROM table_name_32 WHERE venue = "arden street oval"


Question: Which Away team score has a Venue of scg?

Context: CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)

SELECT away_team AS score FROM table_name_82 WHERE venue = "scg"


Question: What school has the player of mike rosario?

Context: CREATE TABLE table_name_28 (school VARCHAR, player VARCHAR)

SELECT school FROM table_name_28 WHERE player = "mike rosario"


Question: What was the nba draft for al-farouq aminu?

Context: CREATE TABLE table_name_53 (nba_draft VARCHAR, player VARCHAR)

SELECT nba_draft FROM table_name_53 WHERE player = "al-farouq aminu"


Question: What was the average attendance of a team with a 38–31–8 record?

Context: CREATE TABLE table_name_16 (attendance INTEGER, record VARCHAR)

SELECT AVG(attendance) FROM table_name_16 WHERE record = "38–31–8"


Question: What is the smallest grid for Bob Anderson?

Context: CREATE TABLE table_name_89 (grid INTEGER, driver VARCHAR)

SELECT MIN(grid) FROM table_name_89 WHERE driver = "bob anderson"


Question: What was the time when the score was 0–3?

Context: CREATE TABLE table_name_67 (time VARCHAR, score VARCHAR)

SELECT time FROM table_name_67 WHERE score = "0–3"


Question: What was the first set with a third set of 25–21?

Context: CREATE TABLE table_name_87 (set_1 VARCHAR, set_3 VARCHAR)

SELECT set_1 FROM table_name_87 WHERE set_3 = "25–21"


Question: How many total games associated with the Pac-12 of california and 117 years?

Context: CREATE TABLE table_name_84 (total_games VARCHAR, years VARCHAR, pac_12 VARCHAR)

SELECT total_games FROM table_name_84 WHERE years = 117 AND pac_12 = "california"


Question: What is the average number of years associated with 51 games tied and over 1184 total games?

Context: CREATE TABLE table_name_60 (years INTEGER, tied VARCHAR, total_games VARCHAR)

SELECT AVG(years) FROM table_name_60 WHERE tied = 51 AND total_games > 1184


Question: What is the highest number of games tied for teams with under 551 games and a percentage of under 0.5593?

Context: CREATE TABLE table_name_8 (tied INTEGER, pct VARCHAR, lost VARCHAR)

SELECT MAX(tied) FROM table_name_8 WHERE pct < 0.5593 AND lost = 551


Question: Name the country for airline of gol

Context: CREATE TABLE table_name_33 (country VARCHAR, airline VARCHAR)

SELECT country FROM table_name_33 WHERE airline = "gol"


Question: Name the airline for rank of 4

Context: CREATE TABLE table_name_98 (airline VARCHAR, rank VARCHAR)

SELECT airline FROM table_name_98 WHERE rank = 4


Question: What digital reaction has a hot 100 reaction of 4 (+4)?

Context: CREATE TABLE table_name_81 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR)

SELECT hot_digital_songs_reaction FROM table_name_81 WHERE hot_100_reaction = "4 (+4)"


Question: What digital reaction has hot 100 reaction of 2 (+1)?

Context: CREATE TABLE table_name_89 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR)

SELECT hot_digital_songs_reaction FROM table_name_89 WHERE hot_100_reaction = "2 (+1)"


Question: Which week has hot 100 reaction as did not debut for Natalie Cole?

Context: CREATE TABLE table_name_71 (week VARCHAR, hot_100_reaction VARCHAR, performer_s_ VARCHAR)

SELECT week FROM table_name_71 WHERE hot_100_reaction = "did not debut" AND performer_s_ = "natalie cole"


Question: What is the hot 100 reaction in week of top 13 for Kanye West?

Context: CREATE TABLE table_name_41 (hot_100_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR)

SELECT hot_100_reaction FROM table_name_41 WHERE week = "top 13" AND performer_s_ = "kanye west"


Question: What is the digital reaction for week of top 5 for Taylor Hicks?

Context: CREATE TABLE table_name_20 (hot_digital_songs_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR)

SELECT hot_digital_songs_reaction FROM table_name_20 WHERE week = "top 5" AND performer_s_ = "taylor hicks"


Question: Which Time/Retired had a grid number bigger than 1 and whose driver was Damon Hill?

Context: CREATE TABLE table_name_78 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)

SELECT time_retired FROM table_name_78 WHERE grid > 1 AND driver = "damon hill"


Question: Which lap number had Olivier Panis as a driver?

Context: CREATE TABLE table_name_98 (laps VARCHAR, driver VARCHAR)

SELECT laps FROM table_name_98 WHERE driver = "olivier panis"


Question: what is the grid when the time/retired is oil pressure and the laps are more than 50?

Context: CREATE TABLE table_name_15 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)

SELECT AVG(grid) FROM table_name_15 WHERE time_retired = "oil pressure" AND laps > 50


Question: what is the grid when the time/retired is 1:46:42.3?

Context: CREATE TABLE table_name_61 (grid INTEGER, time_retired VARCHAR)

SELECT SUM(grid) FROM table_name_61 WHERE time_retired = "1:46:42.3"


Question: What was the attendance when Fitzroy played as the away team?

Context: CREATE TABLE table_name_76 (crowd VARCHAR, away_team VARCHAR)

SELECT COUNT(crowd) FROM table_name_76 WHERE away_team = "fitzroy"


Question: What did the home team score at Western Oval?

Context: CREATE TABLE table_name_4 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_4 WHERE venue = "western oval"


Question: Who was the home team when the attendance was more than 20,283?

Context: CREATE TABLE table_name_5 (home_team VARCHAR, crowd INTEGER)

SELECT home_team FROM table_name_5 WHERE crowd > 20 OFFSET 283


Question: On April 29, with a game larger than 2, what is the high points?

Context: CREATE TABLE table_name_25 (high_points VARCHAR, game VARCHAR, date VARCHAR)

SELECT high_points FROM table_name_25 WHERE game > 2 AND date = "april 29"


Question: What was the score for Game 3?

Context: CREATE TABLE table_name_18 (score VARCHAR, game VARCHAR)

SELECT score FROM table_name_18 WHERE game = 3


Question: What is the grid total for cars that went 17 laps?

Context: CREATE TABLE table_name_60 (grid INTEGER, laps VARCHAR)

SELECT SUM(grid) FROM table_name_60 WHERE laps = 17


Question: How many golds for the nation ranked below 5 and over 1 bronze medals?

Context: CREATE TABLE table_name_80 (gold INTEGER, rank VARCHAR, bronze VARCHAR)

SELECT MAX(gold) FROM table_name_80 WHERE rank > 5 AND bronze < 1


Question: During footscray's home match, who was the away team?

Context: CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team AS score FROM table_name_33 WHERE home_team = "footscray"


Question: Which format had a United States region and a date of August 11, 2009?

Context: CREATE TABLE table_name_92 (format VARCHAR, region VARCHAR, date VARCHAR)

SELECT format FROM table_name_92 WHERE region = "united states" AND date = "august 11, 2009"


Question: Which date had a Japan region?

Context: CREATE TABLE table_name_76 (date VARCHAR, region VARCHAR)

SELECT date FROM table_name_76 WHERE region = "japan"


Question: Which region had a catalogue number of 9362482872?

Context: CREATE TABLE table_name_89 (region VARCHAR, catalogue VARCHAR)

SELECT region FROM table_name_89 WHERE catalogue = "9362482872"


Question: Which region had the date of November 18, 2002?

Context: CREATE TABLE table_name_41 (region VARCHAR, date VARCHAR)

SELECT region FROM table_name_41 WHERE date = "november 18, 2002"


Question: Which label had a Japan region and a date of November 3, 2004?

Context: CREATE TABLE table_name_53 (label VARCHAR, region VARCHAR, date VARCHAR)

SELECT label FROM table_name_53 WHERE region = "japan" AND date = "november 3, 2004"


Question: Which label had a CD format and a date of June 25, 2002?

Context: CREATE TABLE table_name_38 (label VARCHAR, format VARCHAR, date VARCHAR)

SELECT label FROM table_name_38 WHERE format = "cd" AND date = "june 25, 2002"


Question: What award was nominated in 2007?

Context: CREATE TABLE table_name_76 (award VARCHAR, result VARCHAR, year VARCHAR)

SELECT award FROM table_name_76 WHERE result = "nominated" AND year = 2007


Question: What year did was the Inside Soap Awards won?

Context: CREATE TABLE table_name_41 (year INTEGER, result VARCHAR, award VARCHAR)

SELECT AVG(year) FROM table_name_41 WHERE result = "won" AND award = "inside soap awards"


Question: What was the record for the game on April 9, 2008?

Context: CREATE TABLE table_name_9 (record VARCHAR, date VARCHAR)

SELECT record FROM table_name_9 WHERE date = "april 9, 2008"


Question: Who was the leading scorer on April 9, 2008?

Context: CREATE TABLE table_name_34 (leading_scorer VARCHAR, date VARCHAR)

SELECT leading_scorer FROM table_name_34 WHERE date = "april 9, 2008"


Question: in a game against st kilda, what was the away team's score?

SELECT away_team FROM table_name_33 WHERE home_team = "st kilda"


Question: In the match where geelong was the away team, who was the home team?

Context: CREATE TABLE table_name_46 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_46 WHERE away_team = "geelong"


Question: What is the number of votes for the party which got more than 28 seats?

Context: CREATE TABLE table_name_67 (votes VARCHAR, seats INTEGER)

SELECT COUNT(votes) FROM table_name_67 WHERE seats > 28


Question: What is the number of votes for the Party of Labour?

Context: CREATE TABLE table_name_86 (votes INTEGER, party VARCHAR)

SELECT MIN(votes) FROM table_name_86 WHERE party = "labour"


Question: What is the percentage of votes for the party that has Seats of 80?

Context: CREATE TABLE table_name_15 (percentage VARCHAR, seats VARCHAR)

SELECT percentage FROM table_name_15 WHERE seats = 80


Question: Who is the leader of the party which has Seats less than 28, a percentage of votes 54.03, and more votes than 120,801?

Context: CREATE TABLE table_name_18 (leader VARCHAR, votes VARCHAR, seats VARCHAR, percentage VARCHAR)

SELECT leader FROM table_name_18 WHERE seats < 28 AND percentage = "54.03" AND votes > 120 OFFSET 801


Question: Which highest number of Seats has votes of 244,867?

Context: CREATE TABLE table_name_83 (seats INTEGER, votes VARCHAR)

SELECT MAX(seats) FROM table_name_83 WHERE votes = 244 OFFSET 867


Question: What was the Date of the game of the Home team of melbourne?

Context: CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR)

SELECT date FROM table_name_89 WHERE home_team = "melbourne"


Question: What was the score of the Home team in the game that had the Away team of south melbourne?

Context: CREATE TABLE table_name_29 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_29 WHERE away_team = "south melbourne"


Question: what was the away team for the north melbourne home team?

Context: CREATE TABLE table_name_60 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_60 WHERE home_team = "north melbourne"


Question: what was the away team score in a game with north melbourne as home team?

Context: CREATE TABLE table_name_31 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team AS score FROM table_name_31 WHERE home_team = "melbourne"


Question: what was the away team with st kilda as the away team?

Context: CREATE TABLE table_name_15 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_15 WHERE away_team = "st kilda"


Question: How many yards for the player with 1 solo tackle and over 0 sacks?

Context: CREATE TABLE table_name_25 (yards INTEGER, solo VARCHAR, sack VARCHAR)

SELECT MAX(yards) FROM table_name_25 WHERE solo = 1 AND sack > 0


Question: What does a hand of Theoretical return have as a 3 credit?

Context: CREATE TABLE table_name_34 (hand VARCHAR)

SELECT 3 AS _credits FROM table_name_34 WHERE hand = "theoretical return"


Question: What does full house have as a 5 credits?

Context: CREATE TABLE table_name_58 (hand VARCHAR)

SELECT 5 AS _credits FROM table_name_58 WHERE hand = "full house"


Question: What would be the 4 credits result of a straight?

Context: CREATE TABLE table_name_28 (hand VARCHAR)

SELECT 4 AS _credits FROM table_name_28 WHERE hand = "straight"


Question: Who was the home team at the game that had a score of 2 – 2?

Context: CREATE TABLE table_name_96 (home VARCHAR, score VARCHAR)

SELECT home FROM table_name_96 WHERE score = "2 – 2"


Question: What was the date of the game when Colorado was the visiting team and Chicago was the home team?

Context: CREATE TABLE table_name_36 (date VARCHAR, visitor VARCHAR, home VARCHAR)

SELECT date FROM table_name_36 WHERE visitor = "colorado" AND home = "chicago"


Question: What was the date of the game when the Avalanche had a record of 8–3–1?

Context: CREATE TABLE table_name_34 (date VARCHAR, record VARCHAR)

SELECT date FROM table_name_34 WHERE record = "8–3–1"


Question: Who was the opponents of the 5th Wicket Partnership?

Context: CREATE TABLE table_name_3 (opponents VARCHAR, wicket_partnership VARCHAR)

SELECT opponents FROM table_name_3 WHERE wicket_partnership = "5th"


Question: In which season was there a competition in the Champions League?

Context: CREATE TABLE table_name_70 (season VARCHAR, competition VARCHAR)

SELECT season FROM table_name_70 WHERE competition = "champions league"


Question: What scores did the RSC Anderlecht club have?

Context: CREATE TABLE table_name_68 (score VARCHAR, club VARCHAR)

SELECT score FROM table_name_68 WHERE club = "rsc anderlecht"


Question: What is the highest opening week net gross of the movie ranked higher than 5 from Reliance Entertainment?

Context: CREATE TABLE table_name_42 (opening_week_nett_gross INTEGER, rank VARCHAR, studio_s_ VARCHAR)

SELECT MAX(opening_week_nett_gross) FROM table_name_42 WHERE rank < 5 AND studio_s_ = "reliance entertainment"


Question: Tell me the total number of Grid for Bob Evans and Laps less than 68

Context: CREATE TABLE table_name_86 (grid VARCHAR, driver VARCHAR, laps VARCHAR)

SELECT COUNT(grid) FROM table_name_86 WHERE driver = "bob evans" AND laps < 68


Question: Tell me constructor for Laps less than 17 and Grid more than 11 for alan jones

Context: CREATE TABLE table_name_52 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)

SELECT constructor FROM table_name_52 WHERE laps < 17 AND grid > 11 AND driver = "alan jones"


Question: I want the sum of Laps with Grid less than 11 for jean-pierre jarier

Context: CREATE TABLE table_name_7 (laps INTEGER, grid VARCHAR, driver VARCHAR)

SELECT SUM(laps) FROM table_name_7 WHERE grid < 11 AND driver = "jean-pierre jarier"


Question: I want the constructor for brakes and grid less than 14

Context: CREATE TABLE table_name_39 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR)

SELECT constructor FROM table_name_39 WHERE time_retired = "brakes" AND grid < 14


Question: How may episodes did season 1 have?

Context: CREATE TABLE table_name_22 (episodes VARCHAR, season_no VARCHAR)

SELECT COUNT(episodes) FROM table_name_22 WHERE season_no = 1


Question: Which chassis did Aguri Suzuki drive with an entrant of Larrousse F1?

Context: CREATE TABLE table_name_41 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)

SELECT chassis FROM table_name_41 WHERE entrant = "larrousse f1" AND driver = "aguri suzuki"


Question: What was the entrant in round 16 were Ferrari was the constructor?

Context: CREATE TABLE table_name_70 (entrant VARCHAR, rounds VARCHAR, constructor VARCHAR)

SELECT entrant FROM table_name_70 WHERE rounds = "16" AND constructor = "ferrari"


Question: Tell me the country with ICAO of zgha

Context: CREATE TABLE table_name_71 (country VARCHAR, icao VARCHAR)

SELECT country FROM table_name_71 WHERE icao = "zgha"


Question: I want the ICAO for city of xi'an

Context: CREATE TABLE table_name_51 (icao VARCHAR, city VARCHAR)

SELECT icao FROM table_name_51 WHERE city = "xi'an"


Question: I want the IATA for ICAO of zgkl

Context: CREATE TABLE table_name_32 (iata VARCHAR, icao VARCHAR)

SELECT iata FROM table_name_32 WHERE icao = "zgkl"


Question: I want the region for ICAO of vmmc

Context: CREATE TABLE table_name_28 (region VARCHAR, icao VARCHAR)

SELECT region FROM table_name_28 WHERE icao = "vmmc"


Question: What is the high grid number for a Time/Retired of + 3 laps, and a Laps smaller than 57?

Context: CREATE TABLE table_name_29 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)

SELECT MAX(grid) FROM table_name_29 WHERE time_retired = "+ 3 laps" AND laps < 57


Question: Who built the car that has a Time/Retired of 1:36:38.887?

Context: CREATE TABLE table_name_66 (constructor VARCHAR, time_retired VARCHAR)

SELECT constructor FROM table_name_66 WHERE time_retired = "1:36:38.887"


Question: Who was the leading scorer on 9 January 2008?

Context: CREATE TABLE table_name_99 (leading_scorer VARCHAR, date VARCHAR)

SELECT leading_scorer FROM table_name_99 WHERE date = "9 january 2008"


Question: What is the number played for the Barcelona B club, with wins under 11?

Context: CREATE TABLE table_name_2 (played INTEGER, club VARCHAR, wins VARCHAR)

SELECT SUM(played) FROM table_name_2 WHERE club = "barcelona b" AND wins < 11


Question: What was the biggest draws, for wins under 4, and points of 20-18?

Context: CREATE TABLE table_name_29 (draws INTEGER, points VARCHAR, wins VARCHAR)

SELECT MAX(draws) FROM table_name_29 WHERE points = "20-18" AND wins < 4


Question: What is the average of goals against, where overall goals are more than 35 and the goal difference is 20?

Context: CREATE TABLE table_name_68 (goals_against INTEGER, goals_for VARCHAR, goal_difference VARCHAR)

SELECT AVG(goals_against) FROM table_name_68 WHERE goals_for > 35 AND goal_difference = 20


Question: What is the Crowd number for the Away team of Richmond?

Context: CREATE TABLE table_name_41 (crowd INTEGER, away_team VARCHAR)

SELECT SUM(crowd) FROM table_name_41 WHERE away_team = "richmond"


Question: What is the Home team score for the Venue named Glenferrie Oval?

Context: CREATE TABLE table_name_31 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_31 WHERE venue = "glenferrie oval"


Question: What is the smallest Crowd number for the Venue named Princes Park?

Context: CREATE TABLE table_name_96 (crowd INTEGER, venue VARCHAR)

SELECT MIN(crowd) FROM table_name_96 WHERE venue = "princes park"


Question: Tell me the notes with method of points and event of adcc 2001 absolute with result of loss

Context: CREATE TABLE table_name_72 (notes VARCHAR, result VARCHAR, method VARCHAR, event VARCHAR)

SELECT notes FROM table_name_72 WHERE method = "points" AND event = "adcc 2001 absolute" AND result = "loss"


Question: Tell me the lowest date for result of win and method of points with notes of opening round

Context: CREATE TABLE table_name_59 (date INTEGER, notes VARCHAR, result VARCHAR, method VARCHAR)

SELECT MIN(date) FROM table_name_59 WHERE result = "win" AND method = "points" AND notes = "opening round"


Question: Name the result with notes of quarter-finals and event of adcc 2001 absolute

Context: CREATE TABLE table_name_65 (result VARCHAR, notes VARCHAR, event VARCHAR)

SELECT result FROM table_name_65 WHERE notes = "quarter-finals" AND event = "adcc 2001 absolute"


Question: I want the event for method of points with notes of opening round

Context: CREATE TABLE table_name_16 (event VARCHAR, method VARCHAR, notes VARCHAR)

SELECT event FROM table_name_16 WHERE method = "points" AND notes = "opening round"


Question: How many win total which has the rank smaller than 3 and events smaller than 22

Context: CREATE TABLE table_name_71 (wins VARCHAR, events VARCHAR, rank VARCHAR)

SELECT COUNT(wins) FROM table_name_71 WHERE events < 22 AND rank < 3


Question: What denomination is mt lawley?

Context: CREATE TABLE table_name_5 (denomination VARCHAR, location VARCHAR)

SELECT denomination FROM table_name_5 WHERE location = "mt lawley"


Question: Is mt lawley day or boarding?

Context: CREATE TABLE table_name_84 (day_boarding VARCHAR, location VARCHAR)

SELECT day_boarding FROM table_name_84 WHERE location = "mt lawley"


Question: What is the average year founded for schools in claremont?

Context: CREATE TABLE table_name_6 (founded INTEGER, location VARCHAR)

SELECT AVG(founded) FROM table_name_6 WHERE location = "claremont"


Question: When north melbourne was the home team who was the Away team?

Context: CREATE TABLE table_name_32 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_32 WHERE home_team = "north melbourne"


Question: When collingwood played as the home team who was the away team?

Context: CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_88 WHERE home_team = "collingwood"


Question: When the Away team was south melbourne what was the home team?

Context: CREATE TABLE table_name_52 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_52 WHERE away_team = "south melbourne"


Question: What is the lowest attendance for a stadium that has an average smaller than 307?

Context: CREATE TABLE table_name_24 (lowest INTEGER, average INTEGER)

SELECT AVG(lowest) FROM table_name_24 WHERE average < 307


Question: When the home team was South Melbourne, what did the away team score?

Context: CREATE TABLE table_name_64 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team AS score FROM table_name_64 WHERE home_team = "south melbourne"


Question: What is the average rank of a country with less than 13 bronze medals, a total of 11 medals, and more than 4 gold?

Context: CREATE TABLE table_name_15 (rank INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR)

SELECT AVG(rank) FROM table_name_15 WHERE bronze < 13 AND total = 11 AND gold > 4


Question: What is the lowest bronze a team with 9 silvers, a total larger than 13, and more than 13 gold medals has?

Context: CREATE TABLE table_name_58 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR)

SELECT MIN(bronze) FROM table_name_58 WHERE silver = 9 AND total > 13 AND gold > 13


Question: What is the highest number of silvers a team with more than 95 total medals has?

Context: CREATE TABLE table_name_6 (silver INTEGER, total INTEGER)

SELECT MAX(silver) FROM table_name_6 WHERE total > 95


Question: What is the highest total medals a team with less than 15 gold, less than 5 bronze, and a rank larger than 10 has?

Context: CREATE TABLE table_name_96 (total INTEGER, rank VARCHAR, gold VARCHAR, bronze VARCHAR)

SELECT MAX(total) FROM table_name_96 WHERE gold < 15 AND bronze < 5 AND rank > 10


Question: Who is the home team who plays at Glenferrie Oval?

Context: CREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR)

SELECT home_team FROM table_name_95 WHERE venue = "glenferrie oval"


Question: What did the away team Carlton score?

Context: CREATE TABLE table_name_29 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_29 WHERE away_team = "carlton"


Question: What position did Lee Gilmour play while having more than 4 Tries and 20 points?

Context: CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR, tries VARCHAR, points VARCHAR)

SELECT position FROM table_name_58 WHERE tries > 4 AND points = 20 AND player = "lee gilmour"


Question: Who was the host that garnered ratings of 9.4/27?

Context: CREATE TABLE table_name_29 (host VARCHAR, ratings VARCHAR)

SELECT host FROM table_name_29 WHERE ratings = "9.4/27"


Question: Who was the lap-by-lap broadcaster before 1994 who garnered ratings of 8.0/21?

Context: CREATE TABLE table_name_29 (lap_by_lap VARCHAR, year VARCHAR, ratings VARCHAR)

SELECT lap_by_lap FROM table_name_29 WHERE year < 1994 AND ratings = "8.0/21"


Question: Who was the host that garnered ratings of 9.6/26?

Context: CREATE TABLE table_name_30 (host VARCHAR, ratings VARCHAR)

SELECT host FROM table_name_30 WHERE ratings = "9.6/26"


Question: What were the ratings for host Chris Economaki who had 12.3 million viewers?

Context: CREATE TABLE table_name_83 (ratings VARCHAR, host VARCHAR, viewers VARCHAR)

SELECT ratings FROM table_name_83 WHERE host = "chris economaki" AND viewers = "12.3 million"


Question: Who was the network who had Ken Squier as a host and 13.9 million viewers?

Context: CREATE TABLE table_name_74 (network VARCHAR, host VARCHAR, viewers VARCHAR)

SELECT network FROM table_name_74 WHERE host = "ken squier" AND viewers = "13.9 million"


Question: What was the lowest Attendance for Games played on the Date of February 5?

Context: CREATE TABLE table_name_1 (attendance INTEGER, date VARCHAR)

SELECT MIN(attendance) FROM table_name_1 WHERE date = "february 5"


Question: What was the total Attendance for Games while Chicago was the visiting Team?

Context: CREATE TABLE table_name_61 (attendance INTEGER, visitor VARCHAR)

SELECT SUM(attendance) FROM table_name_61 WHERE visitor = "chicago"


Question: What pole position was Rubens Barrichello when he had the fastest lap and a round larger than 11?

Context: CREATE TABLE table_name_30 (pole_position VARCHAR, fastest_lap VARCHAR, round VARCHAR)

SELECT pole_position FROM table_name_30 WHERE fastest_lap = "rubens barrichello" AND round > 11


Question: Which Grand Prix did David Coulthard win with Michael Schumacher in the pole position before round 9?

Context: CREATE TABLE table_name_58 (grand_prix VARCHAR, round VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)

SELECT grand_prix FROM table_name_58 WHERE winning_driver = "david coulthard" AND pole_position = "michael schumacher" AND round < 9


Question: Who had the fastest lap when David Coulthard had pole position and Michael Schumacher as a winning driver.

Context: CREATE TABLE table_name_32 (fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)

SELECT fastest_lap FROM table_name_32 WHERE pole_position = "david coulthard" AND winning_driver = "michael schumacher"


Question: Who had the fastest lap at the Australian Grand Prix?

Context: CREATE TABLE table_name_36 (fastest_lap VARCHAR, grand_prix VARCHAR)

SELECT fastest_lap FROM table_name_36 WHERE grand_prix = "australian grand prix"


Question: Tell me the team 2 for team 1 being la nuova piovese (veneto a)

Context: CREATE TABLE table_name_46 (team_2 VARCHAR, team_1 VARCHAR)

SELECT team_2 FROM table_name_46 WHERE team_1 = "la nuova piovese (veneto a)"


Question: Tell me the team 1 for team 2 being civitavecchiese (latium a)

Context: CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR)

SELECT team_1 FROM table_name_8 WHERE team_2 = "civitavecchiese (latium a)"


Question: Tell me the 1st leg for team being budoni (Sardinia)

Context: CREATE TABLE table_name_55 (team_1 VARCHAR)

SELECT 1 AS st_leg FROM table_name_55 WHERE team_1 = "budoni (sardinia)"


Question: How many attended the game at Busch Stadium (ii) when the time was 3:54?

Context: CREATE TABLE table_name_88 (attendance VARCHAR, location VARCHAR, time VARCHAR)

SELECT attendance FROM table_name_88 WHERE location = "busch stadium (ii)" AND time = "3:54"


Question: What dates were the games after game 6 played?

Context: CREATE TABLE table_name_56 (date VARCHAR, game INTEGER)

SELECT date FROM table_name_56 WHERE game > 6


Question: What is the 1977 value that had Grand Slam Tournaments in 1972?

Context: CREATE TABLE table_name_9 (Id VARCHAR)

SELECT 1977 FROM table_name_9 WHERE 1972 = "grand slam tournaments"


Question: What is the tournament that had Grand Slam Tournaments in 1976?

Context: CREATE TABLE table_name_13 (tournament VARCHAR)

SELECT tournament FROM table_name_13 WHERE 1976 = "grand slam tournaments"


Question: What is the 1976 value of the Australian Open?

Context: CREATE TABLE table_name_35 (tournament VARCHAR)

SELECT 1976 FROM table_name_35 WHERE tournament = "australian open"


Question: What is the 1977 value that has a 1974 a value?

Context: CREATE TABLE table_name_65 (Id VARCHAR)

SELECT 1977 FROM table_name_65 WHERE 1974 = "a"


Question: Which week led to a record of 4-10?

Context: CREATE TABLE table_name_87 (week VARCHAR, record VARCHAR)

SELECT week FROM table_name_87 WHERE record = "4-10"


Question: Which week was the game against the San Diego Chargers?

Context: CREATE TABLE table_name_91 (week VARCHAR, opponent VARCHAR)

SELECT week FROM table_name_91 WHERE opponent = "san diego chargers"


Question: What is the height of the player who is from Huntington, WV?

Context: CREATE TABLE table_name_93 (height VARCHAR, hometown VARCHAR)

SELECT height FROM table_name_93 WHERE hometown = "huntington, wv"


Question: What school is the player who has a hometown of Chicago, IL from?

Context: CREATE TABLE table_name_45 (school VARCHAR, hometown VARCHAR)

SELECT school FROM table_name_45 WHERE hometown = "chicago, il"


Question: Which college is the player from South Medford High School headed to?

Context: CREATE TABLE table_name_67 (college VARCHAR, school VARCHAR)

SELECT college FROM table_name_67 WHERE school = "south medford high school"


Question: Which school is the player who is headed to Duke from?

Context: CREATE TABLE table_name_68 (school VARCHAR, college VARCHAR)

SELECT school FROM table_name_68 WHERE college = "duke"


Question: What is the hometown of the player who is headed to Duke?

Context: CREATE TABLE table_name_83 (hometown VARCHAR, college VARCHAR)

SELECT hometown FROM table_name_83 WHERE college = "duke"


Question: Who was Louise when Tracy Venner was Dainty June?

Context: CREATE TABLE table_name_83 (louise VARCHAR, dainty_june VARCHAR)

SELECT louise FROM table_name_83 WHERE dainty_june = "tracy venner"


Question: Who was Dainty June when Tammy Blanchard was Louise?

Context: CREATE TABLE table_name_5 (dainty_june VARCHAR, louise VARCHAR)

SELECT dainty_june FROM table_name_5 WHERE louise = "tammy blanchard"


Question: Who was Dainty June when Boyd Gaines was Herbie?

Context: CREATE TABLE table_name_27 (dainty_june VARCHAR, herbie VARCHAR)

SELECT dainty_june FROM table_name_27 WHERE herbie = "boyd gaines"


Question: What production had Angela Lansbury as Rose and Barrie Ingham as Herbie?

Context: CREATE TABLE table_name_53 (productions VARCHAR, rose VARCHAR, herbie VARCHAR)

SELECT productions FROM table_name_53 WHERE rose = "angela lansbury" AND herbie = "barrie ingham"


Question: Who was rose in the 1975 Broadway Revival?

Context: CREATE TABLE table_name_60 (rose VARCHAR, productions VARCHAR)

SELECT rose FROM table_name_60 WHERE productions = "1975 broadway revival"


Question: Which production had Rex Robbins as Herbie?

Context: CREATE TABLE table_name_96 (productions VARCHAR, herbie VARCHAR)

SELECT productions FROM table_name_96 WHERE herbie = "rex robbins"


Question: On what date was the venue VFL Park?

Context: CREATE TABLE table_name_50 (date VARCHAR, venue VARCHAR)

SELECT date FROM table_name_50 WHERE venue = "vfl park"


Question: What date did Footscray play at home?

Context: CREATE TABLE table_name_92 (date VARCHAR, home_team VARCHAR)

SELECT date FROM table_name_92 WHERE home_team = "footscray"


Question: What did the home team score when they played the away team of Geelong?

Context: CREATE TABLE table_name_10 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_10 WHERE away_team = "geelong"


Question: What was the lowest pick number for the Boston Celtics?

Context: CREATE TABLE table_name_5 (pick INTEGER, team VARCHAR)

SELECT MIN(pick) FROM table_name_5 WHERE team = "boston celtics"


Question: Who is the visitor team on 23 November 2007?

Context: CREATE TABLE table_name_98 (visitor VARCHAR, date VARCHAR)

SELECT visitor FROM table_name_98 WHERE date = "23 november 2007"


Question: Who is the leading scorer of the game on 20 November 2007?

Context: CREATE TABLE table_name_61 (leading_scorer VARCHAR, date VARCHAR)

SELECT leading_scorer FROM table_name_61 WHERE date = "20 november 2007"


Question: When was petter ronnquist picked?

Context: CREATE TABLE table_name_49 (overall VARCHAR, player VARCHAR)

SELECT overall FROM table_name_49 WHERE player = "petter ronnquist"


Question: Which venue has a Result of 1–0?

Context: CREATE TABLE table_name_96 (venue VARCHAR, result VARCHAR)

SELECT venue FROM table_name_96 WHERE result = "1–0"


Question: Which venue has a Result of 1–2?

Context: CREATE TABLE table_name_98 (venue VARCHAR, result VARCHAR)

SELECT venue FROM table_name_98 WHERE result = "1–2"


Question: What is the highest score with a Result of 1–1 on 4 march 2001?

Context: CREATE TABLE table_name_59 (scored INTEGER, result VARCHAR, date VARCHAR)

SELECT MAX(scored) FROM table_name_59 WHERE result = "1–1" AND date = "4 march 2001"