instruction
stringlengths
12
317
input
stringlengths
38
973
response
stringlengths
25
526
How many match numbers have team europe listed as osku palermaa?
CREATE TABLE table_1987 ( "Match no." real, "Match Type" text, "Team Europe" text, "Score" text, "Team USA" text, "Progressive Total" text )
SELECT COUNT("Match no.") FROM table_1987 WHERE "Team Europe" = 'Osku Palermaa'
What is the smallest Earnings that has a Money list rank of 6 and Starts smaller than 22?
CREATE TABLE table_56530 ( "Year" text, "Starts" real, "Cuts made" real, "Wins" real, "Top 10" real, "Top 25" real, "Earnings ($)" real, "Money list rank" text )
SELECT MIN("Earnings ($)") FROM table_56530 WHERE "Money list rank" = '6' AND "Starts" < '22'
What was Arkady Vyatchanin's time?
CREATE TABLE table_4918 ( "Lane" real, "Name" text, "Nationality" text, "50m Split" real, "Time" text )
SELECT "Time" FROM table_4918 WHERE "Name" = 'arkady vyatchanin'
What is the finish of South Africa?
CREATE TABLE table_name_63 ( finish VARCHAR, country VARCHAR )
SELECT finish FROM table_name_63 WHERE country = "south africa"
How many goals scored against the opposing team occurred with more than 7 losses, less than 27 goals scored for the team and drawn more than 1?
CREATE TABLE table_4876 ( "Place" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real )
SELECT COUNT("Goals Against") FROM table_4876 WHERE "Lost" > '7' AND "Goals For" < '27' AND "Drawn" > '1'
What is the minimum weights for people of each sex? Show a bar chart.
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 ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real )
SELECT Sex, MIN(Weight) FROM people GROUP BY Sex
What frequency is First Nations Community?
CREATE TABLE table_66601 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text )
SELECT "Frequency" FROM table_66601 WHERE "Format" = 'first nations community'
what is the chassis when the entrant is mild seven renault f1 team and the driver is jarno trulli?
CREATE TABLE table_name_3 ( chassis VARCHAR, entrant VARCHAR, driver VARCHAR )
SELECT chassis FROM table_name_3 WHERE entrant = "mild seven renault f1 team" AND driver = "jarno trulli"
Which pick number attended McMaster College?
CREATE TABLE table_54414 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "Pick #" FROM table_54414 WHERE "College" = 'mcmaster'
What is the yacht type of Icap Leopard?
CREATE TABLE table_25561560_2 ( yacht VARCHAR )
SELECT yacht AS type FROM table_25561560_2 WHERE yacht = "ICAP Leopard"
What is the number of locations of the wrestlers? Visualize by a bar chart, and sort by the x-axis from high to low.
CREATE TABLE wrestler ( Wrestler_ID int, Name text, Reign text, Days_held text, Location text, Event text ) CREATE TABLE Elimination ( Elimination_ID text, Wrestler_ID text, Team text, Eliminated_By text, Elimination_Move text, Time text )
SELECT Location, COUNT(Location) FROM wrestler GROUP BY Location ORDER BY Location DESC
Which result has a Date of november 2, 2007?
CREATE TABLE table_71875 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Result" FROM table_71875 WHERE "Date" = 'november 2, 2007'
Who was the pilot of max altitude of 55.9 miles?
CREATE TABLE table_24791 ( "Pilot" text, "Organization" text, "Total Flights" real, "USAF space flights" real, "FAI space flights" real, "Max Mach" text, "Max speed (mph)" real, "Max altitude (miles)" text )
SELECT "Pilot" FROM table_24791 WHERE "Max altitude (miles)" = '55.9'
how old is the youngest person for each job?
CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER )
SELECT job, MIN(age) FROM Person GROUP BY job
How did michelle do in archery?
CREATE TABLE table_name_39 ( michelle INTEGER, discipline VARCHAR )
SELECT AVG(michelle) FROM table_name_39 WHERE discipline = "archery"
how many won 83 points for?
CREATE TABLE table_23689 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points difference" text, "Bonus Points" text, "Points" text )
SELECT "Won" FROM table_23689 WHERE "Points for" = '83'
which tributary has at least 3 variant names ?
CREATE TABLE table_203_41 ( id number, "name" text, "variant name(s)" text, "source" text, "source coordinates" text, "length" text, "mouth" text, "mouth coordinates" text )
SELECT "name" FROM table_203_41 WHERE "variant name(s)" >= 3
Having 429 points against, what is the Tries Against?
CREATE TABLE table_14447 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text )
SELECT "Tries against" FROM table_14447 WHERE "Points against" = '429'
what is the dadar xi b where pifa colaba is sporting options?
CREATE TABLE table_30720 ( "Athens XI" text, "PIFA Colaba FC u-17" text, "Tata Power" text, "Dadar XI \u2018B\u2019" text, "IDBI" text, "World Network Services" text, "United FC" text, "Good Shepherd" text )
SELECT "Dadar XI \u2018B\u2019" FROM table_30720 WHERE "PIFA Colaba FC u-17" = 'Sporting Options'
What school is in Ligonier?
CREATE TABLE table_name_11 ( school VARCHAR, location VARCHAR )
SELECT school FROM table_name_11 WHERE location = "ligonier"
What is the amount of viewers if the series number is 14?
CREATE TABLE table_24639086_3 ( viewers__in_millions_ VARCHAR, series__number VARCHAR )
SELECT viewers__in_millions_ FROM table_24639086_3 WHERE series__number = 14
When the elevator was Innocent IV what was the nationality?
CREATE TABLE table_47749 ( "Elector" text, "Nationality" text, "Order and title" text, "Elevated" text, "Elevator" text )
SELECT "Nationality" FROM table_47749 WHERE "Elevator" = 'innocent iv'
age 65 years and older
CREATE TABLE table_train_103 ( "id" int, "systolic_blood_pressure_sbp" int, "epilepsy" bool, "diastolic_blood_pressure_dbp" int, "heart_rate" int, "seizure_disorder" bool, "age" float, "NOUSE" float )
SELECT * FROM table_train_103 WHERE age >= 65
What is the venue when melbourne is the away team?
CREATE TABLE table_name_25 ( venue VARCHAR, away_team VARCHAR )
SELECT venue FROM table_name_25 WHERE away_team = "melbourne"
What are the names of players from the dr congo?
CREATE TABLE table_31312 ( "Name" text, "Position" text, "Country" text, "Years" text, "Games" real, "Minutes" real, "Goals" real, "Assists" real, "Int. caps" real, "Int. goals" real )
SELECT "Name" FROM table_31312 WHERE "Country" = 'DR Congo'
Which term in office has a qld state, a Party of labor, and an Electorate of fisher?
CREATE TABLE table_name_76 ( term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR )
SELECT term_in_office FROM table_name_76 WHERE state = "qld" AND party = "labor" AND electorate = "fisher"
Show the names of climbers and the heights of mountains they climb by a bar chart, show from low to high by the Y-axis please.
CREATE TABLE mountain ( Mountain_ID int, Name text, Height real, Prominence real, Range text, Country text ) CREATE TABLE climber ( Climber_ID int, Name text, Country text, Time text, Points real, Mountain_ID int )
SELECT T1.Name, T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T2.Height
When the winners votes were 50.54% who were the members of parliment?
CREATE TABLE table_18106841_1 ( members_of_parliament VARCHAR, winners__percentage_votes VARCHAR )
SELECT members_of_parliament FROM table_18106841_1 WHERE winners__percentage_votes = "50.54%"
When did the Issue with the Title Homecoming come out?
CREATE TABLE table_41172 ( "Issue" text, "Date" text, "Title" text, "Penciller" text, "Color" text )
SELECT "Date" FROM table_41172 WHERE "Title" = 'homecoming'
Return a bar chart about the distribution of Date_of_Birth and Height , display in desc by the names please.
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 Date_of_Birth, Height FROM people ORDER BY Date_of_Birth DESC
How much Gold has a Silver smaller than 14, and a Rank larger than 8, and a Bronze of 3?
CREATE TABLE table_9299 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Gold") FROM table_9299 WHERE "Silver" < '14' AND "Rank" > '8' AND "Bronze" = '3'
What's the target for the brand mylotarg?
CREATE TABLE table_45022 ( "Antibody" text, "Brand name" text, "Approval date" real, "Type" text, "Target" text )
SELECT "Target" FROM table_45022 WHERE "Brand name" = 'mylotarg'
What shows for gold when the rank is less than 3, and silver less than 1?
CREATE TABLE table_name_62 ( gold INTEGER, rank VARCHAR, silver VARCHAR )
SELECT SUM(gold) FROM table_name_62 WHERE rank < 3 AND silver < 1
What was the record at WEC 24?
CREATE TABLE table_name_43 ( record VARCHAR, event VARCHAR )
SELECT record FROM table_name_43 WHERE event = "wec 24"
what is the album when the year is later than 2008?
CREATE TABLE table_name_77 ( album VARCHAR, year INTEGER )
SELECT album FROM table_name_77 WHERE year > 2008
Which tracking method has a latest stable release of 2.23-05?
CREATE TABLE table_name_14 ( tracking_method VARCHAR, latest_stable_release VARCHAR )
SELECT tracking_method FROM table_name_14 WHERE latest_stable_release = "2.23-05"
What round did the spartak moscow club play?
CREATE TABLE table_name_12 ( round VARCHAR, club VARCHAR )
SELECT round FROM table_name_12 WHERE club = "spartak moscow"
Tell me the nationality for rudolf vercik
CREATE TABLE table_name_51 ( nationality VARCHAR, player VARCHAR )
SELECT nationality FROM table_name_51 WHERE player = "rudolf vercik"
What is the sum total of all the years with a bell that weighed 857 kilograms?
CREATE TABLE table_7061 ( "Year" real, "Foundry" text, "Diameter (mm)" real, "Weight (kg)" text, "Nominal Tone" text )
SELECT SUM("Year") FROM table_7061 WHERE "Weight (kg)" = '857'
What is the fewest number of wickets recorded?
CREATE TABLE table_30110 ( "Player" text, "Matches" real, "Overs" text, "Wickets" real, "Average" text, "Economy" text, "BBI" text, "4wi" real )
SELECT MIN("Wickets") FROM table_30110
What was the score on August 19?
CREATE TABLE table_name_65 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_65 WHERE date = "august 19"
Show me about the distribution of meter_300 and ID in a bar chart, could you order by the y-axis in descending?
CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text )
SELECT meter_300, ID FROM swimmer ORDER BY ID DESC
Who were the visitors when the Atlanta Falcons were the home team?
CREATE TABLE table_name_42 ( designated_visitors VARCHAR, designated_home VARCHAR )
SELECT designated_visitors FROM table_name_42 WHERE designated_home = "atlanta falcons"
What is the lowest number of three pointers in games where the number of rebounds was 178?
CREATE TABLE table_22824324_2 ( three_pointers INTEGER, rebounds VARCHAR )
SELECT MIN(three_pointers) FROM table_22824324_2 WHERE rebounds = 178
Name the samurai for stampede of t. mask
CREATE TABLE table_name_97 ( samurai VARCHAR, stampede VARCHAR )
SELECT samurai FROM table_name_97 WHERE stampede = "t. mask"
What is Record, when Date is October 31?
CREATE TABLE table_45434 ( "Date" text, "H/A/N" text, "Opponent" text, "Score" text, "Record" text )
SELECT "Record" FROM table_45434 WHERE "Date" = 'october 31'
Which date had the Hornets as the home team?
CREATE TABLE table_40651 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Record" text )
SELECT "Date" FROM table_40651 WHERE "Home" = 'hornets'
How many students are enrolled in colleges that have student accepted during tryouts, and in which states are those colleges?
CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text )
SELECT DISTINCT T1.state, T1.enr FROM college AS T1 JOIN tryout AS T2 ON T1.cname = T2.cname WHERE T2.decision = 'yes'
What is the average 2002 value for Sunflower, which had a 2010 value less than 5587 and a 2007 value greater than 546?
CREATE TABLE table_70544 ( "Production year" text, "2001" real, "2002" real, "2003" real, "2004" real, "2005" real, "2006" real, "2007" real, "2008" real, "2009" real, "2010" real, "2011" real )
SELECT AVG("2002") FROM table_70544 WHERE "2010" < '5587' AND "Production year" = 'sunflower' AND "2007" > '546'
Please show the different statuses, ordered by the number of cities that have each.
CREATE TABLE city ( Status VARCHAR )
SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*)
Name the record with opponent of christian nielson
CREATE TABLE table_name_71 ( record VARCHAR, opponent VARCHAR )
SELECT record FROM table_name_71 WHERE opponent = "christian nielson"
What is the Points with a Tries For that is 21?
CREATE TABLE table_name_13 ( points VARCHAR, tries_for VARCHAR )
SELECT points FROM table_name_13 WHERE tries_for = "21"
Who is the challenge leader that played on 9:30 pm on Wed., Nov. 28?
CREATE TABLE table_9029 ( "Date" text, "Time" text, "ACC Team" text, "Big Ten Team" text, "Location" text, "Television" text, "Attendance" real, "Winner" text, "Challenge Leader" text )
SELECT "Challenge Leader" FROM table_9029 WHERE "Time" = '9:30 pm' AND "Date" = 'wed., nov. 28'
What venue was the 2000 AFC Asian Cup qualification held at?
CREATE TABLE table_name_9 ( venue VARCHAR, competition VARCHAR )
SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification"
What is the sum of To Par, when Country is 'United States', and when Year(s) Won is '1973'?
CREATE TABLE table_name_23 ( to_par INTEGER, country VARCHAR, year_s__won VARCHAR )
SELECT SUM(to_par) FROM table_name_23 WHERE country = "united states" AND year_s__won = "1973"
What is year Built of the Moulin de Momalle Mill?
CREATE TABLE table_79591 ( "Location" text, "Name of mill" text, "Type" text, "Built" real, "Notes" text )
SELECT MAX("Built") FROM table_79591 WHERE "Name of mill" = 'moulin de momalle'
What is the 1938 that has N/A for 1948?
CREATE TABLE table_40815 ( "1935" text, "1936" text, "1937" text, "1938" text, "1939" text, "1940" text, "1941" text, "1943" text, "1945" text, "1946" text, "1947" text, "1948" text, "1949" text, "1950" text, "1951" text, "1952" text, "1953" text )
SELECT "1938" FROM table_40815 WHERE "1948" = 'n/a'
what is the color quality when the relay is ?
CREATE TABLE table_name_9 ( color_quality VARCHAR, relay VARCHAR )
SELECT color_quality FROM table_name_9 WHERE relay = "✓"
What is FA Cup Goals, when Euro Competitions is 1, and when League Goals is 11?
CREATE TABLE table_76538 ( "Scorer" text, "Club" text, "League goals" text, "FA Cup goals" text, "League Cup goals" real, "Texaco Cup goals" text, "Euro competitions" text, "Total" real )
SELECT "FA Cup goals" FROM table_76538 WHERE "Euro competitions" = '1' AND "League goals" = '11'
What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0?
CREATE TABLE table_name_52 ( gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR )
SELECT SUM(gold) FROM table_name_52 WHERE silver = 1 AND rank > 3 AND total < 2 AND bronze < 0
Which club has a League of american basketball association, and a Venue of tba?
CREATE TABLE table_67629 ( "Club" text, "Sport" text, "League" text, "Venue" text, "Championships (Years)" text )
SELECT "Club" FROM table_67629 WHERE "League" = 'american basketball association' AND "Venue" = 'tba'
How many picks have an Overall of 114?
CREATE TABLE table_39403 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT COUNT("Pick #") FROM table_39403 WHERE "Overall" = '114'
Who scored the high points on the date November 2?
CREATE TABLE table_17058116_5 ( high_points VARCHAR, date VARCHAR )
SELECT high_points FROM table_17058116_5 WHERE date = "November 2"
What position is the player from Chapel Hill, NC?
CREATE TABLE table_20785990_2 ( position VARCHAR, home_town VARCHAR )
SELECT position FROM table_20785990_2 WHERE home_town = "Chapel Hill, NC"
How many candidates were there in the district won by Joe Hoeffel?
CREATE TABLE table_1341423_38 ( candidates VARCHAR, incumbent VARCHAR )
SELECT COUNT(candidates) FROM table_1341423_38 WHERE incumbent = "Joe Hoeffel"
What was the total for the golfer who had a year won of 1987?
CREATE TABLE table_name_20 ( total VARCHAR, year_s__won VARCHAR )
SELECT total FROM table_name_20 WHERE year_s__won = "1987"
What Player has more than 1 Touchdowns with 0 Extra Points and less than 50 Points?
CREATE TABLE table_name_61 ( player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR )
SELECT player FROM table_name_61 WHERE touchdowns > 1 AND extra_points = 0 AND points < 50
Which category does the product named 'flax' belong to?
CREATE TABLE product_characteristics ( product_id number, characteristic_id number, product_characteristic_value text ) CREATE TABLE products ( product_id number, color_code text, product_category_code text, product_name text, typical_buying_price text, typical_selling_price text, product_description text, other_product_details text ) CREATE TABLE ref_characteristic_types ( characteristic_type_code text, characteristic_type_description text ) CREATE TABLE ref_colors ( color_code text, color_description text ) CREATE TABLE ref_product_categories ( product_category_code text, product_category_description text, unit_of_measure text ) CREATE TABLE characteristics ( characteristic_id number, characteristic_type_code text, characteristic_data_type text, characteristic_name text, other_characteristic_details text )
SELECT product_category_code FROM products WHERE product_name = "flax"
What's listed as the Issue Price (BU) [Clarification Needed] with a Mintage (Proof) of 29,586?
CREATE TABLE table_name_57 ( issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, mintage__proof_ VARCHAR )
SELECT issue_price__bu_ AS "_clarification_needed_" FROM table_name_57 WHERE mintage__proof_ = "29,586"
Which episode with a demo of 0.7/3 was the lowest?
CREATE TABLE table_4458 ( "Episode #" real, "Title" text, "Air Date" text, "Demo" text, "Viewers" text )
SELECT MIN("Episode #") FROM table_4458 WHERE "Demo" = '0.7/3'
What is the career SR with a 1r in 1985?
CREATE TABLE table_name_43 ( career_sr VARCHAR )
SELECT career_sr FROM table_name_43 WHERE 1985 = "1r"
What frame size has pcm 4 ch/16 bit/48khz as audio coding and dvcam as the format name and 4:1:1 as the color sampling?
CREATE TABLE table_name_44 ( frame_size VARCHAR, color_sampling VARCHAR, audio_coding VARCHAR, format_name VARCHAR )
SELECT frame_size FROM table_name_44 WHERE audio_coding = "pcm 4 ch/16 bit/48khz" AND format_name = "dvcam" AND color_sampling = "4:1:1"
What is the Name of the person from the Netherlands in a Lane lower than 5, with a Rank better than 5, and a time of less than 55.62?
CREATE TABLE table_71937 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" real )
SELECT "Name" FROM table_71937 WHERE "Rank" < '5' AND "Time" < '55.62' AND "Lane" < '5' AND "Nationality" = 'netherlands'
What was the winning score when the margin of victory was a playoff for the Tournament of safeco classic?
CREATE TABLE table_9803 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Winning score" FROM table_9803 WHERE "Margin of victory" = 'playoff' AND "Tournament" = 'safeco classic'
What is the census ranking for the Perth parish?
CREATE TABLE table_176524_2 ( census_ranking VARCHAR, official_name VARCHAR )
SELECT census_ranking FROM table_176524_2 WHERE official_name = "Perth"
what's the function / genus with shigella being spa32
CREATE TABLE table_16047 ( "\u2193 Function / Genus \u2192" text, "Shigella" text, "Salmonella" text, "Yersinia" text, "Escherichia" text )
SELECT "\u2193 Function / Genus \u2192" FROM table_16047 WHERE "Shigella" = 'Spa32'
What is the sum of losses for Against values over 1510?
CREATE TABLE table_79584 ( "Club" text, "Wins" real, "Losses" real, "Draws" real, "Against" real )
SELECT SUM("Losses") FROM table_79584 WHERE "Against" > '1510'
What district has abhayapuri south as the name?
CREATE TABLE table_60842 ( "Constituency number" real, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Electorates (2011)" real )
SELECT "District" FROM table_60842 WHERE "Name" = 'abhayapuri south'
What is the earliest week that shows a record of 8 5?
CREATE TABLE table_name_40 ( week INTEGER, record VARCHAR )
SELECT MIN(week) FROM table_name_40 WHERE record = "8–5"
How many countries have content of arte?
CREATE TABLE table_20371 ( "N\u00b0" real, "Television service" text, "Country" text, "Language" text, "Content" text, "DAR" text, "HDTV" text, "Package/Option" text )
SELECT COUNT("Country") FROM table_20371 WHERE "Content" = 'arte'
which is longer the carolina or kentucky race ?
CREATE TABLE table_204_630 ( id number, "no" number, "date" text, "race" text, "track" text, "winner" text, "reports" text )
SELECT "race" FROM table_204_630 WHERE "race" IN ('carolina 500', 'kentucky') ORDER BY "no" DESC LIMIT 1
What Engine had a Finish of 27?
CREATE TABLE table_67021 ( "Year" real, "Chassis" text, "Engine" text, "Start" text, "Finish" text, "Entrant" text )
SELECT "Engine" FROM table_67021 WHERE "Finish" = '27'
When did construction start on the Power station with a net MWE of 1190
CREATE TABLE table_143352_1 ( construction_started INTEGER, net_mwe VARCHAR )
SELECT MIN(construction_started) FROM table_143352_1 WHERE net_mwe = 1190
Which formula had a driver of John Moore-Brabazon?
CREATE TABLE table_65993 ( "Year" real, "Formula" text, "Driver" text, "Constructor" text, "Location" text, "Report" text )
SELECT "Formula" FROM table_65993 WHERE "Driver" = 'john moore-brabazon'
Which engine has a Year larger than 1969?
CREATE TABLE table_name_7 ( engine VARCHAR, year INTEGER )
SELECT engine FROM table_name_7 WHERE year > 1969
Name the ppv for sky famiglia and dar 16:9 for mtv dance
CREATE TABLE table_20379 ( "N\u00b0" real, "Television service" text, "Country" text, "Language" text, "Content" text, "DAR" text, "HDTV" text, "PPV" text, "Package/Option" text )
SELECT "PPV" FROM table_20379 WHERE "Package/Option" = 'Sky Famiglia' AND "DAR" = '16:9' AND "Television service" = 'MTV Dance'
japan earned only 1 bronze metal in boxing during the 1960 olympics . how many other countries earned the exact same metal count as japan ?
CREATE TABLE table_203_496 ( id number, "pos" number, "country" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT COUNT("country") FROM table_203_496 WHERE "country" <> 'japan' AND "bronze" = 1 AND "total" = 1
find the name of pilots who did not win the matches held in the country of Australia.
CREATE TABLE pilot ( name VARCHAR, pilot_id VARCHAR, Winning_Pilot VARCHAR, country VARCHAR ) CREATE TABLE MATCH ( name VARCHAR, pilot_id VARCHAR, Winning_Pilot VARCHAR, country VARCHAR )
SELECT name FROM pilot WHERE NOT pilot_id IN (SELECT Winning_Pilot FROM MATCH WHERE country = 'Australia')
What is the 2004 value for the 2009 Grand slam tournaments?
CREATE TABLE table_name_86 ( Id VARCHAR )
SELECT 2004 FROM table_name_86 WHERE 2009 = "grand slam tournaments"
What tournament was located in Colorado?
CREATE TABLE table_name_5 ( tournament VARCHAR, location VARCHAR )
SELECT tournament FROM table_name_5 WHERE location = "colorado"
What opponent has 32 as the round?
CREATE TABLE table_60378 ( "Date" text, "Time" text, "Round" text, "Opponent" text, "Ground" text, "Score" text )
SELECT "Opponent" FROM table_60378 WHERE "Round" = '32'
Who was the Opponent on a Hard (i) Surface?
CREATE TABLE table_35324 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Opponent" FROM table_35324 WHERE "Surface" = 'hard (i)'
What was the total of the player from Spain?
CREATE TABLE table_7566 ( "Player" text, "Country" text, "Year(s) won" text, "Total" text, "To par" text )
SELECT "Total" FROM table_7566 WHERE "Country" = 'spain'
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and the sum of code , and group by attribute name.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name
what are the draft pick numbers and draft classes for players who play the Defender position?, rank by the X in ascending.
CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team int, Draft_Pick_Number int, Draft_Class text, College text ) CREATE TABLE country ( Country_id int, Country_name text, Capital text, Official_native_language text ) CREATE TABLE player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, Doubles_WL text, Team int ) CREATE TABLE team ( Team_id int, Name text )
SELECT Draft_Class, Draft_Pick_Number FROM match_season WHERE Position = "Defender" ORDER BY Draft_Class
What is the average attendance on april 24?
CREATE TABLE table_53603 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT AVG("Attendance") FROM table_53603 WHERE "Date" = 'april 24'
Which coach has 0 conference titles, more than 2 seasons, higher than 87 losses and 0 NCAA?
CREATE TABLE table_name_18 ( coach VARCHAR, ncaa VARCHAR, losses VARCHAR, conference_titles VARCHAR, seasons VARCHAR )
SELECT coach FROM table_name_18 WHERE conference_titles = "0" AND seasons > 2 AND losses > 87 AND ncaa = "0"
What is the quarterfinal week for Austin Anderson?
CREATE TABLE table_29572 ( "Name/Name of Act" text, "Age(s)" text, "Genre" text, "Act" text, "Hometown" text, "Qtr. Final (Week)" real, "Semi Final (Week)" text, "Position Reached" text )
SELECT MIN("Qtr. Final (Week)") FROM table_29572 WHERE "Name/Name of Act" = 'Austin Anderson'
Who was the Opponent on November 27, 2005?
CREATE TABLE table_79511 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Opponent" FROM table_79511 WHERE "Date" = 'november 27, 2005'
how many roman catholic dioceses were established in angola before 1990 ?
CREATE TABLE table_204_876 ( id number, "ecclesiastical jurisdictions" text, "latin name" text, "type" text, "rite" text, "ecclesiastical province" text, "established" text, "area (km2)" number )
SELECT COUNT("ecclesiastical jurisdictions") FROM table_204_876 WHERE "established" < 1990