answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT record FROM table_name_47 WHERE date = "december 3" | CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR) | Tell me the record for december 3 |
SELECT record FROM table_name_86 WHERE visitor = "dallas" | CREATE TABLE table_name_86 (record VARCHAR, visitor VARCHAR) | Name the record for dallas visitor |
SELECT score FROM table_name_36 WHERE date = "december 5" | CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR) | Name the score for december 5 |
SELECT home_team FROM table_name_6 WHERE venue = "princes park" | CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) | Who is Princes Park's home team? |
SELECT home_team FROM table_name_30 WHERE away_team = "north melbourne" | CREATE TABLE table_name_30 (home_team VARCHAR, away_team VARCHAR) | Who is North Melbourne's home team? |
SELECT year_8_1st_quad FROM table_name_67 WHERE year_9_2nd_quad = "bggs" AND crew > 2006 | CREATE TABLE table_name_67 (year_8_1st_quad VARCHAR, year_9_2nd_quad VARCHAR, crew VARCHAR) | 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? |
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" | 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) | 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? |
SELECT character FROM table_name_59 WHERE category = "sexiest female" AND award = "british soap awards" | CREATE TABLE table_name_59 (character VARCHAR, category VARCHAR, award VARCHAR) | Which character was in the sexiest female category of the British Soap Awards? |
SELECT film_or_series FROM table_name_2 WHERE result = "nominated" AND category = "best fansite" | CREATE TABLE table_name_2 (film_or_series VARCHAR, result VARCHAR, category VARCHAR) | Which film or series was nominated in the category of best fansite? |
SELECT venue FROM table_name_38 WHERE home_team = "essendon" | CREATE TABLE table_name_38 (venue VARCHAR, home_team VARCHAR) | Where does Essendon play their home games? |
SELECT home_team FROM table_name_30 WHERE venue = "victoria park" | CREATE TABLE table_name_30 (home_team VARCHAR, venue VARCHAR) | What team plays their home games in Victoria Park? |
SELECT SUM(attendance) FROM table_name_22 WHERE report = "sd.hr" AND score = "3–1" AND date = "14 apr 2001" | CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, report VARCHAR, score VARCHAR) | What is the total attendance with a Report of sd.hr, and a Score of 3–1, and a Date of 14 apr 2001? |
SELECT MAX(production_code) FROM table_name_6 WHERE written_by = "brian egeston" AND season__number > 5 | CREATE TABLE table_name_6 (production_code INTEGER, written_by VARCHAR, season__number VARCHAR) | What is the highest production code when the writer was brian egeston after season 5? |
SELECT record FROM table_name_63 WHERE home = "chicago" | CREATE TABLE table_name_63 (record VARCHAR, home VARCHAR) | What was the record when chicago was the home team? |
SELECT SUM(crowd) FROM table_name_58 WHERE home_team = "hawthorn" | CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR) | How many people were in the crowd when the Home Team was Hawthorn? |
SELECT AVG(grid) FROM table_name_66 WHERE laps = 88 | CREATE TABLE table_name_66 (grid INTEGER, laps VARCHAR) | What's the average Grid with Laps of 88? |
SELECT driver FROM table_name_21 WHERE time_retired = "+6 laps" | CREATE TABLE table_name_21 (driver VARCHAR, time_retired VARCHAR) | Which driver has a Time/Retired of +6 laps? |
SELECT home_team AS score FROM table_name_21 WHERE home_team = "hawthorn" | CREATE TABLE table_name_21 (home_team VARCHAR) | What did Hawthorn score as the home team? |
SELECT away_team FROM table_name_22 WHERE home_team = "south melbourne" | CREATE TABLE table_name_22 (away_team VARCHAR, home_team VARCHAR) | What team played South Melbourne at their home game? |
SELECT home_team FROM table_name_59 WHERE away_team = "geelong" | CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR) | What team played Geelong at their away game? |
SELECT 1989 FROM table_name_60 WHERE 1991 = "4r" | CREATE TABLE table_name_60 (Id VARCHAR) | What is the 1989 result of the tournament in which Katerina Maleeva finished 4r in 1991? |
SELECT 1989 FROM table_name_94 WHERE 1986 = "nh" | CREATE TABLE table_name_94 (Id VARCHAR) | What is the 1989 result of the tournament in which Katerina finished nh in 1986? |
SELECT total FROM table_name_88 WHERE rank = "did not participate" | CREATE TABLE table_name_88 (total VARCHAR, rank VARCHAR) | What is the total of the ranks that did not participate? |
SELECT decile FROM table_name_55 WHERE authority = "state integrated" AND name = "westminster christian school" | CREATE TABLE table_name_55 (decile VARCHAR, authority VARCHAR, name VARCHAR) | What is the decile for Westminster Christian School with a state integrated authority? |
SELECT years FROM table_name_45 WHERE authority = "state integrated" AND decile = "9" | CREATE TABLE table_name_45 (years VARCHAR, authority VARCHAR, decile VARCHAR) | What are the years when the authority was state integrated and a decile of 9? |
SELECT away_team AS score FROM table_name_30 WHERE venue = "moorabbin oval" | CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR) | What did the team score while away in moorabbin oval? |
SELECT date FROM table_name_66 WHERE tournament = "general foods pga seniors' championship" | CREATE TABLE table_name_66 (date VARCHAR, tournament VARCHAR) | When was the general foods pga seniors' championship tournament? |
SELECT location_attendance FROM table_name_86 WHERE record = "3–16" | CREATE TABLE table_name_86 (location_attendance VARCHAR, record VARCHAR) | What was the attendance on location when the record was 3–16? |
SELECT date FROM table_name_3 WHERE high_rebounds = "two-way tie (8)" | CREATE TABLE table_name_3 (date VARCHAR, high_rebounds VARCHAR) | On what date was a two-way tie (8) the high rebound? |
SELECT home_team AS score FROM table_name_20 WHERE away_team = "richmond" | CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR) | What is the home team score with Away team Richmond? |
SELECT MIN(crowd) FROM table_name_89 WHERE venue = "victoria park" | CREATE TABLE table_name_89 (crowd INTEGER, venue VARCHAR) | What is the smallest crowd for victoria park? |
SELECT MAX(clean_) & _jerk FROM table_name_92 WHERE total__kg_ = "200.0" AND snatch > 87.5 | CREATE TABLE table_name_92 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR) | what is the highest clean & jerk when total (kg) is 200.0 and snatch is more than 87.5? |
SELECT AVG(bodyweight) FROM table_name_89 WHERE snatch = 80 | CREATE TABLE table_name_89 (bodyweight INTEGER, snatch VARCHAR) | what is the average bodyweight when snatch is 80? |
SELECT home_team AS score FROM table_name_92 WHERE venue = "windy hill" | CREATE TABLE table_name_92 (home_team VARCHAR, venue VARCHAR) | What did the home team score at Windy Hill? |
SELECT MAX(crowd) FROM table_name_49 WHERE home_team = "richmond" | CREATE TABLE table_name_49 (crowd INTEGER, home_team VARCHAR) | When the home team was Richmond, what was the largest crowd? |
SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_55 WHERE location = "tennessee" | CREATE TABLE table_name_55 (location VARCHAR) | Tell me the average 1st prize for tennessee |
SELECT winner FROM table_name_97 WHERE tournament = "comfort classic" | CREATE TABLE table_name_97 (winner VARCHAR, tournament VARCHAR) | Tell me the winner of the comfort classic |
SELECT COUNT(pct) FROM table_name_13 WHERE losses < 1 AND finals = 4 | CREATE TABLE table_name_13 (pct VARCHAR, losses VARCHAR, finals VARCHAR) | How many percentages have losses fewer than 1 with finals appearances of 4? |
SELECT minimum_age_at_1st_dose FROM table_name_28 WHERE number_of_doses = "3 doses" AND dose = "2-3 drops" | CREATE TABLE table_name_28 (minimum_age_at_1st_dose VARCHAR, number_of_doses VARCHAR, dose VARCHAR) | Name the least age for the 1st dose for 3 doses of 2-3 drops |
SELECT number_of_doses FROM table_name_13 WHERE vaccine = "bacillus calmette-guérin" | CREATE TABLE table_name_13 (number_of_doses VARCHAR, vaccine VARCHAR) | How many doses for the bacillus calmette-guérin? |
SELECT home_team FROM table_name_42 WHERE away_team = "carlton" | CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR) | What team did team carlton play while away? |
SELECT home_team FROM table_name_77 WHERE venue = "windy hill" | CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR) | What home team plays at Windy Hill? |
SELECT 2 AS nd_party FROM table_name_66 WHERE election = "1918" | CREATE TABLE table_name_66 (election VARCHAR) | What was the 2nd Party in the 1918 Election? |
SELECT 3 AS rd_party FROM table_name_35 WHERE election = "1922" | CREATE TABLE table_name_35 (election VARCHAR) | What was the 3rd Party in the Election of 1922? |
SELECT MAX(erp_w) FROM table_name_6 WHERE frequency_mhz < 91.1 | CREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER) | What is the ERP W number where the frequency is smaller than 91.1? |
SELECT home_team AS score FROM table_name_69 WHERE home_team = "collingwood" | CREATE TABLE table_name_69 (home_team VARCHAR) | What was the score of Collingwood? |
SELECT venue FROM table_name_83 WHERE away_team = "south melbourne" | CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR) | Where did South Melbourne play? |
SELECT venue FROM table_name_79 WHERE home_team = "north melbourne" | CREATE TABLE table_name_79 (venue VARCHAR, home_team VARCHAR) | What is the venue of North Melbourne? |
SELECT loss FROM table_name_20 WHERE opponent = "coyotes" | CREATE TABLE table_name_20 (loss VARCHAR, opponent VARCHAR) | What was the loss from the coyotes as opponents? |
SELECT final_episode FROM table_name_93 WHERE actor = "rob estes" | CREATE TABLE table_name_93 (final_episode VARCHAR, actor VARCHAR) | What was the last episode featuring Rob Estes? |
SELECT block FROM table_name_23 WHERE cospar_id = "1995-060a" | CREATE TABLE table_name_23 (block VARCHAR, cospar_id VARCHAR) | What block has a COSPAR ID of 1995-060a? |
SELECT rocket FROM table_name_41 WHERE block = "block i" AND cospar_id = "1995-060a" | CREATE TABLE table_name_41 (rocket VARCHAR, block VARCHAR, cospar_id VARCHAR) | What rocket has a Block of block i and a COSPAR ID of 1995-060a? |
SELECT name FROM table_name_2 WHERE rocket = "titan iv(401)b" AND block = "block i/ii hybrid" | CREATE TABLE table_name_2 (name VARCHAR, rocket VARCHAR, block VARCHAR) | What name has a Rocket of titan iv(401)b and a Block of block i/ii hybrid? |
SELECT rocket FROM table_name_30 WHERE block = "block i/ii hybrid" | CREATE TABLE table_name_30 (rocket VARCHAR, block VARCHAR) | What rocket has a block i/ii hybrid? |
SELECT rocket FROM table_name_31 WHERE cospar_id = "2002-001a" | CREATE TABLE table_name_31 (rocket VARCHAR, cospar_id VARCHAR) | What rocket has a COSPAR ID of 2002-001a? |
SELECT cospar_id FROM table_name_40 WHERE launch_date_time__utc_ = "1995-11-06, 05:15:01" | CREATE TABLE table_name_40 (cospar_id VARCHAR, launch_date_time__utc_ VARCHAR) | What COSPAR ID has a Launch date/time (UTC) of 1995-11-06, 05:15:01? |
SELECT score FROM table_name_94 WHERE competition = "super league xii" AND date = "15/04/07" | CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR) | On 15/04/07 in the competition Super League XII, what was the score? |
SELECT score FROM table_name_12 WHERE date = "21/07/07" | CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR) | On 21/07/07, what was the score? |
SELECT venue FROM table_name_48 WHERE season = "1907" | CREATE TABLE table_name_48 (venue VARCHAR, season VARCHAR) | What was the venue of season 1907? |
SELECT bowling FROM table_name_23 WHERE season = "1907" | CREATE TABLE table_name_23 (bowling VARCHAR, season VARCHAR) | What is the bowling score of season 1907? |
SELECT season FROM table_name_62 WHERE player = "tich freeman" AND opponent = "v warwickshire" | CREATE TABLE table_name_62 (season VARCHAR, player VARCHAR, opponent VARCHAR) | Which season did Tich Freeman play against opponent V Warwickshire? |
SELECT home_team AS score FROM table_name_45 WHERE home_team = "south melbourne" | CREATE TABLE table_name_45 (home_team VARCHAR) | What was South Melbourne's score as the home team? |
SELECT home_team AS score FROM table_name_4 WHERE home_team = "essendon" | CREATE TABLE table_name_4 (home_team VARCHAR) | How many points did the home team Essendon score? |
SELECT character FROM table_name_91 WHERE episodes > 22 | CREATE TABLE table_name_91 (character VARCHAR, episodes INTEGER) | What character is in over 22 episodes? |
SELECT MIN(episodes) FROM table_name_35 WHERE actor = "anabel barnston" | CREATE TABLE table_name_35 (episodes INTEGER, actor VARCHAR) | What is the lowest number of episodes for anabel barnston? |
SELECT character FROM table_name_51 WHERE episodes < 23 AND actor = "dani harmer" | CREATE TABLE table_name_51 (character VARCHAR, episodes VARCHAR, actor VARCHAR) | What character is played by dani harmer for under 23 episodes? |
SELECT COUNT(episodes) FROM table_name_35 WHERE duration = "3" | CREATE TABLE table_name_35 (episodes VARCHAR, duration VARCHAR) | How many episodes have a duration of 3? |
SELECT away_team FROM table_name_7 WHERE home_team = "collingwood" | CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR) | What is the name of the away team who play Collingwood? |
SELECT date FROM table_name_75 WHERE home_team = "collingwood" | CREATE TABLE table_name_75 (date VARCHAR, home_team VARCHAR) | What date did Collingwood play as the home team? |
SELECT MAX(year_of_disaffiliation) FROM table_name_31 WHERE station = "chch-tv" AND year_of_affiliation > 2001 | CREATE TABLE table_name_31 (year_of_disaffiliation INTEGER, station VARCHAR, year_of_affiliation VARCHAR) | What is the most recent year of disaffiliation of a CHCH-TV station that affiliated after 2001? |
SELECT MIN(year_of_disaffiliation) FROM table_name_74 WHERE city_of_license_market = "hamilton, ontario" | CREATE TABLE table_name_74 (year_of_disaffiliation INTEGER, city_of_license_market VARCHAR) | What is the earliest year of disaffiliation of a CHCH-TV station, licensed in Hamilton, Ontario? |
SELECT SUM(bronze) FROM table_name_29 WHERE nation = "west germany" AND silver < 2 | CREATE TABLE table_name_29 (bronze INTEGER, nation VARCHAR, silver VARCHAR) | How many bronze medals did west germany win when they had less than 2 silver medals? |
SELECT SUM(bronze) FROM table_name_70 WHERE total > 2 AND gold > 2 | CREATE TABLE table_name_70 (bronze INTEGER, total VARCHAR, gold VARCHAR) | How many bronze medals were won when the total was larger than 2 and the more than 2 gold medals were won? |
SELECT SUM(gold) FROM table_name_62 WHERE bronze > 2 | CREATE TABLE table_name_62 (gold INTEGER, bronze INTEGER) | How many gold medals were won when more than 2 bronze medals were won? |
SELECT MIN(pl_gp) FROM table_name_18 WHERE pick__number = 235 AND rd__number > 12 | CREATE TABLE table_name_18 (pl_gp INTEGER, pick__number VARCHAR, rd__number VARCHAR) | What was the PI GP fpr pick# 235 for Rd# larger than 12? |
SELECT MAX(crowd) FROM table_name_89 WHERE away_team = "south melbourne" | CREATE TABLE table_name_89 (crowd INTEGER, away_team VARCHAR) | What was the largest crowd when South Melbourne was the away team? |
SELECT home_team AS score FROM table_name_53 WHERE home_team = "richmond" | CREATE TABLE table_name_53 (home_team VARCHAR) | What is richmond's scores when they are the home team? |
SELECT away_team AS score FROM table_name_32 WHERE away_team = "south melbourne" | CREATE TABLE table_name_32 (away_team VARCHAR) | What is south melbourne's scores when they are the away team? |
SELECT date FROM table_name_1 WHERE venue = "windy hill" | CREATE TABLE table_name_1 (date VARCHAR, venue VARCHAR) | What dates were the matches at windy hill? |
SELECT AVG(laps) FROM table_name_50 WHERE driver = "piero taruffi" | CREATE TABLE table_name_50 (laps INTEGER, driver VARCHAR) | What is the average number of laps for the driver Piero Taruffi? |
SELECT driver FROM table_name_23 WHERE laps = 12 AND grid < 10 | CREATE TABLE table_name_23 (driver VARCHAR, laps VARCHAR, grid VARCHAR) | Which driver has 12 laps and a grid of less than 10? |
SELECT illustration FROM table_name_76 WHERE design = "tim nokes" AND first_day_cover_cancellation = "calgary, alberta" | CREATE TABLE table_name_76 (illustration VARCHAR, design VARCHAR, first_day_cover_cancellation VARCHAR) | What is the Illustration with a Design of tim nokes, and a First Day Cover Cancellation with calgary, alberta? |
SELECT date_of_issue FROM table_name_3 WHERE theme = "mental health" | CREATE TABLE table_name_3 (date_of_issue VARCHAR, theme VARCHAR) | What is the Date of Issue with a Theme with mental health? |
SELECT theme FROM table_name_55 WHERE design = "sputnik design partners" | CREATE TABLE table_name_55 (theme VARCHAR, design VARCHAR) | What is the Theme with a Design with sputnik design partners? |
SELECT paper_type FROM table_name_11 WHERE first_day_cover_cancellation = "ottawa, on" | CREATE TABLE table_name_11 (paper_type VARCHAR, first_day_cover_cancellation VARCHAR) | What is the Paper Type with a First Day Cover Cancellation with ottawa, on? |
SELECT paper_type FROM table_name_51 WHERE illustration = "martin dee, ubc public affairs" | CREATE TABLE table_name_51 (paper_type VARCHAR, illustration VARCHAR) | What is the Paper Type with an Illustration with martin dee, ubc public affairs? |
SELECT theme FROM table_name_28 WHERE paper_type = "tullis russell coatings" AND date_of_issue = "1 october 2008" | CREATE TABLE table_name_28 (theme VARCHAR, paper_type VARCHAR, date_of_issue VARCHAR) | What is the Theme with a Paper Type of tullis russell coatings, and a Date with Issue of 1 october 2008? |
SELECT tie_no FROM table_name_73 WHERE away_team = "lewes" | CREATE TABLE table_name_73 (tie_no VARCHAR, away_team VARCHAR) | What is the tie number when the away team is Lewes? |
SELECT away_team FROM table_name_5 WHERE home_team = "cheltenham town" | CREATE TABLE table_name_5 (away_team VARCHAR, home_team VARCHAR) | What is the away team when the home team is Cheltenham Town? |
SELECT home_team FROM table_name_76 WHERE tie_no = "34" | CREATE TABLE table_name_76 (home_team VARCHAR, tie_no VARCHAR) | What is the home team of the game with tie number 34? |
SELECT away_team FROM table_name_33 WHERE tie_no = "31" | CREATE TABLE table_name_33 (away_team VARCHAR, tie_no VARCHAR) | What is the away team of the game with tie number 31? |
SELECT SUM(goals_for) FROM table_name_50 WHERE wins < 4 AND losses > 6 | CREATE TABLE table_name_50 (goals_for INTEGER, wins VARCHAR, losses VARCHAR) | How many goals for were scored for the team(s) that won fewer than 4 games and lost more than 6? |
SELECT AVG(losses) FROM table_name_37 WHERE games_played > 8 | CREATE TABLE table_name_37 (losses INTEGER, games_played INTEGER) | What is the average losses for the team(s) that played more than 8 games? |
SELECT fleet_size FROM table_name_73 WHERE class = "vanguard 0-6-0dh" | CREATE TABLE table_name_73 (fleet_size VARCHAR, class VARCHAR) | What is the fleet size of the Vanguard 0-6-0dh class? |
SELECT introduced FROM table_name_64 WHERE type = "electro-diesel locomotive" | CREATE TABLE table_name_64 (introduced VARCHAR, type VARCHAR) | What is the year of introduction for the Electro-Diesel locomotive? |
SELECT AVG(fleet_size) FROM table_name_3 WHERE type = "shunter" AND introduced = "1959" | CREATE TABLE table_name_3 (fleet_size INTEGER, type VARCHAR, introduced VARCHAR) | What is the average fleet size for the Shunter type introduced in 1959? |
SELECT MIN(fleet_size) FROM table_name_87 WHERE type = "shunter" AND introduced = "1953" | CREATE TABLE table_name_87 (fleet_size INTEGER, type VARCHAR, introduced VARCHAR) | What is the smallest fleet size with a type of shunter introduced in 1953? |
SELECT MIN(viewers__m_) FROM table_name_65 WHERE air_date = "january 24, 2008" AND rating > 3.6 | CREATE TABLE table_name_65 (viewers__m_ INTEGER, air_date VARCHAR, rating VARCHAR) | What show that was aired on January 24, 2008 with a rating larger than 3.6 had the lowest viewers? How Many Viewers in the millions? |
SELECT rounds FROM table_name_20 WHERE chassis = "sf01" | CREATE TABLE table_name_20 (rounds VARCHAR, chassis VARCHAR) | Which round has a car with a chassis of sf01? |
SELECT country FROM table_name_22 WHERE average < 9.6 AND interview > 9.22 AND swimsuit > 9.46 | CREATE TABLE table_name_22 (country VARCHAR, swimsuit VARCHAR, average VARCHAR, interview VARCHAR) | Which country has swimsuit more than 9.46 and interview more than 9.22 with average less than 9.6? |
Subsets and Splits