answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT location FROM table_22673872_1 WHERE pole_position = "Gordon Johncock" | Which locations did Gordon Johncock hold the pole position? | CREATE TABLE table_22673872_1 (location VARCHAR, pole_position VARCHAR) |
SELECT location_attendance FROM table_name_1 WHERE game > 36 AND team = "atlanta" | What was the location and attendance for the game after game 36 against Atlanta? | CREATE TABLE table_name_1 (location_attendance VARCHAR, game VARCHAR, team VARCHAR) |
SELECT MIN(won) FROM table_17358515_1 WHERE goals_for = 60 | How many games did the team who scored 60 goals win? | CREATE TABLE table_17358515_1 (won INTEGER, goals_for VARCHAR) |
SELECT region FROM table_name_7 WHERE catalog = "38xa-3" | Which region is identified as 38xa-3 in the catalog? | CREATE TABLE table_name_7 (region VARCHAR, catalog VARCHAR) |
SELECT manager FROM table_27409644_1 WHERE club = "Lootos Põlva" | Who is the manager for lootos põlva? | CREATE TABLE table_27409644_1 (manager VARCHAR, club VARCHAR) |
SELECT venue FROM table_name_82 WHERE competition = "pl group b" AND score = "2-2" | Which Venue has a Competition of pl group b, and a Score of 2-2? | CREATE TABLE table_name_82 (venue VARCHAR, competition VARCHAR, score VARCHAR) |
SELECT launched FROM table_24496403_1 WHERE ship = "Carysfort" | When was the Carysfort launched? | CREATE TABLE table_24496403_1 (launched VARCHAR, ship VARCHAR) |
SELECT album FROM table_name_22 WHERE year = 1995 | What is the 1995 Album? | CREATE TABLE table_name_22 (album VARCHAR, year VARCHAR) |
SELECT athlete FROM table_name_55 WHERE score = "236.023" | Which athlete had a score of 236.023? | CREATE TABLE table_name_55 (athlete VARCHAR, score VARCHAR) |
SELECT 1 AS _letter FROM table_name_10 WHERE amino_acid = "asparagine" | what is the 1-letter for the amino acid asparagine? | CREATE TABLE table_name_10 (amino_acid VARCHAR) |
SELECT production_code FROM table_25604014_9 WHERE written_by = "Theresa Rebeck" | Name the production code for theresa rebeck | CREATE TABLE table_25604014_9 (production_code VARCHAR, written_by VARCHAR) |
SELECT SUM(erp_w) FROM table_name_5 WHERE call_sign = "k222al" | What is the sum of the erp w of the k222al call sign? | CREATE TABLE table_name_5 (erp_w INTEGER, call_sign VARCHAR) |
SELECT visa_5 FROM table_name_4 WHERE visa_1 = "emile heskey" | Which Visa 5 has a Visa 1 of emile heskey? | CREATE TABLE table_name_4 (visa_5 VARCHAR, visa_1 VARCHAR) |
SELECT year_built FROM table_name_38 WHERE length = "91'" | Where the length is 91', what is the year built? | CREATE TABLE table_name_38 (year_built VARCHAR, length VARCHAR) |
SELECT average FROM table_17862135_3 WHERE couple = "Cody & Julianne" | What is average for Cody & Julianne? | CREATE TABLE table_17862135_3 (average VARCHAR, couple VARCHAR) |
SELECT state_and_district_of_columbia FROM table_18958648_1 WHERE overweight__incl_obese__adults = "60.0%" | What is every state and District of Columbia with 60.0% overweight or obese adults? | CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR) |
SELECT date FROM table_name_98 WHERE opponent = "chris evert" AND surface = "carpet" | Name the date for chris evert opponent and carpet surface | CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR, surface VARCHAR) |
SELECT chassis FROM table_name_49 WHERE engine = "brm v12" | Name the chassis for engine of brm v12 | CREATE TABLE table_name_49 (chassis VARCHAR, engine VARCHAR) |
SELECT MAX(week) FROM table_name_80 WHERE date = "october 6, 1975" AND attendance > 79 OFFSET 384 | what is the highest week when the date is october 6, 1975 and attendance is higher than 79,384? | CREATE TABLE table_name_80 (week INTEGER, date VARCHAR, attendance VARCHAR) |
SELECT MIN(crowd) FROM table_name_3 WHERE home_team = "fitzroy" | What is Fitzroy's smallest crowd size? | CREATE TABLE table_name_3 (crowd INTEGER, home_team VARCHAR) |
SELECT hot_digital_songs_reaction FROM table_name_89 WHERE hot_100_reaction = "2 (+1)" | What digital reaction has hot 100 reaction of 2 (+1)? | CREATE TABLE table_name_89 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR) |
SELECT streak FROM table_30047613_12 WHERE date = "April 13" | in april 13 what was the streak | CREATE TABLE table_30047613_12 (streak VARCHAR, date VARCHAR) |
SELECT top_goalscorer FROM table_2429942_2 WHERE season = "2010-11" | Who is the top goalscorer for the season 2010-11? | CREATE TABLE table_2429942_2 (top_goalscorer VARCHAR, season VARCHAR) |
SELECT lost FROM table_name_52 WHERE match_points = "84" | Which lost has 84 as the match points? | CREATE TABLE table_name_52 (lost VARCHAR, match_points VARCHAR) |
SELECT theme FROM table_26250145_1 WHERE order__number = "2" | WHat is the them for the order #2? | CREATE TABLE table_26250145_1 (theme VARCHAR, order__number VARCHAR) |
SELECT SUM(lost) FROM table_name_21 WHERE goals_scored < 38 AND points < 10 | What the lost that has less than 10 points and less than 38 goals scored? | CREATE TABLE table_name_21 (lost INTEGER, goals_scored VARCHAR, points VARCHAR) |
SELECT country FROM table_name_70 WHERE player = "scott dunlap" | What is Country, when Player is "Scott Dunlap"? | CREATE TABLE table_name_70 (country VARCHAR, player VARCHAR) |
SELECT COUNT(population__2013_) FROM table_name_74 WHERE largest_city = "nelspruit" | What is Nelspruit's population? | CREATE TABLE table_name_74 (population__2013_ VARCHAR, largest_city VARCHAR) |
SELECT COUNT(nation) FROM table_19312274_3 WHERE name = "FMS International" | How many nations do the FMS international team represent? | CREATE TABLE table_19312274_3 (nation VARCHAR, name VARCHAR) |
SELECT episodes__tv + extra__2 FROM table_name_26 WHERE broadcasts__tv__1 < 13 AND directors = "shigehito takayanagi" | What is Episodes (TV+extra) 2, when Broadcasts (TV) 1 is less than 13, and when Directors is "Shigehito Takayanagi"? | CREATE TABLE table_name_26 (episodes__tv VARCHAR, extra__2 VARCHAR, broadcasts__tv__1 VARCHAR, directors VARCHAR) |
SELECT state FROM table_name_25 WHERE city = "storrs" | Which state includes the city of Storrs? | CREATE TABLE table_name_25 (state VARCHAR, city VARCHAR) |
SELECT player FROM table_name_15 WHERE to_par = "e" AND score = 67 - 73 = 140 | Which player has a to par of e and a score of 67-73=140? | CREATE TABLE table_name_15 (player VARCHAR, to_par VARCHAR, score VARCHAR) |
SELECT MAX(field_goals) FROM table_19722233_5 WHERE assists = 27 | what is the highest number of goals did the player with 27 asists score | CREATE TABLE table_19722233_5 (field_goals INTEGER, assists VARCHAR) |
SELECT successor FROM table_2417330_4 WHERE reason_for_change = "Vacant" AND date_successor_seated = "December 3, 1862" | Name the successor for vacant and december 3, 1862 | CREATE TABLE table_2417330_4 (successor VARCHAR, reason_for_change VARCHAR, date_successor_seated VARCHAR) |
SELECT winner FROM table_22050544_1 WHERE event__number = "15H" | What is the winner in event number 15h? | CREATE TABLE table_22050544_1 (winner VARCHAR, event__number VARCHAR) |
SELECT record FROM table_name_10 WHERE save = "david weathers (15)" | What was the record the day David Weathers (15) had a save? | CREATE TABLE table_name_10 (record VARCHAR, save VARCHAR) |
SELECT state FROM table_name_37 WHERE city = "suwon" | What is the State with Suwon as the city | CREATE TABLE table_name_37 (state VARCHAR, city VARCHAR) |
SELECT Product_Name FROM Products ORDER BY Product_Price DESC LIMIT 1 | What is the name of the product with the highest price? | CREATE TABLE Products (Product_Name VARCHAR, Product_Price VARCHAR) |
SELECT date FROM table_name_76 WHERE away_team = "ipswich town" | What date was Ipswich Town the away team? | CREATE TABLE table_name_76 (date VARCHAR, away_team VARCHAR) |
SELECT AVG(Price), YEAR FROM WINE GROUP BY YEAR | What are the average prices of wines for different years? | CREATE TABLE WINE (YEAR VARCHAR, Price INTEGER) |
SELECT date FROM table_name_70 WHERE score_in_final = "6–3, 6–3" | On what Date was the Score in Final 6–3, 6–3? | CREATE TABLE table_name_70 (date VARCHAR, score_in_final VARCHAR) |
SELECT COUNT(game) FROM table_name_48 WHERE record = "12-4-2" AND november > 22 | What is the total number of games that led to a record of 12-4-2 after November 22? | CREATE TABLE table_name_48 (game VARCHAR, record VARCHAR, november VARCHAR) |
SELECT template_id FROM Documents GROUP BY template_id HAVING COUNT(*) > 1 | Show ids for all templates that are used by more than one document. | CREATE TABLE Documents (template_id VARCHAR) |
SELECT city_of_license FROM table_name_64 WHERE frequency_mhz < 102.3 AND erp_w = 25 | what is the city of license for the station with the frequency mhz less than 102.3 abd erp w of 25? | CREATE TABLE table_name_64 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) |
SELECT team FROM table_name_92 WHERE qual_2 = "58.385" | What team had a qual 2 time of 58.385? | CREATE TABLE table_name_92 (team VARCHAR, qual_2 VARCHAR) |
SELECT language FROM table_name_14 WHERE director = "hans kristensen" | What is the language of the film directed by Hans Kristensen? | CREATE TABLE table_name_14 (language VARCHAR, director VARCHAR) |
SELECT T3.Name, COUNT(*) FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID GROUP BY T3.Name | Show the names of journalists and the number of events they reported. | CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR); CREATE TABLE event (Event_ID VARCHAR) |
SELECT score FROM table_name_29 WHERE date = "12 september 1990" | What is the score of the match on 12 September 1990? | CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR) |
SELECT catalog FROM table_name_13 WHERE format = "cd single" | What is the Catalog number of the CD Single? | CREATE TABLE table_name_13 (catalog VARCHAR, format VARCHAR) |
SELECT replaced_by FROM table_10592536_8 WHERE position_in_table = "Pre-season" | Who replaced when position in table is pre-season? | CREATE TABLE table_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR) |
SELECT year FROM table_name_71 WHERE wins = "0" | What is Year, when Wins is "0"? | CREATE TABLE table_name_71 (year VARCHAR, wins VARCHAR) |
SELECT series__number FROM table_29747178_2 WHERE directed_by = "John Showalter" | What is the series # when the director is john showalter? | CREATE TABLE table_29747178_2 (series__number VARCHAR, directed_by VARCHAR) |
SELECT AVG(fa_cup_apps) FROM table_name_47 WHERE league_goals = 1 AND total_goals < 1 | Which FA Cup apps has league goals of 1 with total goals less than 1? | CREATE TABLE table_name_47 (fa_cup_apps INTEGER, league_goals VARCHAR, total_goals VARCHAR) |
SELECT company FROM table_168274_1 WHERE index_weighting___percentage__at_17_january_2013 = "11.96" | Name the company where index weighting % is 11.96 | CREATE TABLE table_168274_1 (company VARCHAR, index_weighting___percentage__at_17_january_2013 VARCHAR) |
SELECT COUNT(top_10) FROM table_name_35 WHERE wins > 0 AND poles > 0 | How many Top 10s have Wins larger than 0, and Poles larger than 0? | CREATE TABLE table_name_35 (top_10 VARCHAR, wins VARCHAR, poles VARCHAR) |
SELECT COUNT(pick__number) FROM table_name_30 WHERE reg_gp > 906 AND pl_gp > 99 | How many picks had a Reg GP that was over 906, when the Pl GP was bigger than 99? | CREATE TABLE table_name_30 (pick__number VARCHAR, reg_gp VARCHAR, pl_gp VARCHAR) |
SELECT sport FROM table_name_53 WHERE time__sec_ > 49 | Which sport has a time over 49? | CREATE TABLE table_name_53 (sport VARCHAR, time__sec_ INTEGER) |
SELECT COUNT(*) FROM Ref_calendar | How many calendar items do we have? | CREATE TABLE Ref_calendar (Id VARCHAR) |
SELECT college FROM table_name_19 WHERE position = "defensive back" AND school = "ridge community high school" | What is the college for the player that went to ridge community high school and is defensive back? | CREATE TABLE table_name_19 (college VARCHAR, position VARCHAR, school VARCHAR) |
SELECT dept_name FROM course GROUP BY dept_name ORDER BY COUNT(*) DESC LIMIT 3 | Find the names of the top 3 departments that provide the largest amount of courses? | CREATE TABLE course (dept_name VARCHAR) |
SELECT AVG(rank) FROM table_name_82 WHERE earnings__$__ < 224 OFFSET 589 | Which average rank has an Earning amount that is less than $224,589? | CREATE TABLE table_name_82 (rank INTEGER, earnings__$__ INTEGER) |
SELECT brooklyn FROM table_name_53 WHERE richmond_[staten_is] = "2,293" | When Richmond had a total count of 2,293, what was the total count of Brooklyn? | CREATE TABLE table_name_53 (brooklyn VARCHAR, richmond_ VARCHAR, staten_is VARCHAR) |
SELECT player FROM table_name_8 WHERE year > 1885 AND hits = 238 | Name the player with 238 hits and years after 1885 | CREATE TABLE table_name_8 (player VARCHAR, year VARCHAR, hits VARCHAR) |
SELECT COUNT(profit_before_taxation__s) AS $m_ FROM table_161591_2 WHERE operating_profit__s$m_ = "717.1" | How many years was the operating profit (s$m) 717.1? | CREATE TABLE table_161591_2 (profit_before_taxation__s VARCHAR, operating_profit__s$m_ VARCHAR) |
SELECT MIN(scotland) FROM table_10128185_2 | What was the lowest number of votes Scotland cast? | CREATE TABLE table_10128185_2 (scotland INTEGER) |
SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_10 WHERE voice_actor__adv_tv_sentai_ova_dub_ = "kim prause" | Who is the voice actor (harmony gold ova dub) of the character with a voice actor (adv TV/sentai ova dub) Kim Prause? | CREATE TABLE table_name_10 (voice_actor__harmony_gold_ova_dub_ VARCHAR, voice_actor__adv_tv_sentai_ova_dub_ VARCHAR) |
SELECT AVG(pick__number) FROM table_name_87 WHERE position = "linebacker" AND player = "bob bruenig" AND round < 3 | What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3? | CREATE TABLE table_name_87 (pick__number INTEGER, round VARCHAR, position VARCHAR, player VARCHAR) |
SELECT high_assists FROM table_name_21 WHERE game > 21 AND record = "18-6" | Which High assists have a Game larger than 21, and a Record of 18-6? | CREATE TABLE table_name_21 (high_assists VARCHAR, game VARCHAR, record VARCHAR) |
SELECT coach FROM table_name_99 WHERE win__percentage = ".352" | What is Coach, when Win % is .352? | CREATE TABLE table_name_99 (coach VARCHAR, win__percentage VARCHAR) |
SELECT COUNT(team) FROM table_11961582_6 WHERE location_attendance = "Philips Arena 19,335" | Name the number of teams at the philips arena 19,335? | CREATE TABLE table_11961582_6 (team VARCHAR, location_attendance VARCHAR) |
SELECT title FROM table_2226817_7 WHERE production_code = "6.18" | If the production code is 6.18, what was the episode title? | CREATE TABLE table_2226817_7 (title VARCHAR, production_code VARCHAR) |
SELECT set_3 FROM table_name_7 WHERE score = "3–1" AND set_2 = "13–15" | What is the Set 3 with a Score of 3–1, and has a Set 2 of 13–15? | CREATE TABLE table_name_7 (set_3 VARCHAR, score VARCHAR, set_2 VARCHAR) |
SELECT 08 AS _09_i_o_best FROM table_24990183_5 WHERE ws_points = 1386 | What was the 08-09 i/o best of the player with 1386 points? | CREATE TABLE table_24990183_5 (ws_points VARCHAR) |
SELECT MAX(league_cup) FROM table_name_97 WHERE name = "danny collins" AND premier_league > 1 | What is the highest league cup of danny collins, who has more than 1 premier league? | CREATE TABLE table_name_97 (league_cup INTEGER, name VARCHAR, premier_league VARCHAR) |
SELECT to_par_[a_] FROM table_name_6 WHERE year < 1973 AND champion = "charles coody category:articles with hcards" | What was the To Par [a] when Charles Coody Category:Articles with hCards was champion and the year was earlier than 1973? | CREATE TABLE table_name_6 (to_par_ VARCHAR, a_ VARCHAR, year VARCHAR, champion VARCHAR) |
SELECT weight__kg_ FROM table_name_44 WHERE name = "john-michael liles" | What is the weight of John-Michael Liles? | CREATE TABLE table_name_44 (weight__kg_ VARCHAR, name VARCHAR) |
SELECT COUNT(population_per_square_km) FROM table_name_97 WHERE population_112006 = 12.757 | Name the total number of population per square km with population 1.12006 of 12.757 | CREATE TABLE table_name_97 (population_per_square_km VARCHAR, population_112006 VARCHAR) |
SELECT COUNT(party) FROM table_2668243_18 WHERE candidates = "Willis Alston (J) 93.9% George E. Spruill 6.1%" | Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1% | CREATE TABLE table_2668243_18 (party VARCHAR, candidates VARCHAR) |
SELECT AVG(erp_w) FROM table_name_50 WHERE frequency_mhz = 88.7 | Frequency MHz of 88.7 had what average erp w? | CREATE TABLE table_name_50 (erp_w INTEGER, frequency_mhz VARCHAR) |
SELECT date FROM table_name_59 WHERE opponents = "1. fc nuremberg" AND competition = "gc" | What is the date of the GC competition when the opponents are 1. FC Nuremberg? | CREATE TABLE table_name_59 (date VARCHAR, opponents VARCHAR, competition VARCHAR) |
SELECT varsity_name FROM table_27369069_1 WHERE city = "Charlottetown" | What is the team mascot for the soccer team in Charlottetown? | CREATE TABLE table_27369069_1 (varsity_name VARCHAR, city VARCHAR) |
SELECT dance FROM table_name_10 WHERE highest_score < 30 AND best_dancer_s_ = "stacy keibler" | What is the Dance with the Highest score under 30 and Stacy Keibler as the Best dancer(s)? | CREATE TABLE table_name_10 (dance VARCHAR, highest_score VARCHAR, best_dancer_s_ VARCHAR) |
SELECT land_area FROM table_1011906_1 WHERE seat_of_rcm = "Granby" | what's the land area with seat of rcm being granby | CREATE TABLE table_1011906_1 (land_area VARCHAR, seat_of_rcm VARCHAR) |
SELECT COUNT(episode) FROM table_name_53 WHERE segment_d = "goalie masks (part 2)" | How many episodes have a segment d that is goalie masks (part 2)? | CREATE TABLE table_name_53 (episode VARCHAR, segment_d VARCHAR) |
SELECT COUNT(market_value___usd_million_) FROM table_name_10 WHERE industry = "automotive" | What is the market value of the automotive industry? | CREATE TABLE table_name_10 (market_value___usd_million_ VARCHAR, industry VARCHAR) |
SELECT college FROM table_name_60 WHERE team = "chicago stags" | What college has the Chicago Stags? | CREATE TABLE table_name_60 (college VARCHAR, team VARCHAR) |
SELECT MIN(elevation__m_) FROM table_18946749_4 WHERE peak = "Mount Taylor" | What is the lowest elevation(m) for the peak Mount Taylor? | CREATE TABLE table_18946749_4 (elevation__m_ INTEGER, peak VARCHAR) |
SELECT stadium FROM table_name_32 WHERE visiting_team = "tennessee titans" | I want to know the stadium for tennessee titans visiting | CREATE TABLE table_name_32 (stadium VARCHAR, visiting_team VARCHAR) |
SELECT score FROM table_name_40 WHERE record = "1-2" | Which Score has a Record of 1-2? | CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR) |
SELECT chef FROM table_name_21 WHERE restaurant_name = "lakes bar and grill" | Who is the chef at Lakes Bar and Grill? | CREATE TABLE table_name_21 (chef VARCHAR, restaurant_name VARCHAR) |
SELECT year FROM table_name_58 WHERE remark = "#104 us" | What year was remark #104 us? | CREATE TABLE table_name_58 (year VARCHAR, remark VARCHAR) |
SELECT try_bonus FROM table_14070062_4 WHERE points = "48" | how many extra points were there when the score was 48 | CREATE TABLE table_14070062_4 (try_bonus VARCHAR, points VARCHAR) |
SELECT name FROM media_types | List all media types. | CREATE TABLE media_types (name VARCHAR) |
SELECT xdsl FROM table_name_55 WHERE other = "0.6%" AND year = "2010" | What is the xDSL in 2010 when the other was 0.6%? | CREATE TABLE table_name_55 (xdsl VARCHAR, other VARCHAR, year VARCHAR) |
SELECT tournament FROM table_name_64 WHERE surface = "hard" AND opponent = "ruben de kleijn" | What is the tournament with a hard surface and Ruben de Kleijn as the opponent? | CREATE TABLE table_name_64 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR) |
SELECT opponents FROM table_name_84 WHERE surface = "clay" AND partner = "margaret court" AND year = 1975 | Who was Margaret Court's opponent on clay in 1975? | CREATE TABLE table_name_84 (opponents VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR) |
SELECT drawn FROM table_name_51 WHERE points_against = "371" | If points against was 371, what is the drawn? | CREATE TABLE table_name_51 (drawn VARCHAR, points_against VARCHAR) |
SELECT club_team FROM table_11803648_21 WHERE player = "Jarrod Maidens" | What club team did JArrod Maidens play for? | CREATE TABLE table_11803648_21 (club_team VARCHAR, player VARCHAR) |
SELECT date FROM table_name_63 WHERE catalog = "887 195-2" AND format = "cd maxi" | Which Date has a Catalog of 887 195-2, and a Format of cd maxi? | CREATE TABLE table_name_63 (date VARCHAR, catalog VARCHAR, format VARCHAR) |
SELECT MAX(wins) FROM table_name_14 WHERE byes > 2 | For the teams that had more than 2 Byes, what was the highest number of Wins? | CREATE TABLE table_name_14 (wins INTEGER, byes INTEGER) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.