instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What were the years the building with 44 floors was tallest?
### Response:
| SELECT "Years as tallest" FROM table_51733 WHERE "Floors" = '44' |
### Instruction:
How many captains when the shirt sponsor is toshiba?
### Response:
| SELECT COUNT("Captain") FROM table_29696 WHERE "Shirt sponsor" = 'Toshiba' |
### Instruction:
What Authority has a decile greater than 5, with a roll of 170?
### Response:
| SELECT authority FROM table_name_62 WHERE decile > 5 AND roll = 170 |
### Instruction:
Which is located in Angola and entered service in 1988?
### Response:
| SELECT name FROM table_name_98 WHERE location = "angola" AND entered_service = "1988" |
### Instruction:
For what 188kg is the world record clean & jerk?
### Response:
| SELECT "188kg" FROM table_64679 WHERE "World record" = 'clean & jerk' |
### Instruction:
What is the Kanji for the Ayanami dd-45?
### Response:
| SELECT "Kanji" FROM table_34249 WHERE "Name" = 'ayanami dd-45' |
### Instruction:
How many extra points did right halfback Roswell Wendell have?
### Response:
| SELECT extra_points FROM table_name_12 WHERE position = "right halfback" AND player = "roswell wendell" |
### Instruction:
What number episode in the series was titled 'Never the Bride'?
### Response:
| SELECT "No. in series" FROM table_22356 WHERE "Title" = 'Never the Bride' |
### Instruction:
Name the trailers for formed from pan/pul/res cars
### Response:
| SELECT "Trailers" FROM table_80043 WHERE "Formed from" = 'pan/pul/res cars' |
### Instruction:
Name the least week for opponent of washington redskins
### Response:
| SELECT MIN("Week") FROM table_57771 WHERE "Opponent" = 'washington redskins' |
### Instruction:
Can undergrads to 587 ?
### Response:
| SELECT DISTINCT advisory_requirement, enforced_requirement, name FROM course WHERE department = 'EECS' AND number = 587 |
### Instruction:
How many parties were represented for Charles R. Crisp?
### Response:
| SELECT COUNT(party) FROM table_1342370_10 WHERE incumbent = "Charles R. Crisp" |
### Instruction:
What are the full names and salaries for any employees earning less than 6000?
### Response:
| SELECT first_name, last_name, salary FROM employees WHERE salary < 6000 |
### Instruction:
How did the manager who was replaced by Jakob Michelsen depart?
### Response:
| SELECT "Manner of departure" FROM table_29964 WHERE "Replaced by" = 'Jakob Michelsen' |
### Instruction:
Who was the away team when the crowd was larger than 41,451?
### Response:
| SELECT away_team FROM table_name_69 WHERE crowd > 41 OFFSET 451 |
### Instruction:
What is the earliest stage where mountains classifications was awarded to Peter Stetina?
### Response:
| SELECT MIN("Stage") FROM table_3438 WHERE "Mountains Classification" = 'Peter Stetina' |
### Instruction:
What is the Notes with a Venue that is venice, italy?
### Response:
| SELECT "Notes" FROM table_41087 WHERE "Venue" = 'venice, italy' |
### Instruction:
Who did the most high rebounds in the game played on November 1?
### Response:
| SELECT high_rebounds FROM table_17326036_5 WHERE date = "November 1" |
### Instruction:
What was the date of the game attended by 25,022?
### Response:
| SELECT "Date" FROM table_67285 WHERE "Attendance" = '25,022' |
### Instruction:
What is the Outcome of the match with Partner Andoni Vivanco?
### Response:
| SELECT "Outcome" FROM table_50160 WHERE "Partner" = 'andoni vivanco' |
### Instruction:
In which year was Ang lica Rivera a nominee?
### Response:
| SELECT AVG("Year") FROM table_15314 WHERE "Nominee" = 'angélica rivera' |
### Instruction:
What directors won an award on 14/6/6?
### Response:
| SELECT "Director(s)" FROM table_68592 WHERE "Date" = '14/6/6' |
### Instruction:
What was the decay for the sattelite that was 180 kg?
### Response:
| SELECT decay FROM table_2150068_1 WHERE mass_kg_ = "180" |
### Instruction:
What championship was played in 1981?
### Response:
| SELECT "Championship (Titles/Finals)" FROM table_73358 WHERE "Year" = '1981' |
### Instruction:
Who was the winner on 28 December 2007?
### Response:
| SELECT "Winner" FROM table_38179 WHERE "Date" = '28 december 2007' |
### Instruction:
What is Hon. Vicente Q. Roxas appointment date?
### Response:
| SELECT date_of_appointment FROM table_name_25 WHERE name = "hon. vicente q. roxas" |
### Instruction:
WHAT ROUND WAS FORWARD ANDRE PETERSSON SELECTED?
### Response:
| SELECT MIN("Round") FROM table_17200 WHERE "Position" = 'Forward' |
### Instruction:
what was the smallest number of votes before 2003 ?
### Response:
| SELECT MIN("# of votes") FROM table_203_330 WHERE "year of election" < 2003 |
### Instruction:
What is the D 47 when the D 49 is r 32?
### Response:
| SELECT d_47 FROM table_name_92 WHERE d_49 = "r 32" |
### Instruction:
What is the Quantity of the engine Model PG-2901?
### Response:
| SELECT "Quantity" FROM table_62874 WHERE "Model" = 'pg-2901' |
### Instruction:
what is the next show after 2009
### Response:
| SELECT "show" FROM table_204_729 WHERE "year" > 2009 ORDER BY "year" LIMIT 1 |
### Instruction:
Name the tournament for 2010 of grand slam tournaments
### Response:
| SELECT "Tournament" FROM table_6661 WHERE "2010" = 'grand slam tournaments' |
### Instruction:
What is the prize pool if the entries is 1,132?
### Response:
| SELECT prize AS Pool FROM table_2534387_11 WHERE entries = "1,132" |
### Instruction:
What was the score of the game played when the team was 16-17?
### Response:
| SELECT "Score" FROM table_21319 WHERE "Record" = '16-17' |
### Instruction:
plot scatter on what is the average price range of hotels for each each star rating code?
### Response:
| SELECT star_rating_code, AVG(price_range) FROM Hotels GROUP BY star_rating_code |
### Instruction:
How tall is the basket ball player lior eliyahu in meters?
### Response:
| SELECT height__m_ FROM table_23670057_4 WHERE player = "Lior Eliyahu" |
### Instruction:
Name the sign of zodiac for chithirai
### Response:
| SELECT sign_of_zodiac FROM table_169955_1 WHERE tamil_calendar = "Chithirai" |
### Instruction:
What was the average when the strike rate is 75.78?
### Response:
| SELECT "Average" FROM table_28277 WHERE "Strike rate" = '75.78' |
### Instruction:
What was the Score in Final of the Eckerd Open Tournament?
### Response:
| SELECT "Score in Final" FROM table_34646 WHERE "Tournament Name" = 'eckerd open' |
### Instruction:
What is Athletes, when Run 2 is 1:24.77?
### Response:
| SELECT athletes FROM table_name_86 WHERE run_2 = "1:24.77" |
### Instruction:
What was the highest attendance when the result was L 6-28?
### Response:
| SELECT MAX("Attendance") FROM table_7069 WHERE "Result" = 'l 6-28' |
### Instruction:
Which Place has an English translation of lullaby for my beloved?
### Response:
| SELECT MAX("Place") FROM table_13982 WHERE "English translation" = 'lullaby for my beloved' |
### Instruction:
Which team did Tyson Chandler (7) have high rebounds for?
### Response:
| SELECT team FROM table_name_10 WHERE high_rebounds = "tyson chandler (7)" |
### Instruction:
What is Opponents, when Partner is Mervana Jugi -Salki ?
### Response:
| SELECT opponents FROM table_name_8 WHERE partner = "mervana jugić-salkić" |
### Instruction:
Who was crew chief for the team owned by Bob Leavine?
### Response:
| SELECT crew_chief FROM table_1266602_2 WHERE owner_s_ = "Bob Leavine" |
### Instruction:
How many districts have the incumbent, Charles Rangel?
### Response:
| SELECT COUNT(district) FROM table_1805191_33 WHERE incumbent = "Charles Rangel" |
### Instruction:
What is the release date of the bonus interview with Peter Purves?
### Response:
| SELECT release_date FROM table_1681535_1 WHERE notes = "Bonus interview with Peter Purves" |
### Instruction:
List the number of the research staff details, and order in ascending order.
### Response:
| SELECT staff_details, COUNT(staff_details) FROM Research_Staff GROUP BY staff_details ORDER BY staff_details |
### Instruction:
What is the catalog number of Venus Demilo's A-side?
### Response:
| SELECT "Catalog number" FROM table_64254 WHERE "A-side" = 'venus demilo' |
### Instruction:
how many losses do the st. louis blues have ?
### Response:
| SELECT "losses" FROM table_204_964 WHERE "team" = 'st. louis blues' |
### Instruction:
Tell me the most Att with a long of 27 with yards longer than 27
### Response:
| SELECT MAX(att) FROM table_name_24 WHERE long = 27 AND yards > 27 |
### Instruction:
Does the sounddock series I v2 have dual voltage?
### Response:
| SELECT "Dual Voltage" FROM table_26797 WHERE "Version" = 'SoundDock series I v2' |
### Instruction:
What was the margin of victory for the event in lake forest, illinois?
### Response:
| SELECT "Margin of victory" FROM table_29577 WHERE "Location" = 'Lake Forest, Illinois' |
### Instruction:
what's the result with incumbent being bill g. lowrey
### Response:
| SELECT result FROM table_1342379_23 WHERE incumbent = "Bill G. Lowrey" |
### Instruction:
What was the grid placement for the Maserati that completed 14 laps?
### Response:
| SELECT grid FROM table_name_40 WHERE constructor = "maserati" AND laps = 14 |
### Instruction:
When the away team was collingwood, what was the away team score?
### Response:
| SELECT "Away team score" FROM table_54435 WHERE "Away team" = 'collingwood' |
### Instruction:
What is the away team's score when north melbourne is the home team?
### Response:
| SELECT "Away team score" FROM table_4919 WHERE "Home team" = 'north melbourne' |
### Instruction:
List the names, phone numbers, and emails of all customers sorted by their dates of becoming customers.
### Response:
| SELECT customer_name, customer_phone, customer_email FROM Customers ORDER BY date_became_customer |
### Instruction:
How many games in February have a record of 40-15-5?
### Response:
| SELECT SUM(february) FROM table_name_8 WHERE record = "40-15-5" |
### Instruction:
which player paid the most in transfer fees ?
### Response:
| SELECT "player" FROM table_203_440 ORDER BY "transfer fee\n(\u20ac million)" DESC LIMIT 1 |
### Instruction:
What entrant has a P tyre and was constructed by Alfa Romeo?
### Response:
| SELECT entrant FROM table_name_1 WHERE tyre = "p" AND constructor = "alfa romeo" |
### Instruction:
Constructor with total time of 2:45.416
### Response:
| SELECT constructor FROM table_name_72 WHERE q1 + q2_time = "2:45.416" |
### Instruction:
What is the venue on October 13, 2007?
### Response:
| SELECT venue FROM table_name_60 WHERE date = "october 13, 2007" |
### Instruction:
The competition that took place on 4 Apr 1997 ended with what as the score?
### Response:
| SELECT score FROM table_name_42 WHERE date = "4 apr 1997" |
### Instruction:
what is the percentage of win to loss for the colonial athletic association ?
### Response:
| SELECT "win %" FROM table_203_187 WHERE "conference" = 'colonial athletic association' |
### Instruction:
What episode includes 'Cop and Saucer'?
### Response:
| SELECT MIN("Ep") FROM table_23368 WHERE "Huckleberry Hound" = 'Cop and Saucer' |
### Instruction:
What year had less than 160 laps and a rank of 26?
### Response:
| SELECT year FROM table_name_25 WHERE laps < 160 AND rank = "26" |
### Instruction:
Which team played at home for the second leg and has an aggregate score of 2-4?
### Response:
| SELECT home__2nd_leg_ FROM table_name_39 WHERE aggregate = "2-4" |
### Instruction:
c _ peptide > 0.3 ng / ml basal or stimulated;
### Response:
| SELECT * FROM table_train_241 WHERE c_peptide_level > 0.3 |
### Instruction:
What is the rank of the nation with more than 0 silver medals and 38 bronze medals?
### Response:
| SELECT rank FROM table_name_97 WHERE silver > 0 AND bronze = 38 |
### Instruction:
What team set a 3:15:43 winning time?
### Response:
| SELECT team FROM table_2241841_1 WHERE race_time = "3:15:43" |
### Instruction:
what was the participation for saturday, may 12
### Response:
| SELECT MAX(attendance) FROM table_27893892_2 WHERE date = "Saturday, May 12" |
### Instruction:
What is the highest Year, when the Venue is Beijing, PR China?
### Response:
| SELECT MAX(year) FROM table_name_54 WHERE venue = "beijing, pr china" |
### Instruction:
What year has 14 moves and an opening of C54 Italian Game?
### Response:
| SELECT year FROM table_name_66 WHERE moves = 14 AND opening = "c54 italian game" |
### Instruction:
The game on Saturday, May 25 took place on which week?
### Response:
| SELECT MIN("Week") FROM table_27094 WHERE "Date" = 'Saturday, May 25' |
### Instruction:
How many populations are listed for mladenovo?
### Response:
| SELECT COUNT("Population (2011)") FROM table_27840 WHERE "Settlement" = 'Mladenovo' |
### Instruction:
how many games had an attendance of more than 10,000 ?
### Response:
| SELECT COUNT(*) FROM table_204_495 WHERE "attendance" > 10000 |
### Instruction:
What is Nelspruit's population?
### Response:
| SELECT COUNT("Population (2013)") FROM table_45401 WHERE "Largest city" = 'nelspruit' |
### Instruction:
How many points were there when there more than 6 losses and less than 14 matches?
### Response:
| SELECT COUNT(points) FROM table_name_16 WHERE lost > 6 AND match < 14 |
### Instruction:
What is the latest year established that had 5 powiats?
### Response:
| SELECT MAX("Year established") FROM table_21963 WHERE "Number of powiats" = '5 powiats' |
### Instruction:
What is the highest number of points for a position less than 3 and less than 1 loss?
### Response:
| SELECT MAX(points) FROM table_name_19 WHERE position < 3 AND lost < 1 |
### Instruction:
What is the platform for the game of the third-person shooter genre?
### Response:
| SELECT "Platform(s)" FROM table_64751 WHERE "Genre" = 'third-person shooter' |
### Instruction:
What kind of free practice is there with a Ford RS2 engine +?
### Response:
| SELECT free_practice_driver_s_ FROM table_name_8 WHERE engine_† = "ford rs2" |
### Instruction:
What was the lowest attendance when the Green Bay Packers played?
### Response:
| SELECT MIN("Attendance") FROM table_48725 WHERE "Opponent" = 'green bay packers' |
### Instruction:
What was the date of the game when the record was 27-14?
### Response:
| SELECT date FROM table_23285849_7 WHERE record = "27-14" |
### Instruction:
What is the highest Super G, when Season is later than 1996?
### Response:
| SELECT MAX("Super G") FROM table_7716 WHERE "Season" > '1996' |
### Instruction:
Tell me the venue with result of eng by 6 wkts
### Response:
| SELECT "Venue" FROM table_70119 WHERE "Result" = 'eng by 6 wkts' |
### Instruction:
What was the place and date that the Apartments area was damaged?
### Response:
| SELECT "Place & date" FROM table_25637 WHERE "Area damaged" = 'Apartments area' |
### Instruction:
How many schools did darryl dawkins play for
### Response:
| SELECT COUNT("School/Club Team") FROM table_16859 WHERE "Player" = 'Darryl Dawkins' |
### Instruction:
Which # of Episodes has a Mole of craig slike?
### Response:
| SELECT MIN("# of Episodes") FROM table_12695 WHERE "Mole" = 'craig slike' |
### Instruction:
Name the total number of seats for votes % more than 19.5
### Response:
| SELECT COUNT("Seats") FROM table_79926 WHERE "Vote %" > '19.5' |
### Instruction:
What is Draws, when Losses is 'Did Not Qualify'?
### Response:
| SELECT "Draws" FROM table_45793 WHERE "Losses" = 'did not qualify' |
### Instruction:
How many categories of first elected are in Washington 4 district?
### Response:
| SELECT COUNT(first_elected) FROM table_1805191_48 WHERE district = "Washington 4" |
### Instruction:
What is the average capacity for the vehicle having a navigator of Macneall?
### Response:
| SELECT AVG("Capacity") FROM table_65050 WHERE "Navigator" = 'macneall' |
### Instruction:
What is the Away Team Score of the Collingwood Home Team?
### Response:
| SELECT "Away team score" FROM table_52066 WHERE "Away team" = 'collingwood' |
### Instruction:
A bar chart shows the distribution of All_Games and School_ID , show in ascending by the bar.
### Response:
| SELECT All_Games, School_ID FROM basketball_match ORDER BY All_Games |
### Instruction:
Saint-Jacques has what as the area km 2?
### Response:
| SELECT "Area km 2" FROM table_48639 WHERE "Official Name" = 'saint-jacques' |
### Instruction:
what is drug code of drug name simethicone?
### Response:
| SELECT prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.drug = "Simethicone" |
### Instruction:
Name the number of traditional chinese for album number 6th
### Response:
| SELECT COUNT(chinese__traditional_) FROM table_1893815_1 WHERE album_number = "6th" |
### Instruction:
Name the time for saturday 4 march 1995
### Response:
| SELECT "Time" FROM table_72784 WHERE "Date" = 'Saturday 4 March 1995' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.