question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
What is the smallest production number for the LT series with the Dumb Patrol title?
CREATE TABLE table_name_85 (production_num INTEGER, series VARCHAR, title VARCHAR)
SELECT MIN(production_num) FROM table_name_85 WHERE series = "lt" AND title = "dumb patrol"
### Context: CREATE TABLE table_name_85 (production_num INTEGER, series VARCHAR, title VARCHAR) ### Question: What is the smallest production number for the LT series with the Dumb Patrol title? ### Answer: SELECT MIN(production_num) FROM table_name_85 WHERE series = "lt" AND title = "dumb patrol"
What was the average capacity for vélez sársfield?
CREATE TABLE table_name_72 (capacity INTEGER, home_team_s_ VARCHAR)
SELECT AVG(capacity) FROM table_name_72 WHERE home_team_s_ = "vélez sársfield"
### Context: CREATE TABLE table_name_72 (capacity INTEGER, home_team_s_ VARCHAR) ### Question: What was the average capacity for vélez sársfield? ### Answer: SELECT AVG(capacity) FROM table_name_72 WHERE home_team_s_ = "vélez sársfield"
What city was the home team Tigre?
CREATE TABLE table_name_5 (city VARCHAR, home_team_s_ VARCHAR)
SELECT city FROM table_name_5 WHERE home_team_s_ = "tigre"
### Context: CREATE TABLE table_name_5 (city VARCHAR, home_team_s_ VARCHAR) ### Question: What city was the home team Tigre? ### Answer: SELECT city FROM table_name_5 WHERE home_team_s_ = "tigre"
What province is in Mendoza with a stadium feliciano gambarte?
CREATE TABLE table_name_72 (province VARCHAR, city VARCHAR, stadium VARCHAR)
SELECT province FROM table_name_72 WHERE city = "mendoza" AND stadium = "feliciano gambarte"
### Context: CREATE TABLE table_name_72 (province VARCHAR, city VARCHAR, stadium VARCHAR) ### Question: What province is in Mendoza with a stadium feliciano gambarte? ### Answer: SELECT province FROM table_name_72 WHERE city = "mendoza" AND stadium = "feliciano gambarte"
On what date was there a tv time of ABC 8:00pm and after week 9?
CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, tv_time VARCHAR)
SELECT date FROM table_name_58 WHERE week > 9 AND tv_time = "abc 8:00pm"
### Context: CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, tv_time VARCHAR) ### Question: On what date was there a tv time of ABC 8:00pm and after week 9? ### Answer: SELECT date FROM table_name_58 WHERE week > 9 AND tv_time = "abc 8:00pm"
What is total number of years that has genre of first-person shooter?
CREATE TABLE table_name_50 (year INTEGER, genre VARCHAR)
SELECT SUM(year) FROM table_name_50 WHERE genre = "first-person shooter"
### Context: CREATE TABLE table_name_50 (year INTEGER, genre VARCHAR) ### Question: What is total number of years that has genre of first-person shooter? ### Answer: SELECT SUM(year) FROM table_name_50 WHERE genre = "first-person shooter"
Which year is the lowest for genre of action-adventure?
CREATE TABLE table_name_36 (year INTEGER, genre VARCHAR)
SELECT MIN(year) FROM table_name_36 WHERE genre = "action-adventure"
### Context: CREATE TABLE table_name_36 (year INTEGER, genre VARCHAR) ### Question: Which year is the lowest for genre of action-adventure? ### Answer: SELECT MIN(year) FROM table_name_36 WHERE genre = "action-adventure"
what is the "normalized" transliteration for Roman i
CREATE TABLE table_name_9 (roman_equivalent VARCHAR)
SELECT "normalised" AS _transliteration FROM table_name_9 WHERE roman_equivalent = "i"
### Context: CREATE TABLE table_name_9 (roman_equivalent VARCHAR) ### Question: what is the "normalized" transliteration for Roman i ### Answer: SELECT "normalised" AS _transliteration FROM table_name_9 WHERE roman_equivalent = "i"
what is the normal environment of occurrence that has a Proto-Germanic origin /ai/
CREATE TABLE table_name_86 (normal_environment_of_occurrence__in_native_words_ VARCHAR, proto_germanic_origin VARCHAR)
SELECT normal_environment_of_occurrence__in_native_words_ FROM table_name_86 WHERE proto_germanic_origin = "/ai/"
### Context: CREATE TABLE table_name_86 (normal_environment_of_occurrence__in_native_words_ VARCHAR, proto_germanic_origin VARCHAR) ### Question: what is the normal environment of occurrence that has a Proto-Germanic origin /ai/ ### Answer: SELECT normal_environment_of_occurrence__in_native_words_ FROM table_name_86 WHERE proto_germanic_origin = "/ai/"
Which the lowest Against has a Status of tour match, and a Venue of ravenhill , belfast?
CREATE TABLE table_name_66 (against INTEGER, status VARCHAR, venue VARCHAR)
SELECT MIN(against) FROM table_name_66 WHERE status = "tour match" AND venue = "ravenhill , belfast"
### Context: CREATE TABLE table_name_66 (against INTEGER, status VARCHAR, venue VARCHAR) ### Question: Which the lowest Against has a Status of tour match, and a Venue of ravenhill , belfast? ### Answer: SELECT MIN(against) FROM table_name_66 WHERE status = "tour match" AND venue = "ravenhill , belfast"
Name the average Against that has a Venue of twickenham , london on 25 november 1978?
CREATE TABLE table_name_73 (against INTEGER, venue VARCHAR, date VARCHAR)
SELECT AVG(against) FROM table_name_73 WHERE venue = "twickenham , london" AND date = "25 november 1978"
### Context: CREATE TABLE table_name_73 (against INTEGER, venue VARCHAR, date VARCHAR) ### Question: Name the average Against that has a Venue of twickenham , london on 25 november 1978? ### Answer: SELECT AVG(against) FROM table_name_73 WHERE venue = "twickenham , london" AND date = "25 november 1978"
Name the highest Against on 21 november 1978?
CREATE TABLE table_name_30 (against INTEGER, date VARCHAR)
SELECT MAX(against) FROM table_name_30 WHERE date = "21 november 1978"
### Context: CREATE TABLE table_name_30 (against INTEGER, date VARCHAR) ### Question: Name the highest Against on 21 november 1978? ### Answer: SELECT MAX(against) FROM table_name_30 WHERE date = "21 november 1978"
Name the Against of Venue of brewery field , bridgend?
CREATE TABLE table_name_31 (against VARCHAR, venue VARCHAR)
SELECT against FROM table_name_31 WHERE venue = "brewery field , bridgend"
### Context: CREATE TABLE table_name_31 (against VARCHAR, venue VARCHAR) ### Question: Name the Against of Venue of brewery field , bridgend? ### Answer: SELECT against FROM table_name_31 WHERE venue = "brewery field , bridgend"
Name the Status with an Against larger than 15?
CREATE TABLE table_name_98 (status VARCHAR, against INTEGER)
SELECT status FROM table_name_98 WHERE against > 15
### Context: CREATE TABLE table_name_98 (status VARCHAR, against INTEGER) ### Question: Name the Status with an Against larger than 15? ### Answer: SELECT status FROM table_name_98 WHERE against > 15
Who is the home team when the away team is newcastle united?
CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_16 WHERE away_team = "newcastle united"
### Context: CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR) ### Question: Who is the home team when the away team is newcastle united? ### Answer: SELECT home_team FROM table_name_16 WHERE away_team = "newcastle united"
who is the home team when the away team is wolverhampton wanderers?
CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_20 WHERE away_team = "wolverhampton wanderers"
### Context: CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) ### Question: who is the home team when the away team is wolverhampton wanderers? ### Answer: SELECT home_team FROM table_name_20 WHERE away_team = "wolverhampton wanderers"
what is the date when the tie no is 9?
CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_46 WHERE tie_no = "9"
### Context: CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR) ### Question: what is the date when the tie no is 9? ### Answer: SELECT date FROM table_name_46 WHERE tie_no = "9"
who is the away team when the tie no is 7?
CREATE TABLE table_name_7 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_7 WHERE tie_no = "7"
### Context: CREATE TABLE table_name_7 (away_team VARCHAR, tie_no VARCHAR) ### Question: who is the away team when the tie no is 7? ### Answer: SELECT away_team FROM table_name_7 WHERE tie_no = "7"
what is the score when the home team is sunderland?
CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_91 WHERE home_team = "sunderland"
### Context: CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR) ### Question: what is the score when the home team is sunderland? ### Answer: SELECT score FROM table_name_91 WHERE home_team = "sunderland"
What is the name of the title that was directed by Friz Freleng and has a production number of 443?
CREATE TABLE table_name_81 (title VARCHAR, director VARCHAR, production_number VARCHAR)
SELECT title FROM table_name_81 WHERE director = "friz freleng" AND production_number = "443"
### Context: CREATE TABLE table_name_81 (title VARCHAR, director VARCHAR, production_number VARCHAR) ### Question: What is the name of the title that was directed by Friz Freleng and has a production number of 443? ### Answer: SELECT title FROM table_name_81 WHERE director = "friz freleng" AND production_number = "443"
Which title has a production number of 627?
CREATE TABLE table_name_21 (title VARCHAR, production_number VARCHAR)
SELECT title FROM table_name_21 WHERE production_number = "627"
### Context: CREATE TABLE table_name_21 (title VARCHAR, production_number VARCHAR) ### Question: Which title has a production number of 627? ### Answer: SELECT title FROM table_name_21 WHERE production_number = "627"
what is the film when the year is earlier than 2002 and the category is outstanding actress?
CREATE TABLE table_name_21 (film VARCHAR, year VARCHAR, category VARCHAR)
SELECT film FROM table_name_21 WHERE year < 2002 AND category = "outstanding actress"
### Context: CREATE TABLE table_name_21 (film VARCHAR, year VARCHAR, category VARCHAR) ### Question: what is the film when the year is earlier than 2002 and the category is outstanding actress? ### Answer: SELECT film FROM table_name_21 WHERE year < 2002 AND category = "outstanding actress"
What is the total latitude of the greenland township with more than 34.846 sqmi of land, a geo id less than 3805529660, and an ANSI code greater than 1036405?
CREATE TABLE table_name_45 (latitude VARCHAR, ansi_code VARCHAR, township VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)
SELECT COUNT(latitude) FROM table_name_45 WHERE land___sqmi__ > 34.846 AND geo_id < 3805529660 AND township = "greenland" AND ansi_code > 1036405
### Context: CREATE TABLE table_name_45 (latitude VARCHAR, ansi_code VARCHAR, township VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR) ### Question: What is the total latitude of the greenland township with more than 34.846 sqmi of land, a geo id less than 3805529660, and an ANSI code greater than 1036405? ### Answer: SELECT COUNT(latitude) FROM table_name_45 WHERE land___sqmi__ > 34.846 AND geo_id < 3805529660 AND township = "greenland" AND ansi_code > 1036405
What is the sum of the land in sq mi with an ansi code less than 1036538, a 2010 population less than 42, a longitude greater than -99.442872, and more than 0.882 sq mi of water?
CREATE TABLE table_name_36 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR, ansi_code VARCHAR, pop__2010_ VARCHAR)
SELECT SUM(land___sqmi__) FROM table_name_36 WHERE ansi_code < 1036538 AND pop__2010_ < 42 AND longitude > -99.442872 AND water__sqmi_ > 0.882
### Context: CREATE TABLE table_name_36 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR, ansi_code VARCHAR, pop__2010_ VARCHAR) ### Question: What is the sum of the land in sq mi with an ansi code less than 1036538, a 2010 population less than 42, a longitude greater than -99.442872, and more than 0.882 sq mi of water? ### Answer: SELECT SUM(land___sqmi__) FROM table_name_36 WHERE ansi_code < 1036538 AND pop__2010_ < 42 AND longitude > -99.442872 AND water__sqmi_ > 0.882
What is the highest water (sq mi) of the township glenila, which has more than 33.576 sq mi of land and a latitude greater than 48.832189?
CREATE TABLE table_name_91 (water__sqmi_ INTEGER, latitude VARCHAR, land___sqmi__ VARCHAR, township VARCHAR)
SELECT MAX(water__sqmi_) FROM table_name_91 WHERE land___sqmi__ > 33.576 AND township = "glenila" AND latitude > 48.832189
### Context: CREATE TABLE table_name_91 (water__sqmi_ INTEGER, latitude VARCHAR, land___sqmi__ VARCHAR, township VARCHAR) ### Question: What is the highest water (sq mi) of the township glenila, which has more than 33.576 sq mi of land and a latitude greater than 48.832189? ### Answer: SELECT MAX(water__sqmi_) FROM table_name_91 WHERE land___sqmi__ > 33.576 AND township = "glenila" AND latitude > 48.832189
What is the sum of the 2010 population with a latitude greater than 47.710905, a longitude of -101.79876, and less than 35.695 sq mi of land?
CREATE TABLE table_name_64 (pop__2010_ INTEGER, land___sqmi__ VARCHAR, latitude VARCHAR, longitude VARCHAR)
SELECT SUM(pop__2010_) FROM table_name_64 WHERE latitude > 47.710905 AND longitude = -101.79876 AND land___sqmi__ < 35.695
### Context: CREATE TABLE table_name_64 (pop__2010_ INTEGER, land___sqmi__ VARCHAR, latitude VARCHAR, longitude VARCHAR) ### Question: What is the sum of the 2010 population with a latitude greater than 47.710905, a longitude of -101.79876, and less than 35.695 sq mi of land? ### Answer: SELECT SUM(pop__2010_) FROM table_name_64 WHERE latitude > 47.710905 AND longitude = -101.79876 AND land___sqmi__ < 35.695
What is the lowest land in sq mi with a longitude of -99.172785 and less than 0.973 sq mi of water?
CREATE TABLE table_name_27 (land___sqmi__ INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR)
SELECT MIN(land___sqmi__) FROM table_name_27 WHERE longitude = -99.172785 AND water__sqmi_ < 0.973
### Context: CREATE TABLE table_name_27 (land___sqmi__ INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR) ### Question: What is the lowest land in sq mi with a longitude of -99.172785 and less than 0.973 sq mi of water? ### Answer: SELECT MIN(land___sqmi__) FROM table_name_27 WHERE longitude = -99.172785 AND water__sqmi_ < 0.973
Who was the head coach?
CREATE TABLE table_name_19 (name VARCHAR, position VARCHAR)
SELECT name FROM table_name_19 WHERE position = "head coach"
### Context: CREATE TABLE table_name_19 (name VARCHAR, position VARCHAR) ### Question: Who was the head coach? ### Answer: SELECT name FROM table_name_19 WHERE position = "head coach"
Who has the alma mater of Dayton ('07), and was in their 1st year at CU?
CREATE TABLE table_name_49 (name VARCHAR, year_at_cu VARCHAR, alma_mater VARCHAR)
SELECT name FROM table_name_49 WHERE year_at_cu = "1st" AND alma_mater = "dayton ('07)"
### Context: CREATE TABLE table_name_49 (name VARCHAR, year_at_cu VARCHAR, alma_mater VARCHAR) ### Question: Who has the alma mater of Dayton ('07), and was in their 1st year at CU? ### Answer: SELECT name FROM table_name_49 WHERE year_at_cu = "1st" AND alma_mater = "dayton ('07)"
What year at CU is the person in video services with an experience less than 1?
CREATE TABLE table_name_8 (year_at_cu VARCHAR, experience VARCHAR, position VARCHAR)
SELECT year_at_cu FROM table_name_8 WHERE experience < 1 AND position = "video services"
### Context: CREATE TABLE table_name_8 (year_at_cu VARCHAR, experience VARCHAR, position VARCHAR) ### Question: What year at CU is the person in video services with an experience less than 1? ### Answer: SELECT year_at_cu FROM table_name_8 WHERE experience < 1 AND position = "video services"
The graduate assistant who was in the 1st year at CU has what experience?
CREATE TABLE table_name_29 (experience VARCHAR, year_at_cu VARCHAR, position VARCHAR)
SELECT experience FROM table_name_29 WHERE year_at_cu = "1st" AND position = "graduate assistant"
### Context: CREATE TABLE table_name_29 (experience VARCHAR, year_at_cu VARCHAR, position VARCHAR) ### Question: The graduate assistant who was in the 1st year at CU has what experience? ### Answer: SELECT experience FROM table_name_29 WHERE year_at_cu = "1st" AND position = "graduate assistant"
What person has the alma mater of Eastern Nazarene ('74), and greater than 19 experience?
CREATE TABLE table_name_86 (name VARCHAR, experience VARCHAR, alma_mater VARCHAR)
SELECT name FROM table_name_86 WHERE experience > 19 AND alma_mater = "eastern nazarene ('74)"
### Context: CREATE TABLE table_name_86 (name VARCHAR, experience VARCHAR, alma_mater VARCHAR) ### Question: What person has the alma mater of Eastern Nazarene ('74), and greater than 19 experience? ### Answer: SELECT name FROM table_name_86 WHERE experience > 19 AND alma_mater = "eastern nazarene ('74)"
What is the total engine capacity of the a4 transmission, which has an urban mpg-US greater than 19, an mpg-us extra-urban greater than 38.6, and an aveo model?
CREATE TABLE table_name_50 (engine_capacity VARCHAR, model VARCHAR, mpg_us_extra_urban VARCHAR, transmission VARCHAR, mpg_us_urban VARCHAR)
SELECT COUNT(engine_capacity) FROM table_name_50 WHERE transmission = "a4" AND mpg_us_urban > 19 AND mpg_us_extra_urban > 38.6 AND model = "aveo"
### Context: CREATE TABLE table_name_50 (engine_capacity VARCHAR, model VARCHAR, mpg_us_extra_urban VARCHAR, transmission VARCHAR, mpg_us_urban VARCHAR) ### Question: What is the total engine capacity of the a4 transmission, which has an urban mpg-US greater than 19, an mpg-us extra-urban greater than 38.6, and an aveo model? ### Answer: SELECT COUNT(engine_capacity) FROM table_name_50 WHERE transmission = "a4" AND mpg_us_urban > 19 AND mpg_us_extra_urban > 38.6 AND model = "aveo"
What is the highest engine capacity with a bmw manufacturer, an mpg-UK extra-urban of 52.3, a 176 CO 2 g/km, and an mpg-us urban greater than 27.3?
CREATE TABLE table_name_25 (engine_capacity INTEGER, mpg_us_urban VARCHAR, co_2_g_km VARCHAR, manufacturer VARCHAR, mpg_uk_extra_urban VARCHAR)
SELECT MAX(engine_capacity) FROM table_name_25 WHERE manufacturer = "bmw" AND mpg_uk_extra_urban = 52.3 AND co_2_g_km = 176 AND mpg_us_urban > 27.3
### Context: CREATE TABLE table_name_25 (engine_capacity INTEGER, mpg_us_urban VARCHAR, co_2_g_km VARCHAR, manufacturer VARCHAR, mpg_uk_extra_urban VARCHAR) ### Question: What is the highest engine capacity with a bmw manufacturer, an mpg-UK extra-urban of 52.3, a 176 CO 2 g/km, and an mpg-us urban greater than 27.3? ### Answer: SELECT MAX(engine_capacity) FROM table_name_25 WHERE manufacturer = "bmw" AND mpg_uk_extra_urban = 52.3 AND co_2_g_km = 176 AND mpg_us_urban > 27.3
What is the mpg-uk combined with an mpg-uk urban (cold) greater than 26.6, a m5 transmission, a diesel fuel type, and an engine capacity less than 1560?
CREATE TABLE table_name_89 (mpg_uk_combined VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_urban__cold_ VARCHAR, transmission VARCHAR)
SELECT mpg_uk_combined FROM table_name_89 WHERE mpg_uk_urban__cold_ > 26.6 AND transmission = "m5" AND fuel_type = "diesel" AND engine_capacity < 1560
### Context: CREATE TABLE table_name_89 (mpg_uk_combined VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_urban__cold_ VARCHAR, transmission VARCHAR) ### Question: What is the mpg-uk combined with an mpg-uk urban (cold) greater than 26.6, a m5 transmission, a diesel fuel type, and an engine capacity less than 1560? ### Answer: SELECT mpg_uk_combined FROM table_name_89 WHERE mpg_uk_urban__cold_ > 26.6 AND transmission = "m5" AND fuel_type = "diesel" AND engine_capacity < 1560
What is the l/100km urban (cold) with a CO 2 g/km less than 222, an mpg-us urban greater than 17.8, an mpg-uk extra-urban of 55.4, and an engine capacity greater than 1560?
CREATE TABLE table_name_24 (l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, mpg_uk_extra_urban VARCHAR, co_2_g_km VARCHAR, mpg_us_urban VARCHAR)
SELECT l_100km_urban__cold_ FROM table_name_24 WHERE co_2_g_km < 222 AND mpg_us_urban > 17.8 AND mpg_uk_extra_urban = 55.4 AND engine_capacity > 1560
### Context: CREATE TABLE table_name_24 (l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, mpg_uk_extra_urban VARCHAR, co_2_g_km VARCHAR, mpg_us_urban VARCHAR) ### Question: What is the l/100km urban (cold) with a CO 2 g/km less than 222, an mpg-us urban greater than 17.8, an mpg-uk extra-urban of 55.4, and an engine capacity greater than 1560? ### Answer: SELECT l_100km_urban__cold_ FROM table_name_24 WHERE co_2_g_km < 222 AND mpg_us_urban > 17.8 AND mpg_uk_extra_urban = 55.4 AND engine_capacity > 1560
What model has a g green rating, has chrysler jeep as a manufacturer, has an l/100km urban (cold) less than 18, and has an mpg-uk combined of 27.7?
CREATE TABLE table_name_6 (model VARCHAR, mpg_uk_combined VARCHAR, l_100km_urban__cold_ VARCHAR, green_rating VARCHAR, manufacturer VARCHAR)
SELECT model FROM table_name_6 WHERE green_rating = "g" AND manufacturer = "chrysler jeep" AND l_100km_urban__cold_ < 18 AND mpg_uk_combined = 27.7
### Context: CREATE TABLE table_name_6 (model VARCHAR, mpg_uk_combined VARCHAR, l_100km_urban__cold_ VARCHAR, green_rating VARCHAR, manufacturer VARCHAR) ### Question: What model has a g green rating, has chrysler jeep as a manufacturer, has an l/100km urban (cold) less than 18, and has an mpg-uk combined of 27.7? ### Answer: SELECT model FROM table_name_6 WHERE green_rating = "g" AND manufacturer = "chrysler jeep" AND l_100km_urban__cold_ < 18 AND mpg_uk_combined = 27.7
what is the league cup apps when the total goals is less than 2 and the total apps is 12?
CREATE TABLE table_name_54 (league_cup_apps VARCHAR, total_goals VARCHAR, total_apps VARCHAR)
SELECT league_cup_apps FROM table_name_54 WHERE total_goals < 2 AND total_apps = "12"
### Context: CREATE TABLE table_name_54 (league_cup_apps VARCHAR, total_goals VARCHAR, total_apps VARCHAR) ### Question: what is the league cup apps when the total goals is less than 2 and the total apps is 12? ### Answer: SELECT league_cup_apps FROM table_name_54 WHERE total_goals < 2 AND total_apps = "12"
what is the average ga cup goals when the league cup apps is 2, the fa cup apps is 3 and the league goals is 3?
CREATE TABLE table_name_96 (fa_cup_goals INTEGER, league_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_apps VARCHAR)
SELECT AVG(fa_cup_goals) FROM table_name_96 WHERE league_cup_apps = "2" AND fa_cup_apps = "3" AND league_goals = 3
### Context: CREATE TABLE table_name_96 (fa_cup_goals INTEGER, league_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_apps VARCHAR) ### Question: what is the average ga cup goals when the league cup apps is 2, the fa cup apps is 3 and the league goals is 3? ### Answer: SELECT AVG(fa_cup_goals) FROM table_name_96 WHERE league_cup_apps = "2" AND fa_cup_apps = "3" AND league_goals = 3
what is the highest fa cup goals when flt goals is more than 0?
CREATE TABLE table_name_96 (fa_cup_goals INTEGER, flt_goals INTEGER)
SELECT MAX(fa_cup_goals) FROM table_name_96 WHERE flt_goals > 0
### Context: CREATE TABLE table_name_96 (fa_cup_goals INTEGER, flt_goals INTEGER) ### Question: what is the highest fa cup goals when flt goals is more than 0? ### Answer: SELECT MAX(fa_cup_goals) FROM table_name_96 WHERE flt_goals > 0
what is the total apps when the league apps is 4 (2)?
CREATE TABLE table_name_80 (total_apps VARCHAR, league_apps VARCHAR)
SELECT total_apps FROM table_name_80 WHERE league_apps = "4 (2)"
### Context: CREATE TABLE table_name_80 (total_apps VARCHAR, league_apps VARCHAR) ### Question: what is the total apps when the league apps is 4 (2)? ### Answer: SELECT total_apps FROM table_name_80 WHERE league_apps = "4 (2)"
How much Silver has a Total larger than 9, and a Gold of 14?
CREATE TABLE table_name_44 (silver VARCHAR, total VARCHAR, gold VARCHAR)
SELECT COUNT(silver) FROM table_name_44 WHERE total > 9 AND gold = 14
### Context: CREATE TABLE table_name_44 (silver VARCHAR, total VARCHAR, gold VARCHAR) ### Question: How much Silver has a Total larger than 9, and a Gold of 14? ### Answer: SELECT COUNT(silver) FROM table_name_44 WHERE total > 9 AND gold = 14
Which Rank has a Total larger than 9, and a Gold larger than 6?
CREATE TABLE table_name_24 (rank VARCHAR, total VARCHAR, gold VARCHAR)
SELECT rank FROM table_name_24 WHERE total > 9 AND gold > 6
### Context: CREATE TABLE table_name_24 (rank VARCHAR, total VARCHAR, gold VARCHAR) ### Question: Which Rank has a Total larger than 9, and a Gold larger than 6? ### Answer: SELECT rank FROM table_name_24 WHERE total > 9 AND gold > 6
How much Silver has a Rank of 4, and a Bronze smaller than 12?
CREATE TABLE table_name_36 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)
SELECT COUNT(silver) FROM table_name_36 WHERE rank = "4" AND bronze < 12
### Context: CREATE TABLE table_name_36 (silver VARCHAR, rank VARCHAR, bronze VARCHAR) ### Question: How much Silver has a Rank of 4, and a Bronze smaller than 12? ### Answer: SELECT COUNT(silver) FROM table_name_36 WHERE rank = "4" AND bronze < 12
How many bronzes have a Total of 9?
CREATE TABLE table_name_68 (bronze INTEGER, total VARCHAR)
SELECT SUM(bronze) FROM table_name_68 WHERE total = 9
### Context: CREATE TABLE table_name_68 (bronze INTEGER, total VARCHAR) ### Question: How many bronzes have a Total of 9? ### Answer: SELECT SUM(bronze) FROM table_name_68 WHERE total = 9
How much Gold has a Nation of mongolia, and a Total larger than 18?
CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_37 WHERE nation = "mongolia" AND total > 18
### Context: CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR) ### Question: How much Gold has a Nation of mongolia, and a Total larger than 18? ### Answer: SELECT SUM(gold) FROM table_name_37 WHERE nation = "mongolia" AND total > 18
What is the Lok Sabha for Dravida Munnetra Kazhagam, in 1999-04?
CREATE TABLE table_name_13 (lok_sabha VARCHAR, party_affiliation VARCHAR, duration VARCHAR)
SELECT lok_sabha FROM table_name_13 WHERE party_affiliation = "dravida munnetra kazhagam" AND duration = "1999-04"
### Context: CREATE TABLE table_name_13 (lok_sabha VARCHAR, party_affiliation VARCHAR, duration VARCHAR) ### Question: What is the Lok Sabha for Dravida Munnetra Kazhagam, in 1999-04? ### Answer: SELECT lok_sabha FROM table_name_13 WHERE party_affiliation = "dravida munnetra kazhagam" AND duration = "1999-04"
What is the duration when Lok Sabha shows fifth?
CREATE TABLE table_name_86 (duration VARCHAR, lok_sabha VARCHAR)
SELECT duration FROM table_name_86 WHERE lok_sabha = "fifth"
### Context: CREATE TABLE table_name_86 (duration VARCHAR, lok_sabha VARCHAR) ### Question: What is the duration when Lok Sabha shows fifth? ### Answer: SELECT duration FROM table_name_86 WHERE lok_sabha = "fifth"
What was the result for the game played on December 20, 1970?
CREATE TABLE table_name_50 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_50 WHERE date = "december 20, 1970"
### Context: CREATE TABLE table_name_50 (result VARCHAR, date VARCHAR) ### Question: What was the result for the game played on December 20, 1970? ### Answer: SELECT result FROM table_name_50 WHERE date = "december 20, 1970"
What was the result for week 2?
CREATE TABLE table_name_50 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_50 WHERE week = 2
### Context: CREATE TABLE table_name_50 (result VARCHAR, week VARCHAR) ### Question: What was the result for week 2? ### Answer: SELECT result FROM table_name_50 WHERE week = 2
What is the rank of the athletes that have Notes of fb, and a Time of 6:47.30?
CREATE TABLE table_name_36 (rank INTEGER, notes VARCHAR, time VARCHAR)
SELECT SUM(rank) FROM table_name_36 WHERE notes = "fb" AND time = "6:47.30"
### Context: CREATE TABLE table_name_36 (rank INTEGER, notes VARCHAR, time VARCHAR) ### Question: What is the rank of the athletes that have Notes of fb, and a Time of 6:47.30? ### Answer: SELECT SUM(rank) FROM table_name_36 WHERE notes = "fb" AND time = "6:47.30"
What is the least rank for athletes with a time of 6:36.65?
CREATE TABLE table_name_80 (rank INTEGER, time VARCHAR)
SELECT MIN(rank) FROM table_name_80 WHERE time = "6:36.65"
### Context: CREATE TABLE table_name_80 (rank INTEGER, time VARCHAR) ### Question: What is the least rank for athletes with a time of 6:36.65? ### Answer: SELECT MIN(rank) FROM table_name_80 WHERE time = "6:36.65"
What is the average react for a rank more than 8?
CREATE TABLE table_name_36 (react INTEGER, rank INTEGER)
SELECT AVG(react) FROM table_name_36 WHERE rank > 8
### Context: CREATE TABLE table_name_36 (react INTEGER, rank INTEGER) ### Question: What is the average react for a rank more than 8? ### Answer: SELECT AVG(react) FROM table_name_36 WHERE rank > 8
What is the highest rank for the react of 0.198, and the time more than 20.42?
CREATE TABLE table_name_4 (rank INTEGER, react VARCHAR, time VARCHAR)
SELECT MAX(rank) FROM table_name_4 WHERE react = 0.198 AND time > 20.42
### Context: CREATE TABLE table_name_4 (rank INTEGER, react VARCHAR, time VARCHAR) ### Question: What is the highest rank for the react of 0.198, and the time more than 20.42? ### Answer: SELECT MAX(rank) FROM table_name_4 WHERE react = 0.198 AND time > 20.42
What is the sum of time with a lane larger than 6, a nationality of canada, and the react smaller than 0.151?
CREATE TABLE table_name_70 (time INTEGER, react VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT SUM(time) FROM table_name_70 WHERE lane > 6 AND nationality = "canada" AND react < 0.151
### Context: CREATE TABLE table_name_70 (time INTEGER, react VARCHAR, lane VARCHAR, nationality VARCHAR) ### Question: What is the sum of time with a lane larger than 6, a nationality of canada, and the react smaller than 0.151? ### Answer: SELECT SUM(time) FROM table_name_70 WHERE lane > 6 AND nationality = "canada" AND react < 0.151
What human gene has a yeast ortholog of RAD26?
CREATE TABLE table_name_41 (human_gene__protein_ VARCHAR, yeast_ortholog VARCHAR)
SELECT human_gene__protein_ FROM table_name_41 WHERE yeast_ortholog = "rad26"
### Context: CREATE TABLE table_name_41 (human_gene__protein_ VARCHAR, yeast_ortholog VARCHAR) ### Question: What human gene has a yeast ortholog of RAD26? ### Answer: SELECT human_gene__protein_ FROM table_name_41 WHERE yeast_ortholog = "rad26"
What is the human gene that has a mouse ortholog of LIG1?
CREATE TABLE table_name_27 (human_gene__protein_ VARCHAR, mouse_ortholog VARCHAR)
SELECT human_gene__protein_ FROM table_name_27 WHERE mouse_ortholog = "lig1"
### Context: CREATE TABLE table_name_27 (human_gene__protein_ VARCHAR, mouse_ortholog VARCHAR) ### Question: What is the human gene that has a mouse ortholog of LIG1? ### Answer: SELECT human_gene__protein_ FROM table_name_27 WHERE mouse_ortholog = "lig1"
What is the yeast ortholog that has a subpathway of GGR and GeneCards entry CETN2?
CREATE TABLE table_name_19 (yeast_ortholog VARCHAR, subpathway VARCHAR, genecards_entry VARCHAR)
SELECT yeast_ortholog FROM table_name_19 WHERE subpathway = "ggr" AND genecards_entry = "cetn2"
### Context: CREATE TABLE table_name_19 (yeast_ortholog VARCHAR, subpathway VARCHAR, genecards_entry VARCHAR) ### Question: What is the yeast ortholog that has a subpathway of GGR and GeneCards entry CETN2? ### Answer: SELECT yeast_ortholog FROM table_name_19 WHERE subpathway = "ggr" AND genecards_entry = "cetn2"
What is the yeast ortholog of mouse ortholog MMS19?
CREATE TABLE table_name_18 (yeast_ortholog VARCHAR, mouse_ortholog VARCHAR)
SELECT yeast_ortholog FROM table_name_18 WHERE mouse_ortholog = "mms19"
### Context: CREATE TABLE table_name_18 (yeast_ortholog VARCHAR, mouse_ortholog VARCHAR) ### Question: What is the yeast ortholog of mouse ortholog MMS19? ### Answer: SELECT yeast_ortholog FROM table_name_18 WHERE mouse_ortholog = "mms19"
What is the Tournament against Vladimir Zednik?
CREATE TABLE table_name_67 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_67 WHERE opponent = "vladimir zednik"
### Context: CREATE TABLE table_name_67 (tournament VARCHAR, opponent VARCHAR) ### Question: What is the Tournament against Vladimir Zednik? ### Answer: SELECT tournament FROM table_name_67 WHERE opponent = "vladimir zednik"
What Tournament had a Score of 4–6, 6–7, 3–6?
CREATE TABLE table_name_95 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_95 WHERE score = "4–6, 6–7, 3–6"
### Context: CREATE TABLE table_name_95 (tournament VARCHAR, score VARCHAR) ### Question: What Tournament had a Score of 4–6, 6–7, 3–6? ### Answer: SELECT tournament FROM table_name_95 WHERE score = "4–6, 6–7, 3–6"
What is the Score of the of the Tournament against Tim Gullikson with Outcome of runner-up?
CREATE TABLE table_name_68 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_68 WHERE outcome = "runner-up" AND opponent = "tim gullikson"
### Context: CREATE TABLE table_name_68 (score VARCHAR, outcome VARCHAR, opponent VARCHAR) ### Question: What is the Score of the of the Tournament against Tim Gullikson with Outcome of runner-up? ### Answer: SELECT score FROM table_name_68 WHERE outcome = "runner-up" AND opponent = "tim gullikson"
What is the Doha, Qatar when the snatch is total?
CREATE TABLE table_name_17 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR)
SELECT doha_, _qatar FROM table_name_17 WHERE snatch = "total"
### Context: CREATE TABLE table_name_17 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR) ### Question: What is the Doha, Qatar when the snatch is total? ### Answer: SELECT doha_, _qatar FROM table_name_17 WHERE snatch = "total"
What is the Doha, Qatar when the snatch is clean & jerk?
CREATE TABLE table_name_93 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR)
SELECT doha_, _qatar FROM table_name_93 WHERE snatch = "clean & jerk"
### Context: CREATE TABLE table_name_93 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR) ### Question: What is the Doha, Qatar when the snatch is clean & jerk? ### Answer: SELECT doha_, _qatar FROM table_name_93 WHERE snatch = "clean & jerk"
How many Points have a Name of stephen myler, and Tries smaller than 0?
CREATE TABLE table_name_3 (points INTEGER, name VARCHAR, tries VARCHAR)
SELECT SUM(points) FROM table_name_3 WHERE name = "stephen myler" AND tries < 0
### Context: CREATE TABLE table_name_3 (points INTEGER, name VARCHAR, tries VARCHAR) ### Question: How many Points have a Name of stephen myler, and Tries smaller than 0? ### Answer: SELECT SUM(points) FROM table_name_3 WHERE name = "stephen myler" AND tries < 0
What is the pick number for New Mexico?
CREATE TABLE table_name_34 (pick INTEGER, college VARCHAR)
SELECT AVG(pick) FROM table_name_34 WHERE college = "new mexico"
### Context: CREATE TABLE table_name_34 (pick INTEGER, college VARCHAR) ### Question: What is the pick number for New Mexico? ### Answer: SELECT AVG(pick) FROM table_name_34 WHERE college = "new mexico"
What player is from the Denver Broncos?
CREATE TABLE table_name_43 (player VARCHAR, team VARCHAR)
SELECT player FROM table_name_43 WHERE team = "denver broncos"
### Context: CREATE TABLE table_name_43 (player VARCHAR, team VARCHAR) ### Question: What player is from the Denver Broncos? ### Answer: SELECT player FROM table_name_43 WHERE team = "denver broncos"
Which college has their team as the New York Jets?
CREATE TABLE table_name_38 (college VARCHAR, team VARCHAR)
SELECT college FROM table_name_38 WHERE team = "new york jets"
### Context: CREATE TABLE table_name_38 (college VARCHAR, team VARCHAR) ### Question: Which college has their team as the New York Jets? ### Answer: SELECT college FROM table_name_38 WHERE team = "new york jets"
What is the Constituency Number of Total:?
CREATE TABLE table_name_73 (constituency_number VARCHAR, name VARCHAR)
SELECT constituency_number FROM table_name_73 WHERE name = "total:"
### Context: CREATE TABLE table_name_73 (constituency_number VARCHAR, name VARCHAR) ### Question: What is the Constituency Number of Total:? ### Answer: SELECT constituency_number FROM table_name_73 WHERE name = "total:"
Which District is Constituency number 22?
CREATE TABLE table_name_43 (district VARCHAR, constituency_number VARCHAR)
SELECT district FROM table_name_43 WHERE constituency_number = "22"
### Context: CREATE TABLE table_name_43 (district VARCHAR, constituency_number VARCHAR) ### Question: Which District is Constituency number 22? ### Answer: SELECT district FROM table_name_43 WHERE constituency_number = "22"
What is the lowest number of Electorates (2003) in District bhind, Reserved for none, and Constituency Number 11?
CREATE TABLE table_name_85 (number_of_electorates__2003_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
SELECT MIN(number_of_electorates__2003_) FROM table_name_85 WHERE district = "bhind" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "11"
### Context: CREATE TABLE table_name_85 (number_of_electorates__2003_ INTEGER, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR) ### Question: What is the lowest number of Electorates (2003) in District bhind, Reserved for none, and Constituency Number 11? ### Answer: SELECT MIN(number_of_electorates__2003_) FROM table_name_85 WHERE district = "bhind" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "11"
What school/club had pick 33?
CREATE TABLE table_name_31 (school_club_team VARCHAR, pick VARCHAR)
SELECT school_club_team FROM table_name_31 WHERE pick = 33
### Context: CREATE TABLE table_name_31 (school_club_team VARCHAR, pick VARCHAR) ### Question: What school/club had pick 33? ### Answer: SELECT school_club_team FROM table_name_31 WHERE pick = 33
What attendance has October 16, 2005 as the date?
CREATE TABLE table_name_81 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_81 WHERE date = "october 16, 2005"
### Context: CREATE TABLE table_name_81 (attendance VARCHAR, date VARCHAR) ### Question: What attendance has October 16, 2005 as the date? ### Answer: SELECT attendance FROM table_name_81 WHERE date = "october 16, 2005"
What result has a week less than 16, and October 31, 2005 as the date?
CREATE TABLE table_name_25 (result VARCHAR, week VARCHAR, date VARCHAR)
SELECT result FROM table_name_25 WHERE week < 16 AND date = "october 31, 2005"
### Context: CREATE TABLE table_name_25 (result VARCHAR, week VARCHAR, date VARCHAR) ### Question: What result has a week less than 16, and October 31, 2005 as the date? ### Answer: SELECT result FROM table_name_25 WHERE week < 16 AND date = "october 31, 2005"
Which Year has a Manager of bobby dews, and Playoffs of lost in 1st round?
CREATE TABLE table_name_37 (year INTEGER, manager VARCHAR, playoffs VARCHAR)
SELECT MIN(year) FROM table_name_37 WHERE manager = "bobby dews" AND playoffs = "lost in 1st round"
### Context: CREATE TABLE table_name_37 (year INTEGER, manager VARCHAR, playoffs VARCHAR) ### Question: Which Year has a Manager of bobby dews, and Playoffs of lost in 1st round? ### Answer: SELECT MIN(year) FROM table_name_37 WHERE manager = "bobby dews" AND playoffs = "lost in 1st round"
How many years have a Record of 73-65?
CREATE TABLE table_name_74 (year VARCHAR, record VARCHAR)
SELECT COUNT(year) FROM table_name_74 WHERE record = "73-65"
### Context: CREATE TABLE table_name_74 (year VARCHAR, record VARCHAR) ### Question: How many years have a Record of 73-65? ### Answer: SELECT COUNT(year) FROM table_name_74 WHERE record = "73-65"
Which Record has a Year larger than 1974, and a Finish of 3rd?
CREATE TABLE table_name_33 (record VARCHAR, year VARCHAR, finish VARCHAR)
SELECT record FROM table_name_33 WHERE year > 1974 AND finish = "3rd"
### Context: CREATE TABLE table_name_33 (record VARCHAR, year VARCHAR, finish VARCHAR) ### Question: Which Record has a Year larger than 1974, and a Finish of 3rd? ### Answer: SELECT record FROM table_name_33 WHERE year > 1974 AND finish = "3rd"
Which Song of the Year was 42 on the UK charts prior to 1994?
CREATE TABLE table_name_14 (song VARCHAR, year VARCHAR, uk_chart VARCHAR)
SELECT song FROM table_name_14 WHERE year < 1994 AND uk_chart = "42"
### Context: CREATE TABLE table_name_14 (song VARCHAR, year VARCHAR, uk_chart VARCHAR) ### Question: Which Song of the Year was 42 on the UK charts prior to 1994? ### Answer: SELECT song FROM table_name_14 WHERE year < 1994 AND uk_chart = "42"
Where did Scott Fitzgerald rank on the UK charts?
CREATE TABLE table_name_84 (uk_chart VARCHAR, artist VARCHAR)
SELECT uk_chart FROM table_name_84 WHERE artist = "scott fitzgerald"
### Context: CREATE TABLE table_name_84 (uk_chart VARCHAR, artist VARCHAR) ### Question: Where did Scott Fitzgerald rank on the UK charts? ### Answer: SELECT uk_chart FROM table_name_84 WHERE artist = "scott fitzgerald"
Where did the song by Michael Ball, which placed 2nd in Eurovision prior to 1961, place on the UK charts?
CREATE TABLE table_name_33 (uk_chart VARCHAR, artist VARCHAR, year VARCHAR, at_eurovision VARCHAR)
SELECT uk_chart FROM table_name_33 WHERE year > 1961 AND at_eurovision = "2nd" AND artist = "michael ball"
### Context: CREATE TABLE table_name_33 (uk_chart VARCHAR, artist VARCHAR, year VARCHAR, at_eurovision VARCHAR) ### Question: Where did the song by Michael Ball, which placed 2nd in Eurovision prior to 1961, place on the UK charts? ### Answer: SELECT uk_chart FROM table_name_33 WHERE year > 1961 AND at_eurovision = "2nd" AND artist = "michael ball"
What is the 3rd day result for years under 2012 and a finish position of 33rd?
CREATE TABLE table_name_65 (year VARCHAR, finish_position VARCHAR)
SELECT 3 AS rd_day FROM table_name_65 WHERE year < 2012 AND finish_position = "33rd"
### Context: CREATE TABLE table_name_65 (year VARCHAR, finish_position VARCHAR) ### Question: What is the 3rd day result for years under 2012 and a finish position of 33rd? ### Answer: SELECT 3 AS rd_day FROM table_name_65 WHERE year < 2012 AND finish_position = "33rd"
For the vessel with a listed In service of 1, what is the origin given?
CREATE TABLE table_name_57 (origin VARCHAR, in_service VARCHAR)
SELECT origin FROM table_name_57 WHERE in_service = 1
### Context: CREATE TABLE table_name_57 (origin VARCHAR, in_service VARCHAR) ### Question: For the vessel with a listed In service of 1, what is the origin given? ### Answer: SELECT origin FROM table_name_57 WHERE in_service = 1
What is the lowest listed In service for a vessel of xavery czernicki class?
CREATE TABLE table_name_71 (in_service INTEGER, vessel VARCHAR)
SELECT MIN(in_service) FROM table_name_71 WHERE vessel = "xavery czernicki class"
### Context: CREATE TABLE table_name_71 (in_service INTEGER, vessel VARCHAR) ### Question: What is the lowest listed In service for a vessel of xavery czernicki class? ### Answer: SELECT MIN(in_service) FROM table_name_71 WHERE vessel = "xavery czernicki class"
Which vessel has a type of logistic support?
CREATE TABLE table_name_72 (vessel VARCHAR, type VARCHAR)
SELECT vessel FROM table_name_72 WHERE type = "logistic support"
### Context: CREATE TABLE table_name_72 (vessel VARCHAR, type VARCHAR) ### Question: Which vessel has a type of logistic support? ### Answer: SELECT vessel FROM table_name_72 WHERE type = "logistic support"
What is the type for a vessel of lublin class?
CREATE TABLE table_name_77 (type VARCHAR, vessel VARCHAR)
SELECT type FROM table_name_77 WHERE vessel = "lublin class"
### Context: CREATE TABLE table_name_77 (type VARCHAR, vessel VARCHAR) ### Question: What is the type for a vessel of lublin class? ### Answer: SELECT type FROM table_name_77 WHERE vessel = "lublin class"
What is the highest In service for a vessel with a listed Unit of 12th minesweeper squadron?
CREATE TABLE table_name_37 (in_service INTEGER, unit VARCHAR)
SELECT MAX(in_service) FROM table_name_37 WHERE unit = "12th minesweeper squadron"
### Context: CREATE TABLE table_name_37 (in_service INTEGER, unit VARCHAR) ### Question: What is the highest In service for a vessel with a listed Unit of 12th minesweeper squadron? ### Answer: SELECT MAX(in_service) FROM table_name_37 WHERE unit = "12th minesweeper squadron"
What is the type for a vessel with a listed unit of naval base swinoujscie (auxiliary squadron)?
CREATE TABLE table_name_49 (type VARCHAR, unit VARCHAR)
SELECT type FROM table_name_49 WHERE unit = "naval base swinoujscie (auxiliary squadron)"
### Context: CREATE TABLE table_name_49 (type VARCHAR, unit VARCHAR) ### Question: What is the type for a vessel with a listed unit of naval base swinoujscie (auxiliary squadron)? ### Answer: SELECT type FROM table_name_49 WHERE unit = "naval base swinoujscie (auxiliary squadron)"
Which rider was on the 600cc Yamaha team?
CREATE TABLE table_name_44 (rider VARCHAR, team VARCHAR)
SELECT rider FROM table_name_44 WHERE team = "600cc yamaha"
### Context: CREATE TABLE table_name_44 (rider VARCHAR, team VARCHAR) ### Question: Which rider was on the 600cc Yamaha team? ### Answer: SELECT rider FROM table_name_44 WHERE team = "600cc yamaha"
What was John Hildreth's speed?
CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR)
SELECT speed FROM table_name_55 WHERE rider = "john hildreth"
### Context: CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR) ### Question: What was John Hildreth's speed? ### Answer: SELECT speed FROM table_name_55 WHERE rider = "john hildreth"
What is the average draw number of an entrant with a time of 22:29?
CREATE TABLE table_name_29 (draw INTEGER, time VARCHAR)
SELECT AVG(draw) FROM table_name_29 WHERE time = "22:29"
### Context: CREATE TABLE table_name_29 (draw INTEGER, time VARCHAR) ### Question: What is the average draw number of an entrant with a time of 22:29? ### Answer: SELECT AVG(draw) FROM table_name_29 WHERE time = "22:29"
What is Mark Henry's brand?
CREATE TABLE table_name_28 (brand VARCHAR, entrant VARCHAR)
SELECT brand FROM table_name_28 WHERE entrant = "mark henry"
### Context: CREATE TABLE table_name_28 (brand VARCHAR, entrant VARCHAR) ### Question: What is Mark Henry's brand? ### Answer: SELECT brand FROM table_name_28 WHERE entrant = "mark henry"
Who is the Author/Editor/Source for more than 100 countries sampled and has a 35 world ranking?
CREATE TABLE table_name_86 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR, countries_sampled VARCHAR)
SELECT author___editor___source FROM table_name_86 WHERE world_ranking__1_ = "35" AND countries_sampled > 100
### Context: CREATE TABLE table_name_86 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR, countries_sampled VARCHAR) ### Question: Who is the Author/Editor/Source for more than 100 countries sampled and has a 35 world ranking? ### Answer: SELECT author___editor___source FROM table_name_86 WHERE world_ranking__1_ = "35" AND countries_sampled > 100
How many countries sampled has a world ranking of 33 in 2010 and less than 3 ranking in Latin America?
CREATE TABLE table_name_71 (countries_sampled INTEGER, ranking_in_latin_america__2_ VARCHAR, year_of_publication VARCHAR, world_ranking__1_ VARCHAR)
SELECT SUM(countries_sampled) FROM table_name_71 WHERE year_of_publication = "2010" AND world_ranking__1_ = "33" AND ranking_in_latin_america__2_ < 3
### Context: CREATE TABLE table_name_71 (countries_sampled INTEGER, ranking_in_latin_america__2_ VARCHAR, year_of_publication VARCHAR, world_ranking__1_ VARCHAR) ### Question: How many countries sampled has a world ranking of 33 in 2010 and less than 3 ranking in Latin America? ### Answer: SELECT SUM(countries_sampled) FROM table_name_71 WHERE year_of_publication = "2010" AND world_ranking__1_ = "33" AND ranking_in_latin_america__2_ < 3
What's the world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America?
CREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR)
SELECT world_ranking__1_ FROM table_name_87 WHERE year_of_publication = "2011" AND ranking_in_latin_america__2_ > 3 AND countries_sampled > 142
### Context: CREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR) ### Question: What's the world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America? ### Answer: SELECT world_ranking__1_ FROM table_name_87 WHERE year_of_publication = "2011" AND ranking_in_latin_america__2_ > 3 AND countries_sampled > 142
What home team has a tie no of 20?
CREATE TABLE table_name_44 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_44 WHERE tie_no = "20"
### Context: CREATE TABLE table_name_44 (home_team VARCHAR, tie_no VARCHAR) ### Question: What home team has a tie no of 20? ### Answer: SELECT home_team FROM table_name_44 WHERE tie_no = "20"
What date was the score 3–3, and away team was Barnet?
CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_96 WHERE score = "3–3" AND away_team = "barnet"
### Context: CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR, away_team VARCHAR) ### Question: What date was the score 3–3, and away team was Barnet? ### Answer: SELECT date FROM table_name_96 WHERE score = "3–3" AND away_team = "barnet"
What is the Tie no when Wimbledon is the home team?
CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_12 WHERE home_team = "wimbledon"
### Context: CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR) ### Question: What is the Tie no when Wimbledon is the home team? ### Answer: SELECT tie_no FROM table_name_12 WHERE home_team = "wimbledon"
What is the score when the Tie no is replay, and the away team is York City?
CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_43 WHERE tie_no = "replay" AND away_team = "york city"
### Context: CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR) ### Question: What is the score when the Tie no is replay, and the away team is York City? ### Answer: SELECT score FROM table_name_43 WHERE tie_no = "replay" AND away_team = "york city"
What is the Tie no when Chester is the away team?
CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_83 WHERE away_team = "chester"
### Context: CREATE TABLE table_name_83 (tie_no VARCHAR, away_team VARCHAR) ### Question: What is the Tie no when Chester is the away team? ### Answer: SELECT tie_no FROM table_name_83 WHERE away_team = "chester"
What is the broadcast date of the episode with 9.65 million viewers?
CREATE TABLE table_name_39 (broadcast_date VARCHAR, viewership__millions_ VARCHAR)
SELECT broadcast_date FROM table_name_39 WHERE viewership__millions_ = 9.65
### Context: CREATE TABLE table_name_39 (broadcast_date VARCHAR, viewership__millions_ VARCHAR) ### Question: What is the broadcast date of the episode with 9.65 million viewers? ### Answer: SELECT broadcast_date FROM table_name_39 WHERE viewership__millions_ = 9.65