Question: What is the total number of swimsuit scores that have average scores less than 8.823, evening gown scores less than 8.69, and interview scores equal to 8.27?

Context: CREATE TABLE table_name_19 (swimsuit VARCHAR, interview VARCHAR, average VARCHAR, evening_gown VARCHAR)

SELECT COUNT(swimsuit) FROM table_name_19 WHERE average < 8.823 AND evening_gown < 8.69 AND interview = 8.27


Question: What is the lowest swimsuit score where the contestant scored less than 8.56 in the interview and greater than 8.54 in the evening gown?

Context: CREATE TABLE table_name_85 (swimsuit INTEGER, interview VARCHAR, evening_gown VARCHAR)

SELECT MIN(swimsuit) FROM table_name_85 WHERE interview < 8.56 AND evening_gown > 8.54


Question: What is the sum of the evening gown scores where the interview score is less than 8.77, the swimsuit score is equal to 7.8, and the average score is less than 8.2?

Context: CREATE TABLE table_name_4 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR)

SELECT SUM(evening_gown) FROM table_name_4 WHERE interview < 8.77 AND swimsuit = 7.8 AND average < 8.2


Question: What was the attendance for the game that has a tie number of 13?

Context: CREATE TABLE table_name_96 (attendance INTEGER, tie_no VARCHAR)

SELECT SUM(attendance) FROM table_name_96 WHERE tie_no = "13"


Question: What is the average attendance when the Forest Green Rovers is the away team?

Context: CREATE TABLE table_name_82 (attendance INTEGER, away_team VARCHAR)

SELECT AVG(attendance) FROM table_name_82 WHERE away_team = "forest green rovers"


Question: What is the grid number for troy corser with under 22 laps?

Context: CREATE TABLE table_name_48 (grid INTEGER, rider VARCHAR, laps VARCHAR)

SELECT SUM(grid) FROM table_name_48 WHERE rider = "troy corser" AND laps < 22


Question: What rider went under 22 laps with grid number 2?

Context: CREATE TABLE table_name_11 (rider VARCHAR, laps VARCHAR, grid VARCHAR)

SELECT rider FROM table_name_11 WHERE laps < 22 AND grid = 2


Question: What country speaks Vietnamese?

Context: CREATE TABLE table_name_76 (country_region VARCHAR, languages VARCHAR)

SELECT country_region FROM table_name_76 WHERE languages = "vietnamese"


Question: What ranking did Team 250cc Honda end up in when it finished a race with a time of 1:27.57.28?

Context: CREATE TABLE table_name_44 (rank VARCHAR, team VARCHAR, time VARCHAR)

SELECT COUNT(rank) FROM table_name_44 WHERE team = "250cc honda" AND time = "1:27.57.28"


Question: Tell me the constructor for grid of 8

Context: CREATE TABLE table_name_57 (constructor VARCHAR, grid VARCHAR)

SELECT constructor FROM table_name_57 WHERE grid = 8


Question: I want the total number of Grids for heinz-harald frentzen

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

SELECT COUNT(grid) FROM table_name_10 WHERE driver = "heinz-harald frentzen"


Question: What is the average crowd for the home team of North Melbourne?

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

SELECT AVG(crowd) FROM table_name_97 WHERE home_team = "north melbourne"


Question: Who was the visiting team on 12 March 2008?

Context: CREATE TABLE table_name_77 (visitor VARCHAR, date VARCHAR)

SELECT visitor FROM table_name_77 WHERE date = "12 march 2008"


Question: Who was the home team where Trail Blazers were the visitor?

Context: CREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR)

SELECT home FROM table_name_70 WHERE visitor = "trail blazers"


Question: In the game on 11 March 2008 with a visiting team of Bucks, who was the home team?

Context: CREATE TABLE table_name_7 (home VARCHAR, visitor VARCHAR, date VARCHAR)

SELECT home FROM table_name_7 WHERE visitor = "bucks" AND date = "11 march 2008"


Question: How many laps for robin montgomerie-charrington, and a Grid smaller than 15?

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

SELECT COUNT(laps) FROM table_name_18 WHERE driver = "robin montgomerie-charrington" AND grid < 15


Question: What is the mean number of totals with no silvers and a bronze number less than 0?

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

SELECT AVG(total) FROM table_name_9 WHERE silver = 0 AND bronze < 0


Question: What is the least number of Silvers with a ranking of less than 4 where the bronze number was larger than 9?

Context: CREATE TABLE table_name_76 (silver INTEGER, rank VARCHAR, bronze VARCHAR)

SELECT MIN(silver) FROM table_name_76 WHERE rank < 4 AND bronze > 9


Question: Which mean rank had a silver number smaller than 0?

Context: CREATE TABLE table_name_60 (rank INTEGER, silver INTEGER)

SELECT AVG(rank) FROM table_name_60 WHERE silver < 0


Question: What is the least total number with a rank of 4 and a total silver number bigger than 3?

Context: CREATE TABLE table_name_99 (total INTEGER, rank VARCHAR, silver VARCHAR)

SELECT MIN(total) FROM table_name_99 WHERE rank = 4 AND silver > 3


Question: Name the category for 2nd melon music awards

Context: CREATE TABLE table_name_7 (category VARCHAR, award VARCHAR)

SELECT category FROM table_name_7 WHERE award = "2nd melon music awards"


Question: Name the award won in the hall of fame

Context: CREATE TABLE table_name_30 (award VARCHAR, result VARCHAR, category VARCHAR)

SELECT award FROM table_name_30 WHERE result = "won" AND category = "hall of fame"


Question: Name the nomination in 2011 that won

Context: CREATE TABLE table_name_59 (nomination VARCHAR, year VARCHAR, result VARCHAR)

SELECT nomination FROM table_name_59 WHERE year = 2011 AND result = "won"


Question: Name the result in 2010 for bgm cyworld

Context: CREATE TABLE table_name_98 (result VARCHAR, year VARCHAR, award VARCHAR)

SELECT result FROM table_name_98 WHERE year = 2010 AND award = "bgm cyworld"


Question: What is the car # of the Chevrolet that complete 363 laps?

Context: CREATE TABLE table_name_68 (car__number VARCHAR, make VARCHAR, laps VARCHAR)

SELECT COUNT(car__number) FROM table_name_68 WHERE make = "chevrolet" AND laps = 363


Question: How many points did the driver who won $127,541 driving car #31 get?

Context: CREATE TABLE table_name_88 (points INTEGER, winnings VARCHAR, car__number VARCHAR)

SELECT MAX(points) FROM table_name_88 WHERE winnings = "$127,541" AND car__number > 31


Question: What is the english title of the film before 1999 with a role of kim da-rim?

Context: CREATE TABLE table_name_80 (english_title VARCHAR, year VARCHAR, role VARCHAR)

SELECT english_title FROM table_name_80 WHERE year < 1999 AND role = "kim da-rim"


Question: What English title for the Romanization of lee jae-su-eui nan?

Context: CREATE TABLE table_name_96 (english_title VARCHAR, romanization VARCHAR)

SELECT english_title FROM table_name_96 WHERE romanization = "lee jae-su-eui nan"


Question: What is the Romanization for my old sweetheart?

Context: CREATE TABLE table_name_81 (romanization VARCHAR, english_title VARCHAR)

SELECT romanization FROM table_name_81 WHERE english_title = "my old sweetheart"


Question: What is the English of chae soo-yeon?

Context: CREATE TABLE table_name_56 (english_title VARCHAR, role VARCHAR)

SELECT english_title FROM table_name_56 WHERE role = "chae soo-yeon"


Question: What is the lowest high position for 10 years of hits, and over 870,000 sales?

Context: CREATE TABLE table_name_22 (Highest INTEGER, album_title VARCHAR, sales VARCHAR)

SELECT MIN(Highest) AS position FROM table_name_22 WHERE album_title = "10 years of hits" AND sales > 870 OFFSET 000


Question: What is the average high position for the album unwritten?

Context: CREATE TABLE table_name_69 (Highest INTEGER, album_title VARCHAR)

SELECT AVG(Highest) AS position FROM table_name_69 WHERE album_title = "unwritten"


Question: When did the Grand Prix de Monaco race?

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

SELECT date FROM table_name_13 WHERE race_title = "grand prix de monaco"


Question: What circuit had 16 rounds?

Context: CREATE TABLE table_name_79 (circuit VARCHAR, round VARCHAR)

SELECT circuit FROM table_name_79 WHERE round = 16


Question: Which Grand Prix had 9 rounds?

Context: CREATE TABLE table_name_82 (grand_prix VARCHAR, round VARCHAR)

SELECT grand_prix FROM table_name_82 WHERE round = 9


Question: What is the Base Fare in the senior/disabled category?

Context: CREATE TABLE table_name_18 (base_fares VARCHAR, fare_categories VARCHAR)

SELECT base_fares FROM table_name_18 WHERE fare_categories = "senior/disabled"


Question: Which 30-day Pass has a Base Fare of $3?

Context: CREATE TABLE table_name_74 (day_pass VARCHAR, base_fares VARCHAR)

SELECT 30 - day_pass FROM table_name_74 WHERE base_fares = "$3"


Question: What is the length for years 2012-2013?

Context: CREATE TABLE table_name_29 (length VARCHAR, year VARCHAR)

SELECT length FROM table_name_29 WHERE year = "2012-2013"


Question: If length is ft (m) with numbers of 6600-6684 (84 buses) for 2003, what is the engine type?

Context: CREATE TABLE table_name_77 (engine_type VARCHAR, numbers VARCHAR, length VARCHAR, year VARCHAR)

SELECT engine_type FROM table_name_77 WHERE length = "ft (m)" AND year = "2003" AND numbers = "6600-6684 (84 buses)"


Question: For numbers of 2600-2825 (223 buses), what is the length?

Context: CREATE TABLE table_name_38 (length VARCHAR, numbers VARCHAR)

SELECT length FROM table_name_38 WHERE numbers = "2600-2825 (223 buses)"


Question: What is the lenth of a 2003 Make & Model of nabi 35-lfw?

Context: CREATE TABLE table_name_52 (length VARCHAR, year VARCHAR, make_ VARCHAR, _model VARCHAR)

SELECT length FROM table_name_52 WHERE year = "2003" AND make_ & _model = "nabi 35-lfw"


Question: What is the length for a diesel engine with numbers of tbd (13 buses)?

Context: CREATE TABLE table_name_92 (length VARCHAR, engine_type VARCHAR, numbers VARCHAR)

SELECT length FROM table_name_92 WHERE engine_type = "diesel" AND numbers = "tbd (13 buses)"


Question: What year has a make & model of mci d4000n?

Context: CREATE TABLE table_name_79 (year VARCHAR, make_ VARCHAR, _model VARCHAR)

SELECT year FROM table_name_79 WHERE make_ & _model = "mci d4000n"


Question: What type has a Date of 8 dec 16, and a Ship of duchess of cornwall?

Context: CREATE TABLE table_name_75 (type VARCHAR, date VARCHAR, ship VARCHAR)

SELECT type FROM table_name_75 WHERE date = "8 dec 16" AND ship = "duchess of cornwall"


Question: Which nationality has a Ship of minteh?

Context: CREATE TABLE table_name_62 (nationality VARCHAR, ship VARCHAR)

SELECT nationality FROM table_name_62 WHERE ship = "minteh"


Question: What is the total Tonnage GRT with a Type of cargo ship, and a Nationality of norway?

Context: CREATE TABLE table_name_23 (tonnage_grt INTEGER, type VARCHAR, nationality VARCHAR)

SELECT SUM(tonnage_grt) FROM table_name_23 WHERE type = "cargo ship" AND nationality = "norway"


Question: Which Date has a Ship of hallbjorg?

Context: CREATE TABLE table_name_87 (date VARCHAR, ship VARCHAR)

SELECT date FROM table_name_87 WHERE ship = "hallbjorg"


Question: What is the score of set 3 when the total is 45–31?

Context: CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR)

SELECT set_3 FROM table_name_24 WHERE total = "45–31"


Question: What is the score for set 2 when set 3 was 15–6?

Context: CREATE TABLE table_name_61 (set_2 VARCHAR, set_3 VARCHAR)

SELECT set_2 FROM table_name_61 WHERE set_3 = "15–6"


Question: What is the total when the score of set 1 was 15–11?

Context: CREATE TABLE table_name_68 (total VARCHAR, set_1 VARCHAR)

SELECT total FROM table_name_68 WHERE set_1 = "15–11"


Question: What is the total when the score of set 1 is 15–11?

Context: CREATE TABLE table_name_5 (total VARCHAR, set_1 VARCHAR)

SELECT total FROM table_name_5 WHERE set_1 = "15–11"


Question: On what date was the total 25–45?

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

SELECT date FROM table_name_50 WHERE total = "25–45"


Question: What was St Kilda's score as the Away team?

Context: CREATE TABLE table_name_59 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_59 WHERE away_team = "st kilda"


Question: At the venue Vfl Park, what was the Home team score?

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

SELECT home_team AS score FROM table_name_5 WHERE venue = "vfl park"


Question: How many Reg GP does daniel rahimi have with a rd # greater than 3?

Context: CREATE TABLE table_name_66 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)

SELECT COUNT(reg_gp) FROM table_name_66 WHERE player = "daniel rahimi" AND rd__number > 3


Question: What is the lowest Pick # with michael grabner and less than 20 Reg GP?

Context: CREATE TABLE table_name_90 (pick__number INTEGER, player VARCHAR, reg_gp VARCHAR)

SELECT MIN(pick__number) FROM table_name_90 WHERE player = "michael grabner" AND reg_gp < 20


Question: Which class has a peak named fountains fell south top?

Context: CREATE TABLE table_name_31 (class VARCHAR, peak VARCHAR)

SELECT class FROM table_name_31 WHERE peak = "fountains fell south top"


Question: What is the total of Prom in M for Peak great knoutberry hill?

Context: CREATE TABLE table_name_72 (prom__m_ INTEGER, peak VARCHAR)

SELECT SUM(prom__m_) FROM table_name_72 WHERE peak = "great knoutberry hill"


Question: What is the average height for hewitt class, with prom less than 86, and a Peak of gragareth?

Context: CREATE TABLE table_name_45 (height__m_ INTEGER, peak VARCHAR, class VARCHAR, prom__m_ VARCHAR)

SELECT AVG(height__m_) FROM table_name_45 WHERE class = "hewitt" AND prom__m_ < 86 AND peak = "gragareth"


Question: In which movie is Selva Nambi a co-singer?

Context: CREATE TABLE table_name_20 (movie VARCHAR, co_singers VARCHAR)

SELECT movie FROM table_name_20 WHERE co_singers = "selva nambi"


Question: Who was the music director in 1994?

Context: CREATE TABLE table_name_3 (music_director VARCHAR, year VARCHAR)

SELECT music_director FROM table_name_3 WHERE year = 1994


Question: What years was Denis Lawson nominated for an award?

Context: CREATE TABLE table_name_45 (year VARCHAR, nominee VARCHAR)

SELECT COUNT(year) FROM table_name_45 WHERE nominee = "denis lawson"


Question: Did Jason Pennycooke win the award he was nominated for?

Context: CREATE TABLE table_name_14 (result VARCHAR, nominee VARCHAR)

SELECT result FROM table_name_14 WHERE nominee = "jason pennycooke"


Question: How many years was Best Musical Revival nominated?

Context: CREATE TABLE table_name_60 (year VARCHAR, nominee VARCHAR)

SELECT COUNT(year) FROM table_name_60 WHERE nominee = "best musical revival"


Question: What award was Denis Lawson nominated for in the Best Actor in a Musical category?

Context: CREATE TABLE table_name_95 (award VARCHAR, category VARCHAR, nominee VARCHAR)

SELECT award FROM table_name_95 WHERE category = "best actor in a musical" AND nominee = "denis lawson"


Question: Which opponent has an Outcome of winner, and a Date of 5 november 2011?

Context: CREATE TABLE table_name_26 (opponent VARCHAR, outcome VARCHAR, date VARCHAR)

SELECT opponent FROM table_name_26 WHERE outcome = "winner" AND date = "5 november 2011"


Question: Which date has a Score of 4–6, 2–6?

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

SELECT date FROM table_name_92 WHERE score = "4–6, 2–6"


Question: Which date has a Opponent of juan mónaco, and a Score of 6–2, 4–6, 7–6 (7–3)?

Context: CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, score VARCHAR)

SELECT date FROM table_name_60 WHERE opponent = "juan mónaco" AND score = "6–2, 4–6, 7–6 (7–3)"


Question: Which outcome has a Opponent of fernando verdasco?

Context: CREATE TABLE table_name_16 (outcome VARCHAR, opponent VARCHAR)

SELECT outcome FROM table_name_16 WHERE opponent = "fernando verdasco"


Question: Which surface has an Opponent of fernando verdasco?

Context: CREATE TABLE table_name_41 (surface VARCHAR, opponent VARCHAR)

SELECT surface FROM table_name_41 WHERE opponent = "fernando verdasco"


Question: Which surface has a Date of 5 november 2011?

Context: CREATE TABLE table_name_40 (surface VARCHAR, date VARCHAR)

SELECT surface FROM table_name_40 WHERE date = "5 november 2011"


Question: When the Venue was mcg what was the sum of all Crowds for that venue?

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

SELECT SUM(crowd) FROM table_name_16 WHERE venue = "mcg"


Question: If the Away team is essendon, what was the Date they played?

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

SELECT date FROM table_name_62 WHERE away_team = "essendon"


Question: On what Date did the Away team essendon play?

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

SELECT date FROM table_name_11 WHERE away_team = "essendon"


Question: When the Home team was north melbourne what was the Date of the game?

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

SELECT date FROM table_name_49 WHERE home_team = "north melbourne"


Question: What was the record as of September 1?

Context: CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)

SELECT record FROM table_name_72 WHERE date = "september 1"


Question: What was the losing score on September 1?

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

SELECT loss FROM table_name_48 WHERE date = "september 1"


Question: What is the 1988 value when the 1987 value was 1r?

Context: CREATE TABLE table_name_88 (Id VARCHAR)

SELECT 1988 FROM table_name_88 WHERE 1987 = "1r"


Question: What is the 1981 value at the Tournament of Wimbledon?

Context: CREATE TABLE table_name_97 (tournament VARCHAR)

SELECT 1981 FROM table_name_97 WHERE tournament = "wimbledon"


Question: What is the name of the rollercoaster that opened in 2004 in bobbejaanland?

Context: CREATE TABLE table_name_86 (name VARCHAR, opened VARCHAR, park VARCHAR)

SELECT name FROM table_name_86 WHERE opened = "2004" AND park = "bobbejaanland"


Question: What is the status of the junior coaster model that opened in 2008?

Context: CREATE TABLE table_name_89 (status VARCHAR, opened VARCHAR, model VARCHAR)

SELECT status FROM table_name_89 WHERE opened = "2008" AND model = "junior coaster"


Question: What is the model for Thor's Hammer which is listed as operating?

Context: CREATE TABLE table_name_16 (model VARCHAR, status VARCHAR, name VARCHAR)

SELECT model FROM table_name_16 WHERE status = "operating" AND name = "thor's hammer"


Question: What is the name of the coaster that opened in 2011 and is a euro-fighter model?

Context: CREATE TABLE table_name_80 (name VARCHAR, model VARCHAR, opened VARCHAR)

SELECT name FROM table_name_80 WHERE model = "euro-fighter" AND opened = "2011"


Question: Which driver won the iv j.c.c. jersey road race?

Context: CREATE TABLE table_name_9 (winning_driver VARCHAR, race_name VARCHAR)

SELECT winning_driver FROM table_name_9 WHERE race_name = "iv j.c.c. jersey road race"


Question: What's the total number of games that had more than 34 points and exactly 3 losses?

Context: CREATE TABLE table_name_73 (games VARCHAR, points VARCHAR, losses VARCHAR)

SELECT COUNT(games) FROM table_name_73 WHERE points = 34 AND losses = 3


Question: What's the total number of losses with less than 19 points and more than 36 games?

Context: CREATE TABLE table_name_14 (losses VARCHAR, points VARCHAR, games VARCHAR)

SELECT COUNT(losses) FROM table_name_14 WHERE points < 19 AND games > 36


Question: Which season has less than 26 points, more than 18 games, and exactly 13 losses?

Context: CREATE TABLE table_name_78 (season VARCHAR, losses VARCHAR, points VARCHAR, games VARCHAR)

SELECT season FROM table_name_78 WHERE points < 26 AND games > 18 AND losses = 13


Question: What is the highest crowd number of the game where the away team was south melbourne?

Context: CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR)

SELECT MAX(crowd) FROM table_name_71 WHERE away_team = "south melbourne"


Question: What is the home team score that played the away team of north melbourne?

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

SELECT home_team AS score FROM table_name_73 WHERE away_team = "north melbourne"


Question: What is the away team score of the game that was played at princes park?

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

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


Question: If the Home team is carlton, what's the lowest Crowd found?

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

SELECT MIN(crowd) FROM table_name_13 WHERE home_team = "carlton"


Question: What is the Block A value for an El NOSAWA Mendoza value of kondo (7:08)?

Context: CREATE TABLE table_name_14 (block_a VARCHAR, el_nosawa_mendoza VARCHAR)

SELECT block_a FROM table_name_14 WHERE el_nosawa_mendoza = "kondo (7:08)"


Question: What is the PEPE Michinoku value for a Ryuji Hijikata value of sabin (12:33)?

Context: CREATE TABLE table_name_28 (pepe_michinoku VARCHAR, ryuji_hijikata VARCHAR)

SELECT pepe_michinoku FROM table_name_28 WHERE ryuji_hijikata = "sabin (12:33)"


Question: What is the Shuji Kondo value related to a PEPE Michinoku value of sabin (14:43)?

Context: CREATE TABLE table_name_2 (shuji_kondo VARCHAR, pepe_michinoku VARCHAR)

SELECT shuji_kondo FROM table_name_2 WHERE pepe_michinoku = "sabin (14:43)"


Question: Tell me the declination with NGC number larger than 5750

Context: CREATE TABLE table_name_80 (declination___j2000__ VARCHAR, ngc_number INTEGER)

SELECT declination___j2000__ FROM table_name_80 WHERE ngc_number > 5750


Question: Tell me the final position for fa community shield

Context: CREATE TABLE table_name_22 (final_position___round VARCHAR, competition VARCHAR)

SELECT final_position___round FROM table_name_22 WHERE competition = "fa community shield"


Question: Name the first match for 11 may 2008

Context: CREATE TABLE table_name_84 (first_match VARCHAR, last_match VARCHAR)

SELECT first_match FROM table_name_84 WHERE last_match = "11 may 2008"


Question: What is the total number of Lifetime India Distributor share earlier than 2009?

Context: CREATE TABLE table_name_39 (lifetime_india_distributor_share VARCHAR, year INTEGER)

SELECT COUNT(lifetime_india_distributor_share) FROM table_name_39 WHERE year < 2009


Question: When did South Melbourne play as the home team?

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

SELECT date FROM table_name_66 WHERE home_team = "south melbourne"


Question: What was the largest amount of spectators when St Kilda was the away team?

Context: CREATE TABLE table_name_36 (crowd INTEGER, away_team VARCHAR)

SELECT MAX(crowd) FROM table_name_36 WHERE away_team = "st kilda"


Question: What was Richmond's score when it was the away team?

Context: CREATE TABLE table_name_83 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_83 WHERE away_team = "richmond"


Question: what is the declination (j2000) that has a constellation of hydra and a right ascension (j2000) of 10h46m44.9s?

Context: CREATE TABLE table_name_77 (declination___j2000__ VARCHAR, constellation VARCHAR, right_ascension___j2000__ VARCHAR)

SELECT declination___j2000__ FROM table_name_77 WHERE constellation = "hydra" AND right_ascension___j2000__ = "10h46m44.9s"


Question: What is the ngc number when the object type is lenticular galaxy and the constellation is hydra?

Context: CREATE TABLE table_name_12 (ngc_number INTEGER, object_type VARCHAR, constellation VARCHAR)

SELECT MAX(ngc_number) FROM table_name_12 WHERE object_type = "lenticular galaxy" AND constellation = "hydra"


Question: what is the object type when the ngc number is 3314?

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

SELECT object_type FROM table_name_98 WHERE ngc_number = 3314


Question: what is the ngc number when the constellation is leo and the declination (j2000) is °42′13″?

Context: CREATE TABLE table_name_70 (ngc_number INTEGER, constellation VARCHAR, declination___j2000__ VARCHAR)

SELECT AVG(ngc_number) FROM table_name_70 WHERE constellation = "leo" AND declination___j2000__ = "°42′13″"


Question: what is the right ascension (j2000) with the ngc number less than 3384, the constellation is hydra and the object type is spiral galaxy?

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

SELECT right_ascension___j2000__ FROM table_name_58 WHERE ngc_number < 3384 AND constellation = "hydra" AND object_type = "spiral galaxy"


Question: What competition was played on October 7, 2011?

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

SELECT competition FROM table_name_95 WHERE date = "october 7, 2011"


Question: What's the score for 1992, with the result of a loss?

Context: CREATE TABLE table_name_65 (score VARCHAR, year VARCHAR, result VARCHAR)

SELECT score FROM table_name_65 WHERE year = 1992 AND result = "loss"


Question: What national league has limoges csp, and french basketball cup?

Context: CREATE TABLE table_name_80 (national_league VARCHAR, club VARCHAR, national_cup VARCHAR)

SELECT national_league FROM table_name_80 WHERE club = "limoges csp" AND national_cup = "french basketball cup"


Question: What is the club that has the turkish basketball cup and fiba eurochallenge (3rd tier)?

Context: CREATE TABLE table_name_97 (club VARCHAR, national_cup VARCHAR, european_cup VARCHAR)

SELECT club FROM table_name_97 WHERE national_cup = "turkish basketball cup" AND european_cup = "fiba eurochallenge (3rd tier)"


Question: What national cup has fc barcelona?

Context: CREATE TABLE table_name_91 (national_cup VARCHAR, club VARCHAR)

SELECT national_cup FROM table_name_91 WHERE club = "fc barcelona"


Question: Name the average DDR3 speed for model e-350

Context: CREATE TABLE table_name_15 (ddr3_speed INTEGER, model VARCHAR)

SELECT AVG(ddr3_speed) FROM table_name_15 WHERE model = "e-350"


Question: who lost on august 21?

Context: CREATE TABLE table_name_10 (loss VARCHAR, date VARCHAR)

SELECT loss FROM table_name_10 WHERE date = "august 21"


Question: On August 10, what was the record against the Expos?

Context: CREATE TABLE table_name_21 (record VARCHAR, opponent VARCHAR, date VARCHAR)

SELECT record FROM table_name_21 WHERE opponent = "expos" AND date = "august 10"


Question: What is the average laps for lorenzo bandini with a grid under 3?

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

SELECT AVG(laps) FROM table_name_91 WHERE driver = "lorenzo bandini" AND grid < 3


Question: What driver has under 53 laps, a grid smaller than 14, and a time/retired of differential?

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

SELECT driver FROM table_name_28 WHERE laps < 53 AND grid < 14 AND time_retired = "differential"


Question: What music is in the film with an Uncut run time of 95 minutes?

Context: CREATE TABLE table_name_63 (music VARCHAR, uncut_run_time VARCHAR)

SELECT music FROM table_name_63 WHERE uncut_run_time = "95 minutes"


Question: What country is the film that has music of nino oliviero?

Context: CREATE TABLE table_name_10 (country VARCHAR, music VARCHAR)

SELECT country FROM table_name_10 WHERE music = "nino oliviero"


Question: What music is in the film before 1963?

Context: CREATE TABLE table_name_53 (music VARCHAR, year INTEGER)

SELECT music FROM table_name_53 WHERE year < 1963


Question: What music is in the film before 1962?

Context: CREATE TABLE table_name_23 (music VARCHAR, year VARCHAR)

SELECT music FROM table_name_23 WHERE year = 1962


Question: Which team played as the home team when north melbourne played as away?

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

SELECT home_team FROM table_name_75 WHERE away_team = "north melbourne"


Question: what is the position of pick #53?

Context: CREATE TABLE table_name_37 (position VARCHAR, pick__number VARCHAR)

SELECT position FROM table_name_37 WHERE pick__number = 53


Question: what is the position for andrew paopao?

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

SELECT position FROM table_name_54 WHERE player = "andrew paopao"


Question: In which venue is South Melbourne the home team?

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

SELECT venue FROM table_name_11 WHERE home_team = "south melbourne"


Question: When South Melbourne was the home team, who was the away team?

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

SELECT away_team FROM table_name_80 WHERE home_team = "south melbourne"


Question: What venue is Hawthorn the home team at?

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

SELECT venue FROM table_name_16 WHERE home_team = "hawthorn"


Question: What is the capacity for the arena in Chester?

Context: CREATE TABLE table_name_97 (capacity VARCHAR, city_area VARCHAR)

SELECT capacity FROM table_name_97 WHERE city_area = "chester"


Question: Which arena has a capactiy of 1,100?

Context: CREATE TABLE table_name_8 (arena VARCHAR, capacity VARCHAR)

SELECT arena FROM table_name_8 WHERE capacity = "1,100"


Question: What is the last season that the Scottish Rocks played?

Context: CREATE TABLE table_name_90 (last_season VARCHAR, team VARCHAR)

SELECT last_season FROM table_name_90 WHERE team = "scottish rocks"


Question: Which arena has the Milton Keynes Lions and a capacity of 800?

Context: CREATE TABLE table_name_32 (arena VARCHAR, capacity VARCHAR, team VARCHAR)

SELECT arena FROM table_name_32 WHERE capacity = "800" AND team = "milton keynes lions"


Question: What is the last season the Worcester Wolves played?

Context: CREATE TABLE table_name_65 (last_season VARCHAR, team VARCHAR)

SELECT last_season FROM table_name_65 WHERE team = "worcester wolves"


Question: Which team is from Birmingham & Telford?

Context: CREATE TABLE table_name_17 (team VARCHAR, city_area VARCHAR)

SELECT team FROM table_name_17 WHERE city_area = "birmingham & telford"


Question: Who has the least wins when ranked above 3 with over 10 events?

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

SELECT MIN(wins) FROM table_name_5 WHERE rank < 3 AND events > 10


Question: How many wins for billy casper over 8 events and uner $71,979 in earnings?

Context: CREATE TABLE table_name_62 (wins INTEGER, earnings___$__ VARCHAR, events VARCHAR, player VARCHAR)

SELECT MIN(wins) FROM table_name_62 WHERE events = 8 AND player = "billy casper" AND earnings___$__ < 71 OFFSET 979


Question: What is the lowest rank for a player earning $71,979?

Context: CREATE TABLE table_name_11 (rank INTEGER, earnings___$__ INTEGER)

SELECT MIN(rank) FROM table_name_11 WHERE earnings___$__ < 71 OFFSET 979


Question: What was the Gdp (bn) for the region that has ioannina as its Capital?

Context: CREATE TABLE table_name_67 (gdp___bn__ VARCHAR, capital VARCHAR)

SELECT gdp___bn__ FROM table_name_67 WHERE capital = "ioannina"


Question: Which Region has an Area of 9,451km²?

Context: CREATE TABLE table_name_65 (region VARCHAR, area__km²_ VARCHAR)

SELECT region FROM table_name_65 WHERE area__km²_ = "9,451"


Question: Which capital has a population of 308,610?

Context: CREATE TABLE table_name_73 (capital VARCHAR, population VARCHAR)

SELECT capital FROM table_name_73 WHERE population = "308,610"


Question: Which Region has an area of 14,037km²?

Context: CREATE TABLE table_name_70 (region VARCHAR, area__km²_ VARCHAR)

SELECT region FROM table_name_70 WHERE area__km²_ = "14,037"


Question: What is the GDP for the region with an area of 7,263 sq. mi.?

Context: CREATE TABLE table_name_74 (gdp___bn__ VARCHAR, area__sq_mi_ VARCHAR)

SELECT gdp___bn__ FROM table_name_74 WHERE area__sq_mi_ = "7,263"


Question: What is the population for the region with an area of 6,004 sq. Mi.?

Context: CREATE TABLE table_name_43 (population VARCHAR, area__sq_mi_ VARCHAR)

SELECT population FROM table_name_43 WHERE area__sq_mi_ = "6,004"


Question: What is the lowest episode # with an air date of October 31, 2001?

Context: CREATE TABLE table_name_42 (episode__number INTEGER, airdate VARCHAR)

SELECT MIN(episode__number) FROM table_name_42 WHERE airdate = "october 31, 2001"


Question: What is the average episode # located in Tanzania and whose # in season is larger than 5?

Context: CREATE TABLE table_name_65 (episode__number INTEGER, location VARCHAR, _number_in_season VARCHAR)

SELECT AVG(episode__number) FROM table_name_65 WHERE location = "tanzania" AND _number_in_season > 5


Question: What is the average episode # with a name of the origin of Donnie (part 1)?

Context: CREATE TABLE table_name_75 (episode__number INTEGER, episode_name VARCHAR)

SELECT AVG(episode__number) FROM table_name_75 WHERE episode_name = "the origin of donnie (part 1)"


Question: Which air date has 5 for # in season?

Context: CREATE TABLE table_name_50 (airdate VARCHAR, _number_in_season VARCHAR)

SELECT airdate FROM table_name_50 WHERE _number_in_season = 5


Question: What venue is home for the Melbourne team?

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

SELECT venue FROM table_name_60 WHERE home_team = "melbourne"


Question: Which License has a System of amiga, and a Name of pocketuae?

Context: CREATE TABLE table_name_83 (license VARCHAR, system VARCHAR, name VARCHAR)

SELECT license FROM table_name_83 WHERE system = "amiga" AND name = "pocketuae"


Question: What name has a License of gpl, and an Actual version of 0.8.29wip4?

Context: CREATE TABLE table_name_46 (name VARCHAR, license VARCHAR, actual_version VARCHAR)

SELECT name FROM table_name_46 WHERE license = "gpl" AND actual_version = "0.8.29wip4"


Question: Which platform has an Actual version of 0.147?

Context: CREATE TABLE table_name_38 (platform VARCHAR, actual_version VARCHAR)

SELECT platform FROM table_name_38 WHERE actual_version = "0.147"


Question: Which name has a License of gpl, and a Platform of windows?

Context: CREATE TABLE table_name_47 (name VARCHAR, license VARCHAR, platform VARCHAR)

SELECT name FROM table_name_47 WHERE license = "gpl" AND platform = "windows"


Question: Which system is named mess?

Context: CREATE TABLE table_name_80 (system VARCHAR, name VARCHAR)

SELECT system FROM table_name_80 WHERE name = "mess"


Question: Which Platform has an Actual version of 0.8.29?

Context: CREATE TABLE table_name_96 (platform VARCHAR, actual_version VARCHAR)

SELECT platform FROM table_name_96 WHERE actual_version = "0.8.29"


Question: What's the earliest year that had a category of best supporting actress at the asian film awards?

Context: CREATE TABLE table_name_46 (year INTEGER, category VARCHAR, award VARCHAR)

SELECT MIN(year) FROM table_name_46 WHERE category = "best supporting actress" AND award = "asian film awards"


Question: Which award show had the category of best supporting actress?

Context: CREATE TABLE table_name_22 (award VARCHAR, category VARCHAR)

SELECT award FROM table_name_22 WHERE category = "best supporting actress"


Question: Did the nominated work of white valentine win an award?

Context: CREATE TABLE table_name_61 (result VARCHAR, nominated_work VARCHAR)

SELECT result FROM table_name_61 WHERE nominated_work = "white valentine"


Question: Which category was the berlin file up to win in 2013?

Context: CREATE TABLE table_name_9 (category VARCHAR, year VARCHAR, nominated_work VARCHAR)

SELECT category FROM table_name_9 WHERE year = 2013 AND nominated_work = "the berlin file"


Question: What is the final position/round of the UEFA cup?

Context: CREATE TABLE table_name_88 (final_position___round VARCHAR, competition VARCHAR)

SELECT final_position___round FROM table_name_88 WHERE competition = "uefa cup"


Question: When the final position/round is group stage, when is the last match?

Context: CREATE TABLE table_name_60 (last_match VARCHAR, final_position___round VARCHAR)

SELECT last_match FROM table_name_60 WHERE final_position___round = "group stage"


Question: When did the DC Comics title that debuted in 1937 end?

Context: CREATE TABLE table_name_65 (last_year VARCHAR, first_year VARCHAR, publisher VARCHAR)

SELECT last_year FROM table_name_65 WHERE first_year = "1937" AND publisher = "dc comics"


Question: Who published Weird War Tales?

Context: CREATE TABLE table_name_13 (publisher VARCHAR, title VARCHAR)

SELECT publisher FROM table_name_13 WHERE title = "weird war tales"


Question: When did the comic which came out in 1982 end?

Context: CREATE TABLE table_name_75 (last_year VARCHAR, first_year VARCHAR)

SELECT last_year FROM table_name_75 WHERE first_year = "1982"


Question: Which EC Comics title ran from 1950 to 1953?

Context: CREATE TABLE table_name_61 (title VARCHAR, last_year VARCHAR, first_year VARCHAR, publisher VARCHAR)

SELECT title FROM table_name_61 WHERE first_year = "1950" AND publisher = "ec comics" AND last_year = "1953"


Question: What is the first year for Popgun?

Context: CREATE TABLE table_name_41 (first_year VARCHAR, title VARCHAR)

SELECT first_year FROM table_name_41 WHERE title = "popgun"


Question: What's the region for an item on November 10, 2007 that's a cd?

Context: CREATE TABLE table_name_91 (region VARCHAR, date VARCHAR, format VARCHAR)

SELECT region FROM table_name_91 WHERE date = "november 10, 2007" AND format = "cd"


Question: What's the catalog number for a record from columbia formatted in a cd/dvd that's from the United States region?

Context: CREATE TABLE table_name_97 (catalog VARCHAR, format VARCHAR, label VARCHAR, region VARCHAR)

SELECT catalog FROM table_name_97 WHERE label = "columbia" AND region = "united states" AND format = "cd/dvd"


Question: What's the catalog number for a December 11, 2007 record from columbia formatted in a that's from Canada?

Context: CREATE TABLE table_name_1 (catalog VARCHAR, region VARCHAR, label VARCHAR, date VARCHAR)

SELECT catalog FROM table_name_1 WHERE label = "columbia" AND date = "december 11, 2007" AND region = "canada"


Question: What is the average crowd size at Princes Park?

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

SELECT SUM(crowd) FROM table_name_84 WHERE venue = "princes park"


Question: who is the constructor when the free practice driver(s) is n/a, the chassis is 005 and the driver is takuma sato?

Context: CREATE TABLE table_name_42 (constructor VARCHAR, driver VARCHAR, free_practice_driver_s_ VARCHAR, chassis VARCHAR)

SELECT constructor FROM table_name_42 WHERE free_practice_driver_s_ = "n/a" AND chassis = "005" AND driver = "takuma sato"


Question: what is the rounds when the entrant is scuderia ferrari marlboro?

Context: CREATE TABLE table_name_57 (rounds VARCHAR, entrant VARCHAR)

SELECT rounds FROM table_name_57 WHERE entrant = "scuderia ferrari marlboro"


Question: what is the chassis when the entrant is mild seven renault f1 team and the driver is jarno trulli?

Context: CREATE TABLE table_name_3 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)

SELECT chassis FROM table_name_3 WHERE entrant = "mild seven renault f1 team" AND driver = "jarno trulli"


Question: what is the engine when the tyre is m and the driver is fernando alonso?

Context: CREATE TABLE table_name_34 (engine_† VARCHAR, tyre VARCHAR, driver VARCHAR)

SELECT engine_† FROM table_name_34 WHERE tyre = "m" AND driver = "fernando alonso"


Question: who is the constructor when the driver is juan pablo montoya?

Context: CREATE TABLE table_name_41 (constructor VARCHAR, driver VARCHAR)

SELECT constructor FROM table_name_41 WHERE driver = "juan pablo montoya"


Question: How many people attended the game with a record of 86-56

Context: CREATE TABLE table_name_39 (attendance VARCHAR, record VARCHAR)

SELECT COUNT(attendance) FROM table_name_39 WHERE record = "86-56"


Question: Name the date that had a record of 90-60

Context: CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR)

SELECT date FROM table_name_31 WHERE record = "90-60"


Question: What was the highest Sinclair Total that had a rank of 3, but a World Record smaller than 217?

Context: CREATE TABLE table_name_5 (sinclair_total INTEGER, rank VARCHAR, world_record__kg_ VARCHAR)

SELECT MAX(sinclair_total) FROM table_name_5 WHERE rank = 3 AND world_record__kg_ < 217


Question: What is the name of the venue that they away team Collingwood played at?

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

SELECT venue FROM table_name_95 WHERE away_team = "collingwood"


Question: What date did Carlton play as the away team?

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

SELECT date FROM table_name_54 WHERE away_team = "carlton"


Question: What was the home team's score at Windy Hill?

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

SELECT home_team AS score FROM table_name_76 WHERE venue = "windy hill"


Question: What is the lowest grid value with fewer than 17 laps and constructor Sauber - Petronas?

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

SELECT MIN(grid) FROM table_name_48 WHERE laps < 17 AND constructor = "sauber - petronas"


Question: Which Time/Retired entry has greater than 51 laps and driver Cristiano da Matta?

Context: CREATE TABLE table_name_79 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)

SELECT time_retired FROM table_name_79 WHERE laps > 51 AND driver = "cristiano da matta"


Question: How many ties did the Montreal Victorias have with a GA of less than 24?

Context: CREATE TABLE table_name_57 (ties INTEGER, team VARCHAR, goals_against VARCHAR)

SELECT MAX(ties) FROM table_name_57 WHERE team = "montreal victorias" AND goals_against < 24


Question: How many years was the record 3:40.8?

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

SELECT COUNT(year) FROM table_name_28 WHERE record = "3:40.8"


Question: What event is before 1964 and has an athlete of lászló tábori gunnar nielsen?

Context: CREATE TABLE table_name_79 (event VARCHAR, year VARCHAR, athlete VARCHAR)

SELECT event FROM table_name_79 WHERE year < 1964 AND athlete = "lászló tábori gunnar nielsen"


Question: Who is the leading scorer of the game where the Kings is the home team?

Context: CREATE TABLE table_name_27 (leading_scorer VARCHAR, home VARCHAR)

SELECT leading_scorer FROM table_name_27 WHERE home = "kings"


Question: Who is the visitor team of the game on March 2, 2008?

Context: CREATE TABLE table_name_19 (visitor VARCHAR, date VARCHAR)

SELECT visitor FROM table_name_19 WHERE date = "march 2, 2008"


Question: What is the attendance total of the game with the Lakers as the home team?

Context: CREATE TABLE table_name_67 (attendance VARCHAR, home VARCHAR)

SELECT COUNT(attendance) FROM table_name_67 WHERE home = "lakers"


Question: Which week had 39,056 people in attendance?

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

SELECT week FROM table_name_89 WHERE attendance = "39,056"


Question: What is the kickoff time for week 3?

Context: CREATE TABLE table_name_25 (kickoff_ VARCHAR, a_ VARCHAR, week VARCHAR)

SELECT kickoff_[a_] FROM table_name_25 WHERE week = "3"


Question: What is the kickoff time for the Hubert H. Humphrey Metrodome?

Context: CREATE TABLE table_name_12 (kickoff_ VARCHAR, a_ VARCHAR, game_site VARCHAR)

SELECT kickoff_[a_] FROM table_name_12 WHERE game_site = "hubert h. humphrey metrodome"


Question: Who was the opponent on September 13, 1992?

Context: CREATE TABLE table_name_10 (opponent VARCHAR, date VARCHAR)

SELECT opponent FROM table_name_10 WHERE date = "september 13, 1992"


Question: What is the result on November 1, 1992?

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

SELECT result FROM table_name_53 WHERE date = "november 1, 1992"


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

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

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


Question: Who played Collingwood?

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

SELECT away_team FROM table_name_72 WHERE home_team = "collingwood"


Question: How big was the crowd for Essendon?

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

SELECT SUM(crowd) FROM table_name_78 WHERE home_team = "essendon"


Question: Which team played against North Melbourne as the home team?

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

SELECT home_team FROM table_name_5 WHERE away_team = "north melbourne"


Question: Which home team plays at Punt Road Oval?

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

SELECT home_team FROM table_name_40 WHERE venue = "punt road oval"


Question: Which team plays at Punt Road Oval?

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

SELECT home_team FROM table_name_75 WHERE venue = "punt road oval"


Question: What did the away team score at corio oval?

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

SELECT away_team AS score FROM table_name_58 WHERE venue = "corio oval"


Question: Who did the cowboys play when 65,537 attended?

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

SELECT opponent FROM table_name_54 WHERE attendance = "65,537"


Question: What is the name of the tournament when antonia xenia tout nataša zorić was the opponenet?

Context: CREATE TABLE table_name_13 (tournament VARCHAR, opponents VARCHAR)

SELECT tournament FROM table_name_13 WHERE opponents = "antonia xenia tout nataša zorić"


Question: What date was georgie stoop emily webley-smith the opponent?

Context: CREATE TABLE table_name_33 (date VARCHAR, opponents VARCHAR)

SELECT date FROM table_name_33 WHERE opponents = "georgie stoop emily webley-smith"


Question: What is the surface of the match when the opponent was iryna bremond valeria savinykh?

Context: CREATE TABLE table_name_44 (surface VARCHAR, opponents VARCHAR)

SELECT surface FROM table_name_44 WHERE opponents = "iryna bremond valeria savinykh"


Question: What is the name of the opponent for the Sutton tournament?

Context: CREATE TABLE table_name_19 (opponents VARCHAR, tournament VARCHAR)

SELECT opponents FROM table_name_19 WHERE tournament = "sutton"


Question: What is the name of the opponent when anastasia pivovarova was the partner?

Context: CREATE TABLE table_name_15 (opponents VARCHAR, partner VARCHAR)

SELECT opponents FROM table_name_15 WHERE partner = "anastasia pivovarova"


Question: What is south melbourne's home side score?

Context: CREATE TABLE table_name_53 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_53 WHERE home_team = "south melbourne"


Question: What rounds did Roy Salvadori drive for David Brown Corporation?

Context: CREATE TABLE table_name_98 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR)

SELECT rounds FROM table_name_98 WHERE entrant = "david brown corporation" AND driver = "roy salvadori"


Question: What are the results for years after 2007?

Context: CREATE TABLE table_name_17 (result VARCHAR, year INTEGER)

SELECT result FROM table_name_17 WHERE year > 2007


Question: Which characters after 2003 won?

Context: CREATE TABLE table_name_1 (character VARCHAR, result VARCHAR, year VARCHAR)

SELECT character FROM table_name_1 WHERE result = "won" AND year > 2003


Question: For 2006 what category has the Show of kasautii zindagii kay?

Context: CREATE TABLE table_name_54 (category VARCHAR, for_the_show VARCHAR, year VARCHAR)

SELECT category FROM table_name_54 WHERE for_the_show = "kasautii zindagii kay" AND year = 2006


Question: What is the character for 2005?

Context: CREATE TABLE table_name_43 (character VARCHAR, year VARCHAR)

SELECT character FROM table_name_43 WHERE year = 2005


Question: What is a category before 2012?

Context: CREATE TABLE table_name_21 (category VARCHAR, year INTEGER)

SELECT category FROM table_name_21 WHERE year < 2012


Question: What is natural change with a crude death rate of 8.7 and less than 472 live births?

Context: CREATE TABLE table_name_74 (natural_change VARCHAR, crude_death_rate__per_1000_ VARCHAR, live_births VARCHAR)

SELECT natural_change FROM table_name_74 WHERE crude_death_rate__per_1000_ = 8.7 AND live_births < 472


Question: What owner or owners have an operational description?

Context: CREATE TABLE table_name_34 (owner_s_ VARCHAR, description VARCHAR)

SELECT owner_s_ FROM table_name_34 WHERE description = "operational"


Question: What is the date for the Operational Livery?

Context: CREATE TABLE table_name_51 (date VARCHAR, livery VARCHAR)

SELECT date FROM table_name_51 WHERE livery = "operational"


Question: What is the date listed for the item that has undergoing overhaul, restoration or repairs listed under description?

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

SELECT date FROM table_name_62 WHERE description = "undergoing overhaul, restoration or repairs"


Question: Who is the home team that played at MCG?

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

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


Question: What is the size of the smallest crowd that watched a game at Arden Street Oval?

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

SELECT MIN(crowd) FROM table_name_32 WHERE venue = "arden street oval"


Question: What is the score of the away team who played home team Hawthorn?

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

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


Question: Who is the away team that played home team Footscray?

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

SELECT away_team FROM table_name_67 WHERE home_team = "footscray"


Question: How many people attended the game where Fitzroy was the away team?

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

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


Question: I want the NGC number for leo of irregular galaxy

Context: CREATE TABLE table_name_16 (ngc_number VARCHAR, constellation VARCHAR, object_type VARCHAR)

SELECT ngc_number FROM table_name_16 WHERE constellation = "leo" AND object_type = "irregular galaxy"


Question: Tell me the highest NGC number for right ascension of 09h40m28.5s

Context: CREATE TABLE table_name_57 (ngc_number INTEGER, right_ascension___j2000__ VARCHAR)

SELECT MAX(ngc_number) FROM table_name_57 WHERE right_ascension___j2000__ = "09h40m28.5s"


Question: What is the constellation for open cluster?

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

SELECT constellation FROM table_name_37 WHERE object_type = "open cluster"


Question: Which event was Tatyana Lebedeva in?

Context: CREATE TABLE table_name_75 (event VARCHAR, athlete VARCHAR)

SELECT event FROM table_name_75 WHERE athlete = "tatyana lebedeva"


Question: What event was Fatima Whitbread Trine Hattestad in?

Context: CREATE TABLE table_name_25 (event VARCHAR, athlete VARCHAR)

SELECT event FROM table_name_25 WHERE athlete = "fatima whitbread trine hattestad"


Question: What is Milcah Chemos' record?

Context: CREATE TABLE table_name_80 (record VARCHAR, athlete VARCHAR)

SELECT record FROM table_name_80 WHERE athlete = "milcah chemos"


Question: What is the record for the 400 m event on 4 september 2009?

Context: CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR, event VARCHAR)

SELECT record FROM table_name_23 WHERE date = "4 september 2009" AND event = "400 m"


Question: What event was on 26 August 2005?

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

SELECT event FROM table_name_14 WHERE date = "26 august 2005"


Question: What was the date of the discus throw for Bulgaria?

Context: CREATE TABLE table_name_40 (date VARCHAR, nationality VARCHAR, event VARCHAR)

SELECT date FROM table_name_40 WHERE nationality = "bulgaria" AND event = "discus throw"


Question: What is the date ground A and Cartagena as an opponent?

Context: CREATE TABLE table_name_50 (date VARCHAR, ground VARCHAR, opponent VARCHAR)

SELECT date FROM table_name_50 WHERE ground = "a" AND opponent = "cartagena"


Question: What ground has a match smaller than 2?

Context: CREATE TABLE table_name_16 (ground VARCHAR, match INTEGER)

SELECT ground FROM table_name_16 WHERE match < 2


Question: What is the score of the competition of friendly, at match 7?

Context: CREATE TABLE table_name_53 (score1 VARCHAR, competition_or_tour VARCHAR, match VARCHAR)

SELECT score1 FROM table_name_53 WHERE competition_or_tour = "friendly" AND match = 7


Question: What was the lowest Pick number of Player Brian Bradley from Canada, in a Draft year before 1985?

Context: CREATE TABLE table_name_29 (pick INTEGER, player VARCHAR, nationality VARCHAR, draft VARCHAR)

SELECT MIN(pick) FROM table_name_29 WHERE nationality = "canada" AND draft < 1985 AND player = "brian bradley"


Question: Which Round was Player Adam Cracknell Picked after 231 in a Draft year after 1988?

Context: CREATE TABLE table_name_4 (round VARCHAR, player VARCHAR, pick VARCHAR, draft VARCHAR)

SELECT round FROM table_name_4 WHERE pick > 231 AND draft > 1988 AND player = "adam cracknell"


Question: Name the total number of yards for avg of 9 and rec of 1

Context: CREATE TABLE table_name_99 (yards VARCHAR, avg VARCHAR, rec VARCHAR)

SELECT COUNT(yards) FROM table_name_99 WHERE avg = 9 AND rec = 1


Question: What is the highest number of losses that the team incurred while scoring less than 79 points in 10 games with a point differential less than 34?

Context: CREATE TABLE table_name_69 (losses INTEGER, point_differential VARCHAR, points_for VARCHAR, games_played VARCHAR)

SELECT MAX(losses) FROM table_name_69 WHERE points_for < 79 AND games_played = 10 AND point_differential < 34


Question: Which Player has a Date of Birth (Age When Delisted) of 13 February 1987 (aged 24)?

Context: CREATE TABLE table_name_85 (player VARCHAR, date_of_birth__age_when_delisted_ VARCHAR)

SELECT player FROM table_name_85 WHERE date_of_birth__age_when_delisted_ = "13 february 1987 (aged 24)"


Question: What is listed under Senior List for Date of Birth (Age When Delisted) of 5 June 1984 (aged 23)?

Context: CREATE TABLE table_name_84 (senior_list VARCHAR, date_of_birth__age_when_delisted_ VARCHAR)

SELECT senior_list FROM table_name_84 WHERE date_of_birth__age_when_delisted_ = "5 june 1984 (aged 23)"


Question: What is the average year to begin making autos for a brand that joined GM in 1917?

Context: CREATE TABLE table_name_30 (year_began_making_autos INTEGER, year_joined_gm VARCHAR)

SELECT AVG(year_began_making_autos) FROM table_name_30 WHERE year_joined_gm = 1917


Question: Name the date with a home team of melbourne

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

SELECT date FROM table_name_74 WHERE home_team = "melbourne"


Question: Name the venue for collingwood home team

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

SELECT venue FROM table_name_40 WHERE home_team = "collingwood"


Question: Which year has a Gen.-Secretary of silvana jansen?

Context: CREATE TABLE table_name_7 (year VARCHAR, gen_secretary VARCHAR)

SELECT year FROM table_name_7 WHERE gen_secretary = "silvana jansen"


Question: Which Vice President has a President of daniel masny, and a Treasurer of rebecca t. altmann?

Context: CREATE TABLE table_name_29 (Vice VARCHAR, president VARCHAR, treasurer VARCHAR)

SELECT Vice AS president FROM table_name_29 WHERE president = "daniel masny" AND treasurer = "rebecca t. altmann"


Question: Who was president Year of 2002-2003, second semester?

Context: CREATE TABLE table_name_89 (president VARCHAR, year VARCHAR)

SELECT president FROM table_name_89 WHERE year = "2002-2003, second semester"


Question: Which treasurer has a President of sebastian ihler?

Context: CREATE TABLE table_name_74 (treasurer VARCHAR, president VARCHAR)

SELECT treasurer FROM table_name_74 WHERE president = "sebastian ihler"


Question: Which opponent used a grass surface?

Context: CREATE TABLE table_name_1 (opponent VARCHAR, surface VARCHAR)

SELECT opponent FROM table_name_1 WHERE surface = "grass"


Question: Which tournament had a score of  6–7 (0–7) , 6–2, 4–6?

Context: CREATE TABLE table_name_3 (tournament VARCHAR, score VARCHAR)

SELECT tournament FROM table_name_3 WHERE score = "6–7 (0–7) , 6–2, 4–6"


Question: Tell me the total number of points for lost less than 4

Context: CREATE TABLE table_name_72 (points VARCHAR, lost INTEGER)

SELECT COUNT(points) FROM table_name_72 WHERE lost < 4


Question: I want the sum of drawn for lost less than 0

Context: CREATE TABLE table_name_81 (drawn INTEGER, lost INTEGER)

SELECT SUM(drawn) FROM table_name_81 WHERE lost < 0


Question: I want the points difference for points of 14

Context: CREATE TABLE table_name_29 (points_difference VARCHAR, points VARCHAR)

SELECT points_difference FROM table_name_29 WHERE points = 14


Question: Tell me the sum of rank for when gold is more than 0 and silver less than 23 with total more than 32

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

SELECT SUM(rank) FROM table_name_59 WHERE gold > 0 AND total > 32 AND silver < 23


Question: Tell me the sum of silver for liechtenstein and bronze more than 4

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

SELECT SUM(silver) FROM table_name_34 WHERE nation = "liechtenstein" AND bronze > 4


Question: Which tournament had a score of 6–4, 4–6, 7–5?

Context: CREATE TABLE table_name_70 (tournament VARCHAR, score VARCHAR)

SELECT tournament FROM table_name_70 WHERE score = "6–4, 4–6, 7–5"


Question: Which tournament had a score of 7–5, 2–6, 7–6?

Context: CREATE TABLE table_name_7 (tournament VARCHAR, score VARCHAR)

SELECT tournament FROM table_name_7 WHERE score = "7–5, 2–6, 7–6"


Question: Who was the opponent in the final in which the court surface was hard and the score was 6–3, 3–6, 7–5?

Context: CREATE TABLE table_name_89 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)

SELECT opponent_in_the_final FROM table_name_89 WHERE surface = "hard" AND score = "6–3, 3–6, 7–5"


Question: What was the court surface when the score was 6–4, 6–1?

Context: CREATE TABLE table_name_90 (surface VARCHAR, score VARCHAR)

SELECT surface FROM table_name_90 WHERE score = "6–4, 6–1"


Question: On what date was the opponent in the final Gwinyai Tongoona?

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

SELECT date FROM table_name_62 WHERE opponent_in_the_final = "gwinyai tongoona"


Question: What was the record from the Golden State Warriors on 11/18?

Context: CREATE TABLE table_name_13 (record VARCHAR, visitor VARCHAR, date VARCHAR)

SELECT record FROM table_name_13 WHERE visitor = "golden state warriors" AND date = "11/18"


Question: What class has 4-4-0 wheels and was less than number 40 built?

Context: CREATE TABLE table_name_95 (class VARCHAR, wheels VARCHAR, no_built VARCHAR)

SELECT class FROM table_name_95 WHERE wheels = "4-4-0" AND no_built < 40


Question: Name the space crusade when the english is of finnish

Context: CREATE TABLE table_name_7 (space_crusade VARCHAR, english VARCHAR)

SELECT space_crusade FROM table_name_7 WHERE english = "finnish"


Question: Name the space crusade which has Genestealers of genrøvere (gene robbers)

Context: CREATE TABLE table_name_92 (space_crusade VARCHAR, genestealers VARCHAR)

SELECT space_crusade FROM table_name_92 WHERE genestealers = "genrøvere (gene robbers)"


Question: What was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up?

Context: CREATE TABLE table_name_24 (score VARCHAR, year VARCHAR, winners VARCHAR, runners_up VARCHAR)

SELECT score FROM table_name_24 WHERE winners = "galatasaray" AND runners_up = "trabzonspor" AND year = 1990


Question: How many matches were there in the round with £1,000,000 in prize money?

Context: CREATE TABLE table_name_15 (matches VARCHAR, prize_money VARCHAR)

SELECT COUNT(matches) FROM table_name_15 WHERE prize_money = "£1,000,000"


Question: What was the date for a round that only had 1 match?

Context: CREATE TABLE table_name_36 (date VARCHAR, matches VARCHAR)

SELECT date FROM table_name_36 WHERE matches = 1


Question: What date did Hawthorn play as the away team?

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

SELECT date FROM table_name_87 WHERE away_team = "hawthorn"


Question: What is the hometown for a college in Wisconsin?

Context: CREATE TABLE table_name_43 (hometown VARCHAR, college VARCHAR)

SELECT hometown FROM table_name_43 WHERE college = "wisconsin"


Question: Which college has a linebacker from Lessburg High School?

Context: CREATE TABLE table_name_92 (college VARCHAR, position VARCHAR, school VARCHAR)

SELECT college FROM table_name_92 WHERE position = "linebacker" AND school = "lessburg high school"


Question: Which opponent has a week of 11?

Context: CREATE TABLE table_name_49 (opponent VARCHAR, week VARCHAR)

SELECT opponent FROM table_name_49 WHERE week = 11


Question: Which December 4, 1976 week has an attendance less than 57,366?

Context: CREATE TABLE table_name_46 (week INTEGER, date VARCHAR, attendance VARCHAR)

SELECT MIN(week) FROM table_name_46 WHERE date = "december 4, 1976" AND attendance < 57 OFFSET 366


Question: Who has a larger than 70.99 km2?

Context: CREATE TABLE table_name_52 (comune VARCHAR, total__km²_ INTEGER)

SELECT comune FROM table_name_52 WHERE total__km²_ > 70.99


Question: What is the Piano di Sorrento, Napoli lowest km2 with a total smaller than 121.14 km2?

Context: CREATE TABLE table_name_26 (area__km²_ INTEGER, total__km²_ VARCHAR, province VARCHAR, comune VARCHAR)

SELECT MIN(area__km²_) FROM table_name_26 WHERE province = "napoli" AND comune = "piano di sorrento" AND total__km²_ < 121.14


Question: Which writer had a producer DKA, JL, AS?

Context: CREATE TABLE table_name_85 (writer VARCHAR, producer_executive_producer VARCHAR)

SELECT writer FROM table_name_85 WHERE producer_executive_producer = "dka, jl, as"


Question: Name the film that Lu directed.

Context: CREATE TABLE table_name_68 (film_title VARCHAR, director VARCHAR)

SELECT film_title FROM table_name_68 WHERE director = "lu"


Question: Who wrote Toy Story?

Context: CREATE TABLE table_name_22 (writer VARCHAR, film_title VARCHAR)

SELECT writer FROM table_name_22 WHERE film_title = "toy story"


Question: Which writer had voice characters of JDR, BB, TN, LR, PS?

Context: CREATE TABLE table_name_13 (writer VARCHAR, voiced_character_s_ VARCHAR)

SELECT writer FROM table_name_13 WHERE voiced_character_s_ = "jdr, bb, tn, lr, ps"


Question: Who was the sound producer that worked under Executive Producer JL?

Context: CREATE TABLE table_name_77 (sound VARCHAR, producer_executive_producer VARCHAR)

SELECT sound FROM table_name_77 WHERE producer_executive_producer = "jl"


Question: What was the away team at mcg?

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

SELECT away_team FROM table_name_44 WHERE venue = "mcg"


Question: What is the name of the player from NGA?

Context: CREATE TABLE table_name_17 (name VARCHAR, country VARCHAR)

SELECT name FROM table_name_17 WHERE country = "nga"


Question: Where is Odjidja-Ofoe, with an undisclosed transfer fee, moving to?

Context: CREATE TABLE table_name_64 (moving_to VARCHAR, transfer_fee VARCHAR, name VARCHAR)

SELECT moving_to FROM table_name_64 WHERE transfer_fee = "undisclosed" AND name = "odjidja-ofoe"


Question: What country is the player, with an undisclosed transfer fee and moving to Nacional, from?

Context: CREATE TABLE table_name_96 (country VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)

SELECT country FROM table_name_96 WHERE transfer_fee = "undisclosed" AND moving_to = "nacional"


Question: What is Odjidja-Ofoe's transfer fee?

Context: CREATE TABLE table_name_82 (transfer_fee VARCHAR, name VARCHAR)

SELECT transfer_fee FROM table_name_82 WHERE name = "odjidja-ofoe"


Question: What is the name of the player from Cod?

Context: CREATE TABLE table_name_2 (name VARCHAR, country VARCHAR)

SELECT name FROM table_name_2 WHERE country = "cod"


Question: What country is the player moving to Hamburger SV from?

Context: CREATE TABLE table_name_36 (country VARCHAR, moving_to VARCHAR)

SELECT country FROM table_name_36 WHERE moving_to = "hamburger sv"


Question: Which Driver has an Entrant of Arrows Racing Team and Rounds 1-3?

Context: CREATE TABLE table_name_25 (driver VARCHAR, entrant VARCHAR, rounds VARCHAR)

SELECT driver FROM table_name_25 WHERE entrant = "arrows racing team" AND rounds = "1-3"


Question: Which Constructor has Rounds, All and Driver, Bruno Giacomelli?

Context: CREATE TABLE table_name_50 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)

SELECT constructor FROM table_name_50 WHERE rounds = "all" AND driver = "bruno giacomelli"


Question: What was the winning score when Damien McGrane was runner-up?

Context: CREATE TABLE table_name_39 (winning_score VARCHAR, runner_s__up VARCHAR)

SELECT winning_score FROM table_name_39 WHERE runner_s__up = "damien mcgrane"


Question: Who were the runners-up at the Alfred Dunhill Links Championship?

Context: CREATE TABLE table_name_97 (runner_s__up VARCHAR, tournament VARCHAR)

SELECT runner_s__up FROM table_name_97 WHERE tournament = "alfred dunhill links championship"


Question: Name the highest grid for Laps more than 137 and rank is less than 8

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

SELECT MAX(grid) FROM table_name_89 WHERE laps > 137 AND rank < 8


Question: I want the total number of rank for Grid less than 20 and dick rathmann and Qual more than 130.92

Context: CREATE TABLE table_name_73 (rank VARCHAR, qual VARCHAR, grid VARCHAR, driver VARCHAR)

SELECT COUNT(rank) FROM table_name_73 WHERE grid < 20 AND driver = "dick rathmann" AND qual > 130.92


Question: Which nation won 1 gold medal and 1 bronze, for a total of 2 medals?

Context: CREATE TABLE table_name_70 (nation VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)

SELECT nation FROM table_name_70 WHERE gold = "1" AND bronze = "1" AND total = 2


Question: What is the name of the Leading scorer when the Home was the Trail blazers?

Context: CREATE TABLE table_name_61 (leading_scorer VARCHAR, home VARCHAR)

SELECT leading_scorer FROM table_name_61 WHERE home = "trail blazers"


Question: I want the sum of NGC number for spiral galaxy and right acension of 08h14m40.4s

Context: CREATE TABLE table_name_31 (ngc_number INTEGER, object_type VARCHAR, right_ascension___j2000__ VARCHAR)

SELECT SUM(ngc_number) FROM table_name_31 WHERE object_type = "spiral galaxy" AND right_ascension___j2000__ = "08h14m40.4s"


Question: Tell me the right ascension for open cluster and NGC number more than 2547

Context: CREATE TABLE table_name_59 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR)

SELECT right_ascension___j2000__ FROM table_name_59 WHERE object_type = "open cluster" AND ngc_number > 2547


Question: I want the constellation for declination for °45′ and right ascension of 07h58m

Context: CREATE TABLE table_name_56 (constellation VARCHAR, declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR)

SELECT constellation FROM table_name_56 WHERE declination___j2000__ = "°45′" AND right_ascension___j2000__ = "07h58m"


Question: I want the NGC number for right ascension of 08h11m13.6s

Context: CREATE TABLE table_name_92 (ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)

SELECT ngc_number FROM table_name_92 WHERE right_ascension___j2000__ = "08h11m13.6s"


Question: What is the average crowd when the home team is north melbourne?

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

SELECT AVG(crowd) FROM table_name_31 WHERE home_team = "north melbourne"


Question: What is the crowd total at mcg?

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

SELECT COUNT(crowd) FROM table_name_45 WHERE venue = "mcg"


Question: How many Red Breasted Nuthatch coins created before 2007 were minted, on average?

Context: CREATE TABLE table_name_42 (mintage INTEGER, animal VARCHAR, year VARCHAR)

SELECT AVG(mintage) FROM table_name_42 WHERE animal = "red breasted nuthatch" AND year < 2007


Question: What year was the downy woodpecker coin created?

Context: CREATE TABLE table_name_46 (year INTEGER, animal VARCHAR)

SELECT SUM(year) FROM table_name_46 WHERE animal = "downy woodpecker"


Question: Which artist created coins before 2010?

Context: CREATE TABLE table_name_40 (artist VARCHAR, year INTEGER)

SELECT artist FROM table_name_40 WHERE year < 2010


Question: What is the game number against the team Boston?

Context: CREATE TABLE table_name_3 (game VARCHAR, team VARCHAR)

SELECT COUNT(game) FROM table_name_3 WHERE team = "boston"


Question: What is the date of game 23?

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

SELECT date FROM table_name_27 WHERE game = 23


Question: What percentage of Slovenes lived in the village of Roach in 1951?

Context: CREATE TABLE table_name_31 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR)

SELECT percent_of_slovenes_1951 FROM table_name_31 WHERE village__german_ = "roach"


Question: Which Venue has an Away team of south melbourne?

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

SELECT venue FROM table_name_89 WHERE away_team = "south melbourne"


Question: What did the Melbourne team score in their away game?

Context: CREATE TABLE table_name_3 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_3 WHERE away_team = "melbourne"


Question: Which Home team plays at the arden street oval Venue?

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

SELECT home_team FROM table_name_91 WHERE venue = "arden street oval"


Question: What is Home team Venue for the hawthorn team?

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

SELECT venue FROM table_name_58 WHERE home_team = "hawthorn"


Question: What Home team plays at the princes park Venue?

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

SELECT home_team FROM table_name_29 WHERE venue = "princes park"


Question: Was the game against the Rattlers at the United Sports Training Center a home game or an away game?

Context: CREATE TABLE table_name_96 (home_away VARCHAR, opponent VARCHAR, field VARCHAR)

SELECT home_away FROM table_name_96 WHERE opponent = "rattlers" AND field = "united sports training center"


Question: What was the opponent for the game at Multi-sport Field?

Context: CREATE TABLE table_name_65 (opponent VARCHAR, field VARCHAR)

SELECT opponent FROM table_name_65 WHERE field = "multi-sport field"


Question: What is the result of the away game played on August 4?

Context: CREATE TABLE table_name_15 (result VARCHAR, home_away VARCHAR, date VARCHAR)

SELECT result FROM table_name_15 WHERE home_away = "away" AND date = "august 4"


Question: On which field was the game played on July 12?

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

SELECT field FROM table_name_63 WHERE date = "july 12"


Question: At what venue did Sigurd Rushfeldt score 1 point in the 2006 FIFA World Cup Qualification competition?

Context: CREATE TABLE table_name_53 (venue VARCHAR, scored VARCHAR, competition VARCHAR)

SELECT venue FROM table_name_53 WHERE scored = 1 AND competition = "2006 fifa world cup qualification"


Question: What date did Sigurd Rushfeldt score less than 2 points in the UEFA Euro 2004 qualifying competition?

Context: CREATE TABLE table_name_24 (date VARCHAR, scored VARCHAR, competition VARCHAR)

SELECT date FROM table_name_24 WHERE scored < 2 AND competition = "uefa euro 2004 qualifying"


Question: What is the tournament on February 17, 2002?

Context: CREATE TABLE table_name_21 (tournament VARCHAR, date VARCHAR)

SELECT tournament FROM table_name_21 WHERE date = "february 17, 2002"


Question: How many goals does mitsuo kato have?

Context: CREATE TABLE table_name_87 (goals INTEGER, player VARCHAR)

SELECT MAX(goals) FROM table_name_87 WHERE player = "mitsuo kato"


Question: Which engine has the entrant scuderia ferrari and is driven by Raymond Sommer?

Context: CREATE TABLE table_name_99 (engine VARCHAR, entrant VARCHAR, driver VARCHAR)

SELECT engine FROM table_name_99 WHERE entrant = "scuderia ferrari" AND driver = "raymond sommer"


Question: What Chassis does Reg Parnell drive?

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

SELECT chassis FROM table_name_51 WHERE driver = "reg parnell"


Question: What is Ryan McCay's speed that has a rank better than 8?

Context: CREATE TABLE table_name_65 (speed VARCHAR, rank VARCHAR, rider VARCHAR)

SELECT speed FROM table_name_65 WHERE rank > 8 AND rider = "ryan mccay"


Question: What's the name of the team that went 113.316mph?

Context: CREATE TABLE table_name_18 (team VARCHAR, speed VARCHAR)

SELECT team FROM table_name_18 WHERE speed = "113.316mph"


Question: What's Matts Nilsson's team that's ranked better than 7?

Context: CREATE TABLE table_name_81 (team VARCHAR, rank VARCHAR, rider VARCHAR)

SELECT team FROM table_name_81 WHERE rank < 7 AND rider = "matts nilsson"


Question: What is the average drop zone time in the N drop zone for the 1st Pathfinder Prov.?

Context: CREATE TABLE table_name_22 (drop_zone INTEGER, troop_carrier_group VARCHAR)

SELECT AVG(drop_zone) AS Time FROM table_name_22 WHERE drop_zone = "n" AND troop_carrier_group = "1st pathfinder prov."


Question: Which UK Base has an airborne unit of Pathfinders?

Context: CREATE TABLE table_name_42 (uk_base VARCHAR, airborne_unit VARCHAR)

SELECT uk_base FROM table_name_42 WHERE airborne_unit = "pathfinders"


Question: What was the number of high assists for game 1?

Context: CREATE TABLE table_name_94 (high_assists VARCHAR, game VARCHAR)

SELECT high_assists FROM table_name_94 WHERE game = 1


Question: Tell me the chief judge which has reason for termination of retirement

Context: CREATE TABLE table_name_35 (chief_judge VARCHAR, reason_for_termination VARCHAR)

SELECT chief_judge FROM table_name_35 WHERE reason_for_termination = "retirement"


Question: For boozer (13) what is the high assists and high rebounds?

Context: CREATE TABLE table_name_41 (high_assists VARCHAR, high_rebounds VARCHAR)

SELECT high_assists FROM table_name_41 WHERE high_rebounds = "boozer (13)"


Question: What is the score for the game that is less than 4 and a high points of williams (28)?

Context: CREATE TABLE table_name_40 (score VARCHAR, game VARCHAR, high_points VARCHAR)

SELECT score FROM table_name_40 WHERE game < 4 AND high_points = "williams (28)"


Question: Which athlete in the 76 kg class, did not advance at the end of Round 3.

Context: CREATE TABLE table_name_1 (athlete VARCHAR, round_3 VARCHAR, event VARCHAR)

SELECT athlete FROM table_name_1 WHERE round_3 = "did not advance" AND event = "76 kg"


Question: Who owns the horse with a post position of less than 4 with jockey todd pletcher?

Context: CREATE TABLE table_name_99 (owner VARCHAR, post_position VARCHAR, jockey VARCHAR)

SELECT owner FROM table_name_99 WHERE post_position < 4 AND jockey = "todd pletcher"


Question: What jockey is on hard spun?

Context: CREATE TABLE table_name_50 (jockey VARCHAR, horse_name VARCHAR)

SELECT jockey FROM table_name_50 WHERE horse_name = "hard spun"


Question: What horse does todd pletcher ride with odds of 14.20-1?

Context: CREATE TABLE table_name_84 (horse_name VARCHAR, jockey VARCHAR, post_time_odds VARCHAR)

SELECT horse_name FROM table_name_84 WHERE jockey = "todd pletcher" AND post_time_odds = "14.20-1"


Question: Who the Owner that has a Lengths Behind of 5½?

Context: CREATE TABLE table_name_87 (owner VARCHAR, lengths_behind VARCHAR)

SELECT owner FROM table_name_87 WHERE lengths_behind = "5½"


Question: What is the date of birth and age of Gabriel Quak Jun Yi with 3 caps?

Context: CREATE TABLE table_name_57 (date_of_birth__age_ VARCHAR, caps VARCHAR, name VARCHAR)

SELECT date_of_birth__age_ FROM table_name_57 WHERE caps = "3" AND name = "gabriel quak jun yi"


Question: Which club is associated with Hafiz Abu Sujad?

Context: CREATE TABLE table_name_80 (club VARCHAR, name VARCHAR)

SELECT club FROM table_name_80 WHERE name = "hafiz abu sujad"


Question: What is the sum of a rank whose nation is West Germany and has bronze larger than 0?

Context: CREATE TABLE table_name_45 (rank INTEGER, nation VARCHAR, bronze VARCHAR)

SELECT SUM(rank) FROM table_name_45 WHERE nation = "west germany" AND bronze > 0


Question: What is the total of Bronze with a total smaller than 3, and a nation of Poland, and a rank larger than 4?

Context: CREATE TABLE table_name_52 (bronze VARCHAR, rank VARCHAR, total VARCHAR, nation VARCHAR)

SELECT COUNT(bronze) FROM table_name_52 WHERE total < 3 AND nation = "poland" AND rank > 4


Question: How much money was spent in 2Q when the total receipts were $1,117,566?

Context: CREATE TABLE table_name_69 (money_spent VARCHAR, _2q VARCHAR, total_receipts VARCHAR)

SELECT money_spent, _2q FROM table_name_69 WHERE total_receipts = "$1,117,566"


Question: How much money was raised in the 2Q when the total receipts were $63,075,927?

Context: CREATE TABLE table_name_28 (money_raised VARCHAR, _2q VARCHAR, total_receipts VARCHAR)

SELECT money_raised, _2q FROM table_name_28 WHERE total_receipts = "$63,075,927"


Question: When the driver peter gethin has a grid less than 25, what is the average number of laps?

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

SELECT AVG(laps) FROM table_name_4 WHERE driver = "peter gethin" AND grid < 25


Question: When the driver mike hailwood has a grid greater than 12 and a Time/Retired of + 2 laps, what is the average number of laps?

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

SELECT AVG(laps) FROM table_name_96 WHERE time_retired = "+ 2 laps" AND driver = "mike hailwood" AND grid > 12


Question: Which team was the home team when playing South Melbourne?

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

SELECT home_team AS score FROM table_name_43 WHERE away_team = "south melbourne"


Question: What did the home team when they played Richmond?

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

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


Question: What is the stage reached for venue edmonton green?

Context: CREATE TABLE table_name_23 (stage_reached VARCHAR, venue VARCHAR)

SELECT stage_reached FROM table_name_23 WHERE venue = "edmonton green"


Question: What is the average round for Club team of garmisch-partenkirchen riessersee sc (germany 2)?

Context: CREATE TABLE table_name_64 (round INTEGER, club_team VARCHAR)

SELECT AVG(round) FROM table_name_64 WHERE club_team = "garmisch-partenkirchen riessersee sc (germany 2)"


Question: What richmond player played against st kilda?

Context: CREATE TABLE table_name_15 (player VARCHAR, opponent VARCHAR, team VARCHAR)

SELECT player FROM table_name_15 WHERE opponent = "st kilda" AND team = "richmond"


Question: What player played in 2000?

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

SELECT player FROM table_name_66 WHERE year = 2000


Question: What year for geelong player john roberts?

Context: CREATE TABLE table_name_77 (year VARCHAR, opponent VARCHAR, player VARCHAR)

SELECT year FROM table_name_77 WHERE opponent = "geelong" AND player = "john roberts"


Question: What's the authority when the roll is 40?

Context: CREATE TABLE table_name_7 (authority VARCHAR, roll VARCHAR)

SELECT authority FROM table_name_7 WHERE roll = 40


Question: What's the authority when the roll is less than 234 for the massey east area?

Context: CREATE TABLE table_name_79 (authority VARCHAR, roll VARCHAR, area VARCHAR)

SELECT authority FROM table_name_79 WHERE roll < 234 AND area = "massey east"


Question: What's the roll for summerland primary when decile is over 6?

Context: CREATE TABLE table_name_66 (roll VARCHAR, decile VARCHAR, name VARCHAR)

SELECT roll FROM table_name_66 WHERE decile > 6 AND name = "summerland primary"


Question: What is the name where the delivered date is 1839/08?

Context: CREATE TABLE table_name_22 (name VARCHAR, delivered VARCHAR)

SELECT name FROM table_name_22 WHERE delivered = "1839/08"


Question: What is the Original U.S. air-date for the Original Canadian air-date of december 9, 2007?

Context: CREATE TABLE table_name_80 (original_us_air_date VARCHAR, original_canadian_air_date VARCHAR)

SELECT original_us_air_date FROM table_name_80 WHERE original_canadian_air_date = "december 9, 2007"


Question: What is the Original Canadian air-date that was directed by Michael Tolkin?

Context: CREATE TABLE table_name_98 (original_canadian_air_date VARCHAR, director VARCHAR)

SELECT original_canadian_air_date FROM table_name_98 WHERE director = "michael tolkin"


Question: What was the Original Canadian air-date for the episode directed by mark rydell?

Context: CREATE TABLE table_name_25 (original_canadian_air_date VARCHAR, director VARCHAR)

SELECT original_canadian_air_date FROM table_name_25 WHERE director = "mark rydell"


Question: Which home team's venue is junction oval?

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

SELECT home_team FROM table_name_71 WHERE venue = "junction oval"


Question: Which venue was melbourne the away team of?

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

SELECT venue FROM table_name_56 WHERE away_team = "melbourne"


Question: What was the home teams score against the away team footscray?

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

SELECT home_team AS score FROM table_name_39 WHERE away_team = "footscray"


Question: What is the average long that Ramon Richardson played and an average greater than 5.5?

Context: CREATE TABLE table_name_18 (long INTEGER, player VARCHAR, avg VARCHAR)

SELECT AVG(long) FROM table_name_18 WHERE player = "ramon richardson" AND avg > 5.5


Question: Which has and average less than 3 and the lowest yards?

Context: CREATE TABLE table_name_56 (yards INTEGER, avg INTEGER)

SELECT MIN(yards) FROM table_name_56 WHERE avg < 3


Question: What is the average rec that is greater than 10 and has 40 yards?

Context: CREATE TABLE table_name_2 (rec INTEGER, yards VARCHAR, avg VARCHAR)

SELECT AVG(rec) FROM table_name_2 WHERE yards = 40 AND avg > 10


Question: What was the high assists for game 31?

Context: CREATE TABLE table_name_52 (high_assists VARCHAR, game VARCHAR)

SELECT high_assists FROM table_name_52 WHERE game = 31


Question: What team played in game 39?

Context: CREATE TABLE table_name_79 (team VARCHAR, game VARCHAR)

SELECT team FROM table_name_79 WHERE game = 39


Question: How many people attended game 42?

Context: CREATE TABLE table_name_30 (location_attendance VARCHAR, game VARCHAR)

SELECT location_attendance FROM table_name_30 WHERE game = 42


Question: What is the highest Shooting Total with a Bronze less than 0?

Context: CREATE TABLE table_name_40 (total INTEGER, sport VARCHAR, bronze VARCHAR)

SELECT MAX(total) FROM table_name_40 WHERE sport = "shooting" AND bronze < 0


Question: What is the lowest Silver in the Total Sport has less than 1 Gold and more than 1 Bronze?

Context: CREATE TABLE table_name_77 (silver INTEGER, gold VARCHAR, bronze VARCHAR, sport VARCHAR)

SELECT MIN(silver) FROM table_name_77 WHERE bronze > 1 AND sport = "total" AND gold < 1


Question: What is the football Bronze with more than 1 Silver?

Context: CREATE TABLE table_name_9 (bronze INTEGER, sport VARCHAR, silver VARCHAR)

SELECT AVG(bronze) FROM table_name_9 WHERE sport = "football" AND silver > 1


Question: With 1 Gold, more than 2 Bronze and Total greater than 1, what is the Silver?

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

SELECT AVG(silver) FROM table_name_74 WHERE total > 1 AND gold = 1 AND bronze > 2


Question: With more than 1 Gold and Silver and Total Sport, what is the Total?

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

SELECT AVG(total) FROM table_name_86 WHERE silver > 1 AND sport = "total" AND gold > 1


Question: What year does robin buck go 44 laps?

Context: CREATE TABLE table_name_78 (year VARCHAR, distance_duration VARCHAR, driver VARCHAR)

SELECT year FROM table_name_78 WHERE distance_duration = "44 laps" AND driver = "robin buck"


Question: How many years does Team wal-mart / tide participate?

Context: CREATE TABLE table_name_94 (year VARCHAR, team VARCHAR)

SELECT COUNT(year) FROM table_name_94 WHERE team = "wal-mart / tide"


Question: Which score has a Result of 11–0?

Context: CREATE TABLE table_name_65 (score VARCHAR, result VARCHAR)

SELECT score FROM table_name_65 WHERE result = "11–0"


Question: Which result has a Score of 1–1?

Context: CREATE TABLE table_name_23 (result VARCHAR, score VARCHAR)

SELECT result FROM table_name_23 WHERE score = "1–1"


Question: Which score has a Result of 11–0?

Context: CREATE TABLE table_name_73 (score VARCHAR, result VARCHAR)

SELECT score FROM table_name_73 WHERE result = "11–0"


Question: What is the score of the game with an 11-32-11 record?

Context: CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)

SELECT score FROM table_name_40 WHERE record = "11-32-11"


Question: What is the home team of the game where New Jersey was the visitor team and the record was 11-35-12?

Context: CREATE TABLE table_name_33 (home VARCHAR, visitor VARCHAR, record VARCHAR)

SELECT home FROM table_name_33 WHERE visitor = "new jersey" AND record = "11-35-12"


Question: What is the visitor team of the game with Chicago as the home team?

Context: CREATE TABLE table_name_74 (visitor VARCHAR, home VARCHAR)

SELECT visitor FROM table_name_74 WHERE home = "chicago"


Question: What is the score of the game on February 27 with New Jersey as the visitor team?

Context: CREATE TABLE table_name_25 (score VARCHAR, visitor VARCHAR, date VARCHAR)

SELECT score FROM table_name_25 WHERE visitor = "new jersey" AND date = "february 27"


Question: What is the home team of the game on February 3?

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

SELECT home FROM table_name_72 WHERE date = "february 3"


Question: Who is the visitor team of the game where Buffalo was the home team?

Context: CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR)

SELECT visitor FROM table_name_29 WHERE home = "buffalo"


Question: What driver has grid number 18?

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

SELECT driver FROM table_name_98 WHERE grid = 18


Question: What is the time or retired time for timo glock with under 70 laps and a grid number greater than 15?

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

SELECT time_retired FROM table_name_72 WHERE laps < 70 AND grid > 15 AND driver = "timo glock"


Question: Kecamatan Bogor Timur has more than 6 villages, what is the area in km²?

Context: CREATE TABLE table_name_68 (area_in_km² INTEGER, original_name VARCHAR, number_of_settlements_and_villages VARCHAR)

SELECT SUM(area_in_km²) FROM table_name_68 WHERE original_name = "kecamatan bogor timur" AND number_of_settlements_and_villages > 6


Question: There are less than 11 settlements in Kecamatan Bogor Tengah, what is the area in km²?

Context: CREATE TABLE table_name_78 (area_in_km² INTEGER, original_name VARCHAR, number_of_settlements_and_villages VARCHAR)

SELECT SUM(area_in_km²) FROM table_name_78 WHERE original_name = "kecamatan bogor tengah" AND number_of_settlements_and_villages < 11


Question: Luxembourg received how many gold medals?

Context: CREATE TABLE table_name_9 (gold INTEGER, nation VARCHAR)

SELECT AVG(gold) FROM table_name_9 WHERE nation = "luxembourg"


Question: what is the sum of tonnage when the type of ship is twin screw ro-ro motorship and the date entered service is 11 february 1983?

Context: CREATE TABLE table_name_73 (tonnage INTEGER, type_of_ship VARCHAR, date_entered_service VARCHAR)

SELECT SUM(tonnage) FROM table_name_73 WHERE type_of_ship = "twin screw ro-ro motorship" AND date_entered_service = "11 february 1983"


Question: what is the least tonnage for the ship(s) that entered service on 11 february 1983?

Context: CREATE TABLE table_name_21 (tonnage INTEGER, date_entered_service VARCHAR)

SELECT MIN(tonnage) FROM table_name_21 WHERE date_entered_service = "11 february 1983"


Question: What's the sum of gold where silver is more than 2 and the total is 12?

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

SELECT SUM(gold) FROM table_name_17 WHERE silver > 2 AND total = 12


Question: What's the lowest gold with a total of 4 and less than 2 silver for liechtenstein?

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

SELECT MIN(gold) FROM table_name_16 WHERE total = 4 AND nation = "liechtenstein" AND silver < 2


Question: What's the total number of gold where the total is less than 23 and the rank is over 10?

Context: CREATE TABLE table_name_96 (gold VARCHAR, total VARCHAR, rank VARCHAR)

SELECT COUNT(gold) FROM table_name_96 WHERE total < 23 AND rank > 10


Question: What's the sum of total where the rank is over 9 and the gold is less than 1?

Context: CREATE TABLE table_name_58 (total VARCHAR, rank VARCHAR, gold VARCHAR)

SELECT COUNT(total) FROM table_name_58 WHERE rank > 9 AND gold < 1


Question: What was the attendance number for the Timberwolves game?

Context: CREATE TABLE table_name_69 (location_attendance INTEGER, team VARCHAR)

SELECT SUM(location_attendance) FROM table_name_69 WHERE team = "timberwolves"


Question: What is the combined of Crowd when richmond played at home?

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

SELECT COUNT(crowd) FROM table_name_91 WHERE home_team = "richmond"


Question: What opponent has a result of 3–6, 6–2, 4–6?

Context: CREATE TABLE table_name_74 (opponent VARCHAR, result VARCHAR)

SELECT opponent FROM table_name_74 WHERE result = "3–6, 6–2, 4–6"


Question: When was the 1991 world group I with the opponent of Li Fang?

Context: CREATE TABLE table_name_2 (date VARCHAR, edition VARCHAR, opponent VARCHAR)

SELECT date FROM table_name_2 WHERE edition = "1991 world group i" AND opponent = "li fang"


Question: On July 15, 1984 what surface was used?

Context: CREATE TABLE table_name_15 (surface VARCHAR, date VARCHAR)

SELECT surface FROM table_name_15 WHERE date = "july 15, 1984"


Question: For what round was the opponent mercedes paz with a result of 4–6, 6–1, 6–3?

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

SELECT round FROM table_name_95 WHERE opponent = "mercedes paz" AND result = "4–6, 6–1, 6–3"


Question: What surface was used on July 17, 1983?

Context: CREATE TABLE table_name_30 (surface VARCHAR, date VARCHAR)

SELECT surface FROM table_name_30 WHERE date = "july 17, 1983"


Question: What was the result on October 8, 1985?

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

SELECT result FROM table_name_58 WHERE date = "october 8, 1985"


Question: Name the highest pick number for PI GP more than 55

Context: CREATE TABLE table_name_28 (pick__number INTEGER, pl_gp INTEGER)

SELECT MAX(pick__number) FROM table_name_28 WHERE pl_gp > 55


Question: Name the least RD number that has PI GP more than 0 and pick # more than 51

Context: CREATE TABLE table_name_13 (rd__number INTEGER, pl_gp VARCHAR, pick__number VARCHAR)

SELECT MIN(rd__number) FROM table_name_13 WHERE pl_gp > 0 AND pick__number > 51


Question: What day did Footscray play as the away team?

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

SELECT date FROM table_name_34 WHERE away_team = "footscray"


Question: What was Hawthorn's away teams opponents score?

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

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


Question: What was the attendance of april 17?

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

SELECT SUM(attendance) FROM table_name_83 WHERE date = "april 17"


Question: What was the loss of the Mariners game when they had a record of 21-34?

Context: CREATE TABLE table_name_98 (loss VARCHAR, record VARCHAR)

SELECT loss FROM table_name_98 WHERE record = "21-34"


Question: Who did the Mariners play when they had a record of 33-45?

Context: CREATE TABLE table_name_30 (opponent VARCHAR, record VARCHAR)

SELECT opponent FROM table_name_30 WHERE record = "33-45"


Question: What was the loss of the Mariners game when they had a record of 22-35?

Context: CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR)

SELECT loss FROM table_name_96 WHERE record = "22-35"


Question: What was the record for the game attended by 35,614 spectators?

Context: CREATE TABLE table_name_65 (record VARCHAR, attendance VARCHAR)

SELECT record FROM table_name_65 WHERE attendance = "35,614"


Question: What is the record for April 8?

Context: CREATE TABLE table_name_5 (record VARCHAR, date VARCHAR)

SELECT record FROM table_name_5 WHERE date = "april 8"


Question: What was the attendance for the game that has a record of 1-1?

Context: CREATE TABLE table_name_53 (attendance VARCHAR, record VARCHAR)

SELECT attendance FROM table_name_53 WHERE record = "1-1"


Question: What is the record for the game with an attendance of 35,305?

Context: CREATE TABLE table_name_79 (record VARCHAR, attendance VARCHAR)

SELECT record FROM table_name_79 WHERE attendance = "35,305"


Question: what is the grid when the driver is louis rosier and the laps is more than 78?

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

SELECT MIN(grid) FROM table_name_39 WHERE driver = "louis rosier" AND laps > 78


Question: what is the time/retired when the driver is toulo de graffenried?

Context: CREATE TABLE table_name_51 (time_retired VARCHAR, driver VARCHAR)

SELECT time_retired FROM table_name_51 WHERE driver = "toulo de graffenried"


Question: what is the laps when the driver is tony rolt and the grid is less than 10?

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

SELECT SUM(laps) FROM table_name_99 WHERE driver = "tony rolt" AND grid < 10


Question: what is the time/retired when the constructor is maserati and the laps is 90?

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

SELECT time_retired FROM table_name_74 WHERE constructor = "maserati" AND laps = 90


Question: What is the average Attendance at Venue A on 16 October 2004?

Context: CREATE TABLE table_name_57 (attendance INTEGER, venue VARCHAR, date VARCHAR)

SELECT AVG(attendance) FROM table_name_57 WHERE venue = "a" AND date = "16 october 2004"


Question: What is the lowest Attendance when Middlesbrough played at Venue A?

Context: CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, venue VARCHAR)

SELECT MIN(attendance) FROM table_name_34 WHERE opponent = "middlesbrough" AND venue = "a"


Question: Who was the sponsor for the bill introduced February 28, 2005 with cosponsors less than 200?

Context: CREATE TABLE table_name_18 (sponsor_s_ VARCHAR, _number_of_cosponsors VARCHAR, date_introduced VARCHAR)

SELECT sponsor_s_ FROM table_name_18 WHERE _number_of_cosponsors < 200 AND date_introduced = "february 28, 2005"


Question: What year was Herself nominated at the MTV Movie Awards?

Context: CREATE TABLE table_name_68 (year INTEGER, nominated_work VARCHAR, event VARCHAR)

SELECT MAX(year) FROM table_name_68 WHERE nominated_work = "herself" AND event = "mtv movie awards"


Question: What is the average amount of spectators when Essendon played as the home team?

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

SELECT AVG(crowd) FROM table_name_84 WHERE home_team = "essendon"


Question: What did the away team score at MCG?

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

SELECT away_team AS score FROM table_name_96 WHERE venue = "mcg"


Question: Where was the game when Geelong was the away team?

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

SELECT venue FROM table_name_28 WHERE away_team = "geelong"


Question: What team was the away team at Arden Street Oval?

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

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


Question: What in Xenia's Diameter in km, with a latitude of 14 and a longitude of 249.4?

Context: CREATE TABLE table_name_71 (diameter__km_ VARCHAR, longitude VARCHAR, latitude VARCHAR, name VARCHAR)

SELECT COUNT(diameter__km_) FROM table_name_71 WHERE latitude < 14 AND name = "xenia" AND longitude > 249.4


Question: What is the latitude for a crater with a diameter of 12.8 km and a longitude of 208?

Context: CREATE TABLE table_name_18 (latitude INTEGER, diameter__km_ VARCHAR, longitude VARCHAR)

SELECT AVG(latitude) FROM table_name_18 WHERE diameter__km_ < 12.8 AND longitude < 208


Question: Who was the Runner(s)-up in the race with a winning score of 67-66-65-69=267?

Context: CREATE TABLE table_name_75 (runner_s__up VARCHAR, winning_score VARCHAR)

SELECT runner_s__up FROM table_name_75 WHERE winning_score = 67 - 66 - 65 - 69 = 267


Question: When was the Masters Tournament?

Context: CREATE TABLE table_name_9 (date VARCHAR, tournament VARCHAR)

SELECT date FROM table_name_9 WHERE tournament = "masters tournament"


Question: What is the margin of victory in the race where Justin Rose was the runner-up?

Context: CREATE TABLE table_name_48 (margin_of_victory VARCHAR, runner_s__up VARCHAR)

SELECT margin_of_victory FROM table_name_48 WHERE runner_s__up = "justin rose"


Question: What tournament took place on 7 Aug 2011?

Context: CREATE TABLE table_name_87 (tournament VARCHAR, date VARCHAR)

SELECT tournament FROM table_name_87 WHERE date = "7 aug 2011"


Question: For the team that had 4:05.096, what was their day 2?

Context: CREATE TABLE table_name_23 (day_2 VARCHAR, day_1 VARCHAR)

SELECT day_2 FROM table_name_23 WHERE day_1 = "4:05.096"


Question: Which team had 3:18.513 on day 1?

Context: CREATE TABLE table_name_34 (team VARCHAR, day_1 VARCHAR)

SELECT team FROM table_name_34 WHERE day_1 = "3:18.513"


Question: For the team with a class of gt2 and 3:59.820 on day 2, what was the behind?

Context: CREATE TABLE table_name_26 (behind VARCHAR, class VARCHAR, day_2 VARCHAR)

SELECT behind FROM table_name_26 WHERE class = "gt2" AND day_2 = "3:59.820"


Question: Which team was 3:47.761 on day 2?

Context: CREATE TABLE table_name_78 (team VARCHAR, day_2 VARCHAR)

SELECT team FROM table_name_78 WHERE day_2 = "3:47.761"