answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT title FROM table_26824484_1 WHERE directed_by = "Jeff Woolnough" AND written_by = "Christopher Ambrose" | Which episode was directed by Jeff Woolnough and written by Christopher Ambrose? | CREATE TABLE table_26824484_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR) |
SELECT score FROM table_name_16 WHERE opponent = "@ blue jays" AND date = "june 7" | What Score has an Opponent of @ Blue Jays with a Date of June 7? | CREATE TABLE table_name_16 (score VARCHAR, opponent VARCHAR, date VARCHAR) |
SELECT track_ & _field FROM table_16423070_4 WHERE swimming = "Lexington" AND volleyball = "Madison" | which country won swimming track & field when lexington won swimming and madison won volleyball | CREATE TABLE table_16423070_4 (track_ VARCHAR, _field VARCHAR, swimming VARCHAR, volleyball VARCHAR) |
SELECT COUNT(record___percentage__)[draw_ = _05_wins] FROM table_name_91 WHERE wins > 3 AND matches = 10 AND draws > 1 | What is the draw record (%) total for clubs with more than 3 wins with 10 matches and more than 1 draw? | CREATE TABLE table_name_91 (record___percentage__ VARCHAR, draw_ VARCHAR, _05_wins VARCHAR, draws VARCHAR, wins VARCHAR, matches VARCHAR) |
SELECT COUNT(*) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name LIKE "%a%" | How many lessons taught by staff whose first name has letter 'a' in it? | CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR) |
SELECT MIN(heat) FROM table_name_43 WHERE country = "united states" AND mark = "51.85 pb" AND lane > 6 | What is the lowest heat for the United states with a mark of 51.85 pb and lane higher than 6? | CREATE TABLE table_name_43 (heat INTEGER, lane VARCHAR, country VARCHAR, mark VARCHAR) |
SELECT date FROM table_name_61 WHERE attendance = "79,431" | Where attendance is 79,431 what is date? | CREATE TABLE table_name_61 (date VARCHAR, attendance VARCHAR) |
SELECT COUNT(draws) FROM table_18018248_2 WHERE goals_conceded = 45 | How many draws were there when the conceded goals was numbered at 45? | CREATE TABLE table_18018248_2 (draws VARCHAR, goals_conceded VARCHAR) |
SELECT to_club FROM table_name_26 WHERE player = "ashley grimes" | Ashley Grimes had what to club? | CREATE TABLE table_name_26 (to_club VARCHAR, player VARCHAR) |
SELECT opponent FROM table_26108103_2 WHERE rushing_yards = 81 | Who was the opponent when there was 81 rushing yards? | CREATE TABLE table_26108103_2 (opponent VARCHAR, rushing_yards VARCHAR) |
SELECT democrat AS :_vivian_davis_figures FROM table_16751596_12 WHERE dates_administered = "November 14, 2007" | On November 14, 2007, what are the Democrat: Vivian Davis Figures percentages? | CREATE TABLE table_16751596_12 (democrat VARCHAR, dates_administered VARCHAR) |
SELECT COUNT(year) FROM table_2182562_1 WHERE position = "97th" | How many years was the position 97th? | CREATE TABLE table_2182562_1 (year VARCHAR, position VARCHAR) |
SELECT us__1912_ FROM table_name_34 WHERE us__2013_ = "amethyst" | What was the U.S birthstone in 1912 when in 2013 the birthstone was amethyst? | CREATE TABLE table_name_34 (us__1912_ VARCHAR, us__2013_ VARCHAR) |
SELECT COUNT(steals) FROM table_24906653_5 WHERE blocks = 1 | List the number of takeaways with 1 rejection. | CREATE TABLE table_24906653_5 (steals VARCHAR, blocks VARCHAR) |
SELECT city FROM table_name_60 WHERE venue = "peterson gym" | Peterson Gym is in what city? | CREATE TABLE table_name_60 (city VARCHAR, venue VARCHAR) |
SELECT SUM(attendance) FROM table_name_65 WHERE date = "december 22, 1985" AND week < 16 | Which Attendance has a Date of december 22, 1985, and a Week smaller than 16? | CREATE TABLE table_name_65 (attendance INTEGER, date VARCHAR, week VARCHAR) |
SELECT owner FROM table_name_64 WHERE frequency = "00 99.3" | What is the Owner of Frequency 00 99.3? | CREATE TABLE table_name_64 (owner VARCHAR, frequency VARCHAR) |
SELECT position FROM table_name_21 WHERE round = 2 AND nationality = "sweden" | What is the position of the player from round 2 from Sweden? | CREATE TABLE table_name_21 (position VARCHAR, round VARCHAR, nationality VARCHAR) |
SELECT visitor FROM table_name_4 WHERE record = "6β12β5β1" | Who was the visiting team when the record was 6β12β5β1? | CREATE TABLE table_name_4 (visitor VARCHAR, record VARCHAR) |
SELECT drop_zone AS Time FROM table_name_27 WHERE troop_carrier_group = "439th tcg" AND _number_of_c_47s > 36 | What is the Drop Zone time for the 439th tcg Troop Carrier Group with more tham 36 C-47s? | CREATE TABLE table_name_27 (drop_zone VARCHAR, troop_carrier_group VARCHAR, _number_of_c_47s VARCHAR) |
SELECT AVG(laps) FROM table_name_78 WHERE time_retired = "+1:14.801" | What is the average number of laps associated with a Time/Retired of +1:14.801? | CREATE TABLE table_name_78 (laps INTEGER, time_retired VARCHAR) |
SELECT format FROM table_name_99 WHERE catalog = "f4 87199" | What is the Format o Catalog F4 87199? | CREATE TABLE table_name_99 (format VARCHAR, catalog VARCHAR) |
SELECT date FROM table_name_49 WHERE outcome = "runner-up" AND score = "4β6, 3β6" | When was the outcome runner-up with a score of 4β6, 3β6? | CREATE TABLE table_name_49 (date VARCHAR, outcome VARCHAR, score VARCHAR) |
SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = "62" | Average frequency with ERP W of 62? | CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR) |
SELECT MAX(pts_agst) FROM table_21991074_3 | Name the most points agst | CREATE TABLE table_21991074_3 (pts_agst INTEGER) |
SELECT document_id, COUNT(copy_number) FROM Draft_Copies GROUP BY document_id ORDER BY COUNT(copy_number) DESC LIMIT 1 | Which document has the most draft copies? List its document id and number of draft copies. | CREATE TABLE Draft_Copies (document_id VARCHAR, copy_number VARCHAR) |
SELECT country_of_origin FROM table_name_74 WHERE type = "disposable" AND primary_cartridge = "105mm" AND year_of_intro < 2008 | What is Country of Origin, when Type is Disposable, when Primary Cartridge is 105mm, and when Year of Intro is less than 2008? | CREATE TABLE table_name_74 (country_of_origin VARCHAR, year_of_intro VARCHAR, type VARCHAR, primary_cartridge VARCHAR) |
SELECT COUNT(lost) FROM table_17625749_1 WHERE tries_for = "109" | Name the number of lost where tries for is 109 | CREATE TABLE table_17625749_1 (lost VARCHAR, tries_for VARCHAR) |
SELECT team_1 FROM table_name_74 WHERE name = "preliminary final" | Name the team one for preliminary final | CREATE TABLE table_name_74 (team_1 VARCHAR, name VARCHAR) |
SELECT tamil_name FROM table_name_96 WHERE english_name = "thaipusam" | What is the Tamil Name of the Thaipusam holiday? | CREATE TABLE table_name_96 (tamil_name VARCHAR, english_name VARCHAR) |
SELECT opponents_in_final FROM table_name_19 WHERE score_in_final = "7β5, 1β6 4β6" | Which Opponents in Final has a Score in Final of 7β5, 1β6 4β6? | CREATE TABLE table_name_19 (opponents_in_final VARCHAR, score_in_final VARCHAR) |
SELECT home FROM table_name_56 WHERE record = "21β45β8β5" | Who was the home team when the record was 21β45β8β5? | CREATE TABLE table_name_56 (home VARCHAR, record VARCHAR) |
SELECT venue FROM table_name_9 WHERE competition = "friendly" AND date = "7 june 1999" | Where was the friendly competition on 7 June 1999 played? | CREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR, date VARCHAR) |
SELECT home_team AS score FROM table_name_77 WHERE away_team = "carlton" | What was the score of the home team when they played carlton? | CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR) |
SELECT bowling_figures_wickets_runs__overs_ FROM table_name_42 WHERE bowler = "gd mcgrath" | What were GD Mcgrath's bowling figures? | CREATE TABLE table_name_42 (bowling_figures_wickets_runs__overs_ VARCHAR, bowler VARCHAR) |
SELECT median_income FROM table_14946657_3 WHERE age_band = "Under 20" | Name the median income for age band being under 20 | CREATE TABLE table_14946657_3 (median_income VARCHAR, age_band VARCHAR) |
SELECT registration FROM table_1997759_1 WHERE first_flew = "31 January 1975" | what is the registration located on 31 january 1975 where first flew? | CREATE TABLE table_1997759_1 (registration VARCHAR, first_flew VARCHAR) |
SELECT COUNT(hometown) FROM table_18626383_2 WHERE country = "Finland" | When finland is the country how many hometowns are there? | CREATE TABLE table_18626383_2 (hometown VARCHAR, country VARCHAR) |
SELECT recipients_and_nominees FROM table_name_73 WHERE year = 1994 | Who are the recipients in 1994? | CREATE TABLE table_name_73 (recipients_and_nominees VARCHAR, year VARCHAR) |
SELECT crew FROM table_name_61 WHERE date = "july 26, 1977" | What is Crew, when Date is July 26, 1977? | CREATE TABLE table_name_61 (crew VARCHAR, date VARCHAR) |
SELECT score FROM table_name_17 WHERE points > 8 | What was the score of the game that had more than 8 points? | CREATE TABLE table_name_17 (score VARCHAR, points INTEGER) |
SELECT others_percentage FROM table_20573232_1 WHERE mccain_percentage = "57.7%" | What is the percentage of others when McCain is at 57.7% | CREATE TABLE table_20573232_1 (others_percentage VARCHAR, mccain_percentage VARCHAR) |
SELECT decor, COUNT(*) FROM Rooms WHERE bedType = "King" GROUP BY decor | Find the number of rooms with king bed for each decor type. | CREATE TABLE Rooms (decor VARCHAR, bedType VARCHAR) |
SELECT position FROM table_28059992_6 WHERE cfl_team = "Edmonton" | What position was the player who was drafted by Edmonton? | CREATE TABLE table_28059992_6 (position VARCHAR, cfl_team VARCHAR) |
SELECT opponent FROM table_name_2 WHERE date = "april 19" | Who did the team play on april 19? | CREATE TABLE table_name_2 (opponent VARCHAR, date VARCHAR) |
SELECT coach FROM table_name_48 WHERE pct > 0.1 AND pts > 9 AND loss = 19 | What coach has a PCT larger than 0.1, PTS larger than 9 and a loss of 19? | CREATE TABLE table_name_48 (coach VARCHAR, loss VARCHAR, pct VARCHAR, pts VARCHAR) |
SELECT MAX(pick__number) FROM table_16575609_4 WHERE cfl_team = "Edmonton Eskimos" | Name the most pick number for cfl team being edmonton eskimos | CREATE TABLE table_16575609_4 (pick__number INTEGER, cfl_team VARCHAR) |
SELECT score FROM table_23284271_10 WHERE game = 78 | What is the score for game 78? | CREATE TABLE table_23284271_10 (score VARCHAR, game VARCHAR) |
SELECT place FROM table_name_32 WHERE country = "italy" | What place was the player from Italy in ? | CREATE TABLE table_name_32 (place VARCHAR, country VARCHAR) |
SELECT coombe_road FROM table_name_17 WHERE selsdon = "evening peak" | What is the Coombe Road time with a Selsdon evening peak? | CREATE TABLE table_name_17 (coombe_road VARCHAR, selsdon VARCHAR) |
SELECT stark FROM table_name_58 WHERE state = "upper austria" | What percent did STARK get in upper austria? | CREATE TABLE table_name_58 (stark VARCHAR, state VARCHAR) |
SELECT title FROM table_name_5 WHERE time = "3:22" | What title runs for 3:22? | CREATE TABLE table_name_5 (title VARCHAR, time VARCHAR) |
SELECT COUNT(*) FROM artist WHERE country = "Bangladesh" | How many artists are from Bangladesh? | CREATE TABLE artist (country VARCHAR) |
SELECT MAX(bronze) FROM table_name_37 WHERE silver < 0 | How many Bronze medals did the Nation with 0 Silver receive? | CREATE TABLE table_name_37 (bronze INTEGER, silver INTEGER) |
SELECT tries_for FROM table_name_74 WHERE tries_against = "30" | What is the number of tries for that has 30 tries against? | CREATE TABLE table_name_74 (tries_for VARCHAR, tries_against VARCHAR) |
SELECT name FROM table_name_64 WHERE prize = "$279.330" | What is Name, when Prize is "$279.330"? | CREATE TABLE table_name_64 (name VARCHAR, prize VARCHAR) |
SELECT race AS Winner FROM table_1140067_2 WHERE race = "Portuguese Grand Prix" | What is the race winer of the portuguese grand prix? | CREATE TABLE table_1140067_2 (race VARCHAR) |
SELECT race_number FROM table_14882588_2 WHERE sail_number = "AUS 03" | If sail number is AUS 03, what are all associated race numbers? | CREATE TABLE table_14882588_2 (race_number VARCHAR, sail_number VARCHAR) |
SELECT final FROM table_name_11 WHERE no5 = "simara" | What is the final result of the team that has Simara as No.5? | CREATE TABLE table_name_11 (final VARCHAR, no5 VARCHAR) |
SELECT first_branch_opened FROM table_name_21 WHERE branch = "belmont library" | What is the First Branch Opened, when Branch is Belmont Library? | CREATE TABLE table_name_21 (first_branch_opened VARCHAR, branch VARCHAR) |
SELECT MIN(population_rank) FROM table_1425958_1 WHERE _percentage_change = "8.4" | When the % change is 8.4, what is the population rank? | CREATE TABLE table_1425958_1 (population_rank INTEGER, _percentage_change VARCHAR) |
SELECT race_3 FROM table_name_93 WHERE points > 36 AND race_1 = 2 | Which race 3 has points greater than 36, and 2 as the race 1? | CREATE TABLE table_name_93 (race_3 VARCHAR, points VARCHAR, race_1 VARCHAR) |
SELECT opponent FROM table_name_91 WHERE week < 17 AND date = "june 17, 2006" | What team was the opponent in a week earlier than 17 on June 17, 2006? | CREATE TABLE table_name_91 (opponent VARCHAR, week VARCHAR, date VARCHAR) |
SELECT score FROM table_name_10 WHERE game > 49 AND opponent = "pittsburgh ironmen" | What is Score, when Game is greater than 49, and when Opponent is "Pittsburgh Ironmen"? | CREATE TABLE table_name_10 (score VARCHAR, game VARCHAR, opponent VARCHAR) |
SELECT reactortype FROM table_name_64 WHERE gross_capacity = "417 mw" AND electricity_grid = "27.12.1971" | Which Reactortype has a gross capacity of 417 mw and an Electricity Grid of 27.12.1971? | CREATE TABLE table_name_64 (reactortype VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR) |
SELECT aircraft AS damage FROM table_name_35 WHERE fatalities = "30/30" | What was the aircraft damage for the accident that had fatalities of 30/30? | CREATE TABLE table_name_35 (aircraft VARCHAR, fatalities VARCHAR) |
SELECT Shop_Name FROM shop WHERE NOT Shop_ID IN (SELECT Shop_ID FROM stock) | List the names of shops that have no devices in stock. | CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Shop_Name VARCHAR, Shop_ID VARCHAR) |
SELECT away_team AS score FROM table_name_23 WHERE home_team = "st kilda" | When st kilda was playing at home what was the away teams score? | CREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR) |
SELECT series FROM table_name_2 WHERE date = "april 30" | Name the series for april 30 | CREATE TABLE table_name_2 (series VARCHAR, date VARCHAR) |
SELECT eliminated FROM table_name_83 WHERE week__number > 4 | Tell me the eliminated for week # larger than 4 | CREATE TABLE table_name_83 (eliminated VARCHAR, week__number INTEGER) |
SELECT country FROM table_name_88 WHERE name = "chunkath, mohan verghese" | What country has chunkath, mohan verghese as the name? | CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR) |
SELECT successor FROM table_1134091_4 WHERE vacator = "Chester E. Holifield (D)" | Who was the successor when the vacator was chester e. holifield (d)? | CREATE TABLE table_1134091_4 (successor VARCHAR, vacator VARCHAR) |
SELECT Name FROM Team | Show all team names. | CREATE TABLE Team (Name VARCHAR) |
SELECT result FROM table_21094951_1 WHERE opponent = "Ursinus College" | Name the result for ursinus college | CREATE TABLE table_21094951_1 (result VARCHAR, opponent VARCHAR) |
SELECT MAX(s_no) FROM table_1594772_2 WHERE margin = "74 runs" | Name the most number for 74 runs margins | CREATE TABLE table_1594772_2 (s_no INTEGER, margin VARCHAR) |
SELECT district FROM table_228439_4 WHERE successor = "Samuel A. Bridges ( D )" | What district is Samuel A. Bridges ( D ) assigned to as a successor? | CREATE TABLE table_228439_4 (district VARCHAR, successor VARCHAR) |
SELECT player FROM table_2897457_2 WHERE college_junior_club_team = "Cornell University (NCAA)" | What player came from Cornell University (NCAA)? | CREATE TABLE table_2897457_2 (player VARCHAR, college_junior_club_team VARCHAR) |
SELECT score FROM table_name_63 WHERE competition = "friendly match" | What is the score of the friendly match? | CREATE TABLE table_name_63 (score VARCHAR, competition VARCHAR) |
SELECT date FROM table_name_40 WHERE competition = "2006 fifa world cup qualification" AND venue = "alamodome, san antonio, united states" | What date has 2006 fifa world cup qualification as the competition, and alamodome, san antonio, united States as the venue? | CREATE TABLE table_name_40 (date VARCHAR, competition VARCHAR, venue VARCHAR) |
SELECT year FROM table_name_7 WHERE gen_secretary = "silvana jansen" | Which year has a Gen.-Secretary of silvana jansen? | CREATE TABLE table_name_7 (year VARCHAR, gen_secretary VARCHAR) |
SELECT 3 AS rd_place FROM table_name_99 WHERE "venue" = "venue" | Who came in 3rd at Venue? | CREATE TABLE table_name_99 (Id VARCHAR) |
SELECT COUNT(years_at_school) FROM table_28744929_2 WHERE team = "Maryland" | How many values were used to express the years at school of the Maryland team? | CREATE TABLE table_28744929_2 (years_at_school VARCHAR, team VARCHAR) |
SELECT regular_season_winner FROM table_24348134_3 WHERE tournament_winner = "Georgia State" | What team won the regular season when georgia state won the tournament? | CREATE TABLE table_24348134_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR) |
SELECT 1991 FROM table_name_60 WHERE 1993 = "grand slams" | What is the 1991 finish for the 1993 Grand Slams? | CREATE TABLE table_name_60 (Id VARCHAR) |
SELECT 2010 FROM table_name_43 WHERE 2009 = "a" AND 2008 = "a" AND tournament = "australian open" | What is the 2010 value with A in 2009 and A in 2008 in the Australian Open? | CREATE TABLE table_name_43 (tournament VARCHAR) |
SELECT satellite FROM table_name_5 WHERE launch_site = "vandenberg" | Which satellite was launched from Vandenberg? | CREATE TABLE table_name_5 (satellite VARCHAR, launch_site VARCHAR) |
SELECT score FROM table_name_61 WHERE record = "14β10β2" | What was the score of the game when the Devils had a record of 14β10β2? | CREATE TABLE table_name_61 (score VARCHAR, record VARCHAR) |
SELECT venue FROM table_name_62 WHERE year < 1986 AND position = "6th" | What Venue has a Year smaller than 1986, and a Position of 6th? | CREATE TABLE table_name_62 (venue VARCHAR, year VARCHAR, position VARCHAR) |
SELECT state FROM table_name_58 WHERE title = "king" | What state has the king title? | CREATE TABLE table_name_58 (state VARCHAR, title VARCHAR) |
SELECT MIN(draws) FROM table_name_12 WHERE losses = 0 AND byes > 4 | What is the lowest value for Draws, when Losses is "0", and when Byes is greater than 4? | CREATE TABLE table_name_12 (draws INTEGER, losses VARCHAR, byes VARCHAR) |
SELECT MIN(pick__number) FROM table_29836557_2 WHERE mls_team = "Real Salt Lake" | What pick number did Real Salt Lake get? | CREATE TABLE table_29836557_2 (pick__number INTEGER, mls_team VARCHAR) |
SELECT team_name FROM table_22014431_3 WHERE tumbling = "44.5" | Which team names have 44.5 for tumbling? | CREATE TABLE table_22014431_3 (team_name VARCHAR, tumbling VARCHAR) |
SELECT ceased_operation FROM table_name_5 WHERE launched = "june 29, 1961" | What was the ceased operation that launched June 29, 1961? | CREATE TABLE table_name_5 (ceased_operation VARCHAR, launched VARCHAR) |
SELECT title FROM table_name_64 WHERE released = 2009 | What CD was released in 2009? | CREATE TABLE table_name_64 (title VARCHAR, released VARCHAR) |
SELECT hebrew FROM table_26919_7 WHERE english = "heart" | If in english it is heart, what is it in hebrew? | CREATE TABLE table_26919_7 (hebrew VARCHAR, english VARCHAR) |
SELECT MIN(avg_g) FROM table_name_86 WHERE long < 47 AND name = "frank murphy" AND gain < 569 | Which Avg/G is the lowest one that has a Long smaller than 47, and a Name of frank murphy, and a Gain smaller than 569? | CREATE TABLE table_name_86 (avg_g INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR) |
SELECT _percentage FROM table_19260_1 WHERE total = 57613 | Name the % for total being 57613 | CREATE TABLE table_19260_1 (_percentage VARCHAR, total VARCHAR) |
SELECT MIN(blocks) FROM table_24856332_4 WHERE player = "Tye'sha Fluker" | How many blocks did tye'sha fluker have? | CREATE TABLE table_24856332_4 (blocks INTEGER, player VARCHAR) |
SELECT date FROM table_name_36 WHERE matches = 1 | What was the date for a round that only had 1 match? | CREATE TABLE table_name_36 (date VARCHAR, matches VARCHAR) |
SELECT MIN(capacity) FROM table_11206787_5 WHERE team = "Airdrie United" | What is the minimum capacity where airdrie united is? | CREATE TABLE table_11206787_5 (capacity INTEGER, team VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.