answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT country FROM table_name_20 WHERE to_par = "e" | Which country has a to par of e? | CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR) |
SELECT award FROM table_name_92 WHERE result = "nominated" AND category = "outstanding choreography" | Which Award has a nominated, and outstanding choreography? | CREATE TABLE table_name_92 (award VARCHAR, result VARCHAR, category VARCHAR) |
SELECT height FROM table_name_40 WHERE year = 1972 | The year 1972 has what written in Height column? | CREATE TABLE table_name_40 (height VARCHAR, year VARCHAR) |
SELECT genre FROM table_name_26 WHERE year_recorded = "1929" | What genre is the song recorded in 1929? | CREATE TABLE table_name_26 (genre VARCHAR, year_recorded VARCHAR) |
SELECT COUNT(rank__pakistan_) FROM table_name_72 WHERE world_rank < 11 AND height__m_ < 8126 | What is the Rank (Pakistan) of the mountain that has a World Rank smaller than 11 and a Height smaller than 8126? | CREATE TABLE table_name_72 (rank__pakistan_ VARCHAR, world_rank VARCHAR, height__m_ VARCHAR) |
SELECT team_classification FROM table_name_8 WHERE mountains_classification = "christophe moreau" AND stage = "final" | In the final Stage with a Mountains Classification of Christophe Moreau, what is the Team Classification? | CREATE TABLE table_name_8 (team_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR) |
SELECT MIN(wsop_bracelets) FROM table_23696862_6 | What is the smallest amount of WSOP bracelets anyone had? | CREATE TABLE table_23696862_6 (wsop_bracelets INTEGER) |
SELECT COUNT(team) FROM table_27666856_3 WHERE position_in_table = "19th" | Name the number of team for 19th position | CREATE TABLE table_27666856_3 (team VARCHAR, position_in_table VARCHAR) |
SELECT jp__210_ FROM table_13663434_1 WHERE title_and_source = "Fun! Fun! Minigolf" | what's the jp -210- with title and source being fun! fun! minigolf | CREATE TABLE table_13663434_1 (jp__210_ VARCHAR, title_and_source VARCHAR) |
SELECT away_team FROM table_name_9 WHERE venue = "corio oval" | What was the away team that played at Corio Oval? | CREATE TABLE table_name_9 (away_team VARCHAR, venue VARCHAR) |
SELECT time FROM table_name_63 WHERE stage = "ss6" | What was the finishing time of Stage SS6? | CREATE TABLE table_name_63 (time VARCHAR, stage VARCHAR) |
SELECT license_plate_code FROM table_name_52 WHERE area__sqmi_ = 784 | What is the license plate code for the country with an area of 784? | CREATE TABLE table_name_52 (license_plate_code VARCHAR, area__sqmi_ VARCHAR) |
SELECT SUM(enrollment) FROM table_name_5 WHERE mascot = "norsemen" | Which Enrollment has a Mascot of norsemen? | CREATE TABLE table_name_5 (enrollment INTEGER, mascot VARCHAR) |
SELECT report FROM table_name_12 WHERE score = "3–1" AND set_1 = "19–25" | What is the Report with a Score of 3–1, and Set 1 is 19–25? | CREATE TABLE table_name_12 (report VARCHAR, score VARCHAR, set_1 VARCHAR) |
SELECT COUNT(touchdowns) FROM table_name_84 WHERE extra_points > 0 AND points = 48 | How many Touchdowns have Extra points larger than 0, and Points of 48? | CREATE TABLE table_name_84 (touchdowns VARCHAR, extra_points VARCHAR, points VARCHAR) |
SELECT per_capita_income FROM table_name_7 WHERE median_family_income = "$72,288" | What is the Per capita income where Median family income is $72,288? | CREATE TABLE table_name_7 (per_capita_income VARCHAR, median_family_income VARCHAR) |
SELECT AVG(gold) FROM table_name_21 WHERE bronze = 1 AND total < 3 | Which Gold has a Bronze of 1, and a Total smaller than 3? | CREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, total VARCHAR) |
SELECT SUM(titles) FROM table_name_47 WHERE city = "győr" AND rank > 4 | What is the number of titles for the city of győr with a rank larger than 4? | CREATE TABLE table_name_47 (titles INTEGER, city VARCHAR, rank VARCHAR) |
SELECT runner_up FROM table_name_62 WHERE name = "pacific life open" AND year = "2006" | Who was runner-up in the 2006 Pacific Life Open? | CREATE TABLE table_name_62 (runner_up VARCHAR, name VARCHAR, year VARCHAR) |
SELECT qual_2 FROM table_name_38 WHERE best = "1:20.772" | What is the time for the second qualification where the best time was 1:20.772? | CREATE TABLE table_name_38 (qual_2 VARCHAR, best VARCHAR) |
SELECT COUNT(dividend_per_share__p_) FROM table_2856898_1 WHERE turnover__£m_ = "0.42" | How many items appear in the dividend per share when the turnover is 0.42? | CREATE TABLE table_2856898_1 (dividend_per_share__p_ VARCHAR, turnover__£m_ VARCHAR) |
SELECT AVG(silver) FROM table_name_6 WHERE gold = 2 AND rank > 1 | what is the amount of silver when gold is 2 and the rank is more than 1? | CREATE TABLE table_name_6 (silver INTEGER, gold VARCHAR, rank VARCHAR) |
SELECT at_vs FROM table_20745754_1 WHERE _number = "7" | What was the game #7, at or versus (home or at)? | CREATE TABLE table_20745754_1 (at_vs VARCHAR, _number VARCHAR) |
SELECT epicenter FROM table_name_88 WHERE date = "january 1, 1965" | What is the epicenter on January 1, 1965? | CREATE TABLE table_name_88 (epicenter VARCHAR, date VARCHAR) |
SELECT name FROM table_name_3 WHERE unit = "vyazniki assemblage" | What is the name of the non mammal of the unit vyazniki assemblage? | CREATE TABLE table_name_3 (name VARCHAR, unit VARCHAR) |
SELECT team FROM table_name_18 WHERE result = "lost" AND interim_head_coach = "dewayne walker" | Which team lost under interim head coach, Dewayne Walker? | CREATE TABLE table_name_18 (team VARCHAR, result VARCHAR, interim_head_coach VARCHAR) |
SELECT tyre FROM table_name_91 WHERE driver = "sergio mantovani" | What tyre had Sergio Mantovani as a driver? | CREATE TABLE table_name_91 (tyre VARCHAR, driver VARCHAR) |
SELECT country FROM table_name_34 WHERE icao = "lemd" | Which country is Lemd the ICAO of? | CREATE TABLE table_name_34 (country VARCHAR, icao VARCHAR) |
SELECT position FROM table_11677100_12 WHERE hometown = "Dallas, TX" | Which position did the player from the hometown of Dallas, TX play? | CREATE TABLE table_11677100_12 (position VARCHAR, hometown VARCHAR) |
SELECT entrant FROM table_name_22 WHERE rank = "25th" | Which entrant has 25th as the rank? | CREATE TABLE table_name_22 (entrant VARCHAR, rank VARCHAR) |
SELECT date FROM table_name_10 WHERE tournament = "the jamaica classic" | When was the Jamaica Classic Tournament? | CREATE TABLE table_name_10 (date VARCHAR, tournament VARCHAR) |
SELECT AVG(pick__number) FROM table_name_40 WHERE round < 7 AND college = "tennessee" | What is the pick number average for the player who was drafted before round 7, and went to college at Tennessee? | CREATE TABLE table_name_40 (pick__number INTEGER, round VARCHAR, college VARCHAR) |
SELECT team FROM table_29398373_2 WHERE head_coach = "Javier Clemente" | Name the team for javier clemente | CREATE TABLE table_29398373_2 (team VARCHAR, head_coach VARCHAR) |
SELECT minister FROM party ORDER BY left_office DESC LIMIT 1 | Return the minister who left office at the latest time. | CREATE TABLE party (minister VARCHAR, left_office VARCHAR) |
SELECT surface FROM table_name_13 WHERE partner = "carlos berlocq" | Name the surface when the partner is carlos berlocq | CREATE TABLE table_name_13 (surface VARCHAR, partner VARCHAR) |
SELECT MIN(silver) FROM table_name_1 WHERE total < 1 | What is the lowest number of silver medals for a nation with fewer than 1 total medals? | CREATE TABLE table_name_1 (silver INTEGER, total INTEGER) |
SELECT pick__number FROM table_name_21 WHERE player = "tom donchez" | What was Tom Donchez pick number? | CREATE TABLE table_name_21 (pick__number VARCHAR, player VARCHAR) |
SELECT state FROM table_name_13 WHERE city = "ruston" | What state is the city of Ruston in? | CREATE TABLE table_name_13 (state VARCHAR, city VARCHAR) |
SELECT country FROM table_name_48 WHERE name = "kanu" | WHAT IS THE COUNTRY WITH NAME OF KANU? | CREATE TABLE table_name_48 (country VARCHAR, name VARCHAR) |
SELECT country FROM table_name_14 WHERE time = "6:14.84" | What country had a Time of 6:14.84? | CREATE TABLE table_name_14 (country VARCHAR, time VARCHAR) |
SELECT MAX(route) FROM table_name_60 WHERE rank < 33 AND elevation = "11,312 feet 3448 m" | On what Route is the mountain with a Rank less than 33 and an Elevation of 11,312 feet 3448 m? | CREATE TABLE table_name_60 (route INTEGER, rank VARCHAR, elevation VARCHAR) |
SELECT MAX(year) FROM table_name_30 WHERE reg_season = "3rd, western" AND division > 2 | Which Year is the highest one that has a Reg Season of 3rd, western, and a Division larger than 2? | CREATE TABLE table_name_30 (year INTEGER, reg_season VARCHAR, division VARCHAR) |
SELECT AVG(total) FROM table_name_36 WHERE to_par = 15 | Can you tell me the average Total that has the To par of 15? | CREATE TABLE table_name_36 (total INTEGER, to_par VARCHAR) |
SELECT MAX(production_code) FROM table_28787871_3 WHERE us_viewers__millions_ = "2.3" | What is the highest production code of the episodes having a US viewership of exactly 2.3? | CREATE TABLE table_28787871_3 (production_code INTEGER, us_viewers__millions_ VARCHAR) |
SELECT winner FROM table_name_88 WHERE year = 2012 AND result = "15–0" | Who won the 2012 game that had a score of 15–0? | CREATE TABLE table_name_88 (winner VARCHAR, year VARCHAR, result VARCHAR) |
SELECT opponent FROM table_name_7 WHERE date = "december 18, 1988" | What is Opponent, when Date is December 18, 1988? | CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR) |
SELECT ground FROM table_name_7 WHERE away = "central blues" | What is the Ground with an Away that is central blues? | CREATE TABLE table_name_7 (ground VARCHAR, away VARCHAR) |
SELECT title FROM table_name_98 WHERE rank > 10 AND director = "walter hill" | WHAT IS THE TITLE THAT HAS A RANK BIGGER THAN 10, FOR DIRECTOR WALTER HILL? | CREATE TABLE table_name_98 (title VARCHAR, rank VARCHAR, director VARCHAR) |
SELECT MAX(total) FROM table_name_40 WHERE gold = 20 AND rank < 1 | What is the highest total number of medals for a team ranked smaller than 1 and had 20 gold medals? | CREATE TABLE table_name_40 (total INTEGER, gold VARCHAR, rank VARCHAR) |
SELECT MAX(wins) FROM table_name_81 WHERE port_fairy_fl = "port fairy" AND against > 2333 | How many wins for Port Fairy and against more than 2333? | CREATE TABLE table_name_81 (wins INTEGER, port_fairy_fl VARCHAR, against VARCHAR) |
SELECT COUNT(london) FROM table_10402018_1 WHERE us_tour = "Babs Rubenstein" | How many characters is by Babs Rubenstein? | CREATE TABLE table_10402018_1 (london VARCHAR, us_tour VARCHAR) |
SELECT city FROM table_name_32 WHERE floors = 35 | In what city does the tallest building have 35 floors? | CREATE TABLE table_name_32 (city VARCHAR, floors VARCHAR) |
SELECT notes FROM table_name_59 WHERE khmer = "២៨" | what notes have the khmer ២៨? | CREATE TABLE table_name_59 (notes VARCHAR, khmer VARCHAR) |
SELECT surface FROM table_name_77 WHERE date = "october 5, 1987" | What is the Surface of the match played on October 5, 1987? | CREATE TABLE table_name_77 (surface VARCHAR, date VARCHAR) |
SELECT place FROM table_name_61 WHERE to_par = "–1" | What is the Place of the Player with a To par of –1? | CREATE TABLE table_name_61 (place VARCHAR, to_par VARCHAR) |
SELECT athlete FROM table_name_96 WHERE place = "grenoble" | What athlete has a Grenoble place? | CREATE TABLE table_name_96 (athlete VARCHAR, place VARCHAR) |
SELECT quarterfinals FROM table_17289604_38 WHERE round_of_32 = "S Williams / V Williams ( USA ) L 6–4, 5–7, 1–6" | What were the quarterfinals in the round of 32 was S williams / V williams ( usa ) l 6–4, 5–7, 1–6? | CREATE TABLE table_17289604_38 (quarterfinals VARCHAR, round_of_32 VARCHAR) |
SELECT first_year_aired FROM table_name_28 WHERE prize = "50,000" | What was the first year that had a prize of 50,000? | CREATE TABLE table_name_28 (first_year_aired VARCHAR, prize VARCHAR) |
SELECT timeslot FROM table_name_43 WHERE finale = "may 20, 2003" | What time did the season finale air on May 20, 2003? | CREATE TABLE table_name_43 (timeslot VARCHAR, finale VARCHAR) |
SELECT title FROM table_28621502_1 WHERE publisher = "GameHouse Live" | Which titles have been published by Gamehouse Live? | CREATE TABLE table_28621502_1 (title VARCHAR, publisher VARCHAR) |
SELECT MAX(uefa_champions_league) FROM table_18254488_2 | What is the highest amount of uefa champion leagues? | CREATE TABLE table_18254488_2 (uefa_champions_league INTEGER) |
SELECT stage FROM table_25580292_13 WHERE winner = "Luis León Sánchez" | What was the stage when the winner was luis león sánchez? | CREATE TABLE table_25580292_13 (stage VARCHAR, winner VARCHAR) |
SELECT team FROM table_name_71 WHERE qual_2 = "58.539" | Which team had a second qualifying time of 58.539? | CREATE TABLE table_name_71 (team VARCHAR, qual_2 VARCHAR) |
SELECT visitor FROM table_name_26 WHERE record = "51–12–4" | Who was the visiting team when the record was 51–12–4? | CREATE TABLE table_name_26 (visitor VARCHAR, record VARCHAR) |
SELECT foochow FROM table_2013618_1 WHERE english_name = "Pingnan County" | Name the foochow for pingnan county | CREATE TABLE table_2013618_1 (foochow VARCHAR, english_name VARCHAR) |
SELECT events FROM table_name_7 WHERE rank = 1 | Which events have a Rank of 1? | CREATE TABLE table_name_7 (events VARCHAR, rank VARCHAR) |
SELECT mascot FROM table_12434380_1 WHERE founded = 1923 AND school_colors = "Blue, Red & White" | What is the mascot for the school founded in 1923 with the school colors of blue, red & white? | CREATE TABLE table_12434380_1 (mascot VARCHAR, founded VARCHAR, school_colors VARCHAR) |
SELECT bout_1 FROM table_19398910_4 WHERE bout_5 = "Andreev ( RUS ) W 5-2" | Which were the bout 1 when the bout 5 was andreev ( rus ) w 5-2? | CREATE TABLE table_19398910_4 (bout_1 VARCHAR, bout_5 VARCHAR) |
SELECT tries_against FROM table_17675675_2 WHERE club = "Swansea Uplands RFC" | For club Swansea Uplands RFC, what is the amount of tries against? | CREATE TABLE table_17675675_2 (tries_against VARCHAR, club VARCHAR) |
SELECT week__number FROM table_21501511_1 WHERE theme = "Disco" | What week was themed disco? | CREATE TABLE table_21501511_1 (week__number VARCHAR, theme VARCHAR) |
SELECT race_3 FROM table_name_4 WHERE round = "round 5" | What Race 3 is Round 5? | CREATE TABLE table_name_4 (race_3 VARCHAR, round VARCHAR) |
SELECT COUNT(round) FROM table_name_66 WHERE college = "virginia tech" AND overall > 306 | In what Round with an Overall greater than 306 was the pick from the College of Virginia Tech? | CREATE TABLE table_name_66 (round VARCHAR, college VARCHAR, overall VARCHAR) |
SELECT COUNT(world_record) FROM table_24062944_2 WHERE kenenisa_bekele___eth__ = "Marílson Gomes dos Santos ( BRA )" | How many times is kenenisa bekele ( eth ) is marílson gomes dos santos ( bra )? | CREATE TABLE table_24062944_2 (world_record VARCHAR, kenenisa_bekele___eth__ VARCHAR) |
SELECT MIN(total_points) FROM table_name_73 WHERE details = "2001 nrl grand final" | For the match that had detail of 2001 nrl grand final, what was the lowest total points? | CREATE TABLE table_name_73 (total_points INTEGER, details VARCHAR) |
SELECT english_name FROM table_1976898_1 WHERE post_code = 246400 | What's the English name of the county with a postcode 246400? | CREATE TABLE table_1976898_1 (english_name VARCHAR, post_code VARCHAR) |
SELECT results¹ FROM table_name_82 WHERE type_of_game = "friendly" AND city = "belgrade" AND date = "november 2" | With the Type is game of friendly and the City Belgrade and November 2 as the Date what were the Results¹? | CREATE TABLE table_name_82 (results¹ VARCHAR, date VARCHAR, type_of_game VARCHAR, city VARCHAR) |
SELECT rank FROM table_name_66 WHERE total > 3 AND silver > 6 | What is the rank of the country with total more than 3 and more than 6 silver? | CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR, silver VARCHAR) |
SELECT unit FROM table_name_74 WHERE type = "submarine" AND origin = "norway" | What is the unit for a submarine type ship from Norway? | CREATE TABLE table_name_74 (unit VARCHAR, type VARCHAR, origin VARCHAR) |
SELECT COUNT(DISTINCT T1.College) FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew" | How many distinct colleges are associated with players from the team with name "Columbus Crew". | CREATE TABLE match_season (College VARCHAR, Team VARCHAR); CREATE TABLE team (Team_id VARCHAR, Name VARCHAR) |
SELECT COUNT(results) FROM table_1805191_34 WHERE incumbent = "Mike McIntyre" | How many times was Mike McIntyre elected? | CREATE TABLE table_1805191_34 (results VARCHAR, incumbent VARCHAR) |
SELECT job_id, hire_date FROM employees WHERE hire_date BETWEEN '2007-11-05' AND '2009-07-05' | Find job id and date of hire for those employees who was hired between November 5th, 2007 and July 5th, 2009. | CREATE TABLE employees (job_id VARCHAR, hire_date INTEGER) |
SELECT location FROM table_name_15 WHERE date = "september 3" | Where was the September 3 game? | CREATE TABLE table_name_15 (location VARCHAR, date VARCHAR) |
SELECT points FROM table_name_86 WHERE points_for = "points for" | when points for was points for what was the points? | CREATE TABLE table_name_86 (points VARCHAR, points_for VARCHAR) |
SELECT sprint_points FROM table_name_27 WHERE total_points = "2" | How many sprint points contribute to 2 total points? | CREATE TABLE table_name_27 (sprint_points VARCHAR, total_points VARCHAR) |
SELECT pictorials FROM table_1566848_6 WHERE interview_subject = "Steve Jobs" | Name the pictorials when the interview subject is steve jobs | CREATE TABLE table_1566848_6 (pictorials VARCHAR, interview_subject VARCHAR) |
SELECT no_in_season FROM table_228973_3 WHERE written_by = "R. Scott Gemmill" AND directed_by = "Ray Austin" | which is the number of the season episode whose writer is R. Scott Gemmill and the Director is Ray Austin? | CREATE TABLE table_228973_3 (no_in_season VARCHAR, written_by VARCHAR, directed_by VARCHAR) |
SELECT COUNT(minutes_played) FROM table_name_55 WHERE points = 18 AND opponent = "chicago bulls" | How many minutes were played when there were 18 points and the opponent was Chicago Bulls? | CREATE TABLE table_name_55 (minutes_played VARCHAR, points VARCHAR, opponent VARCHAR) |
SELECT player FROM table_name_96 WHERE score = 70 | Which player had a score of 70? | CREATE TABLE table_name_96 (player VARCHAR, score VARCHAR) |
SELECT set_1 FROM table_name_22 WHERE set_2 = "17-25" | What is Set 1, when Set 2 is 17-25? | CREATE TABLE table_name_22 (set_1 VARCHAR, set_2 VARCHAR) |
SELECT T2.name, AVG(T1.stars) FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID GROUP BY T2.name | What is the average rating star for each reviewer? | CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Rating (stars INTEGER, rID VARCHAR) |
SELECT mascot FROM table_name_13 WHERE previous_conference = "independent" AND location = "leo" | What is the Mascot for the team from leo that had a Previous Conference value of independent? | CREATE TABLE table_name_13 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR) |
SELECT streak FROM table_30047613_13 WHERE date = "May 9" | How many games had they won or lost in a row on May 9? | CREATE TABLE table_30047613_13 (streak VARCHAR, date VARCHAR) |
SELECT AVG(attendance) FROM table_name_44 WHERE record = "37–21–12" AND points < 86 | What is the Attendance of the game with a Record of 37–21–12 and less than 86 Points? | CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR, points VARCHAR) |
SELECT address FROM shop ORDER BY open_year | Show the shop addresses ordered by their opening year. | CREATE TABLE shop (address VARCHAR, open_year VARCHAR) |
SELECT 2002 FROM table_name_22 WHERE 2011 = "1r" AND 2000 = "1r" | What is the 2002 result where 2011 and 2000 are 1R? | CREATE TABLE table_name_22 (Id VARCHAR) |
SELECT 1 AS st_prize__$__ FROM table_15346009_1 WHERE score = "271 (-9)" | What was the value of 1st prize when the score was 271 (-9)? | CREATE TABLE table_15346009_1 (score VARCHAR) |
SELECT manufacturer FROM table_name_11 WHERE time = "+10.142" | Which manufacturer has a time of +10.142? | CREATE TABLE table_name_11 (manufacturer VARCHAR, time VARCHAR) |
SELECT ε__m_−1_cm_−1__ FROM table_26428602_1 WHERE color = "orange" | What is the ε (m −1 cm −1 ) of the orange flourescent dye? | CREATE TABLE table_26428602_1 (ε__m_−1_cm_−1__ VARCHAR, color VARCHAR) |
SELECT missile_type FROM table_22282917_26 WHERE code_ & _location = "M-20 Harbor Drive" | What is every missile type with a code and location of M-20 Harbor Drive? | CREATE TABLE table_22282917_26 (missile_type VARCHAR, code_ VARCHAR, _location VARCHAR) |
SELECT manufacturer FROM table_name_35 WHERE time_retired = "+15.665" | Which manufacturer has a Time/Retired of +15.665? | CREATE TABLE table_name_35 (manufacturer VARCHAR, time_retired VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.