instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Which Years in Orlando has a School/Club Team of kentucky? ### Response:
SELECT years_in_orlando FROM table_name_96 WHERE school_club_team = "kentucky"
### Instruction: How many champions are shown for the runner-up of stefan edberg? ### Response:
SELECT COUNT("Champion") FROM table_24487 WHERE "Runner-up" = 'Stefan Edberg'
### Instruction: Which Oricon has a Romaji title of nakitakunalu? ### Response:
SELECT MAX(oricon) FROM table_name_17 WHERE romaji_title = "nakitakunalu"
### Instruction: what was the date of the last free choice performance ? ### Response:
SELECT "date" FROM table_204_889 WHERE "theme" = 'free choice' ORDER BY "date" DESC LIMIT 1
### Instruction: What Attendance has a Date that is november 1, 1993? ### Response:
SELECT attendance FROM table_name_69 WHERE date = "november 1, 1993"
### Instruction: What is the nickname of the school established in 2009? ### Response:
SELECT "Nickname" FROM table_49961 WHERE "Established" = '2009'
### Instruction: what's the livingstone with fitzroy being 9499 ### Response:
SELECT "Livingstone" FROM table_17718 WHERE "Fitzroy" = '9499'
### Instruction: How many different results are there for the season with a 4-3 conference record? ### Response:
SELECT COUNT("Result") FROM table_23655 WHERE "Conference Record" = '4-3'
### Instruction: Which chassis has more than 0 points and was before 1966? ### Response:
SELECT chassis FROM table_name_59 WHERE year < 1966 AND points > 0
### Instruction: When event 4 was Whiplash, what was event 2? ### Response:
SELECT "Event 2" FROM table_21432 WHERE "Event 4" = 'Whiplash'
### Instruction: What was the score of the game attended by 50,200? ### Response:
SELECT "Score" FROM table_80064 WHERE "Attendance" = '50,200'
### Instruction: What winner has the sanremo to cuneo as the course? ### Response:
SELECT "Winner" FROM table_67817 WHERE "Course" = 'sanremo to cuneo'
### Instruction: Which tournaments was Ryan Palmer in as a runner-up? ### Response:
SELECT "Tournament" FROM table_47424 WHERE "Runner(s)-up" = 'ryan palmer'
### Instruction: What is the Rank of the Character with Tenure of 2011? ### Response:
SELECT "Rank" FROM table_13071 WHERE "Tenure" = '2011'
### Instruction: What would be the highest Platforms for the Centrale Tram Stop Stations? ### Response:
SELECT MAX("Platforms") FROM table_55509 WHERE "Stations" = 'centrale tram stop'
### Instruction: how many deaths were in year 2012 due to plan accidents ? ### Response:
SELECT "deaths" FROM table_200_10 WHERE "year" = 2012
### Instruction: What is the number when against is rajasthan royals? ### Response:
SELECT MAX(no) FROM table_22962745_35 WHERE against = "Rajasthan Royals"
### Instruction: What is other when registered voters is 50.7%? ### Response:
SELECT other FROM table_27003186_3 WHERE registered_voters = "50.7%"
### Instruction: What was the location attendance when High points was by Pierce (22)? ### Response:
SELECT "Location Attendance" FROM table_394 WHERE "High points" = 'Pierce (22)'
### Instruction: What's the series of Buddy The Woodsman by director Jack King? ### Response:
SELECT series FROM table_name_33 WHERE director = "jack king" AND title = "buddy the woodsman"
### Instruction: How much ht does the model with 10x mult. 1 have? ### Response:
SELECT "HT" FROM table_29395 WHERE "Mult. 1" = '10x'
### Instruction: Which Date had an Outcome of runner-up, and a Surface of carpet? ### Response:
SELECT date FROM table_name_85 WHERE outcome = "runner-up" AND surface = "carpet"
### Instruction: Whats the song of name with an original artist Garth Brooks ### Response:
SELECT song_choice FROM table_21501518_1 WHERE original_artist = "Garth Brooks"
### Instruction: What is the final score if the partner is Woodforde? ### Response:
SELECT score_in_the_final FROM table_22597626_2 WHERE partner = "Woodforde"
### Instruction: What is % of All, when Dennis Kucinich is '5%'? ### Response:
SELECT "% of all" FROM table_59430 WHERE "Dennis Kucinich" = '5%'
### Instruction: What is the round of the match with Emanuel Newton as the opponent? ### Response:
SELECT "Round" FROM table_75571 WHERE "Opponent" = 'emanuel newton'
### Instruction: What human gene has a yeast ortholog of RAD26? ### Response:
SELECT human_gene__protein_ FROM table_name_41 WHERE yeast_ortholog = "rad26"
### Instruction: How many losses have more than 45,036 attendance? ### Response:
SELECT "Loss" FROM table_36408 WHERE "Attendance" > '45,036'
### Instruction: Which Apogee was on 1959-02-20? ### Response:
SELECT apogee FROM table_name_5 WHERE date = "1959-02-20"
### Instruction: Visualize a bar chart showing the average age of captains in each class, I want to rank in asc by the x axis. ### Response:
SELECT Class, AVG(age) FROM captain GROUP BY Class ORDER BY Class
### Instruction: What instruments does the the song 'Le Pop' use? ### Response:
SELECT instrument FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Le Pop"
### Instruction: Name the max top 5 for 5.0 avg finish ### Response:
SELECT MAX("Top 5") FROM table_20991 WHERE "Avg. Finish" = '5.0'
### Instruction: Which friend of Zach has the longest-lasting friendship? ### Response:
SELECT friend FROM personfriend WHERE name = 'Zach' AND year = (SELECT MAX(year) FROM personfriend WHERE name = 'Zach')
### Instruction: Name the segment 1 for episode # 2/225 ### Response:
SELECT segment_1 FROM table_24172078_2 WHERE episode__number = "2/225"
### Instruction: What is the title that was first published in August 2010? ### Response:
SELECT "Title" FROM table_64045 WHERE "First Issue" = 'august 2010'
### Instruction: who were the winners in west virginia ### Response:
SELECT "Candidates Winning candidate in bold" FROM table_177 WHERE "State (linked to summaries below)" = 'West Virginia'
### Instruction: Who were the running candidates when Samuel Riker was the incumbent? ### Response:
SELECT "Candidates" FROM table_28925 WHERE "Incumbent" = 'Samuel Riker'
### Instruction: At what time was the patient with patient id 2560 admitted in the hospital? ### Response:
SELECT demographic.admittime FROM demographic WHERE demographic.subject_id = "2560"
### Instruction: who is the first pop musician on this list ? ### Response:
SELECT "name" FROM table_204_866 WHERE "notable as" = 'pop musician' ORDER BY id LIMIT 1
### Instruction: What's the 1991 census of the city of Carpi? ### Response:
SELECT MAX("1991 Census") FROM table_15976 WHERE "City" = 'Carpi'
### Instruction: What is the kit manufacturer with Walkers as the shirt sponsor? ### Response:
SELECT "Kit manufacturer" FROM table_70451 WHERE "Shirt sponsor" = 'walkers'
### Instruction: Which School/Club Team did Andre Wakefield play for? ### Response:
SELECT "School/Club Team" FROM table_51727 WHERE "Player" = 'andre wakefield'
### Instruction: What week shows for december 31, 1993? ### Response:
SELECT COUNT(week) FROM table_name_25 WHERE date = "december 31, 1993"
### Instruction: sounds good, is good finder. ### Response:
SELECT Id AS "post_link", Score, Body, CreationDate FROM Posts WHERE Body LIKE '%it sounds good, it is good%' ORDER BY Score
### Instruction: Find the average number of followers for the users who do not have any tweet. ### Response:
SELECT AVG(followers) FROM user_profiles WHERE NOT uid IN (SELECT uid FROM tweets)
### Instruction: What's the production code of the episode with a series number 37b? ### Response:
SELECT "Production code" FROM table_905 WHERE "No. in series" = '37b'
### Instruction: What kind of North Marquesan has a Takuu of / ani/? ### Response:
SELECT "North Marquesan" FROM table_49473 WHERE "Takuu" = '/ɾani/'
### Instruction: During what years did Chris Corchiani play in Orlando? ### Response:
SELECT years_in_orlando FROM table_15621965_3 WHERE player = "Chris Corchiani"
### Instruction: What is the 2008 rank of Djibouti? ### Response:
SELECT "2008 Rank" FROM table_25652 WHERE "Country" = 'Djibouti'
### Instruction: What team was the winner when the runner-up shows both teams awarded championship after a draw.? ### Response:
SELECT winner FROM table_name_26 WHERE runner_up = "both teams awarded championship after a draw."
### Instruction: What is the result for SSV ULM 1846? ### Response:
SELECT "Result" FROM table_59437 WHERE "Home" = 'ssv ulm 1846'
### Instruction: Name the regular season record for standing 11th ### Response:
SELECT regular_season_record__w_l_ FROM table_20774360_2 WHERE standing = "11th"
### Instruction: What is the average number of rounds for winner Rafael Cavalcante? ### Response:
SELECT AVG("Round") FROM table_37091 WHERE "Winner" = 'rafael cavalcante'
### Instruction: What's the oil rig of the song with a draw number 9? ### Response:
SELECT MIN(oil_rig) FROM table_20183474_1 WHERE draw = 9
### Instruction: how many matches were played at ballymore , brisbane ? ### Response:
SELECT COUNT(*) FROM table_203_634 WHERE "venue" = 'ballymore, brisbane'
### Instruction: What episode number has an audience share of 10%? ### Response:
SELECT COUNT("Episode number") FROM table_41842 WHERE "Audience share (average)" = '10%'
### Instruction: What is the Standard cost (USD) by hans Oischinger Creator ? ### Response:
SELECT standard_cost__usd_ FROM table_name_27 WHERE creator = "hans oischinger"
### Instruction: What is the attendance when the opponent was the Houston Oilers? ### Response:
SELECT "Attendance" FROM table_13690 WHERE "Opponent" = 'houston oilers'
### Instruction: what is the average when matches is less than 5 and wickets is more than 9? ### Response:
SELECT average FROM table_name_26 WHERE matches < 5 AND wickets > 9
### Instruction: What was the result of the game played on May 9, 2012? ### Response:
SELECT result FROM table_name_35 WHERE date = "may 9, 2012"
### Instruction: Street Address of 980 n. michigan avenue is what name? ### Response:
SELECT name FROM table_name_46 WHERE street_address = "980 n. michigan avenue"
### Instruction: What is the highest number of points the cosworth straight-4 engine scored? ### Response:
SELECT MAX("Pts.") FROM table_68886 WHERE "Engine" = 'cosworth straight-4'
### Instruction: What nhl team does dwight bialowas play for? ### Response:
SELECT "NHL team" FROM table_19538 WHERE "Player" = 'Dwight Bialowas'
### Instruction: Which 30-day Pass has a Base Fare of $3? ### Response:
SELECT "30-Day Pass" FROM table_55000 WHERE "Base Fares" = '$3'
### Instruction: Name the least number for production code for 3abc21 ### Response:
SELECT MIN("No. in series") FROM table_2860 WHERE "Production code" = '3ABC21'
### Instruction: Who is the entrant when the year is less than 1953? ### Response:
SELECT "Entrant" FROM table_80266 WHERE "Year" < '1953'
### Instruction: Which Artist has an Issue Price of $8,159.95? ### Response:
SELECT artist FROM table_name_11 WHERE issue_price = "$8,159.95"
### Instruction: What district is incumbent elmer j. holland from? ### Response:
SELECT "District" FROM table_18415 WHERE "Incumbent" = 'Elmer J. Holland'
### Instruction: How many people attended the game at Jahn-sportpark? ### Response:
SELECT MIN("Attendance") FROM table_3141 WHERE "Game site" = 'Jahn-Sportpark'
### Instruction: How man horse power did the ship covadonga have? ### Response:
SELECT "Horse- power" FROM table_26182 WHERE "Warship" = 'Covadonga'
### Instruction: List the rider for the doncaster handicap compeition. ### Response:
SELECT "Jockey" FROM table_31480 WHERE "Race" = 'Doncaster Handicap'
### Instruction: What is the status of the ENG Country with the name of Farquharson? ### Response:
SELECT status FROM table_name_79 WHERE country = "eng" AND name = "farquharson"
### Instruction: how many games were attended by more that 70,000 people ? ### Response:
SELECT COUNT(*) FROM table_204_936 WHERE "attendance" > 70000
### Instruction: Name the Region with a Mountain Peak of dillingham high point? ### Response:
SELECT "Region" FROM table_77146 WHERE "Mountain Peak" = 'dillingham high point'
### Instruction: What are all the CFL teams where the pick number is 36? ### Response:
SELECT cfl_team FROM table_15817998_5 WHERE pick__number = 36
### Instruction: Name the most copa del rey for karim benzema ### Response:
SELECT MAX("Copa del Rey") FROM table_25565 WHERE "Player" = 'Karim Benzema'
### Instruction: How many poles did team #14 ginn racing have? ### Response:
SELECT poles FROM table_1708014_1 WHERE team_s_ = "#14 Ginn Racing"
### Instruction: What is team Yamaha with 3 points ranked? ### Response:
SELECT "Rank" FROM table_43308 WHERE "Team" = 'yamaha' AND "Points" = '3'
### Instruction: What is the extra result associated with 6th place in 1972? ### Response:
SELECT extra FROM table_name_22 WHERE result = "6th" AND year = 1972
### Instruction: What is the elista with 1 played and 153 baku? ### Response:
SELECT elista FROM table_name_14 WHERE played = 1 AND baku = "153⅓"
### Instruction: How many episodes of 30 minutes were written by John Sullivan? ### Response:
SELECT COUNT("Duration") FROM table_21854 WHERE "Written by" = 'John Sullivan'
### Instruction: Posts that contain inline code formatting. ### Response:
SELECT Id AS "post_link" FROM Posts WHERE Body LIKE '%<code>%' AND OwnerUserId = @UserID ORDER BY CreationDate DESC
### Instruction: What is the lowest Total containing a Bronze of 0 and Rank smaller than 2? ### Response:
SELECT MIN(total) FROM table_name_92 WHERE bronze = 0 AND rank < 2
### Instruction: At what latitude can the name origin of naijok fossae be found? ### Response:
SELECT "Latitude" FROM table_21075 WHERE "Name" = 'Naijok Fossae'
### Instruction: Which shirt sponser has Nike as a kit manufacturer? ### Response:
SELECT shirt_sponsor FROM table_name_68 WHERE kit_manufacturer = "nike"
### Instruction: What is the Main use of transmitter solt in Hungary? ### Response:
SELECT main_use FROM table_name_75 WHERE country = "hungary" AND name = "transmitter solt"
### Instruction: What B Mountain Channel has station call letters of k41go? ### Response:
SELECT b_mountain_channel FROM table_name_75 WHERE station_call_letters = "k41go"
### Instruction: What genre is Star Plus from India? ### Response:
SELECT "Genre" FROM table_33461 WHERE "Origin of Programming" = 'india' AND "Network" = 'star plus'
### Instruction: What's the name of the train to Madurai Junction? ### Response:
SELECT train_name FROM table_23477312_1 WHERE destination = "Madurai Junction"
### Instruction: What was the score of team 2 Stade Lavallois (D1)? ### Response:
SELECT score FROM table_name_5 WHERE team_2 = "stade lavallois (d1)"
### Instruction: How many games had the team played after they were 40-20? ### Response:
SELECT game FROM table_13762472_7 WHERE record = "40-20"
### Instruction: How many episodes were written by Warren Leight? ### Response:
SELECT COUNT(season_no) FROM table_29154676_1 WHERE written_by = "Warren Leight"
### Instruction: how many games has kansas state and depaul played against each other ### Response:
SELECT COUNT("Games played") FROM table_20286 WHERE "Kansas State vs." = 'DePaul'
### Instruction: Posts which contain given word. ### Response:
SELECT Id AS "post_link", CreationDate FROM Posts WHERE (Body LIKE '%##keyword##%') ORDER BY CreationDate DESC LIMIT 100
### Instruction: What was the max points you when when you place 9th? ### Response:
SELECT MAX(points) FROM table_17289224_1 WHERE final_placing = "9th"
### Instruction: What is the highest S number with a capital of Shekhsar? ### Response:
SELECT MAX("S.No.") FROM table_75523 WHERE "Capital" = 'shekhsar'
### Instruction: What is the uniform number of the player whose last name is Wiltshire? ### Response:
SELECT MIN("Uni#") FROM table_36996 WHERE "Surname" = 'wiltshire'
### Instruction: How many silvers for nations with over 3 golds and under 6 bronzes? ### Response:
SELECT COUNT(silver) FROM table_name_60 WHERE bronze < 6 AND gold > 3
### Instruction: In the game against home team Fitzroy, what did the away team score? ### Response:
SELECT "Away team score" FROM table_11034 WHERE "Home team" = 'fitzroy'
### Instruction: What is the fleet number of Model Orion 01.507? ### Response:
SELECT fleet_number FROM table_name_23 WHERE model = "orion 01.507"