answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT common_name FROM table_15417439_1 WHERE accession_number = "XP_852505.1" | What kind of animal corresponds to the accession number xp_852505.1? | CREATE TABLE table_15417439_1 (common_name VARCHAR, accession_number VARCHAR) |
SELECT stadium FROM table_name_95 WHERE date = "december 29, 2008" | What stadium was the December 29, 2008 game played at? | CREATE TABLE table_name_95 (stadium VARCHAR, date VARCHAR) |
SELECT median_household_income FROM table_1356555_2 WHERE county = "Butte" | What is the median household income of butte? | CREATE TABLE table_1356555_2 (median_household_income VARCHAR, county VARCHAR) |
SELECT agg FROM table_name_55 WHERE team_1 = "union douala" | What was the aggregate score that had Union Douala as Team 1? | CREATE TABLE table_name_55 (agg VARCHAR, team_1 VARCHAR) |
SELECT place FROM table_name_52 WHERE player = "steve pate" | What is the Place when Steve Pate was the player? | CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR) |
SELECT torque FROM table_24729_2 WHERE co2 = "206g/km" | whe, co2 is 206g/km, what is the torque? | CREATE TABLE table_24729_2 (torque VARCHAR, co2 VARCHAR) |
SELECT attribute FROM table_1507852_1 WHERE type = "DOMNodeRemoved" | What are the attributes when the type is "DOMNodeRemoved"? | CREATE TABLE table_1507852_1 (attribute VARCHAR, type VARCHAR) |
SELECT first_downs FROM table_15607589_2 WHERE points_against = 0 | Name the first downs for points against being 0 | CREATE TABLE table_15607589_2 (first_downs VARCHAR, points_against VARCHAR) |
SELECT COUNT(game) FROM table_name_95 WHERE opponent = "athlone town" | What is the total game number with athlone town as the opponent? | CREATE TABLE table_name_95 (game VARCHAR, opponent VARCHAR) |
SELECT COUNT(captain) FROM table_27631756_2 WHERE shirt_sponsor = "Toshiba" | How many captains when the shirt sponsor is toshiba? | CREATE TABLE table_27631756_2 (captain VARCHAR, shirt_sponsor VARCHAR) |
SELECT COUNT(mens_doubles) FROM table_28138035_33 WHERE womens_singles = "Sun Jin" | How many times has Sun Jin won the women's doubles? | CREATE TABLE table_28138035_33 (mens_doubles VARCHAR, womens_singles VARCHAR) |
SELECT county FROM table_18600760_13 WHERE ansi_code = 1759686 | What county is associated with ansi code 1759686? | CREATE TABLE table_18600760_13 (county VARCHAR, ansi_code VARCHAR) |
SELECT stage FROM table_name_78 WHERE trofeo_fast_team = "carrera jeans-tassoni" AND winner = "mario cipollini" AND points_classification = "claudio chiappucci" | What stage did team Carrera Jeans-Tassoni have when Mario Cipollini won and Claudio Chiappucci had the points? | CREATE TABLE table_name_78 (stage VARCHAR, points_classification VARCHAR, trofeo_fast_team VARCHAR, winner VARCHAR) |
SELECT competition FROM table_name_1 WHERE position = "8th" AND venue = "budapest, hungary" | Which competition in Budapest, Hungary gave a result of 8th? | CREATE TABLE table_name_1 (competition VARCHAR, position VARCHAR, venue VARCHAR) |
SELECT Assistant AS principal__2013_2014_ FROM table_name_97 WHERE principal__2013_2014_ = "kat hughes" | Who were the assistant and main principals of Kat Hughes? | CREATE TABLE table_name_97 (Assistant VARCHAR, principal__2013_2014_ VARCHAR) |
SELECT co_drivers FROM table_name_92 WHERE pos = "dnf" AND year < 2011 AND team = "racing organisation course" | Who were the co-drivers for the Racing Organisation Course team in years before 2011, who had a position of DNF? | CREATE TABLE table_name_92 (co_drivers VARCHAR, team VARCHAR, pos VARCHAR, year VARCHAR) |
SELECT venue FROM table_name_86 WHERE fielding_team = "sri lanka" | In what venue did the fielding team Sri Lanka play? | CREATE TABLE table_name_86 (venue VARCHAR, fielding_team VARCHAR) |
SELECT finish__incl_championship_ FROM table_22383603_1 WHERE start__reg_season_ = "September 25" | When is the finish of the season that started on September 25? | CREATE TABLE table_22383603_1 (finish__incl_championship_ VARCHAR, start__reg_season_ VARCHAR) |
SELECT AVG(total) FROM table_name_38 WHERE gold < 1 AND rank < 5 | Name the average total for gold less than 1 and rank less than 5 | CREATE TABLE table_name_38 (total INTEGER, gold VARCHAR, rank VARCHAR) |
SELECT score FROM table_name_28 WHERE opponent = "devil rays" AND date = "april 24" | What is the score of the Devil Rays on April 24? | CREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, date VARCHAR) |
SELECT score_points FROM table_name_4 WHERE total = "20" | What is the score points when the total is 20? | CREATE TABLE table_name_4 (score_points VARCHAR, total VARCHAR) |
SELECT females___percentage_ FROM table_14598_9 WHERE state_ut_code = 4 | What is the percentage of females where the state code is a 4? | CREATE TABLE table_14598_9 (females___percentage_ VARCHAR, state_ut_code VARCHAR) |
SELECT original_artist FROM table_28715942_5 WHERE vocal_percussionist = "Alexei Kalveks" | What is the original artist when the vocal percussionist is Alexei Kalveks? | CREATE TABLE table_28715942_5 (original_artist VARCHAR, vocal_percussionist VARCHAR) |
SELECT _percentage_yes FROM table_256286_45 WHERE no_votes = 199174 | What was the percentage of yes votes for the measure where the no votes number 199174? | CREATE TABLE table_256286_45 (_percentage_yes VARCHAR, no_votes VARCHAR) |
SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE total_itv_viewers__millions_ = "8.53" | What were the official itv ratings in millions for the episode with a total of 8.53 million itv viewers | CREATE TABLE table_27319183_7 (official_itv_rating__millions_ VARCHAR, total_itv_viewers__millions_ VARCHAR) |
SELECT COUNT(date) FROM table_20466963_4 WHERE guest_4 = "Jim Jeffries (debut)" | How many dates are associated with a guest 4 being Jim Jeffries (debut)? | CREATE TABLE table_20466963_4 (date VARCHAR, guest_4 VARCHAR) |
SELECT nation FROM table_name_50 WHERE name = "chris witty" | What country did Chris Witty represent? | CREATE TABLE table_name_50 (nation VARCHAR, name VARCHAR) |
SELECT name FROM table_name_44 WHERE county = "charleston" AND cerclis_id = "scd980711279" | What is the name for Charleston County with a CERCLIS ID of scd980711279? | CREATE TABLE table_name_44 (name VARCHAR, county VARCHAR, cerclis_id VARCHAR) |
SELECT original_air_date FROM table_name_85 WHERE production_code = "07-00-107" | What is the Original air date for the episode with a Production code of 07-00-107? | CREATE TABLE table_name_85 (original_air_date VARCHAR, production_code VARCHAR) |
SELECT COUNT(track_no) FROM table_28715942_3 WHERE track = "Song 2" | How many track numbers were called song 2? | CREATE TABLE table_28715942_3 (track_no VARCHAR, track VARCHAR) |
SELECT result FROM table_14951643_1 WHERE opponent = "at New England Patriots" | what's the result with opponent being at new england patriots | CREATE TABLE table_14951643_1 (result VARCHAR, opponent VARCHAR) |
SELECT commissioned FROM table_name_12 WHERE launched = "december 30, 1965" | Tell me what was commissioned december 30, 1965 | CREATE TABLE table_name_12 (commissioned VARCHAR, launched VARCHAR) |
SELECT opponents_in_final FROM table_name_48 WHERE score_in_final = "4–6, 1–6" AND surface = "clay" | What is the Opponents in Final in the match with a Score in Final of 4–6, 1–6 played on Clay Surface? | CREATE TABLE table_name_48 (opponents_in_final VARCHAR, score_in_final VARCHAR, surface VARCHAR) |
SELECT original_air_date FROM table_27491610_2 WHERE directed_by = "Alex Zakrzewski" | What was the original air date of the episode that was directed by Alex Zakrzewski? | CREATE TABLE table_27491610_2 (original_air_date VARCHAR, directed_by VARCHAR) |
SELECT record FROM table_name_90 WHERE visitor = "atlanta hawks" | What was the record when the visitor was Atlanta Hawks? | CREATE TABLE table_name_90 (record VARCHAR, visitor VARCHAR) |
SELECT votes FROM table_name_45 WHERE quotient = "97 350,333" | Quotient of 97 350,333 has how many votes? | CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR) |
SELECT plural_word FROM table_name_20 WHERE singular_word = "hand" | The singular word of hand uses what plural word? | CREATE TABLE table_name_20 (plural_word VARCHAR, singular_word VARCHAR) |
SELECT writer_s_ FROM table_10953197_4 WHERE production_code = "2395096" | Who was the writer for the episode with production code 2395096? | CREATE TABLE table_10953197_4 (writer_s_ VARCHAR, production_code VARCHAR) |
SELECT MAX(no_in_series) FROM table_26961951_6 WHERE us_viewers__million_ = "0.56" | Which episode number had a viewership of 0.56 million? | CREATE TABLE table_26961951_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR) |
SELECT round_3 FROM table_name_69 WHERE round_4 = "54" | Round 3 with less than 54 for Round 4? | CREATE TABLE table_name_69 (round_3 VARCHAR, round_4 VARCHAR) |
SELECT COUNT(*) FROM Templates | How many templates do we have? | CREATE TABLE Templates (Id VARCHAR) |
SELECT SUM(runs) FROM table_name_82 WHERE batting_partners = "mahela jayawardene and thilan samaraweera" | How many runs did mahela jayawardene and thilan samaraweera have? | CREATE TABLE table_name_82 (runs INTEGER, batting_partners VARCHAR) |
SELECT date FROM table_name_21 WHERE venue = "arden street oval" | When was there a game at Arden Street Oval? | CREATE TABLE table_name_21 (date VARCHAR, venue VARCHAR) |
SELECT date FROM table_name_12 WHERE opponenent = "poland" AND match_type = "ec -qualifier" | When was the opponent Poland and the match type EC -qualifier? | CREATE TABLE table_name_12 (date VARCHAR, opponenent VARCHAR, match_type VARCHAR) |
SELECT tv_time FROM table_name_89 WHERE opponent = "at cincinnati bengals" | What is TV Time, when Opponent is At Cincinnati Bengals? | CREATE TABLE table_name_89 (tv_time VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_19 WHERE opponent = "naomi cavaday" | When was naomi cavaday the opponent? | CREATE TABLE table_name_19 (date VARCHAR, opponent VARCHAR) |
SELECT fa_cup_goals FROM table_name_75 WHERE euro_competitions = "1" AND league_goals = "11" | What is FA Cup Goals, when Euro Competitions is 1, and when League Goals is 11? | CREATE TABLE table_name_75 (fa_cup_goals VARCHAR, euro_competitions VARCHAR, league_goals VARCHAR) |
SELECT partner FROM table_name_33 WHERE date > 1971 AND outcome = "runner-up" AND score_in_the_final = "3–6, 3–6" | Who is the partner on a date later than 1971 who is the runner-up with a score of 3–6, 3–6? | CREATE TABLE table_name_33 (partner VARCHAR, score_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) |
SELECT race_name FROM table_name_59 WHERE winning_driver = "graham rahal" AND round > 6 AND pole_position = "graham rahal" | What race after round 6 did Graham Rahal win with a pole position of graham rahal? | CREATE TABLE table_name_59 (race_name VARCHAR, pole_position VARCHAR, winning_driver VARCHAR, round VARCHAR) |
SELECT nationality FROM table_name_35 WHERE player = "dick walker" | Which nationality is Dick Walker? | CREATE TABLE table_name_35 (nationality VARCHAR, player VARCHAR) |
SELECT COUNT(tournament) FROM table_11622840_1 WHERE score = "206 (-7)" | How many tournaments recorded a score of 206 (-7)? | CREATE TABLE table_11622840_1 (tournament VARCHAR, score VARCHAR) |
SELECT MAX(stolen_ends_against) FROM table_16684420_2 WHERE country = Japan | What is the maximum number of stolen ends against for Japan? | CREATE TABLE table_16684420_2 (stolen_ends_against INTEGER, country VARCHAR, Japan VARCHAR) |
SELECT COUNT(loses) FROM table_16034882_4 WHERE goals_conceded = 22 | What are the total number of losses for the team who has conceded 22? | CREATE TABLE table_16034882_4 (loses VARCHAR, goals_conceded VARCHAR) |
SELECT MIN(draw) FROM table_name_4 WHERE points < 17 AND lost = 13 | What is the lowest number for draw when the points are less than 17, and the lost is 13? | CREATE TABLE table_name_4 (draw INTEGER, points VARCHAR, lost VARCHAR) |
SELECT origin, COUNT(*) FROM Flight GROUP BY origin | Show all origins and the number of flights from each origin. | CREATE TABLE Flight (origin VARCHAR) |
SELECT opponent FROM table_name_18 WHERE time = "0:38" | Which Opponent has a Time of 0:38? | CREATE TABLE table_name_18 (opponent VARCHAR, time VARCHAR) |
SELECT us_viewers__millions_ FROM table_19501664_1 WHERE directed_by = "Tony Phelan" | Name the viewers for the episode directed by tony phelan | CREATE TABLE table_19501664_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) |
SELECT MAX(rank) FROM table_name_27 WHERE name = "fifth third center" | What is the greatest rank for Fifth third center? | CREATE TABLE table_name_27 (rank INTEGER, name VARCHAR) |
SELECT party FROM table_1342198_18 WHERE incumbent = "Overton Brooks" | What is the party where the incumbent is overton brooks? | CREATE TABLE table_1342198_18 (party VARCHAR, incumbent VARCHAR) |
SELECT title FROM table_11630008_5 WHERE production_code = 311 | What was the title of the episode with the production code 311? | CREATE TABLE table_11630008_5 (title VARCHAR, production_code VARCHAR) |
SELECT original_air_date FROM table_name_35 WHERE directed_by = "lev l. spiro" AND production_code = "07-00-109" | What is the Original air date for the episode directed by lev l. spiro, with a Production code of 07-00-109? | CREATE TABLE table_name_35 (original_air_date VARCHAR, directed_by VARCHAR, production_code VARCHAR) |
SELECT livery FROM table_name_69 WHERE year_built < 1989 AND locomotive_type = "steam" | What livery belongs to the steam Locomotive type builder that was building before 1989? | CREATE TABLE table_name_69 (livery VARCHAR, year_built VARCHAR, locomotive_type VARCHAR) |
SELECT COUNT(leg) FROM table_13050822_2 WHERE stage = "SS17" | What is the number of leg for ss17 | CREATE TABLE table_13050822_2 (leg VARCHAR, stage VARCHAR) |
SELECT barony FROM table_30120619_1 WHERE townland = "Ballintaggart" | What is the barony for the Ballintaggart townland? | CREATE TABLE table_30120619_1 (barony VARCHAR, townland VARCHAR) |
SELECT AVG(T1.height) FROM player AS T1 JOIN player_college AS T2 ON T1.player_id = T2.player_id JOIN college AS T3 ON T3.college_id = T2.college_id WHERE T3.name_full = 'Yale University' | What is the average height of the players from the college named 'Yale University'? | CREATE TABLE player_college (player_id VARCHAR, college_id VARCHAR); CREATE TABLE player (height INTEGER, player_id VARCHAR); CREATE TABLE college (college_id VARCHAR, name_full VARCHAR) |
SELECT method FROM table_name_60 WHERE round = 1 AND time = "1:58" | What is the method of the match with 1 round and a time of 1:58? | CREATE TABLE table_name_60 (method VARCHAR, round VARCHAR, time VARCHAR) |
SELECT eid FROM Employee EXCEPT SELECT eid FROM Certificate | Show ids for all employees who don't have a certificate. | CREATE TABLE Employee (eid VARCHAR); CREATE TABLE Certificate (eid VARCHAR) |
SELECT colourist_s FROM table_name_89 WHERE letterer_s = "albers" AND story_title = "broken glass (part 3)" | Who is the Colourist that has a Story Title of Broken Glass (part 3) and a Letterer of Albers? | CREATE TABLE table_name_89 (colourist_s VARCHAR, letterer_s VARCHAR, story_title VARCHAR) |
SELECT surface FROM table_name_5 WHERE cage_dive = "2" | What surface has 2 as a cage dive? | CREATE TABLE table_name_5 (surface VARCHAR, cage_dive VARCHAR) |
SELECT title FROM table_27397948_2 WHERE no_in_series = 57 | List all titles with a 57 series number. | CREATE TABLE table_27397948_2 (title VARCHAR, no_in_series VARCHAR) |
SELECT circuit FROM table_name_95 WHERE winning_driver = "marcel lehoux" | Name the circuit for marcel lehoux | CREATE TABLE table_name_95 (circuit VARCHAR, winning_driver VARCHAR) |
SELECT bayonet_lug FROM table_12834315_5 WHERE barrel_profile = "M4 HBAR" AND name = "M4LE Carbine" | What is the bayonet lug status for a m4 hbar and m4le carbine equipped? | CREATE TABLE table_12834315_5 (bayonet_lug VARCHAR, barrel_profile VARCHAR, name VARCHAR) |
SELECT date_arrived, date_departed FROM Dogs | What are the arriving date and the departing date of all the dogs? | CREATE TABLE Dogs (date_arrived VARCHAR, date_departed VARCHAR) |
SELECT surface FROM table_name_74 WHERE opponents_in_the_final = "mark edmondson sherwood stewart" AND tournament = "dallas , u.s." | which Surface has Opponents in the final of mark edmondson sherwood stewart, and a Tournament of dallas , u.s.? | CREATE TABLE table_name_74 (surface VARCHAR, opponents_in_the_final VARCHAR, tournament VARCHAR) |
SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "Munu Adhi (2) K. Rajaram" | If the speaker is Munu Adhi (2) K. Rajaram, what is the election year maximum? | CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR) |
SELECT MIN(total_wins) FROM table_1458666_4 | what is the value for minimum total wins | CREATE TABLE table_1458666_4 (total_wins INTEGER) |
SELECT AVG(episode_number) FROM table_name_45 WHERE event_4 = "the wall" AND event_3 = "sumo ball" | What episode had sumo ball for event 3 and the wall for event 4? | CREATE TABLE table_name_45 (episode_number INTEGER, event_4 VARCHAR, event_3 VARCHAR) |
SELECT runner_up FROM table_name_92 WHERE tournament = "são paulo" | What is the name of the runner up in the Tournament of são paulo? | CREATE TABLE table_name_92 (runner_up VARCHAR, tournament VARCHAR) |
SELECT team_name FROM table_22737506_1 WHERE races = "1 (5)" | When 1 (5) is the races what is the team name? | CREATE TABLE table_22737506_1 (team_name VARCHAR, races VARCHAR) |
SELECT date FROM table_name_46 WHERE athlete = "nesta carter" | On what Date of the race was Nesta Carter the Athlete? | CREATE TABLE table_name_46 (date VARCHAR, athlete VARCHAR) |
SELECT shuttle_time__seconds_ FROM table_1751142_2 WHERE speed__km_h_ = "15.5" | What is the shuttle time for the level where the speed is 15.5 km/h? | CREATE TABLE table_1751142_2 (shuttle_time__seconds_ VARCHAR, speed__km_h_ VARCHAR) |
SELECT COUNT(total) FROM table_name_53 WHERE player = "dave stockton" | How many Total has a Player of dave stockton? | CREATE TABLE table_name_53 (total VARCHAR, player VARCHAR) |
SELECT laps FROM table_name_34 WHERE time_retired = "+0.4865" | How many laps have a +0.4865 time/retired? | CREATE TABLE table_name_34 (laps VARCHAR, time_retired VARCHAR) |
SELECT masters FROM table_14937957_1 WHERE martial_art_style = "Hapkido" | Which masters fought in hapkido style? | CREATE TABLE table_14937957_1 (masters VARCHAR, martial_art_style VARCHAR) |
SELECT time FROM table_name_83 WHERE event = "njkf titans neo x" | What was the time of the NJKF Titans Neo X event? | CREATE TABLE table_name_83 (time VARCHAR, event VARCHAR) |
SELECT DISTINCT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE grade = 5 | Find the last names of the teachers that teach fifth grade. | CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (lastname VARCHAR, classroom VARCHAR) |
SELECT interview FROM table_12094300_1 WHERE state = "New York" | What is the score for the interview for the state of New York? | CREATE TABLE table_12094300_1 (interview VARCHAR, state VARCHAR) |
SELECT points_for FROM table_13564637_5 WHERE tries_against = "30" | What were the points for when there were 30 tries against? | CREATE TABLE table_13564637_5 (points_for VARCHAR, tries_against VARCHAR) |
SELECT constructor FROM table_name_72 WHERE winning_driver = "jo siffert" | Which Constructor has the Winning Driver, Jo Siffert? | CREATE TABLE table_name_72 (constructor VARCHAR, winning_driver VARCHAR) |
SELECT location_attendance FROM table_13619105_3 WHERE team = "Minnesota" | Where did they play and how many attended in the game against minnesota? | CREATE TABLE table_13619105_3 (location_attendance VARCHAR, team VARCHAR) |
SELECT brigade FROM table_name_44 WHERE population = "190" | Which brigade has a population of 190? | CREATE TABLE table_name_44 (brigade VARCHAR, population VARCHAR) |
SELECT COUNT(tries_for) FROM table_17675675_2 WHERE lost = "4" | With the given loss of 4, what was the number of tries? | CREATE TABLE table_17675675_2 (tries_for VARCHAR, lost VARCHAR) |
SELECT location FROM table_16864968_7 WHERE game = 62 | Where was game 62 played? | CREATE TABLE table_16864968_7 (location VARCHAR, game VARCHAR) |
SELECT opponent FROM table_21062353_1 WHERE game = 8 | Who were the the opponents of the Wildcats for game 8 of the season? | CREATE TABLE table_21062353_1 (opponent VARCHAR, game VARCHAR) |
SELECT high_points FROM table_name_4 WHERE date = "may 12" | What were the high points on May 12? | CREATE TABLE table_name_4 (high_points VARCHAR, date VARCHAR) |
SELECT nba_draft FROM table_11677760_31 WHERE college = "Kentucky" | Name the numbers of the nba draft where the player went to kentucky | CREATE TABLE table_11677760_31 (nba_draft VARCHAR, college VARCHAR) |
SELECT result FROM table_name_28 WHERE category = "best sound design" | what is the result when the category is best sound design? | CREATE TABLE table_name_28 (result VARCHAR, category VARCHAR) |
SELECT type FROM table_22058547_1 WHERE mascot = "Trappers" | What school classifications have trappers as mascot? | CREATE TABLE table_22058547_1 (type VARCHAR, mascot VARCHAR) |
SELECT AVG(year) FROM table_name_32 WHERE charts = "no. 7" | What year was the No. 7 charts? | CREATE TABLE table_name_32 (year INTEGER, charts VARCHAR) |
SELECT country FROM table_name_2 WHERE class___type = "three masted full rigged ship" | What is Country, when Class / Type is "Three masted full rigged ship"? | CREATE TABLE table_name_2 (country VARCHAR, class___type VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.