instruction
stringlengths
5
766
input
stringlengths
38
5.51k
response
stringlengths
4
3.91k
What town holds Stadion Zlatica?
CREATE TABLE table_28668784_1 ( city___town VARCHAR, stadium VARCHAR )
SELECT city___town FROM table_28668784_1 WHERE stadium = "Stadion Zlatica"
What is the lowest goal difference a club with 61 goals against and less than 11 draws has?
CREATE TABLE table_name_94 ( goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR )
SELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11
Draw a bar chart of investor versus the total number, and could you list bars from high to low order?
CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text ) CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text )
SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor ORDER BY Investor DESC
On what date is Jerilyn Britz the runner-up?
CREATE TABLE table_45790 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Date" FROM table_45790 WHERE "Runner(s)-up" = 'jerilyn britz'
what name is listed after spider ?
CREATE TABLE table_204_476 ( id number, "name" text, "date built" number, "builder" text, "works no." number, "wheels" text, "cylinders" text, "notes" text, "withdrawn" number )
SELECT "name" FROM table_204_476 WHERE id = (SELECT id FROM table_204_476 WHERE "name" = 'spider') + 1
What club did united states player ty harden play for?
CREATE TABLE table_name_55 ( club VARCHAR, nationality VARCHAR, player VARCHAR )
SELECT club FROM table_name_55 WHERE nationality = "united states" AND player = "ty harden"
Which round was Tom Morris picked in?
CREATE TABLE table_78540 ( "Round" real, "Pick" text, "Player" text, "Position" text, "School" text )
SELECT COUNT("Round") FROM table_78540 WHERE "Player" = 'tom morris'
What was the attendance at the game that resulted in w 24-20?
CREATE TABLE table_18026 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" text )
SELECT "Attendance" FROM table_18026 WHERE "Result" = 'W 24-20'
How many counties have a population of 2266?
CREATE TABLE table_25348 ( "County" text, "Population" real, "Unemployment Rate" text, "Market Income Per Capita" text, "Poverty Rate" text, "Status" text )
SELECT COUNT("County") FROM table_25348 WHERE "Population" = '2266'
who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge?
CREATE TABLE table_54042 ( "Driver" text, "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text )
SELECT "Constructor" FROM table_54042 WHERE "Tyre" = 'd' AND "Engine" = 'talbot 23cv 4.5 l6' AND "Chassis" = 'talbot-lago t26c' AND "Entrant" = 'ecurie belge'
What was the 110H that the 1500m was 692 and the final was more than 7906?
CREATE TABLE table_77037 ( "Athlete" text, "Event" text, "100 m" real, "400 m" real, "110H" real, "1500 m" text, "Final" real )
SELECT COUNT("110H") FROM table_77037 WHERE "1500 m" = '692' AND "Final" > '7906'
What is the average points value for a rank less than 12 for David Santee?
CREATE TABLE table_56976 ( "Rank" real, "Name" text, "Nation" text, "SP+FS" real, "Points" real, "Placings" real )
SELECT AVG("Points") FROM table_56976 WHERE "Rank" < '12' AND "Name" = 'david santee'
Which station has the frequency of 107.3?
CREATE TABLE table_22828 ( "DMA" real, "Market" text, "Station" text, "Frequency" text, "Branding" text, "Format" text )
SELECT "Station" FROM table_22828 WHERE "Frequency" = '107.3'
What was the away score at VFL Park?
CREATE TABLE table_name_78 ( away_team VARCHAR, venue VARCHAR )
SELECT away_team AS score FROM table_name_78 WHERE venue = "vfl park"
what is november 3 when june 10-11 is june 10, 1964?
CREATE TABLE table_25355392_2 ( november_3 VARCHAR, june_10_11 VARCHAR )
SELECT november_3 FROM table_25355392_2 WHERE june_10_11 = "June 10, 1964"
What was the venue where the result was 12th?
CREATE TABLE table_54517 ( "Year" real, "Tournament" text, "Venue" text, "Result" text, "Event" text )
SELECT "Venue" FROM table_54517 WHERE "Result" = '12th'
What is the try bonus for ynysybwl rfc?
CREATE TABLE table_name_12 ( try_bonus VARCHAR, club VARCHAR )
SELECT try_bonus FROM table_name_12 WHERE club = "ynysybwl rfc"
With a Tally of 0-14, what is the Rank in Kilkenny County?
CREATE TABLE table_69894 ( "Rank" real, "Player" text, "County" text, "Tally" text, "Total" real, "Opposition" text )
SELECT COUNT("Rank") FROM table_69894 WHERE "County" = 'kilkenny' AND "Tally" = '0-14'
what is the venue on 21 june 1987?
CREATE TABLE table_50528 ( "Year" text, "Winner" text, "Runner-up" text, "Score" text, "Venue" text )
SELECT "Venue" FROM table_50528 WHERE "Year" = '21 june 1987'
who are all the winning constructors where fastest lap is riccardo patrese and location is interlagos
CREATE TABLE table_16662 ( "Round" real, "Grand Prix" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Constructor" text, "Report" text )
SELECT "Winning Constructor" FROM table_16662 WHERE "Fastest Lap" = 'Riccardo Patrese' AND "Location" = 'Interlagos'
Who was the opponent with the time 3:59?
CREATE TABLE table_66747 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Time" text, "Att." real, "Record" text )
SELECT "Opponent" FROM table_66747 WHERE "Time" = '3:59'
How many votes did Northern Ireland cast if the total was 35?
CREATE TABLE table_10128185_2 ( northern_ireland VARCHAR, total VARCHAR )
SELECT northern_ireland FROM table_10128185_2 WHERE total = 35
What is the Status of the dinosaur, whose notes are, 'n coelurosauria'?
CREATE TABLE table_75802 ( "Name" text, "Novelty" text, "Status" text, "Authors" text, "Location" text, "Notes" text )
SELECT "Status" FROM table_75802 WHERE "Notes" = 'n coelurosauria'
What is the date they played against fitzroy?
CREATE TABLE table_name_10 ( date VARCHAR, away_team VARCHAR )
SELECT date FROM table_name_10 WHERE away_team = "fitzroy"
What's the Cardinalatial Title has the Elevated of December 18, 1182, the Place of birth of Lucca, and the Electo rof Pandolfo?
CREATE TABLE table_name_40 ( cardinalatial_title VARCHAR, elector VARCHAR, elevated VARCHAR, place_of_birth VARCHAR )
SELECT cardinalatial_title FROM table_name_40 WHERE elevated = "december 18, 1182" AND place_of_birth = "lucca" AND elector = "pandolfo"
What's the average attendance of the league with a total attendance of 2268508?
CREATE TABLE table_78457 ( "League" text, "Sport" text, "Season" text, "Total attendance" text, "Average attendance" real )
SELECT "Average attendance" FROM table_78457 WHERE "Total attendance" = '2268508'
What country is the Jiufotang Formation located in?
CREATE TABLE table_name_59 ( location VARCHAR, unit VARCHAR )
SELECT location FROM table_name_59 WHERE unit = "jiufotang formation"
Who is everyone on the men's doubles when men's singles is Ma Wenge?
CREATE TABLE table_28211988_1 ( mens_doubles VARCHAR, mens_singles VARCHAR )
SELECT mens_doubles FROM table_28211988_1 WHERE mens_singles = "Ma Wenge"
Can you draw the trend of the average of capacity over the openning year?, and show by the X in ascending.
CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text )
SELECT Openning_year, AVG(Capacity) FROM cinema ORDER BY Openning_year
What To par has a Place of t2, and a Country of united states?
CREATE TABLE table_61672 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "To par" FROM table_61672 WHERE "Place" = 't2' AND "Country" = 'united states'
What's the CSA/CMA Population in IA-IL?
CREATE TABLE table_name_89 ( csa_cma_2009_population INTEGER, state__province VARCHAR )
SELECT MAX(csa_cma_2009_population) FROM table_name_89 WHERE state__province = "ia-il"
List the codes of all courses that take place in room KLR209.
CREATE TABLE CLASS ( class_code VARCHAR, class_room VARCHAR )
SELECT class_code FROM CLASS WHERE class_room = 'KLR209'
Return a pie chart about the proportion of All_Games and ACC_Percent.
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 ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT All_Games, ACC_Percent FROM basketball_match
what is the tie number that has Portsmouth Home team
CREATE TABLE table_name_52 ( tie_no VARCHAR, home_team VARCHAR )
SELECT tie_no FROM table_name_52 WHERE home_team = "portsmouth"
how long was the m1894 rifle 's barrel ?
CREATE TABLE table_204_343 ( id number, "nation" text, "model" text, "length" text, "barrel length" text, "weight" text )
SELECT "barrel length" FROM table_204_343 WHERE "model" = 'm1894 rifle'
what is the total number of silver medals won by russia , norway , and sweden combined ?
CREATE TABLE table_204_761 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT SUM("silver") FROM table_204_761 WHERE "nation" IN ('russia', 'norway', 'sweden')
Display a bar chart for the names and the ages of editors, list by the bar from low to high.
CREATE TABLE journal ( Journal_ID int, Date text, Theme text, Sales int ) CREATE TABLE editor ( Editor_ID int, Name text, Age real ) CREATE TABLE journal_committee ( Editor_ID int, Journal_ID int, Work_Type text )
SELECT Name, Age FROM editor ORDER BY Name
When the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank?
CREATE TABLE table_63273 ( "Rank" real, "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text )
SELECT MIN("Rank") FROM table_63273 WHERE "Nationality" = 'united states' AND "Time" = '58.06' AND "Heat" > '5'
What is the time of songs that have the writer Aaron Schroeder and Wally Gold?
CREATE TABLE table_80294 ( "Track" real, "Recorded" text, "Catalogue" text, "Release Date" text, "Chart Peak" text, "Song Title" text, "Writer(s)" text, "Time" text )
SELECT "Time" FROM table_80294 WHERE "Writer(s)" = 'aaron schroeder and wally gold'
What percentage of people polled aligned with the Liberal party according to the August 2008 poll that reported 36% aligning with New Democratic party?
CREATE TABLE table_14045 ( "Polling firm" text, "Dates" text, "Prog. Cons." text, "New Democratic" text, "Liberal" text )
SELECT "Liberal" FROM table_14045 WHERE "New Democratic" = '36%' AND "Dates" = 'august 2008'
What is High Assists, when High Points is 'Tayshaun Prince (23)'?
CREATE TABLE table_name_64 ( high_assists VARCHAR, high_points VARCHAR )
SELECT high_assists FROM table_name_64 WHERE high_points = "tayshaun prince (23)"
When the attendance was 3188 what was the score?
CREATE TABLE table_50435 ( "Date" text, "Home" text, "Score" text, "Away" text, "Attendance" real )
SELECT "Score" FROM table_50435 WHERE "Attendance" = '3188'
What team has theoir home games in the venue of gold coast convention centre?
CREATE TABLE table_name_11 ( home_team VARCHAR, venue VARCHAR )
SELECT home_team FROM table_name_11 WHERE venue = "gold coast convention centre"
Which event resulted in loss with an Opponent of maurice smith?
CREATE TABLE table_name_52 ( event VARCHAR, res VARCHAR, opponent VARCHAR )
SELECT event FROM table_name_52 WHERE res = "loss" AND opponent = "maurice smith"
Name the incumbent for lost renomination republican hold
CREATE TABLE table_73140 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Incumbent" FROM table_73140 WHERE "Result" = 'Lost renomination Republican hold'
How many drivers have 1942 points?
CREATE TABLE table_25750 ( "Position" real, "Driver" text, "Points" real, "Starts" real, "Wins" real, "Top 5s" real, "Top 10s" real, "Winnings ($)" real )
SELECT COUNT("Driver") FROM table_25750 WHERE "Points" = '1942'
Which city has a club called the Huntsville Stars?
CREATE TABLE table_name_96 ( city VARCHAR, club VARCHAR )
SELECT city FROM table_name_96 WHERE club = "huntsville stars"
Which celebrity who was famous for being the ex busted member and TV presenter exited on day 19?
CREATE TABLE table_6581 ( "Celebrity" text, "Famous for" text, "Entered" text, "Exited" text, "Finished" text )
SELECT "Celebrity" FROM table_6581 WHERE "Exited" = 'day 19' AND "Famous for" = 'ex busted member and tv presenter'
Which Date has a Tie no of 11?
CREATE TABLE table_7962 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Date" FROM table_7962 WHERE "Tie no" = '11'
Who is the winner when the st kilda score is 13.10.88?
CREATE TABLE table_28211103_1 ( winner VARCHAR, st_kilda_score VARCHAR )
SELECT winner FROM table_28211103_1 WHERE st_kilda_score = "13.10.88"
What was the score on May 3?
CREATE TABLE table_name_35 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_35 WHERE date = "may 3"
what are all the date for gt3 winner oliver bryant matt harris
CREATE TABLE table_13079788_3 ( date VARCHAR, gt3_winner VARCHAR )
SELECT date FROM table_13079788_3 WHERE gt3_winner = "Oliver Bryant Matt Harris"
What was the election date for Arthur Hodges?
CREATE TABLE table_1329532_2 ( date_of_election VARCHAR, elected_successor VARCHAR )
SELECT date_of_election FROM table_1329532_2 WHERE elected_successor = "Arthur Hodges"
Give me a pie chart to show the proportion of event details of events that have more than one participant.
CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) ) CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15) )
SELECT Event_Details, COUNT(Event_Details) FROM Events AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY Event_Details
What is the title of the episode directed by Romeo Tirone?
CREATE TABLE table_3680 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (million)" text )
SELECT "Title" FROM table_3680 WHERE "Directed by" = 'Romeo Tirone'
Where is the lacrosse school located?
CREATE TABLE table_66609 ( "School" text, "Location" text, "Mascot" text, "Enrollment" real, "IHSAA Class" text, "County" text )
SELECT "Location" FROM table_66609 WHERE "School" = 'lacrosse'
How many marriages between women have % same-sex marriages of 1.06?
CREATE TABLE table_23098 ( "Year" text, "Marriages between men" real, "Marriages between women" real, "Same-sex marriages" real, "Total marriages" real, "% same-sex marriages" text )
SELECT "Marriages between women" FROM table_23098 WHERE "% same-sex marriages" = '1.06'
Name the number of regular season for 2007
CREATE TABLE table_2361788_1 ( regular_season VARCHAR, year VARCHAR )
SELECT COUNT(regular_season) FROM table_2361788_1 WHERE year = 2007
How many event dates occurred when event details were women's sabre?
CREATE TABLE table_30209 ( "Event Date" text, "Event Day" text, "Approx. Duration" text, "Starting Time" text, "Event Details" text )
SELECT COUNT("Event Date") FROM table_30209 WHERE "Event Details" = 'Women''s Sabre'
How much money did gaming alerts ask for?
CREATE TABLE table_68431 ( "Episode" text, "First aired" text, "Entrepreneur(s)" text, "Company or product name" text, "Money requested (\u00a3)" real, "Investing Dragon(s)" text )
SELECT COUNT("Money requested (\u00a3)") FROM table_68431 WHERE "Company or product name" = 'gaming alerts'
What is the lowest area of the region with a population less than 22,955,395 in Bangladesh with a density less than 1034?
CREATE TABLE table_68903 ( "Rank" real, "Country/Region" text, "Population" real, "Area (km 2 )" real, "Density (Pop. per km 2 )" real )
SELECT MIN("Area (km 2 )") FROM table_68903 WHERE "Population" < '22,955,395' AND "Country/Region" = 'bangladesh' AND "Density (Pop. per km 2 )" < '1034'
Goals that has a Position of 14th of 24, and a League of football conference has what sum?
CREATE TABLE table_15161 ( "Year" text, "League" text, "Position" text, "Leading Scorer" text, "Goals" real )
SELECT SUM("Goals") FROM table_15161 WHERE "Position" = '14th of 24' AND "League" = 'football conference'
How many distinct hometowns did these people have?
CREATE TABLE people ( people_id number, name text, age number, height number, hometown text ) CREATE TABLE gymnast ( gymnast_id number, floor_exercise_points number, pommel_horse_points number, rings_points number, vault_points number, parallel_bars_points number, horizontal_bar_points number, total_points number )
SELECT COUNT(DISTINCT hometown) FROM people
What province in Tumbes has less than 11 districts and a UBIGEO of 2401?
CREATE TABLE table_48661 ( "Province" text, "Region" text, "Capital" text, "Districts" real, "UBIGEO" real )
SELECT "Province" FROM table_48661 WHERE "Districts" < '11' AND "Region" = 'tumbes' AND "UBIGEO" = '2401'
How many GDPs as of 2012 after PPP values are associated with a 2012 value of 23113?
CREATE TABLE table_31526 ( "Economy" text, "1980" real, "Gap from Thailand as of 1980 (times)" text, "1985" real, "1990" real, "1995" real, "2000" real, "2005" real, "2010" real, "2012" real, "Gap from Thailand as of 2012 (times)" text, "GDP as of 2012 after purchasing power parity (PPP) calculations (USD billions)" text, "GDP per capita as of 2012 (PPP)" real )
SELECT COUNT("GDP as of 2012 after purchasing power parity (PPP) calculations (USD billions)") FROM table_31526 WHERE "2012" = '23113'
What 2006 has 0-0 as the 2011?
CREATE TABLE table_name_29 ( Id VARCHAR )
SELECT 2006 FROM table_name_29 WHERE 2011 = "0-0"
Name the least number in series
CREATE TABLE table_23412 ( "No. overall" text, "No. in series" real, "Family/families" text, "Location(s)" text, "Original air date" text )
SELECT MIN("No. in series") FROM table_23412
What was their record on Wed. Dec. 5, when they played in Boston Garden?
CREATE TABLE table_name_11 ( record VARCHAR, location VARCHAR, date VARCHAR )
SELECT record FROM table_name_11 WHERE location = "boston garden" AND date = "wed. dec. 5"
Daniela Ryf who competes in the women's even had what swim (1.5km)?
CREATE TABLE table_name_6 ( swim__15km_ VARCHAR, event VARCHAR, athlete VARCHAR )
SELECT swim__15km_ FROM table_name_6 WHERE event = "women's" AND athlete = "daniela ryf"
Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu?
CREATE TABLE table_name_51 ( opponent VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR )
SELECT opponent FROM table_name_51 WHERE surface = "hardcourt" AND outcome = "runner-up" AND tournament = "honolulu"
What is the lowest Nick production number?
CREATE TABLE table_2655016_4 ( nick_prod__number INTEGER )
SELECT MIN(nick_prod__number) FROM table_2655016_4
Name the realization for phoneme of /i/ and example of /id a/
CREATE TABLE table_name_5 ( realization VARCHAR, phoneme VARCHAR, example VARCHAR )
SELECT realization FROM table_name_5 WHERE phoneme = "/i/" AND example = "/idːa/"
which constituency is listed on top ?
CREATE TABLE table_203_627 ( id number, "no." number, "constituency" text, "created" number, "seats" number, "change" number )
SELECT "constituency" FROM table_203_627 WHERE id = 1
What title was released in 1971?
CREATE TABLE table_name_54 ( title VARCHAR, year VARCHAR )
SELECT title FROM table_name_54 WHERE year = 1971
What is the first round when team 1 was toulouse fc (d1)?
CREATE TABLE table_name_44 ( team_1 VARCHAR )
SELECT 1 AS st_round FROM table_name_44 WHERE team_1 = "toulouse fc (d1)"
When cannot handle non-empty timestamp argument! 2007 is released what is the no.?
CREATE TABLE table_22353 ( "No." real, "Album" text, "Artist" text, "Record label" text, "Released" text, "Chart peak" real, "Number of times certified platinum" text )
SELECT "No." FROM table_22353 WHERE "Released" = 'Cannot handle non-empty timestamp argument! 2007'
In early 1873, Owen sound had what works number?
CREATE TABLE table_41506 ( "Number" real, "Name" text, "Builder" text, "Type" text, "Date" text, "Works number" text )
SELECT "Works number" FROM table_41506 WHERE "Date" = 'early 1873' AND "Name" = 'owen sound'
For each director, how many reviews have they received Visualize by bar chart, and could you rank from high to low by the Y-axis?
CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Movie ( mID int, title text, year int, director text )
SELECT director, COUNT(*) FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID GROUP BY T1.director ORDER BY COUNT(*) DESC
What to par has t3 as the place and england as the country?
CREATE TABLE table_name_96 ( to_par VARCHAR, place VARCHAR, country VARCHAR )
SELECT to_par FROM table_name_96 WHERE place = "t3" AND country = "england"
What is the Player from Dayton, Oh with a Pick of 15 or larger?
CREATE TABLE table_14233 ( "Pick" real, "Player" text, "Team" text, "Position" text, "Hometown/School" text )
SELECT "Player" FROM table_14233 WHERE "Pick" > '15' AND "Hometown/School" = 'dayton, oh'
Which Circuit has a Pole position of andr ribeiro?
CREATE TABLE table_name_97 ( circuit VARCHAR, pole_position VARCHAR )
SELECT circuit FROM table_name_97 WHERE pole_position = "andré ribeiro"
How many points did the ESC Riverrats Geretsried, who lost more than 3 games, score?
CREATE TABLE table_name_17 ( points INTEGER, lost VARCHAR, name VARCHAR )
SELECT SUM(points) FROM table_name_17 WHERE lost > 3 AND name = "esc riverrats geretsried"
What was the score in the final in 1988?
CREATE TABLE table_2362606_1 ( score_in_final VARCHAR, year VARCHAR )
SELECT score_in_final FROM table_2362606_1 WHERE year = 1988
How many captains are in each rank, and show from low to high by the x axis 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 Rank, COUNT(*) FROM captain GROUP BY Rank ORDER BY Rank
Tell me the discovery/publication for red deer cave people
CREATE TABLE table_name_69 ( discovery___publication_of_name VARCHAR, species VARCHAR )
SELECT discovery___publication_of_name FROM table_name_69 WHERE species = "red deer cave people"
What year was the house named gongola made?
CREATE TABLE table_16800 ( "House Name" text, "Composition" text, "Named after" text, "Founded" real, "Colours" text )
SELECT "Founded" FROM table_16800 WHERE "House Name" = 'Gongola'
Which player's pick number was 25?
CREATE TABLE table_38417 ( "Pick #" real, "MLS Team" text, "Player" text, "Position" text, "Affiliation" text )
SELECT "Player" FROM table_38417 WHERE "Pick #" = '25'
How many starts for an average finish greater than 43?
CREATE TABLE table_76600 ( "Year" real, "Starts" real, "Wins" real, "Top 10" real, "Avg. Start" real, "Avg. Finish" real, "Winnings" text, "Position" text )
SELECT SUM("Starts") FROM table_76600 WHERE "Avg. Finish" > '43'
How many pints does the Cambrian Welfare RFC have?
CREATE TABLE table_name_50 ( points_for VARCHAR, club VARCHAR )
SELECT points_for FROM table_name_50 WHERE club = "cambrian welfare rfc"
List the name of musicals that do not have actors.
CREATE TABLE musical ( musical_id number, name text, year number, award text, category text, nominee text, result text ) CREATE TABLE actor ( actor_id number, name text, musical_id number, character text, duration text, age number )
SELECT name FROM musical WHERE NOT musical_id IN (SELECT musical_id FROM actor)
What is the position of the player from Sweden?
CREATE TABLE table_name_93 ( position VARCHAR, nationality VARCHAR )
SELECT position FROM table_name_93 WHERE nationality = "sweden"
How many strokes for arnold palmer with a to par of greater than 9?
CREATE TABLE table_name_69 ( total INTEGER, to_par VARCHAR, player VARCHAR )
SELECT AVG(total) FROM table_name_69 WHERE to_par > 9 AND player = "arnold palmer"
Who was the away team playing at Carlton?
CREATE TABLE table_20738 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_20738 WHERE "Home team" = 'Carlton'
What league was involved in 2008?
CREATE TABLE table_73331 ( "Year" real, "Division" real, "League" text, "Reg. Season" text, "Playoffs" text, "National Open" text )
SELECT "League" FROM table_73331 WHERE "Year" = '2008'
Name the district for nairs 8.2
CREATE TABLE table_23214055_2 ( district VARCHAR, nairs VARCHAR )
SELECT district FROM table_23214055_2 WHERE nairs = "8.2"
Name the segment a for 8-08
CREATE TABLE table_15187735_8 ( segment_a VARCHAR, series_ep VARCHAR )
SELECT segment_a FROM table_15187735_8 WHERE series_ep = "8-08"
What is the latest date with Cores per die / Dies per module of 2 / 1, and a Clock of 1.4-1.6ghz?
CREATE TABLE table_34691 ( "Date" real, "Name" text, "Developer" text, "Clock" text, "Process" text, "Cores per die / Dies per module" text )
SELECT MAX("Date") FROM table_34691 WHERE "Cores per die / Dies per module" = '2 / 1' AND "Clock" = '1.4-1.6ghz'
What is the position for Jani Lajunen?
CREATE TABLE table_name_78 ( position VARCHAR, player VARCHAR )
SELECT position FROM table_name_78 WHERE player = "jani lajunen"
What is 2009, when 2008 is 1R, and when Tournament is French Open?
CREATE TABLE table_41955 ( "Tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text )
SELECT "2009" FROM table_41955 WHERE "2008" = '1r' AND "Tournament" = 'french open'
Name the total number of results for octubre
CREATE TABLE table_20963074_1 ( result VARCHAR, original_title VARCHAR )
SELECT COUNT(result) FROM table_20963074_1 WHERE original_title = "Octubre"