instruction
stringlengths
5
766
input
stringlengths
38
5.51k
response
stringlengths
4
3.91k
What year was the game that ended with a score of 24-14?
CREATE TABLE table_name_22 ( year INTEGER, result VARCHAR )
SELECT AVG(year) FROM table_name_22 WHERE result = "24-14"
Who was the host that garnered ratings of 9.6/26?
CREATE TABLE table_52444 ( "Year" real, "Network" text, "Lap-by-lap" text, "Color commentator(s)" text, "Pit reporters" text, "Host" text, "Ratings" text, "Viewers" text )
SELECT "Host" FROM table_52444 WHERE "Ratings" = '9.6/26'
Where is the headquarters of Alpha Nu Omega
CREATE TABLE table_10054296_1 ( headquarters VARCHAR, member VARCHAR )
SELECT headquarters FROM table_10054296_1 WHERE member = "Alpha Nu Omega"
How many episodes have the season number of 1?
CREATE TABLE table_21386 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Original air date" text, "Prod. code" real )
SELECT COUNT("Series #") FROM table_21386 WHERE "Season #" = '1'
What is the result when the candidates are alexander smyth (dr) 100%
CREATE TABLE table_2668336_24 ( result VARCHAR, candidates VARCHAR )
SELECT result FROM table_2668336_24 WHERE candidates = "Alexander Smyth (DR) 100%"
What was the score on August 19?
CREATE TABLE table_69354 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Time" text, "Record" text )
SELECT "Score" FROM table_69354 WHERE "Date" = 'august 19'
What is the average number of years associated with 51 games tied and over 1184 total games?
CREATE TABLE table_name_60 ( years INTEGER, tied VARCHAR, total_games VARCHAR )
SELECT AVG(years) FROM table_name_60 WHERE tied = 51 AND total_games > 1184
What's the Issue Date for an Eric Prydz song with a no available Download information?
CREATE TABLE table_70184 ( "Week" real, "Issue Date" text, "Artist" text, "Single" text, "Download" text, "Title" text )
SELECT "Issue Date" FROM table_70184 WHERE "Download" = 'no available' AND "Artist" = 'eric prydz'
What's the least amount of goals for a game that had a tied bigger than 15?
CREATE TABLE table_name_73 ( goals_for INTEGER, tied INTEGER )
SELECT MIN(goals_for) FROM table_name_73 WHERE tied > 15
What year has a not nominated result and a nomination title of 'the color of fame'?
CREATE TABLE table_name_62 ( year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR )
SELECT year__ceremony_ FROM table_name_62 WHERE result = "not nominated" AND film_title_used_in_nomination = "the color of fame"
What was the score when Spennymoor United as the away team?
CREATE TABLE table_name_67 ( score VARCHAR, away_team VARCHAR )
SELECT score FROM table_name_67 WHERE away_team = "spennymoor united"
what is the minimum attendance with record being 4 6
CREATE TABLE table_933 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Attendance" real )
SELECT MIN("Attendance") FROM table_933 WHERE "Record" = '4–6'
What is the class of team liqui moly equipe, which has less than 71 laps?
CREATE TABLE table_48102 ( "Class" text, "Team" text, "Driver" text, "Chassis \u2013 Engine" text, "Laps" real )
SELECT "Class" FROM table_48102 WHERE "Laps" < '71' AND "Team" = 'liqui moly equipe'
List all the name of organizations in order of the date formed.
CREATE TABLE organizations ( organization_name VARCHAR, date_formed VARCHAR )
SELECT organization_name FROM organizations ORDER BY date_formed
what was this team 's next opponent after facing hawthorn on may 22 of this season ?
CREATE TABLE table_204_881 ( id number, "round" number, "date" text, "score" text, "opponent" text, "opponent's score" text, "result" text, "venue" text, "attendance" number, "best on ground" text, "team" text )
SELECT "opponent" FROM table_204_881 WHERE id = (SELECT id FROM table_204_881 WHERE "opponent" = 'hawthorn') + 1
Which Bronze is the lowest one that has a Rank of 3, and a Silver smaller than 2?
CREATE TABLE table_name_7 ( bronze INTEGER, rank VARCHAR, silver VARCHAR )
SELECT MIN(bronze) FROM table_name_7 WHERE rank = "3" AND silver < 2
Who has a 59 cap?
CREATE TABLE table_name_9 ( name VARCHAR, caps VARCHAR )
SELECT name FROM table_name_9 WHERE caps = 59
How many opponents fought on 1982-12-03?
CREATE TABLE table_12206918_2 ( opponent VARCHAR, date VARCHAR )
SELECT COUNT(opponent) FROM table_12206918_2 WHERE date = "1982-12-03"
Which year was the peter jackson classic?
CREATE TABLE table_name_36 ( year VARCHAR, championship VARCHAR )
SELECT year FROM table_name_36 WHERE championship = "peter jackson classic"
Who had the best regular season in the contest won by Arkansas-Pine Bluff?
CREATE TABLE table_22645714_5 ( regular_season_winner VARCHAR, tournament_winner VARCHAR )
SELECT regular_season_winner FROM table_22645714_5 WHERE tournament_winner = "Arkansas-Pine Bluff"
Who was the leader at the summit for the race in 2005?
CREATE TABLE table_name_23 ( leader_at_the_summit VARCHAR, year VARCHAR )
SELECT leader_at_the_summit FROM table_name_23 WHERE year = 2005
Find the name of the department which has the highest average salary of professors.
CREATE TABLE instructor ( dept_name VARCHAR, salary INTEGER )
SELECT dept_name FROM instructor GROUP BY dept_name ORDER BY AVG(salary) DESC LIMIT 1
How many attended tie number 1?
CREATE TABLE table_54593 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" real )
SELECT SUM("Attendance") FROM table_54593 WHERE "Tie no" = '1'
Which lead had a season of 2009-10?
CREATE TABLE table_name_40 ( lead VARCHAR, season VARCHAR )
SELECT lead FROM table_name_40 WHERE season = "2009-10"
What celebrity is famous for being an actor?
CREATE TABLE table_75448 ( "Celebrity" text, "Famous for" text, "Entered" text, "Exited" text, "Finished" text )
SELECT "Celebrity" FROM table_75448 WHERE "Famous for" = 'actor'
Record of 11 12 involved what average attendance figures?
CREATE TABLE table_36526 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT AVG("Attendance") FROM table_36526 WHERE "Record" = '11–12'
Where did Obama get 37.1%?
CREATE TABLE table_20453681_1 ( county VARCHAR, obama_percentage VARCHAR )
SELECT county FROM table_20453681_1 WHERE obama_percentage = "37.1%"
Who was Mountains Classification in the race with Nick Frey as Youth Classification and Tom Zirbel as Points Classification?
CREATE TABLE table_25679 ( "Stage" real, "Winner" text, "General classification" text, "Mountains classification" text, "Points classification" text, "Youth classification" text, "Team Classification" text )
SELECT "Mountains classification" FROM table_25679 WHERE "Youth classification" = 'Nick Frey' AND "Points classification" = 'Tom Zirbel'
What is Christian Malcolm s highest react when his time was below 20.58?
CREATE TABLE table_63559 ( "Rank" real, "Lane" real, "Athlete" text, "Nationality" text, "Time" real, "React" real )
SELECT MAX("React") FROM table_63559 WHERE "Time" < '20.58' AND "Athlete" = 'christian malcolm'
which is david d'or 's oldest album ?
CREATE TABLE table_203_325 ( id number, "year" number, "title" text, "(english)" text, "ifpi israel certification" text, "label" text )
SELECT "title" FROM table_203_325 ORDER BY "year" LIMIT 1
Which team drafted Ron Annear?
CREATE TABLE table_2850912_10 ( nhl_team VARCHAR, player VARCHAR )
SELECT nhl_team FROM table_2850912_10 WHERE player = "Ron Annear"
Which line offers Fast to Norwood Junction?
CREATE TABLE table_1612760_1 ( line VARCHAR, service_pattern VARCHAR )
SELECT line FROM table_1612760_1 WHERE service_pattern = "Fast to Norwood Junction"
How many parties were represented for Charles R. Crisp?
CREATE TABLE table_1342370_10 ( party VARCHAR, incumbent VARCHAR )
SELECT COUNT(party) FROM table_1342370_10 WHERE incumbent = "Charles R. Crisp"
Name the lowest frequency for brand of radio manantial
CREATE TABLE table_68583 ( "Frequency" real, "Callsign" text, "Brand" text, "Format" text, "City of License" text, "Website" text, "Webcast" text )
SELECT MIN("Frequency") FROM table_68583 WHERE "Brand" = 'radio manantial'
What is the 1981 value at the Tournament of Wimbledon?
CREATE TABLE table_55045 ( "Tournament" text, "1980" text, "1981" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text )
SELECT "1981" FROM table_55045 WHERE "Tournament" = 'wimbledon'
What is the location and what was the attendance on those days when the score was 3-5-1?
CREATE TABLE table_27537870_3 ( location_attendance VARCHAR, record VARCHAR )
SELECT location_attendance FROM table_27537870_3 WHERE record = "3-5-1"
What is the value of the item 'Points' when the value of the item 'Points against' is 272?
CREATE TABLE table_75977 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points difference" text, "Tries For" text, "Tries Against" text )
SELECT "Points for" FROM table_75977 WHERE "Points against" = '272'
What is the production code of the episode directed by David Solomon?
CREATE TABLE table_21304155_1 ( production_code VARCHAR, directed_by VARCHAR )
SELECT production_code FROM table_21304155_1 WHERE directed_by = "David Solomon"
what is the difference in years between the first volume published and the 13th volume published ?
CREATE TABLE table_204_843 ( id number, "volume" number, "year" text, "names" text, "articles" number, "pages" number, "images" number, "maps" number, "number of copies" number )
SELECT ABS((SELECT "year" FROM table_204_843 WHERE "volume" = 1) - (SELECT "year" FROM table_204_843 WHERE "volume" = 13))
Draw a bar chart for what are the different ship flags, and how many ships have each?, rank by the X-axis in desc.
CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text )
SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag ORDER BY Flag DESC
What is the result of the game at the Shea Stadium at 12:30pm (ET)?
CREATE TABLE table_name_94 ( result VARCHAR, time___et__ VARCHAR, location VARCHAR )
SELECT result FROM table_name_94 WHERE time___et__ = "12:30pm" AND location = "shea stadium"
How many games did whitehaven win?
CREATE TABLE table_13018091_1 ( won INTEGER, club VARCHAR )
SELECT MIN(won) FROM table_13018091_1 WHERE club = "Whitehaven"
The person who had $126,796 WSOP earnings had how many WSOP cashes?
CREATE TABLE table_26277 ( "Name" text, "Starting chip count" real, "WSOP bracelets" real, "WSOP cashes" real, "WSOP earnings" text, "Final place" text, "Prize" text )
SELECT "WSOP cashes" FROM table_26277 WHERE "WSOP earnings" = '$126,796'
What place result was the 1996 season at Lake Louise, Canada?
CREATE TABLE table_68437 ( "Season" real, "Date" text, "Location" text, "Race" text, "Place" text )
SELECT "Place" FROM table_68437 WHERE "Season" = '1996' AND "Location" = 'lake louise, canada'
What are the losses where the award is Mike Miller (Smoy)?
CREATE TABLE table_name_34 ( losses VARCHAR, awards VARCHAR )
SELECT losses FROM table_name_34 WHERE awards = "mike miller (smoy)"
What was the attendance when the Cincinnati Bengals were the opponents?
CREATE TABLE table_76804 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Attendance" FROM table_76804 WHERE "Opponent" = 'cincinnati bengals'
What is the total number of Mark, when Country is 'Russia', and when React is less than 0.165?
CREATE TABLE table_9646 ( "Lane" real, "Name" text, "Country" text, "Mark" real, "React" real )
SELECT COUNT("Mark") FROM table_9646 WHERE "Country" = 'russia' AND "React" < '0.165'
How many tries against got the club with 62 tries for?
CREATE TABLE table_13564702_4 ( tries_against VARCHAR, tries_for VARCHAR )
SELECT tries_against FROM table_13564702_4 WHERE tries_for = "62"
Give me a bar chart for sum weight of each sex, and rank Y-axis from low to high order.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real )
SELECT Sex, SUM(Weight) FROM people GROUP BY Sex ORDER BY SUM(Weight)
What was the nationality of five-eighth player Darren Lockyer?
CREATE TABLE table_name_96 ( nationality VARCHAR, player VARCHAR, position VARCHAR )
SELECT nationality FROM table_name_96 WHERE player = "darren lockyer" AND position = "five-eighth"
What nations participated in 2007?
CREATE TABLE table_66466 ( "Sport" text, "Body" text, "Year" text, "Event type" text, "Location" text, "Nations" text )
SELECT "Nations" FROM table_66466 WHERE "Year" = '2007'
Name the french title for english title of 'inventor bunnies
CREATE TABLE table_1452 ( "Official #" real, "TF1 #" real, "French title" text, "English title" text, "Air date (France)" text, "Original Beechwood Bunny Tale / Source material" text )
SELECT "French title" FROM table_1452 WHERE "English title" = 'Inventor Bunnies'
What is the latitude of the point with a longitude of 147.1w?
CREATE TABLE table_46138 ( "Name" text, "Latitude" text, "Longitude" text, "Diameter" real, "Year named" real )
SELECT "Latitude" FROM table_46138 WHERE "Longitude" = '147.1w'
Tell me the lowest date for result of win and method of points with notes of opening round
CREATE TABLE table_name_59 ( date INTEGER, notes VARCHAR, result VARCHAR, method VARCHAR )
SELECT MIN(date) FROM table_name_59 WHERE result = "win" AND method = "points" AND notes = "opening round"
What is the sum of Number of fixtures when the rounds shows quarter-finals?
CREATE TABLE table_76049 ( "Round" text, "Main date" text, "Number of fixtures" real, "Clubs" text, "New entries this round" text )
SELECT SUM("Number of fixtures") FROM table_76049 WHERE "Round" = 'quarter-finals'
in what year was the only album on the fontana label ?
CREATE TABLE table_204_394 ( id number, "year" number, "album" text, "label" text, "peak chart\npositions\nus" number, "peak chart\npositions\nus r&b" number )
SELECT "year" FROM table_204_394 WHERE "label" = 'fontana'
Tell me the call sign which has a frequency Mhz more than 90.1 and ERP W of 1
CREATE TABLE table_name_83 ( call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR )
SELECT call_sign FROM table_name_83 WHERE frequency_mhz > 90.1 AND erp_w = 1
Which Run 4 has a Run 3 of 1:26.63?
CREATE TABLE table_77470 ( "Team" text, "Athletes" text, "Run 1" text, "Run 2" text, "Run 3" text, "Run 4" text, "Final" text )
SELECT "Run 4" FROM table_77470 WHERE "Run 3" = '1:26.63'
For those ships that do not have a captain, tell me the total number of their classes using a pie chart, display from low to high by the bars please.
CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text )
SELECT Class, COUNT(Class) FROM Ship WHERE NOT Ship_ID IN (SELECT Ship_ID FROM captain) GROUP BY Class ORDER BY Class
What was the tonnage of the Great Britain ship Batna?
CREATE TABLE table_32996 ( "Date" text, "Ship" text, "Nationality" text, "Tonnage" real, "Fate" text )
SELECT "Tonnage" FROM table_32996 WHERE "Nationality" = 'great britain' AND "Ship" = 'batna'
Who was the opponent with a score of 109 108?
CREATE TABLE table_name_7 ( opponent VARCHAR, score VARCHAR )
SELECT opponent FROM table_name_7 WHERE score = "109–108"
what will the population of Asia be when Latin America/Caribbean is 783 (7.5%)?
CREATE TABLE table_22767 ( "Year" real, "World" real, "Asia" text, "Africa" text, "Europe" text, "Latin America/Caribbean" text, "Northern America" text, "Oceania" text )
SELECT "Asia" FROM table_22767 WHERE "Latin America/Caribbean" = '783 (7.5%)'
Which capital has a Hangul of ?
CREATE TABLE table_75904 ( "RR Romaja" text, "M\u2013R Romaja" text, "Hangul/Chosongul" text, "Hanja" text, "Area" text, "Capital" text, "Region" text, "Country" text )
SELECT "Capital" FROM table_75904 WHERE "Hangul/Chosongul" = '경상남도'
Name the irish points for 23-1 record
CREATE TABLE table_25477 ( "Date" text, "Location" text, "Opponent" text, "Irish Points" real, "Opp. Points" real, "Record" text )
SELECT "Irish Points" FROM table_25477 WHERE "Record" = '23-1'
What is the money list rank for 1966?
CREATE TABLE table_17942 ( "Year" real, "Starts" real, "Wins (Majors)" text, "2nd" real, "3rd" real, "Earnings ($)" real, "Money list rank" text, "Scoring average" text )
SELECT "Money list rank" FROM table_17942 WHERE "Year" = '1966'
What is the lowest number of points of the team with 2 losses and a lower than 1 position?
CREATE TABLE table_name_73 ( points INTEGER, losses VARCHAR, position VARCHAR )
SELECT MIN(points) FROM table_name_73 WHERE losses = 2 AND position > 1
what is the type when the position is ambassador and the location is rabat?
CREATE TABLE table_name_62 ( type VARCHAR, position VARCHAR, location VARCHAR )
SELECT type FROM table_name_62 WHERE position = "ambassador" AND location = "rabat"
What score in the final had a tournament of $25,000 Glasgow, Great Britain?
CREATE TABLE table_56673 ( "Outcome" text, "Tournament" text, "Surface" text, "Partnering" text, "Score in the final" text )
SELECT "Score in the final" FROM table_56673 WHERE "Tournament" = '$25,000 glasgow, great britain'
Find products with max page size as 'A4' and pages per minute color smaller than 5.
CREATE TABLE product ( product VARCHAR, max_page_size VARCHAR, pages_per_minute_color VARCHAR )
SELECT product FROM product WHERE max_page_size = "A4" AND pages_per_minute_color < 5
Find All_Road and All_Games_Percent , and visualize them by a bar chart, display bar in asc order please.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT All_Road, All_Games_Percent FROM basketball_match ORDER BY All_Road
which township in pope county , arkansas has the smallest population ?
CREATE TABLE table_203_510 ( id number, "township" text, "fips" number, "population\ncenter" text, "population" number, "population\ndensity\n(/mi2)" number, "population\ndensity\n(/km2)" number, "land area\n(mi2)" number, "land area\n(km2)" number, "water area\n(mi2)" number, "water area\n(km2)" number, "geographic coordinates" text )
SELECT "township" FROM table_203_510 ORDER BY "population" LIMIT 1
What is the series number for the episode written by Kristen Dunphy and David Ogilvy?
CREATE TABLE table_23057 ( "Series #" real, "Episode #" real, "Title" text, "Written by" text, "Directed by" text, "Viewers" real, "Original airdate" text )
SELECT MAX("Series #") FROM table_23057 WHERE "Written by" = 'Kristen Dunphy and David Ogilvy'
The Home team of Sydney had which ground?
CREATE TABLE table_name_1 ( ground VARCHAR, home_team VARCHAR )
SELECT ground FROM table_name_1 WHERE home_team = "sydney"
Which team plays home at Princes Park?
CREATE TABLE table_74799 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_74799 WHERE "Venue" = 'princes park'
When was the station WLS-TV owned since?
CREATE TABLE table_2597 ( "Market Rank & City of license /Market" text, "Station" text, "Channel TV / DT" text, "Owned since" real, "Affiliation" text )
SELECT "Owned since" FROM table_2597 WHERE "Station" = 'WLS-TV'
in week 3 the winning couple in guest bedroom 2 was kyal and kara but the chumps were
CREATE TABLE table_204_269 ( id number, "week" number, "room" text, "winning couple" text, "2nd couple" text, "3rd couple" text, "chumps" text )
SELECT "chumps" FROM table_204_269 WHERE "week" = 3 AND "room" = 'guest bedroom 2'
How long did the game go that was played with the Houston Oilers at home?
CREATE TABLE table_35596 ( "Length of game" text, "Date" text, "Away team" text, "Score" text, "Home team" text )
SELECT "Length of game" FROM table_35596 WHERE "Home team" = 'houston oilers'
Who built the 21 grid car that retired due to suspension?
CREATE TABLE table_name_80 ( constructor VARCHAR, grid VARCHAR, time_retired VARCHAR )
SELECT constructor FROM table_name_80 WHERE grid > 21 AND time_retired = "suspension"
What is the San Javier municipality percentage if the Cuatro Ca adas municipality percentage is 202?
CREATE TABLE table_19998428_3 ( san_javier_municipality___percentage_ VARCHAR, cuatro_cañadas_municipality___percentage_ VARCHAR )
SELECT san_javier_municipality___percentage_ FROM table_19998428_3 WHERE cuatro_cañadas_municipality___percentage_ = "202"
What is the Birth of the lady that has a Became Duchess on 18 august 1593 husband's accession?
CREATE TABLE table_name_52 ( birth VARCHAR, became_duchess VARCHAR )
SELECT birth FROM table_name_52 WHERE became_duchess = "18 august 1593 husband's accession"
which nationality is top on the chart
CREATE TABLE table_204_866 ( id number, "name" text, "lifetime" text, "nationality" text, "notable as" text, "notes" text )
SELECT "nationality" FROM table_204_866 WHERE id = 1
How many people scored the most points during the game on December 10?
CREATE TABLE table_27756014_6 ( high_points VARCHAR, date VARCHAR )
SELECT COUNT(high_points) FROM table_27756014_6 WHERE date = "December 10"
Draw a scatter chart about the correlation between Height and Weight .
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real )
SELECT Height, Weight FROM people
On what date was the result 106-105?
CREATE TABLE table_5050 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text )
SELECT "Date" FROM table_5050 WHERE "Result" = '106-105'
Show the pilot positions that have both pilots joining after year 2005 and pilots joining before 2000.
CREATE TABLE pilot_record ( record_id number, pilot_id number, aircraft_id number, date text ) CREATE TABLE pilot ( pilot_id number, pilot_name text, rank number, age number, nationality text, position text, join_year number, team text ) CREATE TABLE aircraft ( aircraft_id number, order_year number, manufacturer text, model text, fleet_series text, powertrain text, fuel_propulsion text )
SELECT position FROM pilot WHERE join_year < 2000 INTERSECT SELECT position FROM pilot WHERE join_year > 2005
What is the gross capacity of the unit that started commercial operation on August 28, 1987?
CREATE TABLE table_53324 ( "Unit" text, "Reactor Type" text, "Net Capacity" text, "Gross Capacity" text, "Construction Start" text, "Grid Connection" text, "Commercial Operation" text, "Status" text )
SELECT "Gross Capacity" FROM table_53324 WHERE "Commercial Operation" = 'august 28, 1987'
Who is every driver for the location of Estoril Circuit?
CREATE TABLE table_25942 ( "SF Round" real, "Country" text, "Location" text, "Date" text, "Driver" text, "Race 1(pts)" real, "Race 2(pts)" real, "Race Total(pts)" real )
SELECT "Driver" FROM table_25942 WHERE "Location" = 'Estoril Circuit'
Who is the best player in the 1998 season?
CREATE TABLE table_2527617_1 ( best_player VARCHAR, season VARCHAR )
SELECT best_player FROM table_2527617_1 WHERE season = 1998
What is the NBA draft result of the player from Washington, DC?
CREATE TABLE table_54586 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text )
SELECT "NBA Draft" FROM table_54586 WHERE "Hometown" = 'washington, dc'
What notes did the creature comforts film have?
CREATE TABLE table_35179 ( "Year" real, "Title" text, "Director" text, "Writer" text, "Notes" text )
SELECT "Notes" FROM table_35179 WHERE "Title" = 'creature comforts'
Name the total numbe rof years for gaby weissen mireille kosmala
CREATE TABLE table_6543 ( "Year" real, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text )
SELECT COUNT("Year") FROM table_6543 WHERE "Women's doubles" = 'gaby weissen mireille kosmala'
Name the least season
CREATE TABLE table_2223177_3 ( season INTEGER )
SELECT MIN(season) FROM table_2223177_3
Name the number of proto austronesian for *natu
CREATE TABLE table_20154 ( "Kinship" text, "Proto-Austronesian" text, "Proto-Malayo-Polynesian" text, "Proto-Oceanic" text, "Proto-Polynesian" text )
SELECT COUNT("Proto-Austronesian") FROM table_20154 WHERE "Proto-Oceanic" = '*natu'
What is Population in Millions, when GDP 2012 Millions of Euro is 600,638?
CREATE TABLE table_name_73 ( population_in_millions VARCHAR, gdp_2012_millions_of_euro VARCHAR )
SELECT population_in_millions FROM table_name_73 WHERE gdp_2012_millions_of_euro = "600,638"
What is Place, when Score is '71-71-69-71=282'?
CREATE TABLE table_48002 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" real )
SELECT "Place" FROM table_48002 WHERE "Score" = '71-71-69-71=282'
Which drives drove a lexus, made all rounds, had a tyre of B and was on the team of petronas toyota team tom's?
CREATE TABLE table_48884 ( "Team" text, "Make" text, "Drivers" text, "Tyre" text, "Rounds" text )
SELECT "Drivers" FROM table_48884 WHERE "Rounds" = 'all' AND "Make" = 'lexus' AND "Tyre" = 'b' AND "Team" = 'petronas toyota team tom''s'
What was the result of the playoffs when the regular season was 7th, southeast
CREATE TABLE table_17474 ( "Year" real, "Division" text, "League" text, "Regular Season" text, "Playoffs" text, "Open Cup" text )
SELECT "Playoffs" FROM table_17474 WHERE "Regular Season" = '7th, Southeast'
How many wins when the average start is 29.0?
CREATE TABLE table_24648 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text )
SELECT COUNT("Wins") FROM table_24648 WHERE "Avg. Start" = '29.0'
Which Date has a Result of 2 2, and a Venue of H?
CREATE TABLE table_46145 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real )
SELECT "Date" FROM table_46145 WHERE "Result" = '2–2' AND "Venue" = 'h'
What was the religious affiliation for the athletics nicknamed lords/ladies?
CREATE TABLE table_76313 ( "University" text, "Location" text, "Enrollment" real, "Founded" real, "Religious affiliation" text, "Athletics nickname" text, "School colors" text )
SELECT "Religious affiliation" FROM table_76313 WHERE "Athletics nickname" = 'lords/ladies'