question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 | text stringlengths 114 1.06k |
|---|---|---|---|
in riyadh, saudi arabia, what is the score? | CREATE TABLE table_name_12 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_12 WHERE venue = "riyadh, saudi arabia" | ### Context: CREATE TABLE table_name_12 (score VARCHAR, venue VARCHAR) ### Question: in riyadh, saudi arabia, what is the score? ### Answer: SELECT score FROM table_name_12 WHERE venue = "riyadh, saudi arabia" |
Which Pocona Municipality (%) is the lowest one that has a Puerto Villarroel Municipality (%) smaller than 14.6, and a Chimoré Municipality (%) of 5.1, and an Entre Ríos Municipality (%) smaller than 0.9? | CREATE TABLE table_name_61 (pocona_municipality___percentage_ INTEGER, entre_ríos_municipality___percentage_ VARCHAR, puerto_villarroel_municipality___percentage_ VARCHAR, chimoré_municipality___percentage_ VARCHAR) | SELECT MIN(pocona_municipality___percentage_) FROM table_name_61 WHERE puerto_villarroel_municipality___percentage_ < 14.6 AND chimoré_municipality___percentage_ = 5.1 AND entre_ríos_municipality___percentage_ < 0.9 | ### Context: CREATE TABLE table_name_61 (pocona_municipality___percentage_ INTEGER, entre_ríos_municipality___percentage_ VARCHAR, puerto_villarroel_municipality___percentage_ VARCHAR, chimoré_municipality___percentage_ VARCHAR) ### Question: Which Pocona Municipality (%) is the lowest one that has a Puerto Villarroel Municipality (%) smaller than 14.6, and a Chimoré Municipality (%) of 5.1, and an Entre Ríos Municipality (%) smaller than 0.9? ### Answer: SELECT MIN(pocona_municipality___percentage_) FROM table_name_61 WHERE puerto_villarroel_municipality___percentage_ < 14.6 AND chimoré_municipality___percentage_ = 5.1 AND entre_ríos_municipality___percentage_ < 0.9 |
Which Puerto Villarroel Municipality (%) is the lowest one that has an Ethnic group of not indigenous, and a Totora Municipality (%) smaller than 4.4? | CREATE TABLE table_name_94 (puerto_villarroel_municipality___percentage_ INTEGER, ethnic_group VARCHAR, totora_municipality___percentage_ VARCHAR) | SELECT MIN(puerto_villarroel_municipality___percentage_) FROM table_name_94 WHERE ethnic_group = "not indigenous" AND totora_municipality___percentage_ < 4.4 | ### Context: CREATE TABLE table_name_94 (puerto_villarroel_municipality___percentage_ INTEGER, ethnic_group VARCHAR, totora_municipality___percentage_ VARCHAR) ### Question: Which Puerto Villarroel Municipality (%) is the lowest one that has an Ethnic group of not indigenous, and a Totora Municipality (%) smaller than 4.4? ### Answer: SELECT MIN(puerto_villarroel_municipality___percentage_) FROM table_name_94 WHERE ethnic_group = "not indigenous" AND totora_municipality___percentage_ < 4.4 |
Which Pocona Municipality (%) has a Puerto Villarroel Municipality (%) larger than 14.6, and a Pojo Municipality (%) smaller than 88.5? | CREATE TABLE table_name_6 (pocona_municipality___percentage_ INTEGER, puerto_villarroel_municipality___percentage_ VARCHAR, pojo_municipality___percentage_ VARCHAR) | SELECT SUM(pocona_municipality___percentage_) FROM table_name_6 WHERE puerto_villarroel_municipality___percentage_ > 14.6 AND pojo_municipality___percentage_ < 88.5 | ### Context: CREATE TABLE table_name_6 (pocona_municipality___percentage_ INTEGER, puerto_villarroel_municipality___percentage_ VARCHAR, pojo_municipality___percentage_ VARCHAR) ### Question: Which Pocona Municipality (%) has a Puerto Villarroel Municipality (%) larger than 14.6, and a Pojo Municipality (%) smaller than 88.5? ### Answer: SELECT SUM(pocona_municipality___percentage_) FROM table_name_6 WHERE puerto_villarroel_municipality___percentage_ > 14.6 AND pojo_municipality___percentage_ < 88.5 |
Which Totora Municipality (%) is the highest one that has a Chimoré Municipality (%) of 5.1, and a Pocona Municipality (%) smaller than 0.2? | CREATE TABLE table_name_72 (totora_municipality___percentage_ INTEGER, chimoré_municipality___percentage_ VARCHAR, pocona_municipality___percentage_ VARCHAR) | SELECT MAX(totora_municipality___percentage_) FROM table_name_72 WHERE chimoré_municipality___percentage_ = 5.1 AND pocona_municipality___percentage_ < 0.2 | ### Context: CREATE TABLE table_name_72 (totora_municipality___percentage_ INTEGER, chimoré_municipality___percentage_ VARCHAR, pocona_municipality___percentage_ VARCHAR) ### Question: Which Totora Municipality (%) is the highest one that has a Chimoré Municipality (%) of 5.1, and a Pocona Municipality (%) smaller than 0.2? ### Answer: SELECT MAX(totora_municipality___percentage_) FROM table_name_72 WHERE chimoré_municipality___percentage_ = 5.1 AND pocona_municipality___percentage_ < 0.2 |
Which Pos has a Car # smaller than 18, and a Driver of mike skinner? | CREATE TABLE table_name_91 (pos INTEGER, car__number VARCHAR, driver VARCHAR) | SELECT AVG(pos) FROM table_name_91 WHERE car__number < 18 AND driver = "mike skinner" | ### Context: CREATE TABLE table_name_91 (pos INTEGER, car__number VARCHAR, driver VARCHAR) ### Question: Which Pos has a Car # smaller than 18, and a Driver of mike skinner? ### Answer: SELECT AVG(pos) FROM table_name_91 WHERE car__number < 18 AND driver = "mike skinner" |
Which Team has a Pos larger than 3, and a Make of toyota, and a Car # smaller than 59, and a Driver of mike skinner? | CREATE TABLE table_name_75 (team VARCHAR, driver VARCHAR, car__number VARCHAR, pos VARCHAR, make VARCHAR) | SELECT team FROM table_name_75 WHERE pos > 3 AND make = "toyota" AND car__number < 59 AND driver = "mike skinner" | ### Context: CREATE TABLE table_name_75 (team VARCHAR, driver VARCHAR, car__number VARCHAR, pos VARCHAR, make VARCHAR) ### Question: Which Team has a Pos larger than 3, and a Make of toyota, and a Car # smaller than 59, and a Driver of mike skinner? ### Answer: SELECT team FROM table_name_75 WHERE pos > 3 AND make = "toyota" AND car__number < 59 AND driver = "mike skinner" |
Which Pos has a Team of roush fenway racing, and a Car # of 99? | CREATE TABLE table_name_32 (pos INTEGER, team VARCHAR, car__number VARCHAR) | SELECT SUM(pos) FROM table_name_32 WHERE team = "roush fenway racing" AND car__number = 99 | ### Context: CREATE TABLE table_name_32 (pos INTEGER, team VARCHAR, car__number VARCHAR) ### Question: Which Pos has a Team of roush fenway racing, and a Car # of 99? ### Answer: SELECT SUM(pos) FROM table_name_32 WHERE team = "roush fenway racing" AND car__number = 99 |
Which Car # has a Make of toyota, and a Pos of 7? | CREATE TABLE table_name_93 (car__number INTEGER, make VARCHAR, pos VARCHAR) | SELECT AVG(car__number) FROM table_name_93 WHERE make = "toyota" AND pos = 7 | ### Context: CREATE TABLE table_name_93 (car__number INTEGER, make VARCHAR, pos VARCHAR) ### Question: Which Car # has a Make of toyota, and a Pos of 7? ### Answer: SELECT AVG(car__number) FROM table_name_93 WHERE make = "toyota" AND pos = 7 |
Which Pos has a Team of germian racing? | CREATE TABLE table_name_68 (pos VARCHAR, team VARCHAR) | SELECT pos FROM table_name_68 WHERE team = "germian racing" | ### Context: CREATE TABLE table_name_68 (pos VARCHAR, team VARCHAR) ### Question: Which Pos has a Team of germian racing? ### Answer: SELECT pos FROM table_name_68 WHERE team = "germian racing" |
Which Opponent has a Score of 2–6? | CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_64 WHERE score = "2–6" | ### Context: CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR) ### Question: Which Opponent has a Score of 2–6? ### Answer: SELECT opponent FROM table_name_64 WHERE score = "2–6" |
Which Game has a Series of flyers win 3–0? Question 3 | CREATE TABLE table_name_8 (game INTEGER, series VARCHAR) | SELECT MAX(game) FROM table_name_8 WHERE series = "flyers win 3–0" | ### Context: CREATE TABLE table_name_8 (game INTEGER, series VARCHAR) ### Question: Which Game has a Series of flyers win 3–0? Question 3 ### Answer: SELECT MAX(game) FROM table_name_8 WHERE series = "flyers win 3–0" |
Which Series is on april 18? | CREATE TABLE table_name_84 (series VARCHAR, date VARCHAR) | SELECT series FROM table_name_84 WHERE date = "april 18" | ### Context: CREATE TABLE table_name_84 (series VARCHAR, date VARCHAR) ### Question: Which Series is on april 18? ### Answer: SELECT series FROM table_name_84 WHERE date = "april 18" |
Name the date with score of 9-2 | CREATE TABLE table_name_49 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_49 WHERE score = "9-2" | ### Context: CREATE TABLE table_name_49 (date VARCHAR, score VARCHAR) ### Question: Name the date with score of 9-2 ### Answer: SELECT date FROM table_name_49 WHERE score = "9-2" |
Which Points is the highest one that has a Nationality of aut, and a Name of thomas morgenstern? | CREATE TABLE table_name_32 (points INTEGER, nationality VARCHAR, name VARCHAR) | SELECT MAX(points) FROM table_name_32 WHERE nationality = "aut" AND name = "thomas morgenstern" | ### Context: CREATE TABLE table_name_32 (points INTEGER, nationality VARCHAR, name VARCHAR) ### Question: Which Points is the highest one that has a Nationality of aut, and a Name of thomas morgenstern? ### Answer: SELECT MAX(points) FROM table_name_32 WHERE nationality = "aut" AND name = "thomas morgenstern" |
What is the sum of the capacities for Carrigh wind warm that has a size of 0.85 MW and more than 3 turbines? | CREATE TABLE table_name_31 (capacity__mw_ INTEGER, turbines VARCHAR, size__mw_ VARCHAR, wind_farm VARCHAR) | SELECT SUM(capacity__mw_) FROM table_name_31 WHERE size__mw_ = "0.85" AND wind_farm = "carrigh" AND turbines > 3 | ### Context: CREATE TABLE table_name_31 (capacity__mw_ INTEGER, turbines VARCHAR, size__mw_ VARCHAR, wind_farm VARCHAR) ### Question: What is the sum of the capacities for Carrigh wind warm that has a size of 0.85 MW and more than 3 turbines? ### Answer: SELECT SUM(capacity__mw_) FROM table_name_31 WHERE size__mw_ = "0.85" AND wind_farm = "carrigh" AND turbines > 3 |
What is the size of the windfarm in wexford that has more than 19 turbines and a vendor of Enercon? | CREATE TABLE table_name_87 (size__mw_ VARCHAR, county VARCHAR, turbines VARCHAR, turbine_vendor VARCHAR) | SELECT size__mw_ FROM table_name_87 WHERE turbines > 19 AND turbine_vendor = "enercon" AND county = "wexford" | ### Context: CREATE TABLE table_name_87 (size__mw_ VARCHAR, county VARCHAR, turbines VARCHAR, turbine_vendor VARCHAR) ### Question: What is the size of the windfarm in wexford that has more than 19 turbines and a vendor of Enercon? ### Answer: SELECT size__mw_ FROM table_name_87 WHERE turbines > 19 AND turbine_vendor = "enercon" AND county = "wexford" |
Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW? | CREATE TABLE table_name_85 (turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR) | SELECT turbine_vendor FROM table_name_85 WHERE turbines < 6 AND county = "donegal" AND size__mw_ = "0.85" AND wind_farm = "meenadreen" | ### Context: CREATE TABLE table_name_85 (turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR) ### Question: Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW? ### Answer: SELECT turbine_vendor FROM table_name_85 WHERE turbines < 6 AND county = "donegal" AND size__mw_ = "0.85" AND wind_farm = "meenadreen" |
What is the population where the rank is higher than 51 and the Median House-hold income is $25,250? | CREATE TABLE table_name_50 (population INTEGER, rank VARCHAR, median_house__hold_income VARCHAR) | SELECT SUM(population) FROM table_name_50 WHERE rank > 51 AND median_house__hold_income = "$25,250" | ### Context: CREATE TABLE table_name_50 (population INTEGER, rank VARCHAR, median_house__hold_income VARCHAR) ### Question: What is the population where the rank is higher than 51 and the Median House-hold income is $25,250? ### Answer: SELECT SUM(population) FROM table_name_50 WHERE rank > 51 AND median_house__hold_income = "$25,250" |
What is the Population where the Median House-hold Income is $25,016? | CREATE TABLE table_name_59 (population INTEGER, median_house__hold_income VARCHAR) | SELECT MIN(population) FROM table_name_59 WHERE median_house__hold_income = "$25,016" | ### Context: CREATE TABLE table_name_59 (population INTEGER, median_house__hold_income VARCHAR) ### Question: What is the Population where the Median House-hold Income is $25,016? ### Answer: SELECT MIN(population) FROM table_name_59 WHERE median_house__hold_income = "$25,016" |
What is the Number of Households that have a Per Capita Income of $21,345? | CREATE TABLE table_name_59 (number_of_households INTEGER, per_capita_income VARCHAR) | SELECT AVG(number_of_households) FROM table_name_59 WHERE per_capita_income = "$21,345" | ### Context: CREATE TABLE table_name_59 (number_of_households INTEGER, per_capita_income VARCHAR) ### Question: What is the Number of Households that have a Per Capita Income of $21,345? ### Answer: SELECT AVG(number_of_households) FROM table_name_59 WHERE per_capita_income = "$21,345" |
What County has a Median Family Income of $79,331? | CREATE TABLE table_name_3 (county VARCHAR, median_family_income VARCHAR) | SELECT county FROM table_name_3 WHERE median_family_income = "$79,331" | ### Context: CREATE TABLE table_name_3 (county VARCHAR, median_family_income VARCHAR) ### Question: What County has a Median Family Income of $79,331? ### Answer: SELECT county FROM table_name_3 WHERE median_family_income = "$79,331" |
The United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals? | CREATE TABLE table_name_1 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR) | SELECT MAX(gold) FROM table_name_1 WHERE total < 171 AND nation = "united states" AND bronze < 9 | ### Context: CREATE TABLE table_name_1 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR) ### Question: The United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals? ### Answer: SELECT MAX(gold) FROM table_name_1 WHERE total < 171 AND nation = "united states" AND bronze < 9 |
How many total gold medals did Australia receive? | CREATE TABLE table_name_80 (gold VARCHAR, nation VARCHAR) | SELECT COUNT(gold) FROM table_name_80 WHERE nation = "australia" | ### Context: CREATE TABLE table_name_80 (gold VARCHAR, nation VARCHAR) ### Question: How many total gold medals did Australia receive? ### Answer: SELECT COUNT(gold) FROM table_name_80 WHERE nation = "australia" |
How many total bronze medals did Canada receive? | CREATE TABLE table_name_58 (bronze INTEGER, nation VARCHAR) | SELECT MAX(bronze) FROM table_name_58 WHERE nation = "canada" | ### Context: CREATE TABLE table_name_58 (bronze INTEGER, nation VARCHAR) ### Question: How many total bronze medals did Canada receive? ### Answer: SELECT MAX(bronze) FROM table_name_58 WHERE nation = "canada" |
How many total gold medals did India receive? | CREATE TABLE table_name_10 (gold VARCHAR, nation VARCHAR) | SELECT gold FROM table_name_10 WHERE nation = "india" | ### Context: CREATE TABLE table_name_10 (gold VARCHAR, nation VARCHAR) ### Question: How many total gold medals did India receive? ### Answer: SELECT gold FROM table_name_10 WHERE nation = "india" |
Which 1997's accompanying 1991 was a when the tournament was the australian open? | CREATE TABLE table_name_57 (tournament VARCHAR) | SELECT 1997 FROM table_name_57 WHERE 1991 = "a" AND tournament = "australian open" | ### Context: CREATE TABLE table_name_57 (tournament VARCHAR) ### Question: Which 1997's accompanying 1991 was a when the tournament was the australian open? ### Answer: SELECT 1997 FROM table_name_57 WHERE 1991 = "a" AND tournament = "australian open" |
Which 1997's 1992 was 1r when 1994 was a? | CREATE TABLE table_name_77 (Id VARCHAR) | SELECT 1997 FROM table_name_77 WHERE 1992 = "1r" AND 1994 = "a" | ### Context: CREATE TABLE table_name_77 (Id VARCHAR) ### Question: Which 1997's 1992 was 1r when 1994 was a? ### Answer: SELECT 1997 FROM table_name_77 WHERE 1992 = "1r" AND 1994 = "a" |
Which 1995's tournament was the French Open? | CREATE TABLE table_name_61 (tournament VARCHAR) | SELECT 1995 FROM table_name_61 WHERE tournament = "french open" | ### Context: CREATE TABLE table_name_61 (tournament VARCHAR) ### Question: Which 1995's tournament was the French Open? ### Answer: SELECT 1995 FROM table_name_61 WHERE tournament = "french open" |
Which 1989's 1991 and 1994 stats were 1r? | CREATE TABLE table_name_81 (Id VARCHAR) | SELECT 1989 FROM table_name_81 WHERE 1991 = "1r" AND 1994 = "1r" | ### Context: CREATE TABLE table_name_81 (Id VARCHAR) ### Question: Which 1989's 1991 and 1994 stats were 1r? ### Answer: SELECT 1989 FROM table_name_81 WHERE 1991 = "1r" AND 1994 = "1r" |
Which 1990s 1992 was 3r? | CREATE TABLE table_name_78 (Id VARCHAR) | SELECT 1990 FROM table_name_78 WHERE 1992 = "3r" | ### Context: CREATE TABLE table_name_78 (Id VARCHAR) ### Question: Which 1990s 1992 was 3r? ### Answer: SELECT 1990 FROM table_name_78 WHERE 1992 = "3r" |
Which Linda McCartney has a Stuart of electric guitar? | CREATE TABLE table_name_80 (linda_mccartney VARCHAR, stuart VARCHAR) | SELECT linda_mccartney FROM table_name_80 WHERE stuart = "electric guitar" | ### Context: CREATE TABLE table_name_80 (linda_mccartney VARCHAR, stuart VARCHAR) ### Question: Which Linda McCartney has a Stuart of electric guitar? ### Answer: SELECT linda_mccartney FROM table_name_80 WHERE stuart = "electric guitar" |
Which Whitten has a Stuart of bass, and a Paul McCartney of electric guitar? | CREATE TABLE table_name_12 (whitten VARCHAR, stuart VARCHAR, paul_mccartney VARCHAR) | SELECT whitten FROM table_name_12 WHERE stuart = "bass" AND paul_mccartney = "electric guitar" | ### Context: CREATE TABLE table_name_12 (whitten VARCHAR, stuart VARCHAR, paul_mccartney VARCHAR) ### Question: Which Whitten has a Stuart of bass, and a Paul McCartney of electric guitar? ### Answer: SELECT whitten FROM table_name_12 WHERE stuart = "bass" AND paul_mccartney = "electric guitar" |
Which McIntosh has a Whitten of drums, and a Stuart of bass, and a Paul McCartney of electric guitar? | CREATE TABLE table_name_88 (mcintosh VARCHAR, paul_mccartney VARCHAR, whitten VARCHAR, stuart VARCHAR) | SELECT mcintosh FROM table_name_88 WHERE whitten = "drums" AND stuart = "bass" AND paul_mccartney = "electric guitar" | ### Context: CREATE TABLE table_name_88 (mcintosh VARCHAR, paul_mccartney VARCHAR, whitten VARCHAR, stuart VARCHAR) ### Question: Which McIntosh has a Whitten of drums, and a Stuart of bass, and a Paul McCartney of electric guitar? ### Answer: SELECT mcintosh FROM table_name_88 WHERE whitten = "drums" AND stuart = "bass" AND paul_mccartney = "electric guitar" |
Which Paul McCartney has a Linda McCartney of keyboards? | CREATE TABLE table_name_98 (paul_mccartney VARCHAR, linda_mccartney VARCHAR) | SELECT paul_mccartney FROM table_name_98 WHERE linda_mccartney = "keyboards" | ### Context: CREATE TABLE table_name_98 (paul_mccartney VARCHAR, linda_mccartney VARCHAR) ### Question: Which Paul McCartney has a Linda McCartney of keyboards? ### Answer: SELECT paul_mccartney FROM table_name_98 WHERE linda_mccartney = "keyboards" |
Which McIntosh has a Stuart of bass, and a Linda McCartney of keyboards or drum? | CREATE TABLE table_name_78 (mcintosh VARCHAR, stuart VARCHAR, linda_mccartney VARCHAR) | SELECT mcintosh FROM table_name_78 WHERE stuart = "bass" AND linda_mccartney = "keyboards or drum" | ### Context: CREATE TABLE table_name_78 (mcintosh VARCHAR, stuart VARCHAR, linda_mccartney VARCHAR) ### Question: Which McIntosh has a Stuart of bass, and a Linda McCartney of keyboards or drum? ### Answer: SELECT mcintosh FROM table_name_78 WHERE stuart = "bass" AND linda_mccartney = "keyboards or drum" |
Which Paul McCartney has a Linda McCartney of keyboards or drum? | CREATE TABLE table_name_15 (paul_mccartney VARCHAR, linda_mccartney VARCHAR) | SELECT paul_mccartney FROM table_name_15 WHERE linda_mccartney = "keyboards or drum" | ### Context: CREATE TABLE table_name_15 (paul_mccartney VARCHAR, linda_mccartney VARCHAR) ### Question: Which Paul McCartney has a Linda McCartney of keyboards or drum? ### Answer: SELECT paul_mccartney FROM table_name_15 WHERE linda_mccartney = "keyboards or drum" |
What is the largest Grid that has a Bike of honda cbr1000rr, and a Time of +20.848, and a Lap greater than 24? | CREATE TABLE table_name_70 (grid INTEGER, laps VARCHAR, bike VARCHAR, time VARCHAR) | SELECT MAX(grid) FROM table_name_70 WHERE bike = "honda cbr1000rr" AND time = "+20.848" AND laps > 24 | ### Context: CREATE TABLE table_name_70 (grid INTEGER, laps VARCHAR, bike VARCHAR, time VARCHAR) ### Question: What is the largest Grid that has a Bike of honda cbr1000rr, and a Time of +20.848, and a Lap greater than 24? ### Answer: SELECT MAX(grid) FROM table_name_70 WHERE bike = "honda cbr1000rr" AND time = "+20.848" AND laps > 24 |
The nation of denmark has what average total nad more than 0 gold? | CREATE TABLE table_name_70 (total INTEGER, nation VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_70 WHERE nation = "denmark" AND gold > 0 | ### Context: CREATE TABLE table_name_70 (total INTEGER, nation VARCHAR, gold VARCHAR) ### Question: The nation of denmark has what average total nad more than 0 gold? ### Answer: SELECT AVG(total) FROM table_name_70 WHERE nation = "denmark" AND gold > 0 |
Switzerland has how many gold and less than 0 silver? | CREATE TABLE table_name_61 (gold INTEGER, nation VARCHAR, silver VARCHAR) | SELECT MAX(gold) FROM table_name_61 WHERE nation = "switzerland" AND silver < 0 | ### Context: CREATE TABLE table_name_61 (gold INTEGER, nation VARCHAR, silver VARCHAR) ### Question: Switzerland has how many gold and less than 0 silver? ### Answer: SELECT MAX(gold) FROM table_name_61 WHERE nation = "switzerland" AND silver < 0 |
How many years had a score of 734-5d? | CREATE TABLE table_name_9 (year VARCHAR, score VARCHAR) | SELECT COUNT(year) FROM table_name_9 WHERE score = "734-5d" | ### Context: CREATE TABLE table_name_9 (year VARCHAR, score VARCHAR) ### Question: How many years had a score of 734-5d? ### Answer: SELECT COUNT(year) FROM table_name_9 WHERE score = "734-5d" |
Which venue had a city of Manchester before 2003? | CREATE TABLE table_name_82 (venue VARCHAR, city VARCHAR, year VARCHAR) | SELECT venue FROM table_name_82 WHERE city = "manchester" AND year < 2003 | ### Context: CREATE TABLE table_name_82 (venue VARCHAR, city VARCHAR, year VARCHAR) ### Question: Which venue had a city of Manchester before 2003? ### Answer: SELECT venue FROM table_name_82 WHERE city = "manchester" AND year < 2003 |
Which venue had a city of Manchester in 2003? | CREATE TABLE table_name_85 (venue VARCHAR, city VARCHAR, year VARCHAR) | SELECT venue FROM table_name_85 WHERE city = "manchester" AND year = 2003 | ### Context: CREATE TABLE table_name_85 (venue VARCHAR, city VARCHAR, year VARCHAR) ### Question: Which venue had a city of Manchester in 2003? ### Answer: SELECT venue FROM table_name_85 WHERE city = "manchester" AND year = 2003 |
Which venue had a score of 734-5d? | CREATE TABLE table_name_8 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_8 WHERE score = "734-5d" | ### Context: CREATE TABLE table_name_8 (venue VARCHAR, score VARCHAR) ### Question: Which venue had a score of 734-5d? ### Answer: SELECT venue FROM table_name_8 WHERE score = "734-5d" |
What is the average number of top-5s for the major with 5 top-10s and fewer than 12 cuts made? | CREATE TABLE table_name_3 (top_5 INTEGER, top_10 VARCHAR, cuts_made VARCHAR) | SELECT AVG(top_5) FROM table_name_3 WHERE top_10 = 5 AND cuts_made < 12 | ### Context: CREATE TABLE table_name_3 (top_5 INTEGER, top_10 VARCHAR, cuts_made VARCHAR) ### Question: What is the average number of top-5s for the major with 5 top-10s and fewer than 12 cuts made? ### Answer: SELECT AVG(top_5) FROM table_name_3 WHERE top_10 = 5 AND cuts_made < 12 |
What is the average number of top-10s for the major with 2 top-25s and fewer than 10 cuts made? | CREATE TABLE table_name_31 (top_10 INTEGER, top_25 VARCHAR, cuts_made VARCHAR) | SELECT AVG(top_10) FROM table_name_31 WHERE top_25 = 2 AND cuts_made < 10 | ### Context: CREATE TABLE table_name_31 (top_10 INTEGER, top_25 VARCHAR, cuts_made VARCHAR) ### Question: What is the average number of top-10s for the major with 2 top-25s and fewer than 10 cuts made? ### Answer: SELECT AVG(top_10) FROM table_name_31 WHERE top_25 = 2 AND cuts_made < 10 |
What is the total number of top-25s for the major that has 11 top-10s? | CREATE TABLE table_name_95 (top_25 VARCHAR, top_10 VARCHAR) | SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 = 11 | ### Context: CREATE TABLE table_name_95 (top_25 VARCHAR, top_10 VARCHAR) ### Question: What is the total number of top-25s for the major that has 11 top-10s? ### Answer: SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 = 11 |
How many total events have cuts made over 12, more than 2 top-5s, and more than 11 top-10s? | CREATE TABLE table_name_66 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_5 VARCHAR) | SELECT SUM(events) FROM table_name_66 WHERE cuts_made > 12 AND top_5 > 2 AND top_10 > 11 | ### Context: CREATE TABLE table_name_66 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_5 VARCHAR) ### Question: How many total events have cuts made over 12, more than 2 top-5s, and more than 11 top-10s? ### Answer: SELECT SUM(events) FROM table_name_66 WHERE cuts_made > 12 AND top_5 > 2 AND top_10 > 11 |
How many total wins are associated with events with 1 top-10? | CREATE TABLE table_name_63 (wins INTEGER, top_10 VARCHAR) | SELECT SUM(wins) FROM table_name_63 WHERE top_10 = 1 | ### Context: CREATE TABLE table_name_63 (wins INTEGER, top_10 VARCHAR) ### Question: How many total wins are associated with events with 1 top-10? ### Answer: SELECT SUM(wins) FROM table_name_63 WHERE top_10 = 1 |
What is the average number of cuts made in events with fewer than 1 win and exactly 11 top-10s? | CREATE TABLE table_name_93 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR) | SELECT AVG(cuts_made) FROM table_name_93 WHERE top_10 = 11 AND wins < 1 | ### Context: CREATE TABLE table_name_93 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR) ### Question: What is the average number of cuts made in events with fewer than 1 win and exactly 11 top-10s? ### Answer: SELECT AVG(cuts_made) FROM table_name_93 WHERE top_10 = 11 AND wins < 1 |
What week did they have a bye? | CREATE TABLE table_name_52 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_52 WHERE date = "bye" | ### Context: CREATE TABLE table_name_52 (week VARCHAR, date VARCHAR) ### Question: What week did they have a bye? ### Answer: SELECT week FROM table_name_52 WHERE date = "bye" |
What tournament in 2006 had a score of 0-0? | CREATE TABLE table_name_5 (tournament VARCHAR) | SELECT tournament FROM table_name_5 WHERE 2006 = "0-0" | ### Context: CREATE TABLE table_name_5 (tournament VARCHAR) ### Question: What tournament in 2006 had a score of 0-0? ### Answer: SELECT tournament FROM table_name_5 WHERE 2006 = "0-0" |
What was the highest number of extra points scored by Albert Herrnstein, when he scored more than 15 points total? | CREATE TABLE table_name_38 (extra_points INTEGER, player VARCHAR, points VARCHAR) | SELECT MAX(extra_points) FROM table_name_38 WHERE player = "albert herrnstein" AND points > 15 | ### Context: CREATE TABLE table_name_38 (extra_points INTEGER, player VARCHAR, points VARCHAR) ### Question: What was the highest number of extra points scored by Albert Herrnstein, when he scored more than 15 points total? ### Answer: SELECT MAX(extra_points) FROM table_name_38 WHERE player = "albert herrnstein" AND points > 15 |
How many touchdowns were scored by William Cole? | CREATE TABLE table_name_88 (touchdowns VARCHAR, player VARCHAR) | SELECT touchdowns FROM table_name_88 WHERE player = "william cole" | ### Context: CREATE TABLE table_name_88 (touchdowns VARCHAR, player VARCHAR) ### Question: How many touchdowns were scored by William Cole? ### Answer: SELECT touchdowns FROM table_name_88 WHERE player = "william cole" |
For the game with 26,236 attendance, what was the record? | CREATE TABLE table_name_81 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_81 WHERE attendance = "26,236" | ### Context: CREATE TABLE table_name_81 (record VARCHAR, attendance VARCHAR) ### Question: For the game with 26,236 attendance, what was the record? ### Answer: SELECT record FROM table_name_81 WHERE attendance = "26,236" |
What's the record for the game with an attendance of 49,222? | CREATE TABLE table_name_28 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_28 WHERE attendance = "49,222" | ### Context: CREATE TABLE table_name_28 (record VARCHAR, attendance VARCHAR) ### Question: What's the record for the game with an attendance of 49,222? ### Answer: SELECT record FROM table_name_28 WHERE attendance = "49,222" |
Who had the most rebounds and how many did he have during the game on June 11? | CREATE TABLE table_name_41 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_41 WHERE date = "june 11" | ### Context: CREATE TABLE table_name_41 (high_rebounds VARCHAR, date VARCHAR) ### Question: Who had the most rebounds and how many did he have during the game on June 11? ### Answer: SELECT high_rebounds FROM table_name_41 WHERE date = "june 11" |
Who was the leading scorer and how many did he score for the game on June 13? | CREATE TABLE table_name_54 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_54 WHERE date = "june 13" | ### Context: CREATE TABLE table_name_54 (high_points VARCHAR, date VARCHAR) ### Question: Who was the leading scorer and how many did he score for the game on June 13? ### Answer: SELECT high_points FROM table_name_54 WHERE date = "june 13" |
What College/Junior/Club Team has Pick 50 before Round 8? | CREATE TABLE table_name_19 (college_junior_club_team VARCHAR, round VARCHAR, pick VARCHAR) | SELECT college_junior_club_team FROM table_name_19 WHERE round < 8 AND pick = 50 | ### Context: CREATE TABLE table_name_19 (college_junior_club_team VARCHAR, round VARCHAR, pick VARCHAR) ### Question: What College/Junior/Club Team has Pick 50 before Round 8? ### Answer: SELECT college_junior_club_team FROM table_name_19 WHERE round < 8 AND pick = 50 |
What is the highest overall prior to 1996 with a slalom of 39? | CREATE TABLE table_name_33 (overall INTEGER, slalom VARCHAR, season VARCHAR) | SELECT MAX(overall) FROM table_name_33 WHERE slalom = "39" AND season < 1996 | ### Context: CREATE TABLE table_name_33 (overall INTEGER, slalom VARCHAR, season VARCHAR) ### Question: What is the highest overall prior to 1996 with a slalom of 39? ### Answer: SELECT MAX(overall) FROM table_name_33 WHERE slalom = "39" AND season < 1996 |
What is the lowest overall score prior to 1992 with a downhill score of 1? | CREATE TABLE table_name_57 (overall INTEGER, downhill VARCHAR, season VARCHAR) | SELECT MIN(overall) FROM table_name_57 WHERE downhill = "1" AND season < 1992 | ### Context: CREATE TABLE table_name_57 (overall INTEGER, downhill VARCHAR, season VARCHAR) ### Question: What is the lowest overall score prior to 1992 with a downhill score of 1? ### Answer: SELECT MIN(overall) FROM table_name_57 WHERE downhill = "1" AND season < 1992 |
What was her Giant Slalom score when her Overall was greater than 3 and her Super G score was 12? | CREATE TABLE table_name_28 (Giant VARCHAR, overall VARCHAR, super_g VARCHAR) | SELECT Giant AS slalom FROM table_name_28 WHERE overall > 3 AND super_g = 12 | ### Context: CREATE TABLE table_name_28 (Giant VARCHAR, overall VARCHAR, super_g VARCHAR) ### Question: What was her Giant Slalom score when her Overall was greater than 3 and her Super G score was 12? ### Answer: SELECT Giant AS slalom FROM table_name_28 WHERE overall > 3 AND super_g = 12 |
What was her highest Super G score with a Slalom score of 58 and an Overall larger than 2? | CREATE TABLE table_name_43 (super_g INTEGER, slalom VARCHAR, overall VARCHAR) | SELECT MAX(super_g) FROM table_name_43 WHERE slalom = "58" AND overall > 2 | ### Context: CREATE TABLE table_name_43 (super_g INTEGER, slalom VARCHAR, overall VARCHAR) ### Question: What was her highest Super G score with a Slalom score of 58 and an Overall larger than 2? ### Answer: SELECT MAX(super_g) FROM table_name_43 WHERE slalom = "58" AND overall > 2 |
What location has the name of Sakakita BS? | CREATE TABLE table_name_7 (location__all_in_nagano__ VARCHAR, name VARCHAR) | SELECT location__all_in_nagano__ FROM table_name_7 WHERE name = "sakakita bs" | ### Context: CREATE TABLE table_name_7 (location__all_in_nagano__ VARCHAR, name VARCHAR) ### Question: What location has the name of Sakakita BS? ### Answer: SELECT location__all_in_nagano__ FROM table_name_7 WHERE name = "sakakita bs" |
Which location includes Sakakita BS? | CREATE TABLE table_name_18 (location__all_in_nagano__ VARCHAR, name VARCHAR) | SELECT location__all_in_nagano__ FROM table_name_18 WHERE name = "sakakita bs" | ### Context: CREATE TABLE table_name_18 (location__all_in_nagano__ VARCHAR, name VARCHAR) ### Question: Which location includes Sakakita BS? ### Answer: SELECT location__all_in_nagano__ FROM table_name_18 WHERE name = "sakakita bs" |
What is the distance from origin in Azumino including Toyoshina IC? | CREATE TABLE table_name_57 (dist_from_origin VARCHAR, location__all_in_nagano__ VARCHAR, name VARCHAR) | SELECT dist_from_origin FROM table_name_57 WHERE location__all_in_nagano__ = "azumino" AND name = "toyoshina ic" | ### Context: CREATE TABLE table_name_57 (dist_from_origin VARCHAR, location__all_in_nagano__ VARCHAR, name VARCHAR) ### Question: What is the distance from origin in Azumino including Toyoshina IC? ### Answer: SELECT dist_from_origin FROM table_name_57 WHERE location__all_in_nagano__ = "azumino" AND name = "toyoshina ic" |
Which district had first elected earlier than 2006 for representation of Broken Arrow, Tulsa? | CREATE TABLE table_name_7 (district VARCHAR, first_elected VARCHAR, towns_represented VARCHAR) | SELECT district FROM table_name_7 WHERE first_elected < 2006 AND towns_represented = "broken arrow, tulsa" | ### Context: CREATE TABLE table_name_7 (district VARCHAR, first_elected VARCHAR, towns_represented VARCHAR) ### Question: Which district had first elected earlier than 2006 for representation of Broken Arrow, Tulsa? ### Answer: SELECT district FROM table_name_7 WHERE first_elected < 2006 AND towns_represented = "broken arrow, tulsa" |
How many values of first elected are for district 16? | CREATE TABLE table_name_91 (first_elected VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_name_91 WHERE district = "16" | ### Context: CREATE TABLE table_name_91 (first_elected VARCHAR, district VARCHAR) ### Question: How many values of first elected are for district 16? ### Answer: SELECT COUNT(first_elected) FROM table_name_91 WHERE district = "16" |
Which towns are represented in district 31? | CREATE TABLE table_name_65 (towns_represented VARCHAR, district VARCHAR) | SELECT towns_represented FROM table_name_65 WHERE district = "31" | ### Context: CREATE TABLE table_name_65 (towns_represented VARCHAR, district VARCHAR) ### Question: Which towns are represented in district 31? ### Answer: SELECT towns_represented FROM table_name_65 WHERE district = "31" |
How many deposits had a Non-Interest Income of 0.9500000000000001 and number of branch/offices less than 17? | CREATE TABLE table_name_63 (deposits VARCHAR, non_interest_income VARCHAR, no_of_branches_offices VARCHAR) | SELECT COUNT(deposits) FROM table_name_63 WHERE non_interest_income = 0.9500000000000001 AND no_of_branches_offices < 17 | ### Context: CREATE TABLE table_name_63 (deposits VARCHAR, non_interest_income VARCHAR, no_of_branches_offices VARCHAR) ### Question: How many deposits had a Non-Interest Income of 0.9500000000000001 and number of branch/offices less than 17? ### Answer: SELECT COUNT(deposits) FROM table_name_63 WHERE non_interest_income = 0.9500000000000001 AND no_of_branches_offices < 17 |
Which NPL net's bank was citibank? | CREATE TABLE table_name_30 (npl_net VARCHAR, bank VARCHAR) | SELECT npl_net FROM table_name_30 WHERE bank = "citibank" | ### Context: CREATE TABLE table_name_30 (npl_net VARCHAR, bank VARCHAR) ### Question: Which NPL net's bank was citibank? ### Answer: SELECT npl_net FROM table_name_30 WHERE bank = "citibank" |
Which championship has a winning score of (77-76-74-73=300)? | CREATE TABLE table_name_88 (championship VARCHAR, winning_score VARCHAR) | SELECT championship FROM table_name_88 WHERE winning_score = (77 - 76 - 74 - 73 = 300) | ### Context: CREATE TABLE table_name_88 (championship VARCHAR, winning_score VARCHAR) ### Question: Which championship has a winning score of (77-76-74-73=300)? ### Answer: SELECT championship FROM table_name_88 WHERE winning_score = (77 - 76 - 74 - 73 = 300) |
Which championship has a margin of 8 strokes? | CREATE TABLE table_name_89 (championship VARCHAR, margin VARCHAR) | SELECT championship FROM table_name_89 WHERE margin = "8 strokes" | ### Context: CREATE TABLE table_name_89 (championship VARCHAR, margin VARCHAR) ### Question: Which championship has a margin of 8 strokes? ### Answer: SELECT championship FROM table_name_89 WHERE margin = "8 strokes" |
What is the 54 holes for The Open Championship (4)? | CREATE TABLE table_name_7 (championship VARCHAR) | SELECT 54 AS _holes FROM table_name_7 WHERE championship = "the open championship (4)" | ### Context: CREATE TABLE table_name_7 (championship VARCHAR) ### Question: What is the 54 holes for The Open Championship (4)? ### Answer: SELECT 54 AS _holes FROM table_name_7 WHERE championship = "the open championship (4)" |
Which Tournament has a 2007 of wta premier 5 tournaments? | CREATE TABLE table_name_28 (tournament VARCHAR) | SELECT tournament FROM table_name_28 WHERE 2007 = "wta premier 5 tournaments" | ### Context: CREATE TABLE table_name_28 (tournament VARCHAR) ### Question: Which Tournament has a 2007 of wta premier 5 tournaments? ### Answer: SELECT tournament FROM table_name_28 WHERE 2007 = "wta premier 5 tournaments" |
Which Tournament was played in NH in 2011? | CREATE TABLE table_name_38 (tournament VARCHAR) | SELECT tournament FROM table_name_38 WHERE 2011 = "nh" | ### Context: CREATE TABLE table_name_38 (tournament VARCHAR) ### Question: Which Tournament was played in NH in 2011? ### Answer: SELECT tournament FROM table_name_38 WHERE 2011 = "nh" |
Which Tournament has a 2010 of 2r, and a 2011 of 1r? | CREATE TABLE table_name_21 (tournament VARCHAR) | SELECT tournament FROM table_name_21 WHERE 2010 = "2r" AND 2011 = "1r" | ### Context: CREATE TABLE table_name_21 (tournament VARCHAR) ### Question: Which Tournament has a 2010 of 2r, and a 2011 of 1r? ### Answer: SELECT tournament FROM table_name_21 WHERE 2010 = "2r" AND 2011 = "1r" |
When was Color of green first issued? | CREATE TABLE table_name_51 (first_issued INTEGER, color VARCHAR) | SELECT MIN(first_issued) FROM table_name_51 WHERE color = "green" | ### Context: CREATE TABLE table_name_51 (first_issued INTEGER, color VARCHAR) ### Question: When was Color of green first issued? ### Answer: SELECT MIN(first_issued) FROM table_name_51 WHERE color = "green" |
When was Color of green last issued? | CREATE TABLE table_name_26 (first_issued INTEGER, color VARCHAR) | SELECT MAX(first_issued) FROM table_name_26 WHERE color = "green" | ### Context: CREATE TABLE table_name_26 (first_issued INTEGER, color VARCHAR) ### Question: When was Color of green last issued? ### Answer: SELECT MAX(first_issued) FROM table_name_26 WHERE color = "green" |
What reverse has a color of green? | CREATE TABLE table_name_33 (reverse VARCHAR, color VARCHAR) | SELECT reverse FROM table_name_33 WHERE color = "green" | ### Context: CREATE TABLE table_name_33 (reverse VARCHAR, color VARCHAR) ### Question: What reverse has a color of green? ### Answer: SELECT reverse FROM table_name_33 WHERE color = "green" |
How much was a Reverse of guitar of agustín pío barrios before 1998? | CREATE TABLE table_name_1 (value VARCHAR, first_issued VARCHAR, reverse VARCHAR) | SELECT value FROM table_name_1 WHERE first_issued < 1998 AND reverse = "guitar of agustín pío barrios" | ### Context: CREATE TABLE table_name_1 (value VARCHAR, first_issued VARCHAR, reverse VARCHAR) ### Question: How much was a Reverse of guitar of agustín pío barrios before 1998? ### Answer: SELECT value FROM table_name_1 WHERE first_issued < 1998 AND reverse = "guitar of agustín pío barrios" |
What is BYU's lowest pick? | CREATE TABLE table_name_16 (pick__number INTEGER, college VARCHAR) | SELECT MIN(pick__number) FROM table_name_16 WHERE college = "byu" | ### Context: CREATE TABLE table_name_16 (pick__number INTEGER, college VARCHAR) ### Question: What is BYU's lowest pick? ### Answer: SELECT MIN(pick__number) FROM table_name_16 WHERE college = "byu" |
Which cornerback round has a pick number lower than 26 and an overall higher than 41? | CREATE TABLE table_name_36 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR) | SELECT SUM(round) FROM table_name_36 WHERE pick__number < 26 AND position = "cornerback" AND overall > 41 | ### Context: CREATE TABLE table_name_36 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR) ### Question: Which cornerback round has a pick number lower than 26 and an overall higher than 41? ### Answer: SELECT SUM(round) FROM table_name_36 WHERE pick__number < 26 AND position = "cornerback" AND overall > 41 |
What is the overall number for the College of Wyoming? | CREATE TABLE table_name_6 (overall VARCHAR, college VARCHAR) | SELECT COUNT(overall) FROM table_name_6 WHERE college = "wyoming" | ### Context: CREATE TABLE table_name_6 (overall VARCHAR, college VARCHAR) ### Question: What is the overall number for the College of Wyoming? ### Answer: SELECT COUNT(overall) FROM table_name_6 WHERE college = "wyoming" |
What is the total round for a wide receiver with an overall of more than 145? | CREATE TABLE table_name_4 (round VARCHAR, position VARCHAR, overall VARCHAR) | SELECT COUNT(round) FROM table_name_4 WHERE position = "wide receiver" AND overall > 145 | ### Context: CREATE TABLE table_name_4 (round VARCHAR, position VARCHAR, overall VARCHAR) ### Question: What is the total round for a wide receiver with an overall of more than 145? ### Answer: SELECT COUNT(round) FROM table_name_4 WHERE position = "wide receiver" AND overall > 145 |
What is College of Ohio State's pick number with an overall lower than 145? | CREATE TABLE table_name_42 (pick__number VARCHAR, overall VARCHAR, college VARCHAR) | SELECT pick__number FROM table_name_42 WHERE overall < 145 AND college = "ohio state" | ### Context: CREATE TABLE table_name_42 (pick__number VARCHAR, overall VARCHAR, college VARCHAR) ### Question: What is College of Ohio State's pick number with an overall lower than 145? ### Answer: SELECT pick__number FROM table_name_42 WHERE overall < 145 AND college = "ohio state" |
How many are enrolled at 49 Marion with the Warriors as their mascot? | CREATE TABLE table_name_74 (enrollment VARCHAR, _number___county VARCHAR, mascot VARCHAR) | SELECT COUNT(enrollment) FROM table_name_74 WHERE _number___county = "49 marion" AND mascot = "warriors" | ### Context: CREATE TABLE table_name_74 (enrollment VARCHAR, _number___county VARCHAR, mascot VARCHAR) ### Question: How many are enrolled at 49 Marion with the Warriors as their mascot? ### Answer: SELECT COUNT(enrollment) FROM table_name_74 WHERE _number___county = "49 marion" AND mascot = "warriors" |
Where is Terre Haute North located? | CREATE TABLE table_name_35 (location VARCHAR, school VARCHAR) | SELECT location FROM table_name_35 WHERE school = "terre haute north" | ### Context: CREATE TABLE table_name_35 (location VARCHAR, school VARCHAR) ### Question: Where is Terre Haute North located? ### Answer: SELECT location FROM table_name_35 WHERE school = "terre haute north" |
What's the enrollment at 41 Johnson? | CREATE TABLE table_name_24 (enrollment INTEGER, _number___county VARCHAR) | SELECT AVG(enrollment) FROM table_name_24 WHERE _number___county = "41 johnson" | ### Context: CREATE TABLE table_name_24 (enrollment INTEGER, _number___county VARCHAR) ### Question: What's the enrollment at 41 Johnson? ### Answer: SELECT AVG(enrollment) FROM table_name_24 WHERE _number___county = "41 johnson" |
What school has the greyhounds as mascots? | CREATE TABLE table_name_56 (school VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_56 WHERE mascot = "greyhounds" | ### Context: CREATE TABLE table_name_56 (school VARCHAR, mascot VARCHAR) ### Question: What school has the greyhounds as mascots? ### Answer: SELECT school FROM table_name_56 WHERE mascot = "greyhounds" |
for type diesel-mechanical and configuration b-b, what is the status? | CREATE TABLE table_name_4 (status VARCHAR, configuration VARCHAR, type VARCHAR) | SELECT status FROM table_name_4 WHERE configuration = "b-b" AND type = "diesel-mechanical" | ### Context: CREATE TABLE table_name_4 (status VARCHAR, configuration VARCHAR, type VARCHAR) ### Question: for type diesel-mechanical and configuration b-b, what is the status? ### Answer: SELECT status FROM table_name_4 WHERE configuration = "b-b" AND type = "diesel-mechanical" |
Where is the origin of the tth version? | CREATE TABLE table_name_37 (origin VARCHAR, versions VARCHAR) | SELECT origin FROM table_name_37 WHERE versions = "tth" | ### Context: CREATE TABLE table_name_37 (origin VARCHAR, versions VARCHAR) ### Question: Where is the origin of the tth version? ### Answer: SELECT origin FROM table_name_37 WHERE versions = "tth" |
What is the record of game 7? | CREATE TABLE table_name_4 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_4 WHERE game = 7 | ### Context: CREATE TABLE table_name_4 (record VARCHAR, game VARCHAR) ### Question: What is the record of game 7? ### Answer: SELECT record FROM table_name_4 WHERE game = 7 |
What is the lowest number of points of the game before game 2 before October 10? | CREATE TABLE table_name_18 (points INTEGER, october VARCHAR, game VARCHAR) | SELECT MIN(points) FROM table_name_18 WHERE october < 10 AND game < 2 | ### Context: CREATE TABLE table_name_18 (points INTEGER, october VARCHAR, game VARCHAR) ### Question: What is the lowest number of points of the game before game 2 before October 10? ### Answer: SELECT MIN(points) FROM table_name_18 WHERE october < 10 AND game < 2 |
what team played on july 9 | CREATE TABLE table_name_72 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_72 WHERE date = "july 9" | ### Context: CREATE TABLE table_name_72 (opponent VARCHAR, date VARCHAR) ### Question: what team played on july 9 ### Answer: SELECT opponent FROM table_name_72 WHERE date = "july 9" |
What is the party of re-elected, incumbent Charles H. Grosvenor, who was first elected before 1894? | CREATE TABLE table_name_3 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) | SELECT party FROM table_name_3 WHERE result = "re-elected" AND first_elected < 1894 AND incumbent = "charles h. grosvenor" | ### Context: CREATE TABLE table_name_3 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) ### Question: What is the party of re-elected, incumbent Charles H. Grosvenor, who was first elected before 1894? ### Answer: SELECT party FROM table_name_3 WHERE result = "re-elected" AND first_elected < 1894 AND incumbent = "charles h. grosvenor" |
Who was the incumbent from the Ohio 13 district? | CREATE TABLE table_name_50 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_name_50 WHERE district = "ohio 13" | ### Context: CREATE TABLE table_name_50 (incumbent VARCHAR, district VARCHAR) ### Question: Who was the incumbent from the Ohio 13 district? ### Answer: SELECT incumbent FROM table_name_50 WHERE district = "ohio 13" |
What is the party of the representative first elected in 1894 from the Ohio 16 district? | CREATE TABLE table_name_22 (party VARCHAR, first_elected VARCHAR, district VARCHAR) | SELECT party FROM table_name_22 WHERE first_elected = 1894 AND district = "ohio 16" | ### Context: CREATE TABLE table_name_22 (party VARCHAR, first_elected VARCHAR, district VARCHAR) ### Question: What is the party of the representative first elected in 1894 from the Ohio 16 district? ### Answer: SELECT party FROM table_name_22 WHERE first_elected = 1894 AND district = "ohio 16" |
What score has Leicestershire as the opponent after 1906? | CREATE TABLE table_name_58 (score VARCHAR, opposition VARCHAR, year VARCHAR) | SELECT score FROM table_name_58 WHERE opposition = "leicestershire" AND year > 1906 | ### Context: CREATE TABLE table_name_58 (score VARCHAR, opposition VARCHAR, year VARCHAR) ### Question: What score has Leicestershire as the opponent after 1906? ### Answer: SELECT score FROM table_name_58 WHERE opposition = "leicestershire" AND year > 1906 |
Where in Buxton has 3 runs? | CREATE TABLE table_name_50 (venue VARCHAR, score VARCHAR, city VARCHAR) | SELECT venue FROM table_name_50 WHERE score = "3 runs" AND city = "buxton" | ### Context: CREATE TABLE table_name_50 (venue VARCHAR, score VARCHAR, city VARCHAR) ### Question: Where in Buxton has 3 runs? ### Answer: SELECT venue FROM table_name_50 WHERE score = "3 runs" AND city = "buxton" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.