question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 | text stringlengths 114 1.06k |
|---|---|---|---|
Which of the private colleges is the oldest, and whose nickname is the Mountaineers? | CREATE TABLE table_name_83 (founded INTEGER, type VARCHAR, nickname VARCHAR) | SELECT MIN(founded) FROM table_name_83 WHERE type = "private" AND nickname = "mountaineers" | ### Context: CREATE TABLE table_name_83 (founded INTEGER, type VARCHAR, nickname VARCHAR) ### Question: Which of the private colleges is the oldest, and whose nickname is the Mountaineers? ### Answer: SELECT MIN(founded) FROM table_name_83 WHERE type = "private" AND nickname = "mountaineers" |
Which college's enrollment is less than 1,000? | CREATE TABLE table_name_85 (institution VARCHAR, enrollment INTEGER) | SELECT institution FROM table_name_85 WHERE enrollment < 1 OFFSET 000 | ### Context: CREATE TABLE table_name_85 (institution VARCHAR, enrollment INTEGER) ### Question: Which college's enrollment is less than 1,000? ### Answer: SELECT institution FROM table_name_85 WHERE enrollment < 1 OFFSET 000 |
On what date does Essendon play as the away team? | CREATE TABLE table_name_19 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_19 WHERE away_team = "essendon" | ### Context: CREATE TABLE table_name_19 (date VARCHAR, away_team VARCHAR) ### Question: On what date does Essendon play as the away team? ### Answer: SELECT date FROM table_name_19 WHERE away_team = "essendon" |
What team with a Game smaller than 18 has the lowest Goal Gain? | CREATE TABLE table_name_31 (goal_gain INTEGER, game INTEGER) | SELECT MIN(goal_gain) FROM table_name_31 WHERE game < 18 | ### Context: CREATE TABLE table_name_31 (goal_gain INTEGER, game INTEGER) ### Question: What team with a Game smaller than 18 has the lowest Goal Gain? ### Answer: SELECT MIN(goal_gain) FROM table_name_31 WHERE game < 18 |
What was the nationality of every player that attended Baylor? | CREATE TABLE table_name_55 (nationality VARCHAR, school_country VARCHAR) | SELECT nationality FROM table_name_55 WHERE school_country = "baylor" | ### Context: CREATE TABLE table_name_55 (nationality VARCHAR, school_country VARCHAR) ### Question: What was the nationality of every player that attended Baylor? ### Answer: SELECT nationality FROM table_name_55 WHERE school_country = "baylor" |
Which team was the away team when the game was at punt road oval? | CREATE TABLE table_name_6 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_6 WHERE venue = "punt road oval" | ### Context: CREATE TABLE table_name_6 (away_team VARCHAR, venue VARCHAR) ### Question: Which team was the away team when the game was at punt road oval? ### Answer: SELECT away_team FROM table_name_6 WHERE venue = "punt road oval" |
What was the score for the away team when the home team was Fitzroy? | CREATE TABLE table_name_38 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_38 WHERE home_team = "fitzroy" | ### Context: CREATE TABLE table_name_38 (away_team VARCHAR, home_team VARCHAR) ### Question: What was the score for the away team when the home team was Fitzroy? ### Answer: SELECT away_team AS score FROM table_name_38 WHERE home_team = "fitzroy" |
What was the date of the game when the away team was south melbourne? | CREATE TABLE table_name_77 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_77 WHERE away_team = "south melbourne" | ### Context: CREATE TABLE table_name_77 (date VARCHAR, away_team VARCHAR) ### Question: What was the date of the game when the away team was south melbourne? ### Answer: SELECT date FROM table_name_77 WHERE away_team = "south melbourne" |
What is the percentage of Glendale when Pasadena is 14%? | CREATE TABLE table_name_87 (glendale VARCHAR, pasadena VARCHAR) | SELECT glendale FROM table_name_87 WHERE pasadena = "14%" | ### Context: CREATE TABLE table_name_87 (glendale VARCHAR, pasadena VARCHAR) ### Question: What is the percentage of Glendale when Pasadena is 14%? ### Answer: SELECT glendale FROM table_name_87 WHERE pasadena = "14%" |
What is the percentage of Tujunja when Pasadena is 33%? | CREATE TABLE table_name_37 (tujunga VARCHAR, pasadena VARCHAR) | SELECT tujunga FROM table_name_37 WHERE pasadena = "33%" | ### Context: CREATE TABLE table_name_37 (tujunga VARCHAR, pasadena VARCHAR) ### Question: What is the percentage of Tujunja when Pasadena is 33%? ### Answer: SELECT tujunga FROM table_name_37 WHERE pasadena = "33%" |
What is the percentage of Tukunga when La Crescenta-Montrose is 28%? | CREATE TABLE table_name_33 (tujunga VARCHAR, la_crescenta__montrose VARCHAR) | SELECT tujunga FROM table_name_33 WHERE la_crescenta__montrose = "28%" | ### Context: CREATE TABLE table_name_33 (tujunga VARCHAR, la_crescenta__montrose VARCHAR) ### Question: What is the percentage of Tukunga when La Crescenta-Montrose is 28%? ### Answer: SELECT tujunga FROM table_name_33 WHERE la_crescenta__montrose = "28%" |
What is the figure for Pasadena when Tujunga is 36? | CREATE TABLE table_name_11 (pasadena VARCHAR, tujunga VARCHAR) | SELECT pasadena FROM table_name_11 WHERE tujunga = "36" | ### Context: CREATE TABLE table_name_11 (pasadena VARCHAR, tujunga VARCHAR) ### Question: What is the figure for Pasadena when Tujunga is 36? ### Answer: SELECT pasadena FROM table_name_11 WHERE tujunga = "36" |
What is the percentage of Glendale when La Canada Flintridge is 5%? | CREATE TABLE table_name_20 (glendale VARCHAR, la_cañada_flintridge VARCHAR) | SELECT glendale FROM table_name_20 WHERE la_cañada_flintridge = "5%" | ### Context: CREATE TABLE table_name_20 (glendale VARCHAR, la_cañada_flintridge VARCHAR) ### Question: What is the percentage of Glendale when La Canada Flintridge is 5%? ### Answer: SELECT glendale FROM table_name_20 WHERE la_cañada_flintridge = "5%" |
What is the figure for La Crescenta-Montrose when Gelndale is $57,112? | CREATE TABLE table_name_64 (la_crescenta__montrose VARCHAR, glendale VARCHAR) | SELECT la_crescenta__montrose FROM table_name_64 WHERE glendale = "$57,112" | ### Context: CREATE TABLE table_name_64 (la_crescenta__montrose VARCHAR, glendale VARCHAR) ### Question: What is the figure for La Crescenta-Montrose when Gelndale is $57,112? ### Answer: SELECT la_crescenta__montrose FROM table_name_64 WHERE glendale = "$57,112" |
How many conversions had 0 pens and 0 tries? | CREATE TABLE table_name_39 (conv VARCHAR, pens VARCHAR, tries VARCHAR) | SELECT conv FROM table_name_39 WHERE pens = "0" AND tries = "0" | ### Context: CREATE TABLE table_name_39 (conv VARCHAR, pens VARCHAR, tries VARCHAR) ### Question: How many conversions had 0 pens and 0 tries? ### Answer: SELECT conv FROM table_name_39 WHERE pens = "0" AND tries = "0" |
How many conversions did Severo Koroduadua Waqanibau have when he has 0 pens? | CREATE TABLE table_name_49 (conv VARCHAR, pens VARCHAR, player VARCHAR) | SELECT conv FROM table_name_49 WHERE pens = "0" AND player = "severo koroduadua waqanibau" | ### Context: CREATE TABLE table_name_49 (conv VARCHAR, pens VARCHAR, player VARCHAR) ### Question: How many conversions did Severo Koroduadua Waqanibau have when he has 0 pens? ### Answer: SELECT conv FROM table_name_49 WHERE pens = "0" AND player = "severo koroduadua waqanibau" |
What is the home team's score at mcg? | CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_54 WHERE venue = "mcg" | ### Context: CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR) ### Question: What is the home team's score at mcg? ### Answer: SELECT home_team AS score FROM table_name_54 WHERE venue = "mcg" |
What day is the venue the western oval? | CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_33 WHERE venue = "western oval" | ### Context: CREATE TABLE table_name_33 (date VARCHAR, venue VARCHAR) ### Question: What day is the venue the western oval? ### Answer: SELECT date FROM table_name_33 WHERE venue = "western oval" |
Which Bullet diameter has a Name of 11.4mm werndl m/73? | CREATE TABLE table_name_22 (bullet_diameter VARCHAR, name VARCHAR) | SELECT bullet_diameter FROM table_name_22 WHERE name = "11.4mm werndl m/73" | ### Context: CREATE TABLE table_name_22 (bullet_diameter VARCHAR, name VARCHAR) ### Question: Which Bullet diameter has a Name of 11.4mm werndl m/73? ### Answer: SELECT bullet_diameter FROM table_name_22 WHERE name = "11.4mm werndl m/73" |
Which Case length has a Rim diameter of 13.20 (.518)? | CREATE TABLE table_name_90 (case_length VARCHAR, rim_diameter VARCHAR) | SELECT case_length FROM table_name_90 WHERE rim_diameter = "13.20 (.518)" | ### Context: CREATE TABLE table_name_90 (case_length VARCHAR, rim_diameter VARCHAR) ### Question: Which Case length has a Rim diameter of 13.20 (.518)? ### Answer: SELECT case_length FROM table_name_90 WHERE rim_diameter = "13.20 (.518)" |
Which Bullet diameter has a Neck diameter of 12.17 (.479)? | CREATE TABLE table_name_32 (bullet_diameter VARCHAR, neck_diameter VARCHAR) | SELECT bullet_diameter FROM table_name_32 WHERE neck_diameter = "12.17 (.479)" | ### Context: CREATE TABLE table_name_32 (bullet_diameter VARCHAR, neck_diameter VARCHAR) ### Question: Which Bullet diameter has a Neck diameter of 12.17 (.479)? ### Answer: SELECT bullet_diameter FROM table_name_32 WHERE neck_diameter = "12.17 (.479)" |
Which Rim diameter has a Neck diameter of 11.84 (.466)? | CREATE TABLE table_name_27 (rim_diameter VARCHAR, neck_diameter VARCHAR) | SELECT rim_diameter FROM table_name_27 WHERE neck_diameter = "11.84 (.466)" | ### Context: CREATE TABLE table_name_27 (rim_diameter VARCHAR, neck_diameter VARCHAR) ### Question: Which Rim diameter has a Neck diameter of 11.84 (.466)? ### Answer: SELECT rim_diameter FROM table_name_27 WHERE neck_diameter = "11.84 (.466)" |
Which Case type has a Cartridge length of 64.77 (2.550)? | CREATE TABLE table_name_57 (case_type VARCHAR, cartridge_length VARCHAR) | SELECT case_type FROM table_name_57 WHERE cartridge_length = "64.77 (2.550)" | ### Context: CREATE TABLE table_name_57 (case_type VARCHAR, cartridge_length VARCHAR) ### Question: Which Case type has a Cartridge length of 64.77 (2.550)? ### Answer: SELECT case_type FROM table_name_57 WHERE cartridge_length = "64.77 (2.550)" |
Which Case type has a Base diameter of 13.03 (.513), and a Case length of 63.5 (2.5)? | CREATE TABLE table_name_29 (case_type VARCHAR, base_diameter VARCHAR, case_length VARCHAR) | SELECT case_type FROM table_name_29 WHERE base_diameter = "13.03 (.513)" AND case_length = "63.5 (2.5)" | ### Context: CREATE TABLE table_name_29 (case_type VARCHAR, base_diameter VARCHAR, case_length VARCHAR) ### Question: Which Case type has a Base diameter of 13.03 (.513), and a Case length of 63.5 (2.5)? ### Answer: SELECT case_type FROM table_name_29 WHERE base_diameter = "13.03 (.513)" AND case_length = "63.5 (2.5)" |
What day had 37,500 attending? | CREATE TABLE table_name_56 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_56 WHERE attendance = "37,500" | ### Context: CREATE TABLE table_name_56 (date VARCHAR, attendance VARCHAR) ### Question: What day had 37,500 attending? ### Answer: SELECT date FROM table_name_56 WHERE attendance = "37,500" |
What day did they play at candlestick park? | CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_77 WHERE game_site = "candlestick park" | ### Context: CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR) ### Question: What day did they play at candlestick park? ### Answer: SELECT date FROM table_name_77 WHERE game_site = "candlestick park" |
What is the crowd size of the game when Fitzroy is the away team? | CREATE TABLE table_name_96 (crowd VARCHAR, away_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_96 WHERE away_team = "fitzroy" | ### Context: CREATE TABLE table_name_96 (crowd VARCHAR, away_team VARCHAR) ### Question: What is the crowd size of the game when Fitzroy is the away team? ### Answer: SELECT COUNT(crowd) FROM table_name_96 WHERE away_team = "fitzroy" |
What is the venue when Geelong is the away team? | CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_27 WHERE away_team = "geelong" | ### Context: CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR) ### Question: What is the venue when Geelong is the away team? ### Answer: SELECT venue FROM table_name_27 WHERE away_team = "geelong" |
How many Dwellings does Beverly Heights have that have a change percent larger than -5.2? | CREATE TABLE table_name_37 (dwellings INTEGER, neighbourhood VARCHAR, change___percentage_ VARCHAR) | SELECT SUM(dwellings) FROM table_name_37 WHERE neighbourhood = "beverly heights" AND change___percentage_ > -5.2 | ### Context: CREATE TABLE table_name_37 (dwellings INTEGER, neighbourhood VARCHAR, change___percentage_ VARCHAR) ### Question: How many Dwellings does Beverly Heights have that have a change percent larger than -5.2? ### Answer: SELECT SUM(dwellings) FROM table_name_37 WHERE neighbourhood = "beverly heights" AND change... |
What is the density of an area that is 1.38km and has a population more than 12924? | CREATE TABLE table_name_95 (density__people_km_2__ VARCHAR, area__km_2__ VARCHAR, population__2012_ VARCHAR) | SELECT COUNT(density__people_km_2__) FROM table_name_95 WHERE area__km_2__ > 1.38 AND population__2012_ > 12924 | ### Context: CREATE TABLE table_name_95 (density__people_km_2__ VARCHAR, area__km_2__ VARCHAR, population__2012_ VARCHAR) ### Question: What is the density of an area that is 1.38km and has a population more than 12924? ### Answer: SELECT COUNT(density__people_km_2__) FROM table_name_95 WHERE area__km_2__ > 1.38 AND po... |
What is the average week number of all the matches where less than 22,604 people attended? | CREATE TABLE table_name_75 (week INTEGER, attendance INTEGER) | SELECT AVG(week) FROM table_name_75 WHERE attendance < 22 OFFSET 604 | ### Context: CREATE TABLE table_name_75 (week INTEGER, attendance INTEGER) ### Question: What is the average week number of all the matches where less than 22,604 people attended? ### Answer: SELECT AVG(week) FROM table_name_75 WHERE attendance < 22 OFFSET 604 |
What is the largest crowd size at a match against the Chicago Cardinals after Week 10 of the season? | CREATE TABLE table_name_20 (attendance INTEGER, opponent VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_20 WHERE opponent = "chicago cardinals" AND week > 10 | ### Context: CREATE TABLE table_name_20 (attendance INTEGER, opponent VARCHAR, week VARCHAR) ### Question: What is the largest crowd size at a match against the Chicago Cardinals after Week 10 of the season? ### Answer: SELECT MAX(attendance) FROM table_name_20 WHERE opponent = "chicago cardinals" AND week > 10 |
What is the average crowd size when North Melbourne is the away team? | CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_33 WHERE away_team = "north melbourne" | ### Context: CREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR) ### Question: What is the average crowd size when North Melbourne is the away team? ### Answer: SELECT AVG(crowd) FROM table_name_33 WHERE away_team = "north melbourne" |
What is the average crowd to watch Hawthorn as the away team? | CREATE TABLE table_name_29 (crowd INTEGER, away_team VARCHAR) | SELECT AVG(crowd) FROM table_name_29 WHERE away_team = "hawthorn" | ### Context: CREATE TABLE table_name_29 (crowd INTEGER, away_team VARCHAR) ### Question: What is the average crowd to watch Hawthorn as the away team? ### Answer: SELECT AVG(crowd) FROM table_name_29 WHERE away_team = "hawthorn" |
What away team played Footscray? | CREATE TABLE table_name_92 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_92 WHERE home_team = "footscray" | ### Context: CREATE TABLE table_name_92 (away_team VARCHAR, home_team VARCHAR) ### Question: What away team played Footscray? ### Answer: SELECT away_team FROM table_name_92 WHERE home_team = "footscray" |
What was the size of the largest crowd that Essendon played in front of as the away team? | CREATE TABLE table_name_41 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_41 WHERE away_team = "essendon" | ### Context: CREATE TABLE table_name_41 (crowd INTEGER, away_team VARCHAR) ### Question: What was the size of the largest crowd that Essendon played in front of as the away team? ### Answer: SELECT MAX(crowd) FROM table_name_41 WHERE away_team = "essendon" |
What was the average crowd at Western Oval? | CREATE TABLE table_name_9 (crowd INTEGER, venue VARCHAR) | SELECT AVG(crowd) FROM table_name_9 WHERE venue = "western oval" | ### Context: CREATE TABLE table_name_9 (crowd INTEGER, venue VARCHAR) ### Question: What was the average crowd at Western Oval? ### Answer: SELECT AVG(crowd) FROM table_name_9 WHERE venue = "western oval" |
What is the sum of all the crowds that watched North Melbourne at home? | CREATE TABLE table_name_74 (crowd INTEGER, home_team VARCHAR) | SELECT SUM(crowd) FROM table_name_74 WHERE home_team = "north melbourne" | ### Context: CREATE TABLE table_name_74 (crowd INTEGER, home_team VARCHAR) ### Question: What is the sum of all the crowds that watched North Melbourne at home? ### Answer: SELECT SUM(crowd) FROM table_name_74 WHERE home_team = "north melbourne" |
What was the crowd size at Victoria Park? | CREATE TABLE table_name_18 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_18 WHERE venue = "victoria park" | ### Context: CREATE TABLE table_name_18 (crowd VARCHAR, venue VARCHAR) ### Question: What was the crowd size at Victoria Park? ### Answer: SELECT crowd FROM table_name_18 WHERE venue = "victoria park" |
What was the winning score when there were 9 strokes advantage? | CREATE TABLE table_name_82 (winning_score VARCHAR, margin_of_victory VARCHAR) | SELECT winning_score FROM table_name_82 WHERE margin_of_victory = "9 strokes" | ### Context: CREATE TABLE table_name_82 (winning_score VARCHAR, margin_of_victory VARCHAR) ### Question: What was the winning score when there were 9 strokes advantage? ### Answer: SELECT winning_score FROM table_name_82 WHERE margin_of_victory = "9 strokes" |
What was the margin of victory on Apr 23, 1967? | CREATE TABLE table_name_56 (margin_of_victory VARCHAR, date VARCHAR) | SELECT margin_of_victory FROM table_name_56 WHERE date = "apr 23, 1967" | ### Context: CREATE TABLE table_name_56 (margin_of_victory VARCHAR, date VARCHAR) ### Question: What was the margin of victory on Apr 23, 1967? ### Answer: SELECT margin_of_victory FROM table_name_56 WHERE date = "apr 23, 1967" |
What make of car did Brian Vickers drive? | CREATE TABLE table_name_32 (make VARCHAR, driver VARCHAR) | SELECT make FROM table_name_32 WHERE driver = "brian vickers" | ### Context: CREATE TABLE table_name_32 (make VARCHAR, driver VARCHAR) ### Question: What make of car did Brian Vickers drive? ### Answer: SELECT make FROM table_name_32 WHERE driver = "brian vickers" |
What is the average car number of all the drivers with 109 points? | CREATE TABLE table_name_12 (car__number INTEGER, points VARCHAR) | SELECT AVG(car__number) FROM table_name_12 WHERE points = "109" | ### Context: CREATE TABLE table_name_12 (car__number INTEGER, points VARCHAR) ### Question: What is the average car number of all the drivers with 109 points? ### Answer: SELECT AVG(car__number) FROM table_name_12 WHERE points = "109" |
What is the average car number of all the drivers who have won $111,683? | CREATE TABLE table_name_21 (car__number INTEGER, winnings VARCHAR) | SELECT AVG(car__number) FROM table_name_21 WHERE winnings = "$111,683" | ### Context: CREATE TABLE table_name_21 (car__number INTEGER, winnings VARCHAR) ### Question: What is the average car number of all the drivers who have won $111,683? ### Answer: SELECT AVG(car__number) FROM table_name_21 WHERE winnings = "$111,683" |
How many people were in the crowd when Essendon was the home team? | CREATE TABLE table_name_78 (crowd VARCHAR, home_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_78 WHERE home_team = "essendon" | ### Context: CREATE TABLE table_name_78 (crowd VARCHAR, home_team VARCHAR) ### Question: How many people were in the crowd when Essendon was the home team? ### Answer: SELECT COUNT(crowd) FROM table_name_78 WHERE home_team = "essendon" |
Which home team competed against the away team Geelong? | CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_16 WHERE away_team = "geelong" | ### Context: CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR) ### Question: Which home team competed against the away team Geelong? ### Answer: SELECT home_team FROM table_name_16 WHERE away_team = "geelong" |
How many people were present in a total of every crowd at the MCG venue? | CREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_32 WHERE venue = "mcg" | ### Context: CREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR) ### Question: How many people were present in a total of every crowd at the MCG venue? ### Answer: SELECT SUM(crowd) FROM table_name_32 WHERE venue = "mcg" |
What was the score for the home team of Essendon? | CREATE TABLE table_name_71 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_71 WHERE home_team = "essendon" | ### Context: CREATE TABLE table_name_71 (home_team VARCHAR) ### Question: What was the score for the home team of Essendon? ### Answer: SELECT home_team AS score FROM table_name_71 WHERE home_team = "essendon" |
What is the sum of all crowds present at the Glenferrie Oval venue? | CREATE TABLE table_name_35 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_35 WHERE venue = "glenferrie oval" | ### Context: CREATE TABLE table_name_35 (crowd INTEGER, venue VARCHAR) ### Question: What is the sum of all crowds present at the Glenferrie Oval venue? ### Answer: SELECT SUM(crowd) FROM table_name_35 WHERE venue = "glenferrie oval" |
What party was achille variati afilliated with? | CREATE TABLE table_name_28 (party VARCHAR, mayor VARCHAR) | SELECT party FROM table_name_28 WHERE mayor = "achille variati" | ### Context: CREATE TABLE table_name_28 (party VARCHAR, mayor VARCHAR) ### Question: What party was achille variati afilliated with? ### Answer: SELECT party FROM table_name_28 WHERE mayor = "achille variati" |
In the election earlier than 2012 how many Inhabitants had a Party of five star movement? | CREATE TABLE table_name_57 (inhabitants INTEGER, party VARCHAR, election VARCHAR) | SELECT SUM(inhabitants) FROM table_name_57 WHERE party = "five star movement" AND election < 2012 | ### Context: CREATE TABLE table_name_57 (inhabitants INTEGER, party VARCHAR, election VARCHAR) ### Question: In the election earlier than 2012 how many Inhabitants had a Party of five star movement? ### Answer: SELECT SUM(inhabitants) FROM table_name_57 WHERE party = "five star movement" AND election < 2012 |
How many Inhabitants were in the democratic party for an election before 2009 for Mayor of stefano cimatti? | CREATE TABLE table_name_3 (inhabitants VARCHAR, election VARCHAR, party VARCHAR, mayor VARCHAR) | SELECT COUNT(inhabitants) FROM table_name_3 WHERE party = "democratic party" AND mayor = "stefano cimatti" AND election < 2009 | ### Context: CREATE TABLE table_name_3 (inhabitants VARCHAR, election VARCHAR, party VARCHAR, mayor VARCHAR) ### Question: How many Inhabitants were in the democratic party for an election before 2009 for Mayor of stefano cimatti? ### Answer: SELECT COUNT(inhabitants) FROM table_name_3 WHERE party = "democratic party" ... |
At 96.76mph speed, what is the Time? | CREATE TABLE table_name_76 (time VARCHAR, speed VARCHAR) | SELECT time FROM table_name_76 WHERE speed = "96.76mph" | ### Context: CREATE TABLE table_name_76 (time VARCHAR, speed VARCHAR) ### Question: At 96.76mph speed, what is the Time? ### Answer: SELECT time FROM table_name_76 WHERE speed = "96.76mph" |
Which Rider has a 1:06.02.0 Time? | CREATE TABLE table_name_92 (rider VARCHAR, time VARCHAR) | SELECT rider FROM table_name_92 WHERE time = "1:06.02.0" | ### Context: CREATE TABLE table_name_92 (rider VARCHAR, time VARCHAR) ### Question: Which Rider has a 1:06.02.0 Time? ### Answer: SELECT rider FROM table_name_92 WHERE time = "1:06.02.0" |
How many Ranks have ray pickrell as a Rider? | CREATE TABLE table_name_8 (rank VARCHAR, rider VARCHAR) | SELECT COUNT(rank) FROM table_name_8 WHERE rider = "ray pickrell" | ### Context: CREATE TABLE table_name_8 (rank VARCHAR, rider VARCHAR) ### Question: How many Ranks have ray pickrell as a Rider? ### Answer: SELECT COUNT(rank) FROM table_name_8 WHERE rider = "ray pickrell" |
What is the largest crowd when the away team is Hawthorn? | CREATE TABLE table_name_49 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_49 WHERE away_team = "hawthorn" | ### Context: CREATE TABLE table_name_49 (crowd INTEGER, away_team VARCHAR) ### Question: What is the largest crowd when the away team is Hawthorn? ### Answer: SELECT MAX(crowd) FROM table_name_49 WHERE away_team = "hawthorn" |
What date was the game when the away team was carlton? | CREATE TABLE table_name_45 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_45 WHERE away_team = "carlton" | ### Context: CREATE TABLE table_name_45 (date VARCHAR, away_team VARCHAR) ### Question: What date was the game when the away team was carlton? ### Answer: SELECT date FROM table_name_45 WHERE away_team = "carlton" |
What is the score of the away team when the crowd was larger than 8,000? | CREATE TABLE table_name_83 (away_team VARCHAR, crowd INTEGER) | SELECT away_team AS score FROM table_name_83 WHERE crowd > 8 OFFSET 000 | ### Context: CREATE TABLE table_name_83 (away_team VARCHAR, crowd INTEGER) ### Question: What is the score of the away team when the crowd was larger than 8,000? ### Answer: SELECT away_team AS score FROM table_name_83 WHERE crowd > 8 OFFSET 000 |
What was the away team when the game was at corio oval? | CREATE TABLE table_name_53 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_53 WHERE venue = "corio oval" | ### Context: CREATE TABLE table_name_53 (away_team VARCHAR, venue VARCHAR) ### Question: What was the away team when the game was at corio oval? ### Answer: SELECT away_team FROM table_name_53 WHERE venue = "corio oval" |
What is the location in 2007? | CREATE TABLE table_name_61 (location VARCHAR, year VARCHAR) | SELECT location FROM table_name_61 WHERE year = 2007 | ### Context: CREATE TABLE table_name_61 (location VARCHAR, year VARCHAR) ### Question: What is the location in 2007? ### Answer: SELECT location FROM table_name_61 WHERE year = 2007 |
What date has a theme of fate or fortune? | CREATE TABLE table_name_21 (date VARCHAR, theme VARCHAR) | SELECT date FROM table_name_21 WHERE theme = "fate or fortune" | ### Context: CREATE TABLE table_name_21 (date VARCHAR, theme VARCHAR) ### Question: What date has a theme of fate or fortune? ### Answer: SELECT date FROM table_name_21 WHERE theme = "fate or fortune" |
What is the earliest year it was located in gelredome, arnhem, and a Anthem of technoboy - next dimensional world? | CREATE TABLE table_name_74 (year INTEGER, location VARCHAR, anthem VARCHAR) | SELECT MIN(year) FROM table_name_74 WHERE location = "gelredome, arnhem" AND anthem = "technoboy - next dimensional world" | ### Context: CREATE TABLE table_name_74 (year INTEGER, location VARCHAR, anthem VARCHAR) ### Question: What is the earliest year it was located in gelredome, arnhem, and a Anthem of technoboy - next dimensional world? ### Answer: SELECT MIN(year) FROM table_name_74 WHERE location = "gelredome, arnhem" AND anthem = "tec... |
What Sweet Sixteen team is in the Colonial conference? | CREATE TABLE table_name_95 (sweet_sixteen VARCHAR, conference VARCHAR) | SELECT sweet_sixteen FROM table_name_95 WHERE conference = "colonial" | ### Context: CREATE TABLE table_name_95 (sweet_sixteen VARCHAR, conference VARCHAR) ### Question: What Sweet Sixteen team is in the Colonial conference? ### Answer: SELECT sweet_sixteen FROM table_name_95 WHERE conference = "colonial" |
What date is associated with the Spunk label? | CREATE TABLE table_name_76 (date VARCHAR, label VARCHAR) | SELECT date FROM table_name_76 WHERE label = "spunk" | ### Context: CREATE TABLE table_name_76 (date VARCHAR, label VARCHAR) ### Question: What date is associated with the Spunk label? ### Answer: SELECT date FROM table_name_76 WHERE label = "spunk" |
What label has a catalog of chem036cd? | CREATE TABLE table_name_2 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_2 WHERE catalog = "chem036cd" | ### Context: CREATE TABLE table_name_2 (label VARCHAR, catalog VARCHAR) ### Question: What label has a catalog of chem036cd? ### Answer: SELECT label FROM table_name_2 WHERE catalog = "chem036cd" |
What label is associated with the United Kingdom and the chem036 catalog? | CREATE TABLE table_name_86 (label VARCHAR, region VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_86 WHERE region = "united kingdom" AND catalog = "chem036" | ### Context: CREATE TABLE table_name_86 (label VARCHAR, region VARCHAR, catalog VARCHAR) ### Question: What label is associated with the United Kingdom and the chem036 catalog? ### Answer: SELECT label FROM table_name_86 WHERE region = "united kingdom" AND catalog = "chem036" |
What is the listed crowd when essendon is the away squad? | CREATE TABLE table_name_68 (crowd VARCHAR, away_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_68 WHERE away_team = "essendon" | ### Context: CREATE TABLE table_name_68 (crowd VARCHAR, away_team VARCHAR) ### Question: What is the listed crowd when essendon is the away squad? ### Answer: SELECT COUNT(crowd) FROM table_name_68 WHERE away_team = "essendon" |
What venue featured a crowd of over 30,000? | CREATE TABLE table_name_98 (venue VARCHAR, crowd INTEGER) | SELECT venue FROM table_name_98 WHERE crowd > 30 OFFSET 000 | ### Context: CREATE TABLE table_name_98 (venue VARCHAR, crowd INTEGER) ### Question: What venue featured a crowd of over 30,000? ### Answer: SELECT venue FROM table_name_98 WHERE crowd > 30 OFFSET 000 |
What was the listed crowd at junction oval? | CREATE TABLE table_name_28 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_28 WHERE venue = "junction oval" | ### Context: CREATE TABLE table_name_28 (crowd VARCHAR, venue VARCHAR) ### Question: What was the listed crowd at junction oval? ### Answer: SELECT crowd FROM table_name_28 WHERE venue = "junction oval" |
What date was the 1500 m freestyle competition? | CREATE TABLE table_name_97 (date VARCHAR, event VARCHAR) | SELECT date FROM table_name_97 WHERE event = "1500 m freestyle" | ### Context: CREATE TABLE table_name_97 (date VARCHAR, event VARCHAR) ### Question: What date was the 1500 m freestyle competition? ### Answer: SELECT date FROM table_name_97 WHERE event = "1500 m freestyle" |
Where were the 2008 championships with a time of 7:56.90 held? | CREATE TABLE table_name_3 (location VARCHAR, meet VARCHAR, time VARCHAR) | SELECT location FROM table_name_3 WHERE meet = "2008 championships" AND time = "7:56.90" | ### Context: CREATE TABLE table_name_3 (location VARCHAR, meet VARCHAR, time VARCHAR) ### Question: Where were the 2008 championships with a time of 7:56.90 held? ### Answer: SELECT location FROM table_name_3 WHERE meet = "2008 championships" AND time = "7:56.90" |
What is the home team score for Footscray? | CREATE TABLE table_name_22 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_22 WHERE home_team = "footscray" | ### Context: CREATE TABLE table_name_22 (home_team VARCHAR) ### Question: What is the home team score for Footscray? ### Answer: SELECT home_team AS score FROM table_name_22 WHERE home_team = "footscray" |
What home team played at western oval? | CREATE TABLE table_name_9 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_9 WHERE venue = "western oval" | ### Context: CREATE TABLE table_name_9 (home_team VARCHAR, venue VARCHAR) ### Question: What home team played at western oval? ### Answer: SELECT home_team FROM table_name_9 WHERE venue = "western oval" |
What was the score of the Browns week 4 game? | CREATE TABLE table_name_48 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_48 WHERE week = 4 | ### Context: CREATE TABLE table_name_48 (result VARCHAR, week VARCHAR) ### Question: What was the score of the Browns week 4 game? ### Answer: SELECT result FROM table_name_48 WHERE week = 4 |
What year has the wild side of soccer! as the slogan? | CREATE TABLE table_name_89 (year VARCHAR, slogan VARCHAR) | SELECT year FROM table_name_89 WHERE slogan = "the wild side of soccer!" | ### Context: CREATE TABLE table_name_89 (year VARCHAR, slogan VARCHAR) ### Question: What year has the wild side of soccer! as the slogan? ### Answer: SELECT year FROM table_name_89 WHERE slogan = "the wild side of soccer!" |
Which LNER 1946 number is from 1892 and has an LNER number of 7347–7356? | CREATE TABLE table_name_20 (lner_1946_no VARCHAR, year VARCHAR, lner_no VARCHAR) | SELECT lner_1946_no FROM table_name_20 WHERE year = "1892" AND lner_no = "7347–7356" | ### Context: CREATE TABLE table_name_20 (lner_1946_no VARCHAR, year VARCHAR, lner_no VARCHAR) ### Question: Which LNER 1946 number is from 1892 and has an LNER number of 7347–7356? ### Answer: SELECT lner_1946_no FROM table_name_20 WHERE year = "1892" AND lner_no = "7347–7356" |
What is order S24's LNER 1946 number? | CREATE TABLE table_name_88 (lner_1946_no VARCHAR, order_no VARCHAR) | SELECT lner_1946_no FROM table_name_88 WHERE order_no = "s24" | ### Context: CREATE TABLE table_name_88 (lner_1946_no VARCHAR, order_no VARCHAR) ### Question: What is order S24's LNER 1946 number? ### Answer: SELECT lner_1946_no FROM table_name_88 WHERE order_no = "s24" |
Who is the away side at corio oval? | CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_85 WHERE venue = "corio oval" | ### Context: CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR) ### Question: Who is the away side at corio oval? ### Answer: SELECT away_team FROM table_name_85 WHERE venue = "corio oval" |
Who is the home team when melbourne is the away team? | CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_47 WHERE away_team = "melbourne" | ### Context: CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR) ### Question: Who is the home team when melbourne is the away team? ### Answer: SELECT home_team AS score FROM table_name_47 WHERE away_team = "melbourne" |
What is the venue when fitzroy was the away team? | CREATE TABLE table_name_80 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_80 WHERE away_team = "fitzroy" | ### Context: CREATE TABLE table_name_80 (venue VARCHAR, away_team VARCHAR) ### Question: What is the venue when fitzroy was the away team? ### Answer: SELECT venue FROM table_name_80 WHERE away_team = "fitzroy" |
What day does the team play at punt road oval? | CREATE TABLE table_name_51 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_51 WHERE venue = "punt road oval" | ### Context: CREATE TABLE table_name_51 (date VARCHAR, venue VARCHAR) ### Question: What day does the team play at punt road oval? ### Answer: SELECT date FROM table_name_51 WHERE venue = "punt road oval" |
How many weeks had an attendance larger than 84,816? | CREATE TABLE table_name_30 (week VARCHAR, attendance INTEGER) | SELECT COUNT(week) FROM table_name_30 WHERE attendance > 84 OFFSET 816 | ### Context: CREATE TABLE table_name_30 (week VARCHAR, attendance INTEGER) ### Question: How many weeks had an attendance larger than 84,816? ### Answer: SELECT COUNT(week) FROM table_name_30 WHERE attendance > 84 OFFSET 816 |
What is the date of week 4? | CREATE TABLE table_name_57 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_57 WHERE week = 4 | ### Context: CREATE TABLE table_name_57 (date VARCHAR, week VARCHAR) ### Question: What is the date of week 4? ### Answer: SELECT date FROM table_name_57 WHERE week = 4 |
What is the lowest attendance on September 3, 1972? | CREATE TABLE table_name_52 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_52 WHERE date = "september 3, 1972" | ### Context: CREATE TABLE table_name_52 (attendance INTEGER, date VARCHAR) ### Question: What is the lowest attendance on September 3, 1972? ### Answer: SELECT MIN(attendance) FROM table_name_52 WHERE date = "september 3, 1972" |
Who was the away team at the game at Victoria Park? | CREATE TABLE table_name_65 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_65 WHERE venue = "victoria park" | ### Context: CREATE TABLE table_name_65 (away_team VARCHAR, venue VARCHAR) ### Question: Who was the away team at the game at Victoria Park? ### Answer: SELECT away_team FROM table_name_65 WHERE venue = "victoria park" |
When was the game when Footscray was the away team? | CREATE TABLE table_name_38 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_38 WHERE away_team = "footscray" | ### Context: CREATE TABLE table_name_38 (date VARCHAR, away_team VARCHAR) ### Question: When was the game when Footscray was the away team? ### Answer: SELECT date FROM table_name_38 WHERE away_team = "footscray" |
What is the highest number of laps for the driver with 5 points? | CREATE TABLE table_name_41 (laps INTEGER, points VARCHAR) | SELECT MAX(laps) FROM table_name_41 WHERE points = "5" | ### Context: CREATE TABLE table_name_41 (laps INTEGER, points VARCHAR) ### Question: What is the highest number of laps for the driver with 5 points? ### Answer: SELECT MAX(laps) FROM table_name_41 WHERE points = "5" |
What team does jan heylen race for? | CREATE TABLE table_name_35 (team VARCHAR, driver VARCHAR) | SELECT team FROM table_name_35 WHERE driver = "jan heylen" | ### Context: CREATE TABLE table_name_35 (team VARCHAR, driver VARCHAR) ### Question: What team does jan heylen race for? ### Answer: SELECT team FROM table_name_35 WHERE driver = "jan heylen" |
What was the result of the game after Week 13 on December 8, 1991? | CREATE TABLE table_name_14 (result VARCHAR, week VARCHAR, date VARCHAR) | SELECT result FROM table_name_14 WHERE week > 13 AND date = "december 8, 1991" | ### Context: CREATE TABLE table_name_14 (result VARCHAR, week VARCHAR, date VARCHAR) ### Question: What was the result of the game after Week 13 on December 8, 1991? ### Answer: SELECT result FROM table_name_14 WHERE week > 13 AND date = "december 8, 1991" |
Who did the Patriots play in week 4? | CREATE TABLE table_name_43 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_43 WHERE week = 4 | ### Context: CREATE TABLE table_name_43 (opponent VARCHAR, week VARCHAR) ### Question: Who did the Patriots play in week 4? ### Answer: SELECT opponent FROM table_name_43 WHERE week = 4 |
What was the result of the game on December 22, 1991? | CREATE TABLE table_name_37 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_37 WHERE date = "december 22, 1991" | ### Context: CREATE TABLE table_name_37 (result VARCHAR, date VARCHAR) ### Question: What was the result of the game on December 22, 1991? ### Answer: SELECT result FROM table_name_37 WHERE date = "december 22, 1991" |
What is the fewest number of silver medals a nation who ranked below 8 received? | CREATE TABLE table_name_99 (silver INTEGER, rank INTEGER) | SELECT MIN(silver) FROM table_name_99 WHERE rank > 8 | ### Context: CREATE TABLE table_name_99 (silver INTEGER, rank INTEGER) ### Question: What is the fewest number of silver medals a nation who ranked below 8 received? ### Answer: SELECT MIN(silver) FROM table_name_99 WHERE rank > 8 |
Which place has points larger than 1, a bmw machine, and a time of 1:18.47.6? | CREATE TABLE table_name_44 (place INTEGER, time VARCHAR, points VARCHAR, machine VARCHAR) | SELECT MIN(place) FROM table_name_44 WHERE points > 1 AND machine = "bmw" AND time = "1:18.47.6" | ### Context: CREATE TABLE table_name_44 (place INTEGER, time VARCHAR, points VARCHAR, machine VARCHAR) ### Question: Which place has points larger than 1, a bmw machine, and a time of 1:18.47.6? ### Answer: SELECT MIN(place) FROM table_name_44 WHERE points > 1 AND machine = "bmw" AND time = "1:18.47.6" |
How many total laps did the Chevrolet that won $97,508 make? | CREATE TABLE table_name_53 (laps VARCHAR, make VARCHAR, winnings VARCHAR) | SELECT COUNT(laps) FROM table_name_53 WHERE make = "chevrolet" AND winnings = "$97,508" | ### Context: CREATE TABLE table_name_53 (laps VARCHAR, make VARCHAR, winnings VARCHAR) ### Question: How many total laps did the Chevrolet that won $97,508 make? ### Answer: SELECT COUNT(laps) FROM table_name_53 WHERE make = "chevrolet" AND winnings = "$97,508" |
What away team played at Brunswick Street Oval? | CREATE TABLE table_name_23 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_23 WHERE venue = "brunswick street oval" | ### Context: CREATE TABLE table_name_23 (away_team VARCHAR, venue VARCHAR) ### Question: What away team played at Brunswick Street Oval? ### Answer: SELECT away_team FROM table_name_23 WHERE venue = "brunswick street oval" |
What is the average attendance after week 16? | CREATE TABLE table_name_10 (attendance INTEGER, week INTEGER) | SELECT AVG(attendance) FROM table_name_10 WHERE week > 16 | ### Context: CREATE TABLE table_name_10 (attendance INTEGER, week INTEGER) ### Question: What is the average attendance after week 16? ### Answer: SELECT AVG(attendance) FROM table_name_10 WHERE week > 16 |
How many people were injured in total in East Champaran, Bihar with more than 2 people killed? | CREATE TABLE table_name_83 (injured VARCHAR, place VARCHAR, killed VARCHAR) | SELECT COUNT(injured) FROM table_name_83 WHERE place = "east champaran, bihar" AND killed > 2 | ### Context: CREATE TABLE table_name_83 (injured VARCHAR, place VARCHAR, killed VARCHAR) ### Question: How many people were injured in total in East Champaran, Bihar with more than 2 people killed? ### Answer: SELECT COUNT(injured) FROM table_name_83 WHERE place = "east champaran, bihar" AND killed > 2 |
What is the least amount of injuries in Dantewada, Chhattisgarh when 8 people were killed? | CREATE TABLE table_name_83 (injured INTEGER, place VARCHAR, killed VARCHAR) | SELECT MIN(injured) FROM table_name_83 WHERE place = "dantewada, chhattisgarh" AND killed = 8 | ### Context: CREATE TABLE table_name_83 (injured INTEGER, place VARCHAR, killed VARCHAR) ### Question: What is the least amount of injuries in Dantewada, Chhattisgarh when 8 people were killed? ### Answer: SELECT MIN(injured) FROM table_name_83 WHERE place = "dantewada, chhattisgarh" AND killed = 8 |
Which team plays home at Princes Park? | CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_45 WHERE venue = "princes park" | ### Context: CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR) ### Question: Which team plays home at Princes Park? ### Answer: SELECT home_team FROM table_name_45 WHERE venue = "princes park" |
Which match where Hawthorn was the away team had the largest crowd? | CREATE TABLE table_name_58 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_58 WHERE away_team = "hawthorn" | ### Context: CREATE TABLE table_name_58 (crowd INTEGER, away_team VARCHAR) ### Question: Which match where Hawthorn was the away team had the largest crowd? ### Answer: SELECT MAX(crowd) FROM table_name_58 WHERE away_team = "hawthorn" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.