instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Name the builder for date built is january 1910 ### Response:
SELECT "Builder" FROM table_21741 WHERE "Date built" = 'January 1910'
### Instruction: how many times did leonardo maia have the fastest lap ? ### Response:
SELECT COUNT(*) FROM table_204_845 WHERE "fastest lap" = 'leonardo maia'
### Instruction: What day was there a set 1 of 25-18? ### Response:
SELECT "Date" FROM table_40920 WHERE "Set 1" = '25-18'
### Instruction: hank aaron played at least what number of years ### Response:
SELECT "career" - "career" FROM table_203_697 WHERE "player" = 'hank aaron'
### Instruction: Find the name of companies whose revenue is between 100 and 150. ### Response:
SELECT name FROM manufacturers WHERE revenue BETWEEN 100 AND 150
### Instruction: What date was episode 10 in the season originally aired? ### Response:
SELECT original_air_date FROM table_2182654_6 WHERE no_in_season = 10
### Instruction: Who was eliminated a person at 18:48? ### Response:
SELECT eliminated AS by FROM table_29692554_2 WHERE time = "18:48"
### Instruction: Who are the actors born in ' New York City ' after 1990 ? ### Response:
SELECT name FROM actor WHERE birth_city = 'New York City' AND birth_year > 1990
### Instruction: who is the only person with the number 14 ? ### Response:
SELECT "member of legislative assembly" FROM table_204_60 WHERE "constituency\nnumber" = 14
### Instruction: What is the release date for the song 'had a dad'? ### Response:
SELECT "Release date" FROM table_22205 WHERE "Song title" = 'Had a Dad'
### Instruction: Name the least number for mydeejay ### Response:
SELECT MIN(n) AS ° FROM table_15887683_10 WHERE television_service = "myDeejay"
### Instruction: What is the license plate code for the country with an area of 784? ### Response:
SELECT license_plate_code FROM table_name_52 WHERE area__sqmi_ = 784
### Instruction: What is the position of the song that was eliminated on 11 november? ### Response:
SELECT MAX("Position") FROM table_2913 WHERE "Date Eliminated" = '11 November'
### Instruction: Which Nationality has a Pick larger than 109, and a Round smaller than 5? ### Response:
SELECT nationality FROM table_name_9 WHERE pick > 109 AND round < 5
### Instruction: What are the details and star ratings of the three hotels with the lowest price ranges? ### Response:
SELECT other_hotel_details, star_rating_code FROM hotels ORDER BY price_range LIMIT 3
### Instruction: What is the highest total number of appearances when there were less than 4 at the FA cup? ### Response:
SELECT MAX("Total") FROM table_45018 WHERE "FA Cup" < '4'
### Instruction: What is the Opponent in final with an All England Open Outcome? ### Response:
SELECT opponent_in_the_final FROM table_name_58 WHERE outcome = "all england open"
### Instruction: What was the race time of the horse with jockey Ramon Dominguez? ### Response:
SELECT "Time" FROM table_68180 WHERE "Jockey" = 'ramon dominguez'
### Instruction: Show all origins and the number of flights from each origin by a bar chart, could you list in ascending by the Y? ### Response:
SELECT origin, COUNT(*) FROM flight GROUP BY origin ORDER BY COUNT(*)
### Instruction: How many different drivers were there for the team when the manufacturer was Toyota? ### Response:
SELECT COUNT("Driver") FROM table_24987 WHERE "Manufacturer" = 'Toyota'
### Instruction: What was the score of the game that led to an 80-63 record? ### Response:
SELECT "Score" FROM table_5670 WHERE "Record" = '80-63'
### Instruction: Which conference does the school from Gainesville, Florida, play in? ### Response:
SELECT "Present Conference" FROM table_37626 WHERE "Location" = 'gainesville, florida'
### Instruction: What artist's song was performed in the week with theme of Billboard #1? ### Response:
SELECT "Artist" FROM table_76716 WHERE "Theme" = 'billboard #1'
### Instruction: What was the Ravens' record on December 5, 1999? ### Response:
SELECT record FROM table_name_33 WHERE date = "december 5, 1999"
### Instruction: Which name has group 0 in Bl4 area? ### Response:
SELECT "Name" FROM table_54334 WHERE "Group(s)" = '0' AND "Area" = 'bl4'
### Instruction: How many incumbents are there in Pennsylvania 5? ### Response:
SELECT COUNT("Incumbent") FROM table_28928 WHERE "District" = 'Pennsylvania 5'
### Instruction: What are the names of entrepreneurs? ### Response:
SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID
### Instruction: What is the number of points of the match with less than 22 games played? ### Response:
SELECT COUNT("Points") FROM table_60332 WHERE "Games played" < '22'
### Instruction: What is Team 1, when Team 2 is Saint Louis? ### Response:
SELECT "Team 1" FROM table_41329 WHERE "Team 2" = 'saint louis'
### Instruction: What is the Standings of Eintracht Braunschweig? ### Response:
SELECT "Standings" FROM table_34964 WHERE "Champions" = 'eintracht braunschweig'
### Instruction: Display a bar chart for how old is the average person for each job?, display y axis in asc order. ### Response:
SELECT job, AVG(age) FROM Person GROUP BY job ORDER BY AVG(age)
### Instruction: What are the goals for Pelletieri in ARG? ### Response:
SELECT goals_l_c_e_ FROM table_name_18 WHERE nat = "arg" AND name = "pelletieri"
### Instruction: what was the name of the only episode directed by bob balaban ? ### Response:
SELECT "title" FROM table_204_981 WHERE "directed by" = 'bob balaban'
### Instruction: What was the score when Bornor Regis Town was the opponent? ### Response:
SELECT "Score" FROM table_48121 WHERE "Opponent" = 'bornor regis town'
### Instruction: What was the date of the game when the record was 66-38? ### Response:
SELECT "Date" FROM table_67291 WHERE "Record" = '66-38'
### Instruction: What is the round in Finland with a draw for method? ### Response:
SELECT "Round" FROM table_77301 WHERE "Location" = 'finland' AND "Method" = 'draw'
### Instruction: What was the number of athletes for the 7th edition? ### Response:
SELECT no_of_athletes FROM table_26669939_1 WHERE edition = "7th"
### Instruction: Which episode aired on august19,2012? ### Response:
SELECT "Title" FROM table_2284 WHERE "Original air date" = 'August19,2012'
### Instruction: How many records are listed on Friday, May 25? ### Response:
SELECT COUNT("Team record") FROM table_16096 WHERE "Date" = 'Friday, May 25'
### Instruction: What episode had 10.47 total viewers? ### Response:
SELECT "Title" FROM table_26327 WHERE "Total viewers (in millions)" = '10.47'
### Instruction: What is the most number of losses for Quetta Zorawar? ### Response:
SELECT MAX("Lost") FROM table_70361 WHERE "Team" = 'quetta zorawar'
### Instruction: what is the average serial format of the arizona license plates ? ### Response:
SELECT "serial format" FROM table_203_82 GROUP BY "serial format" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: What is the latest season number that Eric Tuchman directed? ### Response:
SELECT MAX(season__number) FROM table_2219961_2 WHERE director = "Eric Tuchman"
### Instruction: What position did the sheffield eagles finish in? ### Response:
SELECT MAX(position) FROM table_13018091_1 WHERE club = "Sheffield Eagles"
### Instruction: What stadium hosted the June 7 game and how many visitors were there? ### Response:
SELECT "Location/Attendance" FROM table_72840 WHERE "Date" = 'June 7'
### Instruction: What is the score of the competition of friendly, at match 7? ### Response:
SELECT score1 FROM table_name_53 WHERE competition_or_tour = "friendly" AND match = 7
### Instruction: What is the area of the community with a population of 1209? ### Response:
SELECT area_km_2 FROM table_171361_1 WHERE population = 1209
### Instruction: What is the crew with the end time of 21:11? ### Response:
SELECT "Crew" FROM table_70278 WHERE "End Time" = '21:11'
### Instruction: What was the score of the game that had an attendance of 32,036? ### Response:
SELECT score FROM table_name_87 WHERE attendance = "32,036"
### Instruction: what is the number of the wc matches if the matches were 79 ### Response:
SELECT MAX(WC) AS matches FROM table_30085411_1 WHERE matches = 79
### Instruction: What is the Tie no when Wimbledon is the home team? ### Response:
SELECT "Tie no" FROM table_65346 WHERE "Home team" = 'wimbledon'
### Instruction: What is the name and description for document type code RV? ### Response:
SELECT document_type_name, document_type_description FROM ref_document_types WHERE document_type_code = "RV"
### Instruction: what is the constituency when the rank is less than 5 and the result is con hold? ### Response:
SELECT constituency FROM table_name_64 WHERE rank < 5 AND result = "con hold"
### Instruction: How many players were with the school or club team La Salle? ### Response:
SELECT COUNT("Player") FROM table_15879 WHERE "School/Club Team" = 'La Salle'
### Instruction: What episode number in the series was directed by John Behring? ### Response:
SELECT MAX("No in Series") FROM table_24187 WHERE "Directed by" = 'John Behring'
### Instruction: Which team was in the 2012 clausura tournament? ### Response:
SELECT team FROM table_30083499_1 WHERE tournament = "2012 Clausura"
### Instruction: What is the sum of Cuts made when there were more than 72 events? ### Response:
SELECT SUM("Cuts made") FROM table_40563 WHERE "Events" > '72'
### Instruction: What is the Loan Club from Eng that ended on 22 February? ### Response:
SELECT loan_club FROM table_name_57 WHERE country = "eng" AND ended = "22 february"
### Instruction: What is the Name, when the Time is 8:10.1? ### Response:
SELECT "Name" FROM table_66935 WHERE "Time" = '8:10.1'
### Instruction: That is the year founded for the institution location of Nashville, Tennessee? ### Response:
SELECT MIN("Founded") FROM table_16186 WHERE "Location" = 'Nashville, Tennessee'
### Instruction: Which Nation has a Lead of alexandra bruckmiller? ### Response:
SELECT "Nation" FROM table_5354 WHERE "Lead" = 'alexandra bruckmiller'
### Instruction: Draw a bar chart of nationality versus the average of age, list from high to low by the bars. ### Response:
SELECT Nationality, AVG(Age) FROM journalist GROUP BY Nationality ORDER BY Nationality DESC
### Instruction: In 285 , does it have a lab ? ### Response:
SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 285
### Instruction: Show different parties of people along with the number of people in each party with a bar chart, order total number in descending order. ### Response:
SELECT Party, COUNT(*) FROM people GROUP BY Party ORDER BY COUNT(*) DESC
### Instruction: who is the manufacturer for the order year 1998? ### Response:
SELECT manufacturer FROM table_10007452_3 WHERE order_year = "1998"
### Instruction: What was the lowest Attendance on 8 October 1986? ### Response:
SELECT MIN(attendance) FROM table_name_1 WHERE date = "8 october 1986"
### Instruction: What is the frequency of 101.5 News FM? ### Response:
SELECT "Frequency" FROM table_2011 WHERE "Branding" = '101.5 News FM'
### Instruction: In what City/town was their institution founded in 1860? ### Response:
SELECT "City/ town" FROM table_42724 WHERE "Year founded" = '1860'
### Instruction: what was the elevation in september 2009? ### Response:
SELECT "Elevation m" FROM table_29513 WHERE "Year" = 'September 2009'
### Instruction: what is the name of the institution of the sparta, wi location? ### Response:
SELECT institution FROM table_20887670_1 WHERE location = "Sparta, WI"
### Instruction: Which City has a Date on october 26, 2007 ### Response:
SELECT city FROM table_name_70 WHERE date = "october 26, 2007"
### Instruction: Who as the candidate when the result - % was 2.9%? ### Response:
SELECT "Candidate" FROM table_73860 WHERE "Result - %" = '2.9%'
### Instruction: What contestant had a starting BMI of 42.2? ### Response:
SELECT "Contestant" FROM table_55562 WHERE "Start BMI" = '42.2'
### Instruction: Name the opponent when the field is mitchel athletic complex ### Response:
SELECT "Opponent" FROM table_53463 WHERE "Field" = 'mitchel athletic complex'
### Instruction: Tell me the outgoing manager for 22 november date of vacancy ### Response:
SELECT "Outgoing manager" FROM table_77878 WHERE "Date of vacancy" = '22 november'
### Instruction: What is the number of sort values associated with 389 births? ### Response:
SELECT COUNT("Sort restore") FROM table_48050 WHERE "Births" = '389'
### Instruction: What is the result of the election with 3,871 total votes? ### Response:
SELECT "Results" FROM table_33087 WHERE "Total votes" > '3,871'
### Instruction: What is the Bulgarian Commander of the Battle of Rusion? ### Response:
SELECT "Bulgarian Commander" FROM table_78644 WHERE "Battle" = 'battle of rusion'
### Instruction: when hayden roulston is the winner what is the team classification? ### Response:
SELECT "Team classification" FROM table_30465 WHERE "Winner" = 'Hayden Roulston'
### Instruction: what is the first ship listed as undamaged ? ### Response:
SELECT "ship name" FROM table_204_457 WHERE "status" = 'undamaged' ORDER BY id LIMIT 1
### Instruction: Which city has a facility ID greater than 150833? ### Response:
SELECT city_of_license FROM table_name_17 WHERE facility_id > 150833
### Instruction: What is the place when the performance is 60.73m? ### Response:
SELECT "Place" FROM table_54893 WHERE "Performance" = '60.73m'
### Instruction: What is the BBI whent the economy is 5.68? ### Response:
SELECT "BBI" FROM table_30800 WHERE "Economy" = '5.68'
### Instruction: How many acres is the townland of Maddenstown Middle? ### Response:
SELECT s_acre FROM table_28802165_1 WHERE townland = "Maddenstown Middle"
### Instruction: How many games have Points smaller than 4, and an October smaller than 5? ### Response:
SELECT COUNT(game) FROM table_name_51 WHERE points < 4 AND october < 5
### Instruction: What date did 'the eye of the phoenix' originally air? ### Response:
SELECT "Original air date" FROM table_30930 WHERE "Title" = 'The Eye of the Phoenix'
### Instruction: Who was sent to the third island in week 1? ### Response:
SELECT member FROM table_11764007_2 WHERE week_sent_to_third_island = "1"
### Instruction: What is the opponent on May 25, 2007? ### Response:
SELECT opponent FROM table_name_98 WHERE date = "may 25, 2007"
### Instruction: Bar chart x axis name y axis how many name, and display in ascending by the the number of name. ### Response:
SELECT name, COUNT(name) FROM playlists GROUP BY name ORDER BY COUNT(name)
### Instruction: What is the kickoff time for the game that was at Ralph Wilson Stadium? ### Response:
SELECT kickoff___et__ FROM table_name_92 WHERE game_site = "ralph wilson stadium"
### Instruction: how many times is the team tauro and played less than 18? ### Response:
SELECT COUNT(place) FROM table_name_85 WHERE team = "tauro" AND played < 18
### Instruction: what year comes after 1995 ? ### Response:
SELECT "year" FROM table_204_244 WHERE "year" > 1995 ORDER BY "year" LIMIT 1
### Instruction: what is the type when the year(s) is 1982? ### Response:
SELECT "Type" FROM table_10836 WHERE "Year(s)" = '1982'
### Instruction: Name the number of ends for cardiff city and df ### Response:
SELECT COUNT("Ends") FROM table_2681 WHERE "Source" = 'Cardiff City' AND "P" = 'DF'
### Instruction: Name the most series number for giula sandler ### Response:
SELECT MAX(series__number) FROM table_15838081_3 WHERE writer_s_ = "Giula Sandler"
### Instruction: What was the score when the opposition was sussex after 1890? ### Response:
SELECT score FROM table_name_49 WHERE opposition = "sussex" AND year > 1890
### Instruction: A bar chart about how many faculty members do we have for each faculty rank?, and display by the Y in ascending. ### Response:
SELECT Rank, COUNT(*) FROM Faculty GROUP BY Rank ORDER BY COUNT(*)
### Instruction: What is the result F-A on 5 August 1990? ### Response:
SELECT result_f___a FROM table_name_70 WHERE date = "5 august 1990"
### Instruction: How many Australians were in the UN commission on Korea? ### Response:
SELECT COUNT("Number of Australians involved") FROM table_15938 WHERE "UN Operation title" = 'UN Commission on Korea'
### Instruction: How many total players came from the school/club team of De La Salle? ### Response:
SELECT COUNT(number) FROM table_name_62 WHERE school_club_team = "de la salle"