question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
Who did the team play on april 19? | CREATE TABLE table_name_2 (opponent VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_2 WHERE date = \"april 19\""
} |
What is the Aspect of Channel 26.5? | CREATE TABLE table_name_23 (aspect VARCHAR, channel VARCHAR) | {
"SQL_Query": "SELECT aspect FROM table_name_23 WHERE channel = 26.5"
} |
Which Programming is on Channel 26.5? | CREATE TABLE table_name_98 (programming VARCHAR, channel VARCHAR) | {
"SQL_Query": "SELECT programming FROM table_name_98 WHERE channel = 26.5"
} |
Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv? | CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR) | {
"SQL_Query": "SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = \"480i\" AND psip_short_name = \"jtv\""
} |
What number of laps were done by driver Ronnie Peterson? | CREATE TABLE table_name_56 (laps VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT laps FROM table_name_56 WHERE driver = \"ronnie peterson\""
} |
Which driver had a time/retired of fuel system? | CREATE TABLE table_name_2 (driver VARCHAR, time_retired VARCHAR) | {
"SQL_Query": "SELECT driver FROM table_name_2 WHERE time_retired = \"fuel system\""
} |
What is the sum of grids with an engine in Time/Retired with less than 45 laps for Giancarlo Baghetti? | CREATE TABLE table_name_27 (grid INTEGER, driver VARCHAR, time_retired VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT SUM(grid) FROM table_name_27 WHERE time_retired = \"engine\" AND laps < 45 AND driver = \"giancarlo baghetti\""
} |
I want the Grid for Laps of 35 | CREATE TABLE table_name_97 (grid VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT grid FROM table_name_97 WHERE laps = 35"
} |
What is Jonty Rhodes's batting style? | CREATE TABLE table_name_95 (batting_style VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT batting_style FROM table_name_95 WHERE player = \"jonty rhodes\""
} |
What bowling style does First Class Team, Griqualand West have? | CREATE TABLE table_name_52 (bowling_style VARCHAR, first_class_team VARCHAR) | {
"SQL_Query": "SELECT bowling_style FROM table_name_52 WHERE first_class_team = \"griqualand west\""
} |
What is the batting style of Makhaya Ntini? | CREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT batting_style FROM table_name_85 WHERE player = \"makhaya ntini\""
} |
What region is the host university of southern california located? | CREATE TABLE table_name_1 (region VARCHAR, host VARCHAR) | {
"SQL_Query": "SELECT region FROM table_name_1 WHERE host = \"university of southern california\""
} |
In which state is the city of knoxville? | CREATE TABLE table_name_81 (state VARCHAR, city VARCHAR) | {
"SQL_Query": "SELECT state FROM table_name_81 WHERE city = \"knoxville\""
} |
Which city in Texas hosts the Frank Erwin center? | CREATE TABLE table_name_58 (city VARCHAR, state VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT city FROM table_name_58 WHERE state = \"texas\" AND venue = \"frank erwin center\""
} |
In what region is the city of Austin? | CREATE TABLE table_name_36 (region VARCHAR, city VARCHAR) | {
"SQL_Query": "SELECT region FROM table_name_36 WHERE city = \"austin\""
} |
What is the polling result for Chuck DeVore which has a corresponding polling result of 4% for Other? | CREATE TABLE table_name_97 (chuck_devore VARCHAR, other VARCHAR) | {
"SQL_Query": "SELECT chuck_devore FROM table_name_97 WHERE other = \"4%\""
} |
What is the total when silver is less than 1 and rank larger than 3? | CREATE TABLE table_name_82 (total VARCHAR, silver VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT COUNT(total) FROM table_name_82 WHERE silver < 1 AND rank > 3"
} |
What is the number of bronze for Canada and silver is less than 0? | CREATE TABLE table_name_72 (bronze INTEGER, nation VARCHAR, silver VARCHAR) | {
"SQL_Query": "SELECT SUM(bronze) FROM table_name_72 WHERE nation = \"canada\" AND silver < 0"
} |
What is the largest gold when silver is less than 1 for Canada and bronze is less than 0? | CREATE TABLE table_name_48 (gold INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR) | {
"SQL_Query": "SELECT MAX(gold) FROM table_name_48 WHERE silver < 1 AND nation = \"canada\" AND bronze < 0"
} |
What is the silver for Germany and less than 2? | CREATE TABLE table_name_64 (silver INTEGER, nation VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT AVG(silver) FROM table_name_64 WHERE nation = \"germany\" AND rank < 2"
} |
Tell me the score for december 3 | CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_4 WHERE date = \"december 3\""
} |
Tell me the record for december 3 | CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_47 WHERE date = \"december 3\""
} |
Name the record for dallas visitor | CREATE TABLE table_name_86 (record VARCHAR, visitor VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_86 WHERE visitor = \"dallas\""
} |
Name the score for december 5 | CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_36 WHERE date = \"december 5\""
} |
Who is Princes Park's home team? | CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_6 WHERE venue = \"princes park\""
} |
Who is North Melbourne's home team? | CREATE TABLE table_name_30 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_30 WHERE away_team = \"north melbourne\""
} |
In the Crews beyond 2006 what was the Year 8 1st Quads that exists in the same row that had the year 9 2nd Quads of BGGS? | CREATE TABLE table_name_67 (year_8_1st_quad VARCHAR, year_9_2nd_quad VARCHAR, crew VARCHAR) | {
"SQL_Query": "SELECT year_8_1st_quad FROM table_name_67 WHERE year_9_2nd_quad = \"bggs\" AND crew > 2006"
} |
For the Crew with Year 9 2nd Quads of STM, Year 9 1st Quads of SOM, and a Year 8 3rd Quads of STA what was the Year 8 1st Quads? | CREATE TABLE table_name_5 (year_8_1st_quad VARCHAR, year_8_3rd_quad VARCHAR, year_9_2nd_quad VARCHAR, year_9_1st_quad VARCHAR) | {
"SQL_Query": "SELECT year_8_1st_quad FROM table_name_5 WHERE year_9_2nd_quad = \"stm\" AND year_9_1st_quad = \"som\" AND year_8_3rd_quad = \"sta\""
} |
Which character was in the sexiest female category of the British Soap Awards? | CREATE TABLE table_name_59 (character VARCHAR, category VARCHAR, award VARCHAR) | {
"SQL_Query": "SELECT character FROM table_name_59 WHERE category = \"sexiest female\" AND award = \"british soap awards\""
} |
Which film or series was nominated in the category of best fansite? | CREATE TABLE table_name_2 (film_or_series VARCHAR, result VARCHAR, category VARCHAR) | {
"SQL_Query": "SELECT film_or_series FROM table_name_2 WHERE result = \"nominated\" AND category = \"best fansite\""
} |
Where does Essendon play their home games? | CREATE TABLE table_name_38 (venue VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_38 WHERE home_team = \"essendon\""
} |
What team plays their home games in Victoria Park? | CREATE TABLE table_name_30 (home_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_30 WHERE venue = \"victoria park\""
} |
What is the total attendance with a Report of sd.hr, and a Score of 3–1, and a Date of 14 apr 2001? | CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, report VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT SUM(attendance) FROM table_name_22 WHERE report = \"sd.hr\" AND score = \"3–1\" AND date = \"14 apr 2001\""
} |
What is the highest production code when the writer was brian egeston after season 5? | CREATE TABLE table_name_6 (production_code INTEGER, written_by VARCHAR, season__number VARCHAR) | {
"SQL_Query": "SELECT MAX(production_code) FROM table_name_6 WHERE written_by = \"brian egeston\" AND season__number > 5"
} |
What was the record when chicago was the home team? | CREATE TABLE table_name_63 (record VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_63 WHERE home = \"chicago\""
} |
How many people were in the crowd when the Home Team was Hawthorn? | CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR) | {
"SQL_Query": "SELECT SUM(crowd) FROM table_name_58 WHERE home_team = \"hawthorn\""
} |
What's the average Grid with Laps of 88? | CREATE TABLE table_name_66 (grid INTEGER, laps VARCHAR) | {
"SQL_Query": "SELECT AVG(grid) FROM table_name_66 WHERE laps = 88"
} |
Which driver has a Time/Retired of +6 laps? | CREATE TABLE table_name_21 (driver VARCHAR, time_retired VARCHAR) | {
"SQL_Query": "SELECT driver FROM table_name_21 WHERE time_retired = \"+6 laps\""
} |
What did Hawthorn score as the home team? | CREATE TABLE table_name_21 (home_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_21 WHERE home_team = \"hawthorn\""
} |
What team played South Melbourne at their home game? | CREATE TABLE table_name_22 (away_team VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_22 WHERE home_team = \"south melbourne\""
} |
What team played Geelong at their away game? | CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_59 WHERE away_team = \"geelong\""
} |
What is the 1989 result of the tournament in which Katerina Maleeva finished 4r in 1991? | CREATE TABLE table_name_60 (Id VARCHAR) | {
"SQL_Query": "SELECT 1989 FROM table_name_60 WHERE 1991 = \"4r\""
} |
What is the 1989 result of the tournament in which Katerina finished nh in 1986? | CREATE TABLE table_name_94 (Id VARCHAR) | {
"SQL_Query": "SELECT 1989 FROM table_name_94 WHERE 1986 = \"nh\""
} |
What is the total of the ranks that did not participate? | CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT total FROM table_name_88 WHERE rank = \"did not participate\""
} |
What is the decile for Westminster Christian School with a state integrated authority? | CREATE TABLE table_name_55 (decile VARCHAR, authority VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT decile FROM table_name_55 WHERE authority = \"state integrated\" AND name = \"westminster christian school\""
} |
What are the years when the authority was state integrated and a decile of 9? | CREATE TABLE table_name_45 (years VARCHAR, authority VARCHAR, decile VARCHAR) | {
"SQL_Query": "SELECT years FROM table_name_45 WHERE authority = \"state integrated\" AND decile = \"9\""
} |
What did the team score while away in moorabbin oval? | CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_30 WHERE venue = \"moorabbin oval\""
} |
When was the general foods pga seniors' championship tournament? | CREATE TABLE table_name_66 (date VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_66 WHERE tournament = \"general foods pga seniors' championship\""
} |
What was the attendance on location when the record was 3–16? | CREATE TABLE table_name_86 (location_attendance VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT location_attendance FROM table_name_86 WHERE record = \"3–16\""
} |
On what date was a two-way tie (8) the high rebound? | CREATE TABLE table_name_3 (date VARCHAR, high_rebounds VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_3 WHERE high_rebounds = \"two-way tie (8)\""
} |
What is the home team score with Away team Richmond? | CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_20 WHERE away_team = \"richmond\""
} |
What is the smallest crowd for victoria park? | CREATE TABLE table_name_89 (crowd INTEGER, venue VARCHAR) | {
"SQL_Query": "SELECT MIN(crowd) FROM table_name_89 WHERE venue = \"victoria park\""
} |
what is the highest clean & jerk when total (kg) is 200.0 and snatch is more than 87.5? | CREATE TABLE table_name_92 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR) | {
"SQL_Query": "SELECT MAX(clean_) & _jerk FROM table_name_92 WHERE total__kg_ = \"200.0\" AND snatch > 87.5"
} |
what is the average bodyweight when snatch is 80? | CREATE TABLE table_name_89 (bodyweight INTEGER, snatch VARCHAR) | {
"SQL_Query": "SELECT AVG(bodyweight) FROM table_name_89 WHERE snatch = 80"
} |
What did the home team score at Windy Hill? | CREATE TABLE table_name_92 (home_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_92 WHERE venue = \"windy hill\""
} |
When the home team was Richmond, what was the largest crowd? | CREATE TABLE table_name_49 (crowd INTEGER, home_team VARCHAR) | {
"SQL_Query": "SELECT MAX(crowd) FROM table_name_49 WHERE home_team = \"richmond\""
} |
Tell me the average 1st prize for tennessee | CREATE TABLE table_name_55 (location VARCHAR) | {
"SQL_Query": "SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_55 WHERE location = \"tennessee\""
} |
Tell me the winner of the comfort classic | CREATE TABLE table_name_97 (winner VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT winner FROM table_name_97 WHERE tournament = \"comfort classic\""
} |
How many percentages have losses fewer than 1 with finals appearances of 4? | CREATE TABLE table_name_13 (pct VARCHAR, losses VARCHAR, finals VARCHAR) | {
"SQL_Query": "SELECT COUNT(pct) FROM table_name_13 WHERE losses < 1 AND finals = 4"
} |
Name the least age for the 1st dose for 3 doses of 2-3 drops | CREATE TABLE table_name_28 (minimum_age_at_1st_dose VARCHAR, number_of_doses VARCHAR, dose VARCHAR) | {
"SQL_Query": "SELECT minimum_age_at_1st_dose FROM table_name_28 WHERE number_of_doses = \"3 doses\" AND dose = \"2-3 drops\""
} |
How many doses for the bacillus calmette-guérin? | CREATE TABLE table_name_13 (number_of_doses VARCHAR, vaccine VARCHAR) | {
"SQL_Query": "SELECT number_of_doses FROM table_name_13 WHERE vaccine = \"bacillus calmette-guérin\""
} |
What team did team carlton play while away? | CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_42 WHERE away_team = \"carlton\""
} |
What home team plays at Windy Hill? | CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT home_team FROM table_name_77 WHERE venue = \"windy hill\""
} |
What was the 2nd Party in the 1918 Election? | CREATE TABLE table_name_66 (election VARCHAR) | {
"SQL_Query": "SELECT 2 AS nd_party FROM table_name_66 WHERE election = \"1918\""
} |
What was the 3rd Party in the Election of 1922? | CREATE TABLE table_name_35 (election VARCHAR) | {
"SQL_Query": "SELECT 3 AS rd_party FROM table_name_35 WHERE election = \"1922\""
} |
What is the ERP W number where the frequency is smaller than 91.1? | CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER) | {
"SQL_Query": "SELECT MAX(erp_w) FROM table_name_6 WHERE frequency_mhz < 91.1"
} |
What was the score of Collingwood? | CREATE TABLE table_name_69 (home_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_69 WHERE home_team = \"collingwood\""
} |
Where did South Melbourne play? | CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_83 WHERE away_team = \"south melbourne\""
} |
What is the venue of North Melbourne? | CREATE TABLE table_name_79 (venue VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_79 WHERE home_team = \"north melbourne\""
} |
What was the loss from the coyotes as opponents? | CREATE TABLE table_name_20 (loss VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT loss FROM table_name_20 WHERE opponent = \"coyotes\""
} |
What was the last episode featuring Rob Estes? | CREATE TABLE table_name_93 (final_episode VARCHAR, actor VARCHAR) | {
"SQL_Query": "SELECT final_episode FROM table_name_93 WHERE actor = \"rob estes\""
} |
What block has a COSPAR ID of 1995-060a? | CREATE TABLE table_name_23 (block VARCHAR, cospar_id VARCHAR) | {
"SQL_Query": "SELECT block FROM table_name_23 WHERE cospar_id = \"1995-060a\""
} |
What rocket has a Block of block i and a COSPAR ID of 1995-060a? | CREATE TABLE table_name_41 (rocket VARCHAR, block VARCHAR, cospar_id VARCHAR) | {
"SQL_Query": "SELECT rocket FROM table_name_41 WHERE block = \"block i\" AND cospar_id = \"1995-060a\""
} |
What name has a Rocket of titan iv(401)b and a Block of block i/ii hybrid? | CREATE TABLE table_name_2 (name VARCHAR, rocket VARCHAR, block VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_2 WHERE rocket = \"titan iv(401)b\" AND block = \"block i/ii hybrid\""
} |
What rocket has a block i/ii hybrid? | CREATE TABLE table_name_30 (rocket VARCHAR, block VARCHAR) | {
"SQL_Query": "SELECT rocket FROM table_name_30 WHERE block = \"block i/ii hybrid\""
} |
What rocket has a COSPAR ID of 2002-001a? | CREATE TABLE table_name_31 (rocket VARCHAR, cospar_id VARCHAR) | {
"SQL_Query": "SELECT rocket FROM table_name_31 WHERE cospar_id = \"2002-001a\""
} |
What COSPAR ID has a Launch date/time (UTC) of 1995-11-06, 05:15:01? | CREATE TABLE table_name_40 (cospar_id VARCHAR, launch_date_time__utc_ VARCHAR) | {
"SQL_Query": "SELECT cospar_id FROM table_name_40 WHERE launch_date_time__utc_ = \"1995-11-06, 05:15:01\""
} |
On 15/04/07 in the competition Super League XII, what was the score? | CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_94 WHERE competition = \"super league xii\" AND date = \"15/04/07\""
} |
On 21/07/07, what was the score? | CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_12 WHERE date = \"21/07/07\""
} |
What was the venue of season 1907? | CREATE TABLE table_name_48 (venue VARCHAR, season VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_48 WHERE season = \"1907\""
} |
What is the bowling score of season 1907? | CREATE TABLE table_name_23 (bowling VARCHAR, season VARCHAR) | {
"SQL_Query": "SELECT bowling FROM table_name_23 WHERE season = \"1907\""
} |
Which season did Tich Freeman play against opponent V Warwickshire? | CREATE TABLE table_name_62 (season VARCHAR, player VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_62 WHERE player = \"tich freeman\" AND opponent = \"v warwickshire\""
} |
What was South Melbourne's score as the home team? | CREATE TABLE table_name_45 (home_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_45 WHERE home_team = \"south melbourne\""
} |
How many points did the home team Essendon score? | CREATE TABLE table_name_4 (home_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_4 WHERE home_team = \"essendon\""
} |
What character is in over 22 episodes? | CREATE TABLE table_name_91 (character VARCHAR, episodes INTEGER) | {
"SQL_Query": "SELECT character FROM table_name_91 WHERE episodes > 22"
} |
What is the lowest number of episodes for anabel barnston? | CREATE TABLE table_name_35 (episodes INTEGER, actor VARCHAR) | {
"SQL_Query": "SELECT MIN(episodes) FROM table_name_35 WHERE actor = \"anabel barnston\""
} |
What character is played by dani harmer for under 23 episodes? | CREATE TABLE table_name_51 (character VARCHAR, episodes VARCHAR, actor VARCHAR) | {
"SQL_Query": "SELECT character FROM table_name_51 WHERE episodes < 23 AND actor = \"dani harmer\""
} |
How many episodes have a duration of 3? | CREATE TABLE table_name_35 (episodes VARCHAR, duration VARCHAR) | {
"SQL_Query": "SELECT COUNT(episodes) FROM table_name_35 WHERE duration = \"3\""
} |
What is the name of the away team who play Collingwood? | CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_7 WHERE home_team = \"collingwood\""
} |
What date did Collingwood play as the home team? | CREATE TABLE table_name_75 (date VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_75 WHERE home_team = \"collingwood\""
} |
What is the most recent year of disaffiliation of a CHCH-TV station that affiliated after 2001? | CREATE TABLE table_name_31 (year_of_disaffiliation INTEGER, station VARCHAR, year_of_affiliation VARCHAR) | {
"SQL_Query": "SELECT MAX(year_of_disaffiliation) FROM table_name_31 WHERE station = \"chch-tv\" AND year_of_affiliation > 2001"
} |
What is the earliest year of disaffiliation of a CHCH-TV station, licensed in Hamilton, Ontario? | CREATE TABLE table_name_74 (year_of_disaffiliation INTEGER, city_of_license_market VARCHAR) | {
"SQL_Query": "SELECT MIN(year_of_disaffiliation) FROM table_name_74 WHERE city_of_license_market = \"hamilton, ontario\""
} |
How many bronze medals did west germany win when they had less than 2 silver medals? | CREATE TABLE table_name_29 (bronze INTEGER, nation VARCHAR, silver VARCHAR) | {
"SQL_Query": "SELECT SUM(bronze) FROM table_name_29 WHERE nation = \"west germany\" AND silver < 2"
} |
How many bronze medals were won when the total was larger than 2 and the more than 2 gold medals were won? | CREATE TABLE table_name_70 (bronze INTEGER, total VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT SUM(bronze) FROM table_name_70 WHERE total > 2 AND gold > 2"
} |
How many gold medals were won when more than 2 bronze medals were won? | CREATE TABLE table_name_62 (gold INTEGER, bronze INTEGER) | {
"SQL_Query": "SELECT SUM(gold) FROM table_name_62 WHERE bronze > 2"
} |
What was the PI GP fpr pick# 235 for Rd# larger than 12? | CREATE TABLE table_name_18 (pl_gp INTEGER, pick__number VARCHAR, rd__number VARCHAR) | {
"SQL_Query": "SELECT MIN(pl_gp) FROM table_name_18 WHERE pick__number = 235 AND rd__number > 12"
} |
What was the largest crowd when South Melbourne was the away team? | CREATE TABLE table_name_89 (crowd INTEGER, away_team VARCHAR) | {
"SQL_Query": "SELECT MAX(crowd) FROM table_name_89 WHERE away_team = \"south melbourne\""
} |
What is richmond's scores when they are the home team? | CREATE TABLE table_name_53 (home_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_53 WHERE home_team = \"richmond\""
} |
What is south melbourne's scores when they are the away team? | CREATE TABLE table_name_32 (away_team VARCHAR) | {
"SQL_Query": "SELECT away_team AS score FROM table_name_32 WHERE away_team = \"south melbourne\""
} |
What dates were the matches at windy hill? | CREATE TABLE table_name_1 (date VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_1 WHERE venue = \"windy hill\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.