answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT season FROM table_name_70 WHERE overall = "77" | What year's Season had an Overall of 77? | CREATE TABLE table_name_70 (season VARCHAR, overall VARCHAR) |
SELECT second_vice_president FROM table_name_85 WHERE inaugurated = "26 march 1928" | What is Second Vice President, when Inaugurated is "26 March 1928"? | CREATE TABLE table_name_85 (second_vice_president VARCHAR, inaugurated VARCHAR) |
SELECT under_13 FROM table_26368963_1 WHERE year = 2009 | In the year 2009 who was the under-13? | CREATE TABLE table_26368963_1 (under_13 VARCHAR, year VARCHAR) |
SELECT series FROM table_name_85 WHERE release_date = "1946-03-16" | What is the Series of the Filmography with a Release date of 1946-03-16? | CREATE TABLE table_name_85 (series VARCHAR, release_date VARCHAR) |
SELECT COUNT(civil_liberties_2013) FROM table_name_42 WHERE political_rights_2010 = 6 AND civil_liberties_2012 > 5 AND political_rights_2011 < 6 | How many civil liberties 2013 values are associated with a 2010 political rights value of 6, civil liberties 2012 values over 5, and political rights 2011 under 6? | CREATE TABLE table_name_42 (civil_liberties_2013 VARCHAR, political_rights_2011 VARCHAR, political_rights_2010 VARCHAR, civil_liberties_2012 VARCHAR) |
SELECT COUNT(teams_with_division_titles) FROM table_1952065_4 WHERE division_championships = 9 | How many division title teams were in the division championships 9 times? | CREATE TABLE table_1952065_4 (teams_with_division_titles VARCHAR, division_championships VARCHAR) |
SELECT COUNT(caps) FROM table_name_32 WHERE player = "mitchell duke" | How many caps did Mitchell Duke have overall? | CREATE TABLE table_name_32 (caps VARCHAR, player VARCHAR) |
SELECT league FROM table_1939202_2 WHERE avg_attendance = 1452 | What league has an average attendance of 1452? | CREATE TABLE table_1939202_2 (league VARCHAR, avg_attendance VARCHAR) |
SELECT COUNT(district) FROM table_1342379_10 WHERE first_elected = 1912 | how many areas were in the election in 1912 | CREATE TABLE table_1342379_10 (district VARCHAR, first_elected VARCHAR) |
SELECT region FROM table_name_8 WHERE most_populous_city_town = "clonmel" AND irish_name = "tiobraid árann (contae thiobraid árann)" | Most populous city/town of clonmel, and a Irish name of tiobraid árann (contae thiobraid árann) is which region? | CREATE TABLE table_name_8 (region VARCHAR, most_populous_city_town VARCHAR, irish_name VARCHAR) |
SELECT home_team FROM table_name_8 WHERE venue = "gold coast convention centre" | Who was the home team at Gold Coast Convention Centre? | CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR) |
SELECT pregame_host FROM table_name_51 WHERE year < 1992 AND play_by_play = "bob irving" | Who was the pregame host before 1992 when there was a play by play of Bob Irving? | CREATE TABLE table_name_51 (pregame_host VARCHAR, year VARCHAR, play_by_play VARCHAR) |
SELECT attendance FROM table_name_1 WHERE away_team = "stockport county" | What was the attendance for the game where the away team was Stockport County? | CREATE TABLE table_name_1 (attendance VARCHAR, away_team VARCHAR) |
SELECT MIN(length_feet) FROM table_16226584_1 WHERE km_from_kingston = "105.4" | When the kilometers from kingston is 105.4 what is the minimum amount of length in feet? | CREATE TABLE table_16226584_1 (length_feet INTEGER, km_from_kingston VARCHAR) |
SELECT sanction FROM table_16275828_4 WHERE location = "Lincoln, Illinois" | Who sanctioned the event in lincoln, illinois? | CREATE TABLE table_16275828_4 (sanction VARCHAR, location VARCHAR) |
SELECT COUNT(played) FROM table_14876228_1 WHERE scored = 16 | Name the number of played for 16 | CREATE TABLE table_14876228_1 (played VARCHAR, scored VARCHAR) |
SELECT SUM(delegates) FROM table_name_22 WHERE counties_carries = 4 AND state_delegate > 1 OFFSET 903 | What is the total number of delegate that have 4 counties carries and more than 1,903 state delegates? | CREATE TABLE table_name_22 (delegates INTEGER, counties_carries VARCHAR, state_delegate VARCHAR) |
SELECT set_2 FROM table_name_61 WHERE set_1 = "29–27" | What shows for set 2 when Set 1 is 29–27? | CREATE TABLE table_name_61 (set_2 VARCHAR, set_1 VARCHAR) |
SELECT area__sqmi_ FROM table_13897690_1 WHERE area__km_2__ = 4065 | How big (in sq mi) is the island that's 4065 km2? | CREATE TABLE table_13897690_1 (area__sqmi_ VARCHAR, area__km_2__ VARCHAR) |
SELECT country FROM table_name_32 WHERE stadium = "timsah arena" | Timsah arena is in what country? | CREATE TABLE table_name_32 (country VARCHAR, stadium VARCHAR) |
SELECT AVG(february) FROM table_name_77 WHERE game = 64 | Which February has a Game of 64? | CREATE TABLE table_name_77 (february INTEGER, game VARCHAR) |
SELECT COUNT(roll) FROM table_name_56 WHERE authority = "state" AND area = "hapuku" AND decile > 4 | What is the total number of Rolls of State schools in Hapuku with a Decile greater than 4? | CREATE TABLE table_name_56 (roll VARCHAR, decile VARCHAR, authority VARCHAR, area VARCHAR) |
SELECT nat FROM table_name_92 WHERE ends > 2010 AND since = 2006 AND name = "paligeorgos" | What is Nat., when Ends is greater than 2010, when Since is 2006, and when Name is Paligeorgos? | CREATE TABLE table_name_92 (nat VARCHAR, name VARCHAR, ends VARCHAR, since VARCHAR) |
SELECT college_junior_club_team FROM table_1473672_9 WHERE nhl_team = "California Golden Seals" | what's the college/junior/club team with nhl team being california golden seals | CREATE TABLE table_1473672_9 (college_junior_club_team VARCHAR, nhl_team VARCHAR) |
SELECT MIN(round) FROM table_name_56 WHERE winning_driver = "brendon hartley" AND date = "27 april" | Which Round has the Winning Driver of brendon hartley, and a Date of 27 april? | CREATE TABLE table_name_56 (round INTEGER, winning_driver VARCHAR, date VARCHAR) |
SELECT winning_driver FROM table_1137695_3 WHERE fastest_lap = "Michael Schumacher" AND pole_position = "Michael Schumacher" | Who was the winning driver when Michael Schumacher had the pole and the fastest lap? | CREATE TABLE table_1137695_3 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) |
SELECT track_s_ FROM table_name_86 WHERE date = "18 november 1985" | Which Track(s) is on 18 november 1985? | CREATE TABLE table_name_86 (track_s_ VARCHAR, date VARCHAR) |
SELECT trofeo_fast_team FROM table_12261714_2 WHERE stage = "20" | What's the leader team in the Trofeo Fast Team in stage 20? | CREATE TABLE table_12261714_2 (trofeo_fast_team VARCHAR, stage VARCHAR) |
SELECT afc_cup FROM table_name_17 WHERE name = "masahiro fukasawa" | Which AFC cup does Masahiro Fukasawa have? | CREATE TABLE table_name_17 (afc_cup VARCHAR, name VARCHAR) |
SELECT year_s__won FROM table_name_75 WHERE total > 157 | What years did the player with a total larger than 157 have wins? | CREATE TABLE table_name_75 (year_s__won VARCHAR, total INTEGER) |
SELECT time FROM table_name_87 WHERE competition = "european cup" AND venue = "moscow" | What's the Time for the Competition of european cup and has a Venue of Moscow? | CREATE TABLE table_name_87 (time VARCHAR, competition VARCHAR, venue VARCHAR) |
SELECT pens FROM table_name_17 WHERE draw = "0" AND player = "sione mafi pahulu" | What pens have a draw of 0 when the player is sione mafi pahulu? | CREATE TABLE table_name_17 (pens VARCHAR, draw VARCHAR, player VARCHAR) |
SELECT builder FROM table_name_37 WHERE country = "norway" AND ship = "brage" | Who was the builder of Brage from Norway? | CREATE TABLE table_name_37 (builder VARCHAR, country VARCHAR, ship VARCHAR) |
SELECT winning_team FROM table_name_47 WHERE fastest_lap = "1:13.516" | Which team had the fastest lap of 1:13.516? | CREATE TABLE table_name_47 (winning_team VARCHAR, fastest_lap VARCHAR) |
SELECT AVG(overall) FROM table_name_91 WHERE player = "james davis" | Name the average overall for james davis | CREATE TABLE table_name_91 (overall INTEGER, player VARCHAR) |
SELECT player_name FROM table_10966926_2 WHERE college = "Oklahoma" | Which player went to college in Oklahoma? | CREATE TABLE table_10966926_2 (player_name VARCHAR, college VARCHAR) |
SELECT driver FROM table_name_69 WHERE zan_2 = "5" | What driver has 5 as the zan 2? | CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR) |
SELECT cast FROM table_2570269_2 WHERE episode__number = "2-03" | For episode number 2-03, what are the names of the cast? | CREATE TABLE table_2570269_2 (cast VARCHAR, episode__number VARCHAR) |
SELECT COUNT(result) FROM table_16710829_2 WHERE opponent = "New Orleans Saints" | Name the total number of results for new orleans saints | CREATE TABLE table_16710829_2 (result VARCHAR, opponent VARCHAR) |
SELECT year FROM table_name_4 WHERE position = "2nd" AND notes = "-63kg" AND venue = "manchester" | Which Year has a Position of 2nd, and Notes of -63kg, and a Venue of manchester? | CREATE TABLE table_name_4 (year VARCHAR, venue VARCHAR, position VARCHAR, notes VARCHAR) |
SELECT worst_dancer_s_ FROM table_name_91 WHERE dance = "jive" | What's the worst dance of jive dancer(s)? | CREATE TABLE table_name_91 (worst_dancer_s_ VARCHAR, dance VARCHAR) |
SELECT 2011 FROM table_name_40 WHERE 2012 = "2r" AND 2010 = "2r" AND 2009 = "2r" | Tell me the 2011 with 2012 of 2r | CREATE TABLE table_name_40 (Id VARCHAR) |
SELECT AVG(year) FROM table_name_64 WHERE result < 20.31 AND world_rank = "5th" | What Year has a Result smaller than 20.31, and a World Rank of 5th? | CREATE TABLE table_name_64 (year INTEGER, result VARCHAR, world_rank VARCHAR) |
SELECT grid FROM table_name_88 WHERE points = "24" | What grid has 24 points? | CREATE TABLE table_name_88 (grid VARCHAR, points VARCHAR) |
SELECT total FROM table_name_80 WHERE set_2 = "17-25" | What is the total for set 2 17-25? | CREATE TABLE table_name_80 (total VARCHAR, set_2 VARCHAR) |
SELECT format FROM table_name_51 WHERE catalog = "660-51-015" | What was the format for catalog 660-51-015? | CREATE TABLE table_name_51 (format VARCHAR, catalog VARCHAR) |
SELECT drivers FROM table_name_31 WHERE team = "arciero racing" | Who drove for Arciero Racing? | CREATE TABLE table_name_31 (drivers VARCHAR, team VARCHAR) |
SELECT series FROM table_12284476_8 WHERE reverse = "Swimming" | what's the series with reverse being swimming | CREATE TABLE table_12284476_8 (series VARCHAR, reverse VARCHAR) |
SELECT MIN(episodes) FROM table_2113721_7 | What is the smallest number of episodes in a season? | CREATE TABLE table_2113721_7 (episodes INTEGER) |
SELECT position FROM table_name_88 WHERE jersey_number_s_ = "15" AND years = "1987" | what position did the player play who had a number of 15 who played in 1987? | CREATE TABLE table_name_88 (position VARCHAR, jersey_number_s_ VARCHAR, years VARCHAR) |
SELECT cust_name FROM customer EXCEPT SELECT cust_name FROM customer WHERE acc_type = 'saving' | Find the name of customers who do not have an saving account. | CREATE TABLE customer (cust_name VARCHAR, acc_type VARCHAR) |
SELECT races FROM table_name_93 WHERE position = "4th" AND podiums = "7" | What is the number of races associated with 7 podiums and a position of 4th? | CREATE TABLE table_name_93 (races VARCHAR, position VARCHAR, podiums VARCHAR) |
SELECT MAX(crowd) FROM table_name_52 WHERE away_team = "collingwood" | What was the largest crowd of a game where Collingwood was the away team? | CREATE TABLE table_name_52 (crowd INTEGER, away_team VARCHAR) |
SELECT COUNT(date_of_appointment) FROM table_27666856_3 WHERE date_of_vacancy = "26 May 2011" | Name the date of appointment for 26 may 2011 | CREATE TABLE table_27666856_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) |
SELECT report FROM table_name_21 WHERE location = "tripoli" AND year > 1928 AND driver = "baconin borzacchini" | What is a report for a race with Baconin Borzacchini in Tripoli in a year after 1928? | CREATE TABLE table_name_21 (report VARCHAR, driver VARCHAR, location VARCHAR, year VARCHAR) |
SELECT Episode, Rating FROM TV_series ORDER BY Rating DESC LIMIT 3 | List top 3 highest Rating TV series. List the TV series's Episode and Rating. | CREATE TABLE TV_series (Episode VARCHAR, Rating VARCHAR) |
SELECT city_of_license FROM table_name_54 WHERE call_sign = "k248am" | What city does call sign K248am have its license in? | CREATE TABLE table_name_54 (city_of_license VARCHAR, call_sign VARCHAR) |
SELECT country FROM table_name_3 WHERE player = "tiger woods" | What is the country for the player Tiger Woods? | CREATE TABLE table_name_3 (country VARCHAR, player VARCHAR) |
SELECT player FROM table_name_3 WHERE to_par = "+4" AND year_s__won = "1995" | Which player was +4 to par and won the Open in 1995? | CREATE TABLE table_name_3 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR) |
SELECT score FROM table_name_38 WHERE opponent = "@ edmonton oilers" AND game < 7 AND series = "oilers lead 3–2" | Opponent of @ edmonton oilers, and a Game smaller than 7, and a Series of oilers lead 3–2 had what score? | CREATE TABLE table_name_38 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR) |
SELECT COUNT(high_assists) FROM table_23248869_10 WHERE game = 81 | How many values for high assists when the game is 81? | CREATE TABLE table_23248869_10 (high_assists VARCHAR, game VARCHAR) |
SELECT date FROM table_name_35 WHERE home_team = "north melbourne" | When was the game when North Melbourne was the home team? | CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR) |
SELECT AVG(election) FROM table_name_50 WHERE province = "grosseto" AND established < 1766 | What is the average election result for the province of Grosseto from 1766 and prior? | CREATE TABLE table_name_50 (election INTEGER, province VARCHAR, established VARCHAR) |
SELECT country FROM table_name_24 WHERE total < 291 AND finish = "4" | What country had a total less than 291 and a 4 Finish? | CREATE TABLE table_name_24 (country VARCHAR, total VARCHAR, finish VARCHAR) |
SELECT position FROM table_name_22 WHERE round < 6 AND nationality = "denmark" | What is Position, when Round is less than 6, and when Nationality is "Denmark"? | CREATE TABLE table_name_22 (position VARCHAR, round VARCHAR, nationality VARCHAR) |
SELECT catalogue FROM table_name_60 WHERE writer_s_ = "mark james" | Which Catalogue has a Writer(s) of mark james? | CREATE TABLE table_name_60 (catalogue VARCHAR, writer_s_ VARCHAR) |
SELECT sport FROM table_name_21 WHERE date = "february 25, 2011" | What sport was played on February 25, 2011? | CREATE TABLE table_name_21 (sport VARCHAR, date VARCHAR) |
SELECT MAX(goals) FROM table_name_33 WHERE caps = 39 | What is the highest number of goals associated with 39 caps? | CREATE TABLE table_name_33 (goals INTEGER, caps VARCHAR) |
SELECT team FROM table_28884858_1 WHERE stadium = "Edward Jones Dome" | What is the name of the team when the stadium is listed as Edward Jones Dome? | CREATE TABLE table_28884858_1 (team VARCHAR, stadium VARCHAR) |
SELECT COUNT(game) FROM table_27700375_8 WHERE date = "January 5" | How many games were held on January 5? | CREATE TABLE table_27700375_8 (game VARCHAR, date VARCHAR) |
SELECT club FROM table_27771406_1 WHERE player = "Cyril Christiani" | What club did Cyril Christiani play for? | CREATE TABLE table_27771406_1 (club VARCHAR, player VARCHAR) |
SELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = "gareth farrelly category:articles with hcards" AND league > 1 | What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1? | CREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR) |
SELECT MIN(rank) FROM table_name_95 WHERE silver < 14 AND bronze < 3 AND total = 4 AND nation = "ukraine" | What is the lowest rank of Ukraine with fewer than 14 silver medals, fewer than 3 bronze medals, and a total of 4 medals? | CREATE TABLE table_name_95 (rank INTEGER, nation VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) |
SELECT performer_3 FROM table_name_56 WHERE date = "15 july 1994" | Date of 15 july 1994 involves which performer 3? | CREATE TABLE table_name_56 (performer_3 VARCHAR, date VARCHAR) |
SELECT Open_Date, Open_Year FROM shop WHERE Shop_Name = "Apple" | List the open date of open year of the shop named "Apple". | CREATE TABLE shop (Open_Date VARCHAR, Open_Year VARCHAR, Shop_Name VARCHAR) |
SELECT COUNT(DISTINCT RESULT) FROM battle | How many different results are there for the battles? | CREATE TABLE battle (RESULT VARCHAR) |
SELECT pilot FROM table_name_48 WHERE weapon = "35mm fire" AND date = "4 may 1982" | What is Pilot, when Weapon is "35mm fire", and when Date is "4 May 1982"? | CREATE TABLE table_name_48 (pilot VARCHAR, weapon VARCHAR, date VARCHAR) |
SELECT spanish FROM table_name_83 WHERE english = "garden" | what is the spanish word for garden | CREATE TABLE table_name_83 (spanish VARCHAR, english VARCHAR) |
SELECT date FROM table_name_76 WHERE record = "3-5" | Which Date has a record of 3-5? | CREATE TABLE table_name_76 (date VARCHAR, record VARCHAR) |
SELECT title FROM table_27720737_1 WHERE series__number = 8 | What is the title of the series # 8? | CREATE TABLE table_27720737_1 (title VARCHAR, series__number VARCHAR) |
SELECT incumbent FROM table_name_62 WHERE democratic = "glenn nye" | What is the name of the incumbent for Glenn Nye? | CREATE TABLE table_name_62 (incumbent VARCHAR, democratic VARCHAR) |
SELECT T1.address_line_1 FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id WHERE T2.course_name = "operating system" OR T2.course_name = "data structure" | Find the addresses of the course authors who teach the course with name "operating system" or "data structure". | CREATE TABLE Courses (author_id VARCHAR, course_name VARCHAR); CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR, author_id VARCHAR) |
SELECT COUNT(video_out) FROM table_24384861_1 WHERE version = "SoundDock Portable" | how many video out connections does the sounddock portable have? | CREATE TABLE table_24384861_1 (video_out VARCHAR, version VARCHAR) |
SELECT MIN(clubs_involved) FROM table_19089486_1 WHERE leagues_entering_this_round = "none" AND round = "Semi finals" | Name the least clubs involved for leagues being none for semi finals | CREATE TABLE table_19089486_1 (clubs_involved INTEGER, leagues_entering_this_round VARCHAR, round VARCHAR) |
SELECT COUNT(wins) FROM table_name_27 WHERE byes > 3 | How many wins were there when the byes were more than 3? | CREATE TABLE table_name_27 (wins VARCHAR, byes INTEGER) |
SELECT COUNT(capital) FROM table_1404456_1 WHERE population_census_2009 = 284657 | how many capital with population census 2009 being 284657 | CREATE TABLE table_1404456_1 (capital VARCHAR, population_census_2009 VARCHAR) |
SELECT COUNT(game) FROM table_name_59 WHERE score = "l 90–104 (ot)" | What is the game number when the score was l 90–104 (ot)? | CREATE TABLE table_name_59 (game VARCHAR, score VARCHAR) |
SELECT COUNT(top_10s) FROM table_18198579_6 WHERE scoring_rank = "9" | Name the number of top 10s for scoring rank of 9 | CREATE TABLE table_18198579_6 (top_10s VARCHAR, scoring_rank VARCHAR) |
SELECT COUNT(player) FROM table_2679061_2 WHERE nhl_team = "Winnipeg Jets" | how many times is the nhl team the winnipeg jets? | CREATE TABLE table_2679061_2 (player VARCHAR, nhl_team VARCHAR) |
SELECT opponent FROM table_name_29 WHERE week > 9 AND game_site = "rich stadium" | Who is the opponent after week 9 at rich stadium? | CREATE TABLE table_name_29 (opponent VARCHAR, week VARCHAR, game_site VARCHAR) |
SELECT crew_chief FROM table_name_36 WHERE team = "tristar motorsports" AND driver_s_ = "eric mcclure" | Who is Eric McClure's and Tristar Motorsports' crew chief? | CREATE TABLE table_name_36 (crew_chief VARCHAR, team VARCHAR, driver_s_ VARCHAR) |
SELECT home_team FROM table_name_50 WHERE away_team = "scarborough" | What is the home team with scarborough as the away team? | CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR) |
SELECT language FROM table_name_52 WHERE publisher = "20th century fox" | What language has 20th century fox as the publisher? | CREATE TABLE table_name_52 (language VARCHAR, publisher VARCHAR) |
SELECT MIN(round) FROM table_name_18 WHERE player = "donald mason" AND pick > 114 | What is the earliest round that Donald Mason had a pick larger than 114? | CREATE TABLE table_name_18 (round INTEGER, player VARCHAR, pick VARCHAR) |
SELECT COUNT(writer_s_) FROM table_25800134_3 WHERE season__number = 1 | How many writers were for season #1? | CREATE TABLE table_25800134_3 (writer_s_ VARCHAR, season__number VARCHAR) |
SELECT high_rebounds FROM table_23248869_6 WHERE high_points = "Larry Hughes (21)" | Who did the high rebounds in the game where Larry Hughes (21) did the high ponts? | CREATE TABLE table_23248869_6 (high_rebounds VARCHAR, high_points VARCHAR) |
SELECT opponents_in_final FROM table_name_96 WHERE partner = "jill hetherington" AND year > 1988 | What is Opponents in Final, when Partner is "Jill Hetherington", and when Year is after 1988? | CREATE TABLE table_name_96 (opponents_in_final VARCHAR, partner VARCHAR, year VARCHAR) |
SELECT winner FROM table_name_58 WHERE finalist = "fc grün-weiß wolfen" | Who was the winner of fc grün-weiß wolfen? | CREATE TABLE table_name_58 (winner VARCHAR, finalist VARCHAR) |
SELECT tier FROM table_name_59 WHERE opponent_in_the_final = "david mcnamara" | When David McNamara was the opponent in the final, what was the tier? | CREATE TABLE table_name_59 (tier VARCHAR, opponent_in_the_final VARCHAR) |
SELECT location_name, location_description FROM Ref_locations WHERE location_code = "x" | What are the name and description for location code x? | CREATE TABLE Ref_locations (location_name VARCHAR, location_description VARCHAR, location_code VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.