instruction
stringlengths
5
766
input
stringlengths
38
5.51k
response
stringlengths
4
3.91k
Show the number of companies whose headquarters are not from USA fpr each main industry in a bar chart, show X-axis in ascending order please.
CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value real ) CREATE TABLE station_company ( Station_ID int, Company_ID int, Rank_of_the_Year int ) ...
SELECT Main_Industry, COUNT(Main_Industry) FROM company WHERE Headquarters <> 'USA' GROUP BY Main_Industry ORDER BY Main_Industry
What is the original of the ipa ( rio de janeiro )translation ki mo t a w n t t i t n ?
CREATE TABLE table_23915_4 ( translation VARCHAR, ipa___rio_de_janeiro__ VARCHAR )
SELECT translation FROM table_23915_4 WHERE ipa___rio_de_janeiro__ = "ki̥ mo̞ɕˈtɾaɾɜ̃w̃ nɐ ˈtɛʁə tɕĩʑiˈtɜ̃nə"
What were the scores of the Wimbledon final matches where Newcombe was the runner-up?
CREATE TABLE table_25823 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text )
SELECT "Score in the final" FROM table_25823 WHERE "Outcome" = 'Runner-up' AND "Championship" = 'Wimbledon'
What is the home team for punt road oval?
CREATE TABLE table_74668 ( "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_74668 WHERE "Venue" = 'punt road oval'
Name the Gross-to-date which has a Date of august 23 25?
CREATE TABLE table_44939 ( "Date" text, "Rank" real, "Weekend Gross" text, "Theaters" real, "Gross-to-date" text )
SELECT "Gross-to-date" FROM table_44939 WHERE "Date" = 'august 23–25'
What Rider had a Speed of 108.347mph and Time of 1:02.40.93?
CREATE TABLE table_name_12 ( rider VARCHAR, speed VARCHAR, time VARCHAR )
SELECT rider FROM table_name_12 WHERE speed = "108.347mph" AND time = "1:02.40.93"
What is the average number of cuts made in events with fewer than 1 win and exactly 11 top-10s?
CREATE TABLE table_name_93 ( cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR )
SELECT AVG(cuts_made) FROM table_name_93 WHERE top_10 = 11 AND wins < 1
Which Rank has a Total larger than 30, and a Bronze of 14?
CREATE TABLE table_9297 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT AVG("Rank") FROM table_9297 WHERE "Total" > '30' AND "Bronze" = '14'
How many program data on Asia was written if the organization launched 14 programs iin the Americas?
CREATE TABLE table_29354 ( "Programs" text, "World" real, "Africa" real, "Americas" real, "Asia" real, "Australasia" real, "Europe" real )
SELECT COUNT("Asia") FROM table_29354 WHERE "Americas" = '14'
What was the result for the contestant whose background was as a business major?
CREATE TABLE table_19810459_1 ( result VARCHAR, background VARCHAR )
SELECT result FROM table_19810459_1 WHERE background = "Business major"
Which Water has a Metal of contracting?
CREATE TABLE table_33959 ( "Element" text, "Wood" text, "Fire" text, "Earth" text, "Metal" text, "Water" text )
SELECT "Water" FROM table_33959 WHERE "Metal" = 'contracting'
What was the result in the election where the incumbent was Finis J. Garrett?
CREATE TABLE table_1342370_41 ( result VARCHAR, incumbent VARCHAR )
SELECT result FROM table_1342370_41 WHERE incumbent = "Finis J. Garrett"
What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records?
CREATE TABLE table_name_63 ( year_of_recording INTEGER, orchestra VARCHAR, record_company VARCHAR )
SELECT MIN(year_of_recording) FROM table_name_63 WHERE orchestra = "royal philharmonic orchestra" AND record_company = "decca records"
What is the Dismissals with a Player with source: cricinfo.com?
CREATE TABLE table_54347 ( "Dismissals" text, "Player" text, "Versus" text, "Venue" text, "Date" text )
SELECT "Dismissals" FROM table_54347 WHERE "Player" = 'source: cricinfo.com'
What was the largest crowd at a game where Collingwood was the away team?
CREATE TABLE table_name_13 ( crowd INTEGER, away_team VARCHAR )
SELECT MAX(crowd) FROM table_name_13 WHERE away_team = "collingwood"
What is the series # when the director is john showalter?
CREATE TABLE table_29747178_2 ( series__number VARCHAR, directed_by VARCHAR )
SELECT series__number FROM table_29747178_2 WHERE directed_by = "John Showalter"
Which DOB has a Surname of cresswell?
CREATE TABLE table_name_40 ( dob VARCHAR, surname VARCHAR )
SELECT dob FROM table_name_40 WHERE surname = "cresswell"
What is L2 Cache, when Model Number is Atom Z625?
CREATE TABLE table_51065 ( "Model number" text, "sSpec number" text, "Frequency" text, "GPU frequency" text, "L2 cache" text, "I/O bus" text, "Memory" text, "Socket" text, "Release date" text, "Part number(s)" text )
SELECT "L2 cache" FROM table_51065 WHERE "Model number" = 'atom z625'
what year was cryptogramophon released
CREATE TABLE table_6019 ( "Year" real, "Artist" text, "Title" text, "Genre" text, "Label" text )
SELECT "Year" FROM table_6019 WHERE "Label" = 'cryptogramophon'
What is the lowest ranking for Paul Mctiernan?
CREATE TABLE table_name_67 ( ranking INTEGER, name VARCHAR )
SELECT MIN(ranking) FROM table_name_67 WHERE name = "paul mctiernan"
How many peak positions were there on the daily charts?
CREATE TABLE table_2785 ( "Release" text, "Oricon Albums Chart" text, "Peak Position" real, "Debut Sales (copies)" real, "Sales Total (copies)" real, "Chart Run" text )
SELECT "Peak Position" FROM table_2785 WHERE "Oricon Albums Chart" = 'Daily Charts'
Which Copa Libertadores 1992 has a Supercopa Sudamericana 1992 of round of 16, and a Team of gr mio?
CREATE TABLE table_5223 ( "Team" text, "Copa Libertadores 1992" text, "Supercopa Sudamericana 1992" text, "Copa CONMEBOL 1992" text, "Recopa Sudamericana 1992" text, "Intercontinental Cup 1992" text )
SELECT "Copa Libertadores 1992" FROM table_5223 WHERE "Supercopa Sudamericana 1992" = 'round of 16' AND "Team" = 'grêmio'
What is the City, when the Prize is 880,000?
CREATE TABLE table_67351 ( "Date" text, "City" text, "Event" text, "Winner" text, "Prize" text )
SELECT "City" FROM table_67351 WHERE "Prize" = '€880,000'
What is the 1st leg of cs sfaxien?
CREATE TABLE table_name_48 ( team_2 VARCHAR )
SELECT 1 AS st_leg FROM table_name_48 WHERE team_2 = "cs sfaxien"
What was the finish for Lanny Wadkins of the United States?
CREATE TABLE table_59667 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text )
SELECT "Finish" FROM table_59667 WHERE "Country" = 'united states' AND "Player" = 'lanny wadkins'
Name the Rider which has a Time of +59.304?
CREATE TABLE table_59207 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real )
SELECT "Rider" FROM table_59207 WHERE "Time" = '+59.304'
What college team did Derek Fisher play for?
CREATE TABLE table_name_19 ( school_club_team VARCHAR, player VARCHAR )
SELECT school_club_team FROM table_name_19 WHERE player = "derek fisher"
What was the aggregate for the match with Sierra Leone as team 1?
CREATE TABLE table_name_28 ( agg VARCHAR, team_1 VARCHAR )
SELECT agg FROM table_name_28 WHERE team_1 = "sierra leone"
Who is the written by when mark worthington is the director?
CREATE TABLE table_25127 ( "Series #" real, "Season #" real, "Episode title" text, "Written by" text, "Directed by" text, "U.S. viewers (millions)" text, "Original air date" text )
SELECT "Written by" FROM table_25127 WHERE "Directed by" = 'Mark Worthington'
What is the highest year for the title, 'loves lost and found'?
CREATE TABLE table_name_82 ( year INTEGER, title VARCHAR )
SELECT MAX(year) FROM table_name_82 WHERE title = "loves lost and found"
Name the score for hawthorn opponent
CREATE TABLE table_name_64 ( score VARCHAR, opponent VARCHAR )
SELECT score FROM table_name_64 WHERE opponent = "hawthorn"
What's the team of the player from St. Francis Xavier College?
CREATE TABLE table_16318 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "CFL Team" FROM table_16318 WHERE "College" = 'St. Francis Xavier'
What is the 2006 value with a 1r in 2011?
CREATE TABLE table_name_56 ( Id VARCHAR )
SELECT 2006 FROM table_name_56 WHERE 2011 = "1r"
What writer has mort drucker as the artist, an issue greater than 470, and law & order: svu as an actual title?
CREATE TABLE table_42044 ( "Actual Title" text, "Writer" text, "Artist" text, "Issue" real, "Date" text )
SELECT "Writer" FROM table_42044 WHERE "Artist" = 'mort drucker' AND "Issue" > '470' AND "Actual Title" = 'law & order: svu'
How many total songs has the order #1
CREATE TABLE table_21501518_1 ( song_choice VARCHAR, order__number VARCHAR )
SELECT COUNT(song_choice) FROM table_21501518_1 WHERE order__number = "1"
When 102 mpg-e (33kw-hrs/100mi) is the epa rated combined fuel economy what is the vehicle type?
CREATE TABLE table_27010 ( "Vehicle" text, "Operating mode" text, "EPA rated All-electric range" text, "EPA rated combined fuel economy" text, "Clean electric grid California (San Francisco)" text, "U.S. national average electric mix" text, "Dirty electric grid Rocky Mountains (Denver)" text...
SELECT "Vehicle" FROM table_27010 WHERE "EPA rated combined fuel economy" = '102 mpg-e (33kW-hrs/100mi)'
What was the department that got $626,798 in local investments?
CREATE TABLE table_21337 ( "Department" text, "Projects" real, "Municipalities" real, "Farmers" real, "Irrigated Ha" real, "BID/PRONAR Investment (US$)" text, "Local Investment (US$)" text, "Total" text )
SELECT "Department" FROM table_21337 WHERE "Local Investment (US$)" = '626,798'
What turbo has a L2 cache of 4 256 kb, a release date of June 2013, and a Model number of core i7-4770s?
CREATE TABLE table_14170 ( "Model number" text, "sSpec number" text, "Cores" text, "Frequency" text, "Turbo" text, "L2 cache" text, "L3 cache" text, "GPU model" text, "GPU frequency" text, "Socket" text, "I/O bus" text, "Release date" text, "Release price ( USD )" tex...
SELECT "Turbo" FROM table_14170 WHERE "L2 cache" = '4 × 256 kb' AND "Release date" = 'june 2013' AND "Model number" = 'core i7-4770s'
Which Played is the lowest one that has a Blackpool smaller than 0?
CREATE TABLE table_6318 ( "Competition" text, "Played" real, "Blackpool" real, "Draw" real, "Preston North End" real )
SELECT MIN("Played") FROM table_6318 WHERE "Blackpool" < '0'
Tell me the opponents for mashona washington november 21, 2009
CREATE TABLE table_name_43 ( opponents VARCHAR, partner VARCHAR, date VARCHAR )
SELECT opponents FROM table_name_43 WHERE partner = "mashona washington" AND date = "november 21, 2009"
Name the score for washington
CREATE TABLE table_15872814_3 ( score VARCHAR, team VARCHAR )
SELECT score FROM table_15872814_3 WHERE team = "Washington"
When did the manager take over for the manager that left on August 20, 2008?
CREATE TABLE table_name_98 ( date_of_replacement VARCHAR, date_outgoing VARCHAR )
SELECT date_of_replacement FROM table_name_98 WHERE date_outgoing = "august 20, 2008"
With a silver greater than 0, gold of 9 and a bronze less than 9, what is the lowest total listed?
CREATE TABLE table_name_75 ( total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR )
SELECT MIN(total) FROM table_name_75 WHERE silver > 0 AND gold = 9 AND bronze < 9
How many games lost for teams with over 6 games?
CREATE TABLE table_name_46 ( lost INTEGER, games INTEGER )
SELECT MIN(lost) FROM table_name_46 WHERE games > 6
how many awards was warren beatty nominated for ?
CREATE TABLE table_202_75 ( id number, "award" text, "category" text, "recipients and nominees" text, "result" text )
SELECT COUNT("award") FROM table_202_75 WHERE "recipients and nominees" = 'warren beatty'
What is the Position of the person with a First Election of 1988 as Vice Mayor 2009?
CREATE TABLE table_13378 ( "Position" text, "Name" text, "Party" text, "First Election" text, "District" text )
SELECT "Position" FROM table_13378 WHERE "First Election" = '1988 as vice mayor 2009'
What is the acronym for the name Malay of Kolej Komuniti Sungai Petani?
CREATE TABLE table_61910 ( "Name in English" text, "Name in Malay" text, "Acronym" text, "Foundation" text, "Location" text )
SELECT "Acronym" FROM table_61910 WHERE "Name in Malay" = 'kolej komuniti sungai petani'
What is the highest amount of group legs won when the prize money was 21,850?
CREATE TABLE table_26758 ( "Player" text, "Group Legs won" real, "Play-Off Legs won" real, "Winners Group Legs won" real, "Winners Play-Off Legs won" real, "Final position money won*" text, "Total money won" text )
SELECT MAX("Winners Group Legs won") FROM table_26758 WHERE "Total money won" = '£21,850'
WHat is the number for the player whose height is 2.01?
CREATE TABLE table_12962773_12 ( player VARCHAR, height VARCHAR )
SELECT COUNT(player) FROM table_12962773_12 WHERE height = "2.01"
What subjunctive also has an inverse subjunctive of m chadns?
CREATE TABLE table_42914 ( "m\u00e5cha" text, "indicative" text, "imperative" text, "subjunctive" text, "inverse subjunctive" text )
SELECT "subjunctive" FROM table_42914 WHERE "inverse subjunctive" = 'måchadns'
What is the Intercontinental Cup 1993 result for a Supercopa Sudamericana 1993 result of round of 16?
CREATE TABLE table_35963 ( "Team" text, "Copa Libertadores 1993" text, "Supercopa Sudamericana 1993" text, "Copa CONMEBOL 1993" text, "Recopa Sudamericana 1993" text, "Intercontinental Cup 1993" text )
SELECT "Intercontinental Cup 1993" FROM table_35963 WHERE "Supercopa Sudamericana 1993" = 'round of 16'
what is the competition when the result is 2-1?
CREATE TABLE table_50655 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Competition" FROM table_50655 WHERE "Result" = '2-1'
Stack bar chart of school_id vs ACC_Home based on all home, list by the names in ascending.
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_Per...
SELECT All_Home, School_ID FROM basketball_match GROUP BY ACC_Home, All_Home ORDER BY All_Home
What year was the university that is located in Ellensburg, Washington established?
CREATE TABLE table_20530 ( "Institution" text, "Location" text, "Founded" real, "Affiliation" text, "Enrollment" real, "Team Nickname" text, "Primary conference" text )
SELECT MIN("Founded") FROM table_20530 WHERE "Location" = 'Ellensburg, Washington'
What is the mean huc example code when the example name's lower snake, there are 6 digits, and less than 3 levels?
CREATE TABLE table_41893 ( "Name" text, "Level" real, "Digits" real, "Average size (square miles)" text, "Number of HUs (approximate)" real, "Example name" text, "Example code (HUC)" real )
SELECT AVG("Example code (HUC)") FROM table_41893 WHERE "Example name" = 'lower snake' AND "Digits" = '6' AND "Level" < '3'
For those records from the products and each product's manufacturer, give me the comparison about the sum of price over the headquarter , and group by attribute headquarter by a bar chart, sort by the bars in asc.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT Headquarter, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter
Tell me the circuit for 10 may for targa florio
CREATE TABLE table_name_79 ( circuit VARCHAR, date VARCHAR, name VARCHAR )
SELECT circuit FROM table_name_79 WHERE date = "10 may" AND name = "targa florio"
Who had the fastest lap in the Dutch TT Grand Prix?
CREATE TABLE table_73001 ( "Round" real, "Date" text, "Grand Prix" text, "Circuit" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text )
SELECT "Fastest Lap" FROM table_73001 WHERE "Grand Prix" = 'Dutch TT'
must have a bmi equal to or greater than 30
CREATE TABLE table_train_165 ( "id" int, "gender" string, "hemoglobin_a1c_hba1c" float, "visual_impairment" bool, "blood_glucose" int, "body_mass_index_bmi" float, "a1c" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_165 WHERE body_mass_index_bmi >= 30
Find the id of the candidate who got the lowest oppose rate.
CREATE TABLE candidate ( Candidate_ID VARCHAR, oppose_rate VARCHAR )
SELECT Candidate_ID FROM candidate ORDER BY oppose_rate LIMIT 1
Find the name and partition id for users who tweeted less than twice.
CREATE TABLE user_profiles ( uid number, name text, email text, partitionid number, followers number ) CREATE TABLE tweets ( id number, uid number, text text, createdate time ) CREATE TABLE follows ( f1 number, f2 number )
SELECT T1.name, T1.partitionid FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid HAVING COUNT(*) < 2
Which tournament had a 2010 finish of 4R?
CREATE TABLE table_68293 ( "Tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text )
SELECT "Tournament" FROM table_68293 WHERE "2010" = '4r'
What is the main span feet from opening year of 1936 in the United States with a rank greater than 47 and 421 main span metres?
CREATE TABLE table_75876 ( "Rank" real, "Main span metres" text, "Main span feet" text, "Year opened" real, "Country" text )
SELECT "Main span feet" FROM table_75876 WHERE "Year opened" = '1936' AND "Country" = 'united states' AND "Rank" > '47' AND "Main span metres" = '421'
What is the lowest pick number for players from king's (ny)?
CREATE TABLE table_77928 ( "Round" real, "Pick" real, "Player" text, "Position" text, "Nationality" text, "Team" text, "College" text )
SELECT MIN("Pick") FROM table_77928 WHERE "College" = 'king''s (ny)'
what was henrick malberg 's first film ?
CREATE TABLE table_204_91 ( id number, "year" number, "original title" text, "english title" text, "role" text, "notes" text )
SELECT "original title" FROM table_204_91 ORDER BY "year" LIMIT 1
How much Played has a Position of 7, and a Drawn smaller than 7?
CREATE TABLE table_60828 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" real )
SELECT SUM("Played") FROM table_60828 WHERE "Position" = '7' AND "Drawn" < '7'
Name the least games played for 6 points
CREATE TABLE table_30011 ( "Shirt Number" real, "Player Name" text, "Games Played" real, "Total Points" real, "2-Points" real, "3-Points" real, "Free Throw" real )
SELECT MIN("Games Played") FROM table_30011 WHERE "Total Points" = '6'
What was the number of fatalities for the Viscount 700?
CREATE TABLE table_name_71 ( fatalities VARCHAR, aircraft VARCHAR )
SELECT fatalities FROM table_name_71 WHERE aircraft = "viscount 700"
Who has friends that are older than the average age? Print their name and their ages as well using a bar chart, and list by the X in ascending.
CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT )
SELECT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T1.age > (SELECT AVG(age) FROM Person) ORDER BY T1.name
Which Assist/pass has a Score of 1-0, and a Goal of 5?
CREATE TABLE table_70074 ( "Goal" text, "Location" text, "Lineup" text, "Assist/pass" text, "Score" text, "Result" text, "Competition" text )
SELECT "Assist/pass" FROM table_70074 WHERE "Score" = '1-0' AND "Goal" = '5'
what is the id and trade name of the medicines can interact with at least 3 enzymes?, and I want to show by the x axis from high to low.
CREATE TABLE medicine_enzyme_interaction ( enzyme_id int, medicine_id int, interaction_type text ) CREATE TABLE medicine ( id int, name text, Trade_Name text, FDA_approved text ) CREATE TABLE enzyme ( id int, name text, Location text, Product text, Chromosome text, ...
SELECT Trade_Name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id ORDER BY Trade_Name DESC
How many students does each advisor have. Show scatter chart.
CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), ...
SELECT Advisor, COUNT(*) FROM Student GROUP BY Advisor
When did the length of 60 minutes air?
CREATE TABLE table_15117 ( "Title" text, "Length" text, "Writer" text, "Director" text, "Airdate" text )
SELECT "Airdate" FROM table_15117 WHERE "Length" = '60 minutes'
Tell me the launch pad for 25 december 2010 10:34
CREATE TABLE table_31682 ( "Flight" text, "Launch date/time (UTC)" text, "Variant" text, "Launch Pad" text, "Payload" text, "Payload Mass" text )
SELECT "Launch Pad" FROM table_31682 WHERE "Launch date/time (UTC)" = '25 december 2010 10:34'
For those records from the products and each product's manufacturer, what is the relationship between code and manufacturer , 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 T1.Code, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Name
What is the MIntage after 2006 of the Ruby-Throated Hummingbird Theme coin?
CREATE TABLE table_name_42 ( mintage INTEGER, year VARCHAR, theme VARCHAR )
SELECT MAX(mintage) FROM table_name_42 WHERE year > 2006 AND theme = "ruby-throated hummingbird"
On Race 14 when the FLap is larger than 1, what is the podium number?
CREATE TABLE table_name_42 ( podium VARCHAR, race VARCHAR, flap VARCHAR )
SELECT COUNT(podium) FROM table_name_42 WHERE race = 14 AND flap > 1
who had the highest number of assists in the october 19th game ?
CREATE TABLE table_204_586 ( id number, "game" number, "date" text, "team" text, "score" text, "high points" text, "high rebounds" text, "high assists" text, "location\nattendance" text, "record" text )
SELECT "high assists" FROM table_204_586 WHERE "date" = 'october 19'
what song was this artist on after utabito ?
CREATE TABLE table_204_643 ( id number, "release" number, "artist" text, "title" text, "notes" text, "album" text )
SELECT "title" FROM table_204_643 WHERE "release" > (SELECT "release" FROM table_204_643 WHERE "title" = 'utabito (歌人 singer?)') ORDER BY "release" LIMIT 1
What dance had a score total of 31?
CREATE TABLE table_2803106_1 ( dance_song VARCHAR, total VARCHAR )
SELECT dance_song FROM table_2803106_1 WHERE total = "31"
Which home team has an away team score of 4.9 (33)?
CREATE TABLE table_10156 ( "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_10156 WHERE "Away team score" = '4.9 (33)'
what is the language when the english translation is come to me?
CREATE TABLE table_62274 ( "Draw" real, "Language" text, "Artist" text, "Song" text, "English translation" text, "National final" text, "Place" real, "Points" real )
SELECT "Language" FROM table_62274 WHERE "English translation" = 'come to me'
How many events resulted in a top-25 less than 2?
CREATE TABLE table_38401 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real )
SELECT COUNT("Events") FROM table_38401 WHERE "Top-25" < '2'
What is the 2009 value with a q1 in 2006 in the French Open?
CREATE TABLE table_71446 ( "Tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text )
SELECT "2009" FROM table_71446 WHERE "2006" = 'q1' AND "Tournament" = 'french open'
What is the official target date for the Swedish Krona?
CREATE TABLE table_70218 ( "Currency" text, "Code" text, "Entry ERM II" text, "Central rate" text, "Official target date" text )
SELECT "Official target date" FROM table_70218 WHERE "Currency" = 'swedish krona'
Name the 2010 for 2007 of a and 2012 of a
CREATE TABLE table_15199 ( "Tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text )
SELECT "2010" FROM table_15199 WHERE "2007" = 'a' AND "2012" = 'a'
Where did arturo segovia compete?
CREATE TABLE table_name_24 ( location VARCHAR, opponent VARCHAR )
SELECT location FROM table_name_24 WHERE opponent = "arturo segovia"
What is the airport when the iata is tbj?
CREATE TABLE table_49753 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text )
SELECT "Airport" FROM table_49753 WHERE "IATA" = 'tbj'
total number of attendees at the two games against the new england patriots during the season
CREATE TABLE table_204_443 ( id number, "week" number, "date" text, "opponent" text, "result" text, "game site" text, "attendance" number, "bye" text )
SELECT SUM("attendance") FROM table_204_443 WHERE "opponent" = 'new england patriots'
What is the 2013 BAFA adult flag division in Aylesbury?
CREATE TABLE table_name_95 ( location VARCHAR )
SELECT 2013 AS _bafa_adult_flag_division FROM table_name_95 WHERE location = "aylesbury"
What are the names of mountains that have a height of over 5000 or a prominence of over 1000?
CREATE TABLE climber ( climber_id number, name text, country text, time text, points number, mountain_id number ) CREATE TABLE mountain ( mountain_id number, name text, height number, prominence number, range text, country text )
SELECT name FROM mountain WHERE height > 5000 OR prominence > 1000
Which county has a membership of 1, a franchise type of corporation and a borough of Ennis?
CREATE TABLE table_24329520_8 ( county VARCHAR, borough VARCHAR, members VARCHAR, franchise_type VARCHAR )
SELECT county FROM table_24329520_8 WHERE members = 1 AND franchise_type = "Corporation" AND borough = "Ennis"
What is the Team when antonio davis (8) had the high rebounds?
CREATE TABLE table_42106 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_42106 WHERE "High rebounds" = 'antonio davis (8)'
What is the date for Hydra Head Records with a CD format?
CREATE TABLE table_name_21 ( date VARCHAR, label VARCHAR, format VARCHAR )
SELECT date FROM table_name_21 WHERE label = "hydra head records" AND format = "cd"
Which railway has a class of 250 and year 1936?
CREATE TABLE table_name_76 ( railway VARCHAR, class VARCHAR, year VARCHAR )
SELECT railway FROM table_name_76 WHERE class = "250" AND year = "1936"
How many Barangays lived in the municipality with area coordinator of 110.95?
CREATE TABLE table_2402209_1 ( no_of_barangays VARCHAR, area_coordinator VARCHAR )
SELECT no_of_barangays FROM table_2402209_1 WHERE area_coordinator = "110.95"
What is the NBA Draft for the School Bishop O'Connell High School?
CREATE TABLE table_name_10 ( nba_draft VARCHAR, school VARCHAR )
SELECT nba_draft FROM table_name_10 WHERE school = "bishop o'connell high school"
Which wins have less than 1 bye?
CREATE TABLE table_59569 ( "Club" text, "Wins" real, "Byes" real, "Losses" real, "Against" real )
SELECT MAX("Wins") FROM table_59569 WHERE "Byes" < '1'
What number pick was the player from HIFK Helsinki (Finland)?
CREATE TABLE table_29020 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT "Pick #" FROM table_29020 WHERE "College/junior/club team" = 'HIFK Helsinki (Finland)'
What is the cospar ID of the Kosmos 2397 satellite, which has an operational life of 2 months?
CREATE TABLE table_18161217_2 ( cospar_id VARCHAR, estimated_operational_life VARCHAR, satellite VARCHAR )
SELECT cospar_id FROM table_18161217_2 WHERE estimated_operational_life = "2 months" AND satellite = "Kosmos 2397"