answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT part_4 FROM table_name_37 WHERE class = "5" | what is part 4 when the class is 5? | CREATE TABLE table_name_37 (part_4 VARCHAR, class VARCHAR) |
SELECT results¹ FROM table_name_78 WHERE opponent = "spain" | what are the results of the opponent of spain? | CREATE TABLE table_name_78 (results¹ VARCHAR, opponent VARCHAR) |
SELECT AVG(laps) FROM table_name_89 WHERE time_retired = "+48.325" | What is the average number of laps that were made when the race took a time of +48.325? | CREATE TABLE table_name_89 (laps INTEGER, time_retired VARCHAR) |
SELECT reserved_for___sc___st__none_ FROM table_name_72 WHERE constituency_number = "169" | What was reserved in the district that has 169 constituents? | CREATE TABLE table_name_72 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) |
SELECT league_cup_apps FROM table_name_83 WHERE fa_cup_apps = "5" | Which league cup apps has FA as the cup apps of 5? | CREATE TABLE table_name_83 (league_cup_apps VARCHAR, fa_cup_apps VARCHAR) |
SELECT COUNT(won) FROM table_14070062_4 WHERE points_for = "490" | tell how many wins there was when the score was 490 | CREATE TABLE table_14070062_4 (won VARCHAR, points_for VARCHAR) |
SELECT Name FROM representative WHERE NOT Representative_ID IN (SELECT Representative_ID FROM election) | List the names of representatives that have not participated in elections listed here. | CREATE TABLE election (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR) |
SELECT dominant_religion__2002_ FROM table_2562572_12 WHERE population__2011_ = 4831 | What is the dominate religion in the location with a population of 4831? | CREATE TABLE table_2562572_12 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR) |
SELECT attendance FROM table_name_77 WHERE week < 17 AND record = "bye" | What was the Attendance before Week 17 with a Record of Bye? | CREATE TABLE table_name_77 (attendance VARCHAR, week VARCHAR, record VARCHAR) |
SELECT report FROM table_21191496_1 WHERE country = "Netherlands" | When Netherlands is the country what is the report? | CREATE TABLE table_21191496_1 (report VARCHAR, country VARCHAR) |
SELECT MIN(week) FROM table_name_87 WHERE opponent = "washington redskins" | Name the least week for opponent of washington redskins | CREATE TABLE table_name_87 (week INTEGER, opponent VARCHAR) |
SELECT team FROM table_name_74 WHERE home_city = "velika" | What team has a home city of Velika? | CREATE TABLE table_name_74 (team VARCHAR, home_city VARCHAR) |
SELECT leading_scorer FROM table_name_78 WHERE date = "23 february 2008" | Who was the leading scorer on 23 February 2008? | CREATE TABLE table_name_78 (leading_scorer VARCHAR, date VARCHAR) |
SELECT MAX(blocks) FROM table_22993636_5 WHERE rebounds = 198 | How many blockings occured in the game with 198 rebounds? | CREATE TABLE table_22993636_5 (blocks INTEGER, rebounds VARCHAR) |
SELECT cyrillic_name FROM table_2562572_52 WHERE settlement = "Ašanja" | What is the cyrillic name when the settlement is ašanja? | CREATE TABLE table_2562572_52 (cyrillic_name VARCHAR, settlement VARCHAR) |
SELECT 2011 FROM table_name_2 WHERE tournament = "us open" | what is the 2011 performance for the US open? | CREATE TABLE table_name_2 (tournament VARCHAR) |
SELECT COUNT(against) FROM table_name_12 WHERE draw > 48 | What is the total number of Against, when Draw is greater than 48? | CREATE TABLE table_name_12 (against VARCHAR, draw INTEGER) |
SELECT SUM(swimsuit) FROM table_name_48 WHERE preliminaries < 8.27 | What is the total swimsuit with Preliminaries smaller than 8.27? | CREATE TABLE table_name_48 (swimsuit INTEGER, preliminaries INTEGER) |
SELECT location_attendance FROM table_27882867_9 WHERE high_points = "D. Wilkins (29)" | What was the location and attendance when d. wilkins (29) had the high points? | CREATE TABLE table_27882867_9 (location_attendance VARCHAR, high_points VARCHAR) |
SELECT to_par FROM table_name_74 WHERE year_s__won = "1960" | What was the score to par in 1960? | CREATE TABLE table_name_74 (to_par VARCHAR, year_s__won VARCHAR) |
SELECT director FROM table_26385848_1 WHERE year__ceremony_ = "2009 (82nd)" | In the year (ceremony) 2009 (82nd), who are all the directors? | CREATE TABLE table_26385848_1 (director VARCHAR, year__ceremony_ VARCHAR) |
SELECT democrat FROM table_name_16 WHERE sample_size < 516 AND republican = "ron paul" | Which Democrat was selected in the poll with a sample size smaller than 516 where the Republican chosen was Ron Paul? | CREATE TABLE table_name_16 (democrat VARCHAR, sample_size VARCHAR, republican VARCHAR) |
SELECT opponents_in_final FROM table_name_25 WHERE date = "september 16, 1990" | Which Opponents in Final has a Date of september 16, 1990? | CREATE TABLE table_name_25 (opponents_in_final VARCHAR, date VARCHAR) |
SELECT player FROM table_name_80 WHERE pick = "3" AND position = "defense" AND year < 2010 | What is Player, when Pick is "3", when Position is "Defense", and when Year is less than 2010? | CREATE TABLE table_name_80 (player VARCHAR, year VARCHAR, pick VARCHAR, position VARCHAR) |
SELECT SUM(played) FROM table_name_32 WHERE high_checkout = 135 | What is the played number when the high checkout is 135? | CREATE TABLE table_name_32 (played INTEGER, high_checkout VARCHAR) |
SELECT AVG(january) FROM table_name_72 WHERE opponent = "vancouver canucks" AND game > 39 | What is the average january number when the game number was higher than 39 and the opponent was the Vancouver Canucks? | CREATE TABLE table_name_72 (january INTEGER, opponent VARCHAR, game VARCHAR) |
SELECT away_team FROM table_name_8 WHERE home_team = "hawthorn" | Who did Hawthorn play against at their home match? | CREATE TABLE table_name_8 (away_team VARCHAR, home_team VARCHAR) |
SELECT MAX(f_laps) FROM table_name_53 WHERE wins < 0 | What is the highest f/laps with less than 0 wins? | CREATE TABLE table_name_53 (f_laps INTEGER, wins INTEGER) |
SELECT attendance FROM table_name_39 WHERE week < 16 AND date = "bye" | What is the Attendance for a Week earlier than 16, and a Date of bye? | CREATE TABLE table_name_39 (attendance VARCHAR, week VARCHAR, date VARCHAR) |
SELECT incumbent FROM table_name_85 WHERE result = "re-elected" AND district = "california 3" | What incumbent was re-elected in the district in california 3? | CREATE TABLE table_name_85 (incumbent VARCHAR, result VARCHAR, district VARCHAR) |
SELECT runner_up FROM table_name_51 WHERE total = 5 | What is the runner-up when the total is 5? | CREATE TABLE table_name_51 (runner_up VARCHAR, total VARCHAR) |
SELECT date FROM table_27734577_8 WHERE team = "New Orleans" | What's the date of the new orleans team ? | CREATE TABLE table_27734577_8 (date VARCHAR, team VARCHAR) |
SELECT round FROM table_name_55 WHERE attendance = "12,127" | What round has an attendance of 12,127? | CREATE TABLE table_name_55 (round VARCHAR, attendance VARCHAR) |
SELECT date FROM table_name_99 WHERE name = "zouave" | What is the date for Zouave? | CREATE TABLE table_name_99 (date VARCHAR, name VARCHAR) |
SELECT COUNT(no) FROM table_12962773_1 WHERE current_club = "Panathinaikos" AND position = "Forward" | what's the no with current club being panathinaikos and position being forward | CREATE TABLE table_12962773_1 (no VARCHAR, current_club VARCHAR, position VARCHAR) |
SELECT name FROM table_25826954_7 WHERE nationality = "Norway" | Name the name for norway nationality | CREATE TABLE table_25826954_7 (name VARCHAR, nationality VARCHAR) |
SELECT type FROM table_name_84 WHERE name_of_mill = "molen de stud" | What is the Type of Mill at Molen de Stud? | CREATE TABLE table_name_84 (type VARCHAR, name_of_mill VARCHAR) |
SELECT AVG(overall) FROM table_name_82 WHERE position = "te" AND round > 5 | Which Overall has a Position of te, and a Round larger than 5? | CREATE TABLE table_name_82 (overall INTEGER, position VARCHAR, round VARCHAR) |
SELECT COUNT(year) FROM table_name_64 WHERE championship = "peter jackson classic" | How many years was there a peter jackson classic? | CREATE TABLE table_name_64 (year VARCHAR, championship VARCHAR) |
SELECT weight FROM table_name_53 WHERE denomination = "ten paise" | What is the weight with a denomination that is ten paise? | CREATE TABLE table_name_53 (weight VARCHAR, denomination VARCHAR) |
SELECT qual_1 FROM table_name_41 WHERE team = "conquest racing" | What is the qual 1 for conquest racing? | CREATE TABLE table_name_41 (qual_1 VARCHAR, team VARCHAR) |
SELECT COUNT(prom__m_) FROM table_name_59 WHERE height__m_ < 615 | Tell me the total number of prom for height less than 615 | CREATE TABLE table_name_59 (prom__m_ VARCHAR, height__m_ INTEGER) |
SELECT points_classification FROM table_name_86 WHERE stage = "18b" | Name the points classification for stage of 18b | CREATE TABLE table_name_86 (points_classification VARCHAR, stage VARCHAR) |
SELECT MIN(Winners) AS play_off_legs_won FROM table_24334163_1 | What is the least amount of playoff legs won? | CREATE TABLE table_24334163_1 (Winners INTEGER) |
SELECT ground FROM table_name_22 WHERE score = "62-69" | Where was the game played the ended with a score of 62-69? | CREATE TABLE table_name_22 (ground VARCHAR, score VARCHAR) |
SELECT platelet_count FROM table_20592988_1 WHERE prothrombin_time = "Unaffected" AND partial_thromboplastin_time = "Unaffected" | What are the statuses of the platelet counts for the conditions where the prothrombin time and partial thromboblastin time is unaffected? | CREATE TABLE table_20592988_1 (platelet_count VARCHAR, prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR) |
SELECT location FROM table_name_67 WHERE game > 2 AND time = "2:56" | What location has more than 2 games with 2:56? | CREATE TABLE table_name_67 (location VARCHAR, game VARCHAR, time VARCHAR) |
SELECT award FROM table_name_78 WHERE director_s_ = "candida scott knight" | Name the award for candida scott knight | CREATE TABLE table_name_78 (award VARCHAR, director_s_ VARCHAR) |
SELECT MAX(division_championships) FROM table_1952065_4 WHERE playoff_berths = 11 | What is the highest number of division championships where playoff berths were 11? | CREATE TABLE table_1952065_4 (division_championships INTEGER, playoff_berths VARCHAR) |
SELECT novelty FROM table_name_75 WHERE status = "jr synonym of protosialis casca" | Who has the status of jr synonym of protosialis casca? | CREATE TABLE table_name_75 (novelty VARCHAR, status VARCHAR) |
SELECT MIN(points) FROM table_22824319_3 | Name the least points | CREATE TABLE table_22824319_3 (points INTEGER) |
SELECT drawn FROM table_name_47 WHERE club = "furnace united rfc" | What is the drawn value for furnace united rfc? | CREATE TABLE table_name_47 (drawn VARCHAR, club VARCHAR) |
SELECT venue FROM table_name_7 WHERE notes = "400 m hurdles" AND competition = "european championships" | What venue did the European Championships' 400 m Hurdles take place? | CREATE TABLE table_name_7 (venue VARCHAR, notes VARCHAR, competition VARCHAR) |
SELECT result FROM table_name_60 WHERE competition = "algarve cup" AND date = "2006-03-13" | On 2006-03-13 in the algarve cup, who won? | CREATE TABLE table_name_60 (result VARCHAR, competition VARCHAR, date VARCHAR) |
SELECT country FROM table_name_32 WHERE score = 72 - 67 = 139 | Which country had a score of 72-67=139? | CREATE TABLE table_name_32 (country VARCHAR, score VARCHAR) |
SELECT COUNT(episode) FROM table_name_18 WHERE airdate__canada_ = "22 october 2004" | What is the total number of episodes aired in Canada on 22 October 2004? | CREATE TABLE table_name_18 (episode VARCHAR, airdate__canada_ VARCHAR) |
SELECT COUNT(team) FROM table_27683516_3 WHERE date_of_vacancy = "30 October 2010" | How many dates of vacancy were on 30 october 2010? | CREATE TABLE table_27683516_3 (team VARCHAR, date_of_vacancy VARCHAR) |
SELECT allergytype FROM Allergy_type GROUP BY allergytype ORDER BY COUNT(*) LIMIT 1 | Which allergy type has least number of allergies? | CREATE TABLE Allergy_type (allergytype VARCHAR) |
SELECT tie_no FROM table_name_50 WHERE home_team = "carshalton athletic" | What was the Tie no when the Home team was carshalton athletic? | CREATE TABLE table_name_50 (tie_no VARCHAR, home_team VARCHAR) |
SELECT first_broadcast FROM table_17413485_1 WHERE episode = "1x02" | in what date was aired the first broacast of the episode 1x02 | CREATE TABLE table_17413485_1 (first_broadcast VARCHAR, episode VARCHAR) |
SELECT mens_doubles FROM table_12163387_1 WHERE womens_singles = "Alison Humby" | Who won the mens doubles the year Alison Humby won the womens singles? | CREATE TABLE table_12163387_1 (mens_doubles VARCHAR, womens_singles VARCHAR) |
SELECT constellation FROM table_name_82 WHERE hd_designation = "hd197076" | What is Constellation, when HD Designation is "HD197076"? | CREATE TABLE table_name_82 (constellation VARCHAR, hd_designation VARCHAR) |
SELECT season FROM table_20026849_1 WHERE winner = "Anthony Yeh" | What season was won by Anthony Yeh? | CREATE TABLE table_20026849_1 (season VARCHAR, winner VARCHAR) |
SELECT 1 AS st_round FROM table_name_91 WHERE team_1 = "ecac chaumont (d2)" | What is the 1st round result for ECAC Chaumont (D2) as team 1? | CREATE TABLE table_name_91 (team_1 VARCHAR) |
SELECT 1851 FROM table_name_67 WHERE 1881 = "764" | What's the 1851 when 1881 had 764? | CREATE TABLE table_name_67 (Id VARCHAR) |
SELECT AVG(sp) + fs FROM table_name_14 WHERE name = "denise biellmann" AND rank > 5 | What is the average SP+FS for Denise Biellmann, and a Rank larger than 5? | CREATE TABLE table_name_14 (fs VARCHAR, sp INTEGER, name VARCHAR, rank VARCHAR) |
SELECT channel_tv___dt__ FROM table_11147852_1 WHERE year_of_affiliation = "2002" | What channels have stations that were affiliated in 2002? | CREATE TABLE table_11147852_1 (channel_tv___dt__ VARCHAR, year_of_affiliation VARCHAR) |
SELECT school_club_team FROM table_name_25 WHERE pick < 196 AND round > 5 AND player = "blake miller" | Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller? | CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR) |
SELECT MAX(gold) FROM table_name_87 WHERE total > 9 AND silver > 10 | What is the highest gold number count where a county had over 9 golds and 10 silvers? | CREATE TABLE table_name_87 (gold INTEGER, total VARCHAR, silver VARCHAR) |
SELECT MAX(points) FROM table_14889048_2 WHERE wins = 4 | When a team wins 4, how much is the Maximum amount of points? | CREATE TABLE table_14889048_2 (points INTEGER, wins VARCHAR) |
SELECT home_team FROM table_name_46 WHERE venue = "victoria park" | Which home team plays at victoria park? | CREATE TABLE table_name_46 (home_team VARCHAR, venue VARCHAR) |
SELECT writer FROM table_29039942_1 WHERE episode = 3 | Who was the writer for episode 3? | CREATE TABLE table_29039942_1 (writer VARCHAR, episode VARCHAR) |
SELECT week_2 FROM table_name_91 WHERE week_1 = "mandy ashford" | What kind of Week 2 that has a Week 1 of mandy ashford? | CREATE TABLE table_name_91 (week_2 VARCHAR, week_1 VARCHAR) |
SELECT MIN(overall) FROM table_name_93 WHERE position = "wide receiver" AND round < 2 | What is the lowest Overall for the wide receiver in a round less than 2? | CREATE TABLE table_name_93 (overall INTEGER, position VARCHAR, round VARCHAR) |
SELECT english_name FROM table_180802_2 WHERE abbr = "มิ.ย." | What's the English name of the month abbreviated as มิ.ย.? | CREATE TABLE table_180802_2 (english_name VARCHAR, abbr VARCHAR) |
SELECT MAX(total__kg_) FROM table_name_43 WHERE bodyweight < 136.16 AND clean_ & _jerk > 135 | Which weightlifter, who had a bodyweight of less than 136.16 and a clean and jerk larger than 135, had the highest Total? | CREATE TABLE table_name_43 (total__kg_ INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR) |
SELECT chinese_name FROM table_name_58 WHERE english_name = "andy lau" | What is the Chinese name for the English name Andy Lau? | CREATE TABLE table_name_58 (chinese_name VARCHAR, english_name VARCHAR) |
SELECT MAX(points) FROM table_27539272_7 WHERE score = "1-2" | What are the most points scored in a game where the score was 1-2? | CREATE TABLE table_27539272_7 (points INTEGER, score VARCHAR) |
SELECT college FROM table_name_70 WHERE conf = "swc" AND pos = "wr" | What is the College of the WR Player from SWC Conf? | CREATE TABLE table_name_70 (college VARCHAR, conf VARCHAR, pos VARCHAR) |
SELECT COUNT(player) FROM table_11734041_16 WHERE years_for_rockets = "1998" | what is the total amount of players for the rockets in 1998 only? | CREATE TABLE table_11734041_16 (player VARCHAR, years_for_rockets VARCHAR) |
SELECT cover_model FROM table_name_96 WHERE date = "11-03" | Who was the Cover model on 11-03? | CREATE TABLE table_name_96 (cover_model VARCHAR, date VARCHAR) |
SELECT school FROM table_name_37 WHERE location = "peru" | Which School has a Location of peru? | CREATE TABLE table_name_37 (school VARCHAR, location VARCHAR) |
SELECT date_performed FROM table_18278508_2 WHERE main_contestant = "Jatin Shah" AND co_contestant__yaar_vs_pyaar_ = "Shalini Chandran" | What date did Jatin Shah and Shalini Chandran perform? | CREATE TABLE table_18278508_2 (date_performed VARCHAR, main_contestant VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) |
SELECT town FROM table_14015965_1 WHERE arena__capacity_ = "Volleyball Sportiv Complex (3 500)" | What town is Volleyball Sportiv Complex (3 500) located in? | CREATE TABLE table_14015965_1 (town VARCHAR, arena__capacity_ VARCHAR) |
SELECT AVG(money___) AS $__ FROM table_name_23 WHERE country = "united states" AND place = "t6" | Which money has a Country of united states, and a Place of t6? | CREATE TABLE table_name_23 (money___ INTEGER, country VARCHAR, place VARCHAR) |
SELECT MIN(attendance) FROM table_14945881_1 WHERE date = "September 19, 1976" | Name the attendance for september 19, 1976 | CREATE TABLE table_14945881_1 (attendance INTEGER, date VARCHAR) |
SELECT pct_route_available FROM table_2279413_1 WHERE type_of_protection = "short patent" | For short patent type of protections, what type of PCT route is available? | CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, type_of_protection VARCHAR) |
SELECT T1.name FROM church AS T1 JOIN wedding AS T2 ON T1.church_id = T2.church_id GROUP BY T1.church_id HAVING COUNT(*) >= 2 | Show all church names that have hosted least two weddings. | CREATE TABLE wedding (church_id VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR) |
SELECT nation FROM table_name_24 WHERE sport = "weightlifting" AND pinyin = "kùkè qúndǎo" | What nation has a sport of weightlifting and a pinyin of kùkè qúndǎo? | CREATE TABLE table_name_24 (nation VARCHAR, sport VARCHAR, pinyin VARCHAR) |
SELECT SUM(laps) FROM table_name_20 WHERE grid = 18 | How many laps were completed in grid 18? | CREATE TABLE table_name_20 (laps INTEGER, grid VARCHAR) |
SELECT record FROM table_name_75 WHERE score = "6–2" AND date = "november 24" | What is the Record of the game on November 24 with a Score of 6–2? | CREATE TABLE table_name_75 (record VARCHAR, score VARCHAR, date VARCHAR) |
SELECT tenure FROM table_name_16 WHERE date_of_death = "2001-08-31" | What is the Tenure of the Officer with a Date of death of 2001-08-31? | CREATE TABLE table_name_16 (tenure VARCHAR, date_of_death VARCHAR) |
SELECT competition FROM table_1233026_4 WHERE aggregate = "1–4" | What is the competition when aggregate is 1–4? | CREATE TABLE table_1233026_4 (competition VARCHAR, aggregate VARCHAR) |
SELECT AVG(pole) FROM table_name_26 WHERE race < 16 AND flap > 8 AND podium > 11 | What was the pole for a race lower than 16 with a Flap higher than 8 and a podium higher than 11? | CREATE TABLE table_name_26 (pole INTEGER, podium VARCHAR, race VARCHAR, flap VARCHAR) |
SELECT air_date FROM table_24781886_3 WHERE viewers = "7.08" | When 7.08 is the amount of viewers what is the air date? | CREATE TABLE table_24781886_3 (air_date VARCHAR, viewers VARCHAR) |
SELECT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name ORDER BY T2.rating DESC LIMIT 3 | What are the names and countries of origin for the artists who produced the top three highly rated songs. | CREATE TABLE song (artist_name VARCHAR, rating VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR) |
SELECT original_air_date FROM table_26808178_3 WHERE us_viewers__millions_ = "0.871" | Which original air date had 0.871 U.S. viewers (millions)? | CREATE TABLE table_26808178_3 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT tyre FROM table_name_58 WHERE entrant = "motor racing developments" AND rounds = "3-12" | Motor Racing Developments used which tire in rounds 3-12? | CREATE TABLE table_name_58 (tyre VARCHAR, entrant VARCHAR, rounds VARCHAR) |
SELECT primary_conference FROM table_16383772_1 WHERE school = "St. Bonaventure University" | Name the primary conference for st. bonaventure university | CREATE TABLE table_16383772_1 (primary_conference VARCHAR, school VARCHAR) |
SELECT result FROM table_name_78 WHERE date = "november 6, 1966" | What is the Result of the game on November 6, 1966? | CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.