instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
List all directors when Brad Radnitz was the writer?
### Response:
|
SELECT "Directed by" FROM table_26054 WHERE "Written by" = 'Brad Radnitz'
|
### Instruction:
how many points did alianza f.c. receive ?
### Response:
|
SELECT "points" FROM table_203_67 WHERE "team" = 'alianza f.c'
|
### Instruction:
what results are dated december 19?
### Response:
|
SELECT "Results\u00b9" FROM table_35824 WHERE "Date" = 'december 19'
|
### Instruction:
Where did the player move from that went to stuttgart?
### Response:
|
SELECT "Moving from" FROM table_14328 WHERE "Moving to" = 'stuttgart'
|
### Instruction:
What is the enrollment at delaware valley college?
### Response:
|
SELECT MAX("Joined MAC") FROM table_28396 WHERE "Institution" = 'Delaware Valley College'
|
### Instruction:
What year did the Nashville Metros have the Regular Season 2nd, central?
### Response:
|
SELECT year FROM table_name_74 WHERE regular_season = "2nd, central"
|
### Instruction:
how many models have a capacity other than 600 ?
### Response:
|
SELECT COUNT("model name") FROM table_203_873 WHERE "capacity" <> 600
|
### Instruction:
What is the Artist with a Date that is june 1979?
### Response:
|
SELECT artist FROM table_name_48 WHERE date = "june 1979"
|
### Instruction:
What is the origin of the name of Keller Patera?
### Response:
|
SELECT "Name origin" FROM table_72815 WHERE "Name" = 'Keller Patera'
|
### Instruction:
What is the name for Malay with a foundation in Iptura?
### Response:
|
SELECT "Name in Malay" FROM table_61909 WHERE "Foundation" = 'iptura'
|
### Instruction:
whats the number of games released in 1998 ?
### Response:
|
SELECT COUNT("title") FROM table_203_580 WHERE "release" = 1998
|
### Instruction:
What was the original title of the king's speech?
### Response:
|
SELECT original_title FROM table_name_99 WHERE winner_and_nominees = "the king's speech"
|
### Instruction:
Which type of policy is most frequently used? Give me the policy type code.
### Response:
|
SELECT policy_type_code FROM policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1
|
### Instruction:
Who's the opponent for June 13?
### Response:
|
SELECT "Opponent" FROM table_77732 WHERE "Date" = 'june 13'
|
### Instruction:
Which Distance has a Time of men's speed skating?
### Response:
|
SELECT "Distance" FROM table_38591 WHERE "Time" = 'men''s speed skating'
|
### Instruction:
how many mayors were either fisherman or farmers ?
### Response:
|
SELECT COUNT("name") FROM table_201_10 WHERE "occupation" IN ('fisherman', 'farmer')
|
### Instruction:
what are all the win/loss where season is 2009
### Response:
|
SELECT win_loss FROM table_1165048_1 WHERE season = 2009
|
### Instruction:
Which Home Team has a Result of 124-101?
### Response:
|
SELECT home_team FROM table_name_10 WHERE result = "124-101"
|
### Instruction:
Who was Margaret of Brabant's spouse?
### Response:
|
SELECT "Spouse" FROM table_15141 WHERE "Name" = 'margaret of brabant'
|
### Instruction:
What is Record, when Date is 'December 30'?
### Response:
|
SELECT "Record" FROM table_44937 WHERE "Date" = 'december 30'
|
### Instruction:
What's the best average score with a bad score of 15?
### Response:
|
SELECT AVG(best_score) FROM table_name_46 WHERE worst_score = 15
|
### Instruction:
Which complaint status has more than 3 records on file?
### Response:
|
SELECT complaint_status_code FROM complaints GROUP BY complaint_status_code HAVING COUNT(*) > 3
|
### Instruction:
What Elector has the Place of birth of San Severino?
### Response:
|
SELECT "Elector" FROM table_64896 WHERE "Place of birth" = 'san severino'
|
### Instruction:
What is the earliest episode of the series that is set in Boston, Massachusetts?
### Response:
|
SELECT MIN(total) FROM table_name_80 WHERE location = "boston, massachusetts"
|
### Instruction:
When godstone is in division five who is in division four?
### Response:
|
SELECT "Division Four" FROM table_26978 WHERE "Division Five" = 'Godstone'
|
### Instruction:
What is the Score of the Competition with a 5-0 Result?
### Response:
|
SELECT "Score" FROM table_42712 WHERE "Result" = '5-0'
|
### Instruction:
what is the highest round when the player is troy creurer (d)?
### Response:
|
SELECT MAX(round) FROM table_name_90 WHERE player = "troy creurer (d)"
|
### Instruction:
What year did she compete in tampere, finland?
### Response:
|
SELECT AVG(year) FROM table_name_95 WHERE venue = "tampere, finland"
|
### Instruction:
What metal has one rupee as the denomination?
### Response:
|
SELECT "Metal" FROM table_33903 WHERE "Denomination" = 'one rupee'
|
### Instruction:
What is the Current status of Callander Coal company grey?
### Response:
|
SELECT "Current status" FROM table_11926 WHERE "Livery" = 'callander coal company grey'
|
### Instruction:
What is the total revenue of each manufacturer, and order in desc by the names.
### Response:
|
SELECT Name, SUM(Revenue) FROM Manufacturers GROUP BY Name ORDER BY Name DESC
|
### Instruction:
What was the largest crowd where the home team was Fitzroy?
### Response:
|
SELECT MAX("Crowd") FROM table_74639 WHERE "Home team" = 'fitzroy'
|
### Instruction:
What was the race of the jockey in na group in 4th place?
### Response:
|
SELECT race FROM table_name_15 WHERE group = "na" AND result = "4th"
|
### Instruction:
Which Year has a Date of 5 6 february?
### Response:
|
SELECT AVG("Year") FROM table_61900 WHERE "Date" = '5–6 february'
|
### Instruction:
What is mario dom nguez's average Grid?
### Response:
|
SELECT AVG("Grid") FROM table_79766 WHERE "Driver" = 'mario domínguez'
|
### Instruction:
What team had a qual 2 time of 58.385?
### Response:
|
SELECT team FROM table_name_92 WHERE qual_2 = "58.385"
|
### Instruction:
What is the verb meaning for Saugen in part 1?
### Response:
|
SELECT "Verb meaning" FROM table_44583 WHERE "Part 1" = 'saugen'
|
### Instruction:
What was the score of the game with a loss of Maholm (2 4)?
### Response:
|
SELECT score FROM table_name_81 WHERE loss = "maholm (2–4)"
|
### Instruction:
The original artist Joan Osborne has what result?
### Response:
|
SELECT result FROM table_26250199_1 WHERE original_artist = "Joan Osborne"
|
### Instruction:
What is the highest amount of uefa champion leagues?
### Response:
|
SELECT MAX(uefa_champions_league) FROM table_18254488_2
|
### Instruction:
Where was the tournament located when Misun Cho won the championship?
### Response:
|
SELECT tournament_location FROM table_15315276_1 WHERE champion = "Misun Cho"
|
### Instruction:
Name the tries against when tries for is 30
### Response:
|
SELECT tries_against FROM table_17941032_3 WHERE tries_for = "30"
|
### Instruction:
Who's the incumbent of Indiana 4 district?
### Response:
|
SELECT incumbent FROM table_1341843_15 WHERE district = "Indiana 4"
|
### Instruction:
How many dates did David Savage get man of the match?
### Response:
|
SELECT COUNT("Date") FROM table_21355 WHERE "Man of the Match" = 'David Savage'
|
### Instruction:
What district is incumbent frank chelf from?
### Response:
|
SELECT "District" FROM table_18422 WHERE "Incumbent" = 'Frank Chelf'
|
### Instruction:
which year held the most tournaments ?
### Response:
|
SELECT "year" FROM table_203_300 GROUP BY "year" ORDER BY COUNT("tournament") DESC LIMIT 1
|
### Instruction:
Who manufactured the vehicle that was withdrawn in 1927?
### Response:
|
SELECT manufacturer FROM table_name_52 WHERE year_withdrawn = 1927
|
### Instruction:
What is the Team Record, when the Result is l 0 24?
### Response:
|
SELECT team_record FROM table_name_52 WHERE result = "l 0–24"
|
### Instruction:
how many senators represent natrona county ?
### Response:
|
SELECT COUNT("representative") FROM table_204_887 WHERE "counties represented" = 'natrona'
|
### Instruction:
How many years has she ranked 56 on the money list?
### Response:
|
SELECT COUNT("Year") FROM table_19605 WHERE "Money list rank" = '56'
|
### Instruction:
Name the number of first elected for kentucky 3
### Response:
|
SELECT COUNT("First elected") FROM table_74015 WHERE "District" = 'Kentucky 3'
|
### Instruction:
For each classroom with at least 2 classes, how many classes are offered?
### Response:
|
SELECT COUNT(*), class_room FROM class GROUP BY class_room HAVING COUNT(*) >= 2
|
### Instruction:
How many communes have the chief town as dijon?
### Response:
|
SELECT COUNT(communes) FROM table_1175233_1 WHERE chief_town = "Dijon"
|
### Instruction:
When 231 is the production code what is the title?
### Response:
|
SELECT title FROM table_27657925_1 WHERE production_code = "231"
|
### Instruction:
What was the 2nd leg for 2004?
### Response:
|
SELECT "2nd leg" FROM table_47626 WHERE "Year" = '2004'
|
### Instruction:
what is the overall number of times when the calendar showed october 6
### Response:
|
SELECT COUNT("Record") FROM table_29866 WHERE "Date" = 'October 6'
|
### Instruction:
Which Host City has more than 6 Silver and a Total of 22?
### Response:
|
SELECT host_city FROM table_name_74 WHERE silver > 6 AND total = 22
|
### Instruction:
what is the nhl team for the player john maclean?
### Response:
|
SELECT "NHL team" FROM table_29005 WHERE "Player" = 'John MacLean'
|
### Instruction:
When the record was 7-2, what was the score for the game?
### Response:
|
SELECT "Score" FROM table_36278 WHERE "Record" = '7-2'
|
### Instruction:
Find the average age of male students (with sex M) from each city.
### Response:
|
SELECT city_code, AVG(Age) FROM Student WHERE Sex = 'M' GROUP BY city_code
|
### Instruction:
What was the production count of 'The Mayor of Northolt'?
### Response:
|
SELECT "Production Count" FROM table_3191 WHERE "Title" = 'The Mayor Of Northolt'
|
### Instruction:
What is the description of the marketing region China?
### Response:
|
SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name = "China"
|
### Instruction:
What was the yield of the K-4 explosion?
### Response:
|
SELECT yield__approximate_ FROM table_148578_1 WHERE explosion = "K-4"
|
### Instruction:
where is the naghsh jahan stadium?
### Response:
|
SELECT "City" FROM table_68200 WHERE "Stadium" = 'naghsh jahan'
|
### Instruction:
What is the episode number for episode title Leave Takers?
### Response:
|
SELECT "Episode #" FROM table_3387 WHERE "Episode Title" = 'Leave Takers'
|
### Instruction:
What league does the team with the nickname Cavaliers belong to
### Response:
|
SELECT league FROM table_15475116_1 WHERE nickname = "Cavaliers"
|
### Instruction:
Find the states which do not have any employee in their record.
### Response:
|
SELECT state_province_county FROM addresses WHERE NOT address_id IN (SELECT employee_address_id FROM employees)
|
### Instruction:
What is the torque of the 6.3l v12 engine?
### Response:
|
SELECT torque FROM table_name_72 WHERE engine = "6.3l v12"
|
### Instruction:
which artist name appears the most on this chart ?
### Response:
|
SELECT "artists" FROM table_204_484 GROUP BY "artists" ORDER BY COUNT(*) DESC LIMIT 1
|
### Instruction:
what is the enrollment for the Cavaliers?
### Response:
|
SELECT MAX("Enrollment") FROM table_1459 WHERE "Nickname" = 'Cavaliers'
|
### Instruction:
What venue had an away team of south melbourne?
### Response:
|
SELECT "Venue" FROM table_11166 WHERE "Away team" = 'south melbourne'
|
### Instruction:
What was the minimum L if the GA is 272?
### Response:
|
SELECT MIN("L") FROM table_73377 WHERE "GA" = '272'
|
### Instruction:
Tell me the version for 1940-45
### Response:
|
SELECT "Version" FROM table_11720 WHERE "Year" = '1940-45'
|
### Instruction:
Which Score has a Date of 26 september 2004?
### Response:
|
SELECT score FROM table_name_71 WHERE date = "26 september 2004"
|
### Instruction:
what country has won at least eight silvers ?
### Response:
|
SELECT "silver" FROM table_204_360 GROUP BY "silver" HAVING COUNT(*) >= 8
|
### Instruction:
who was the top team of the apertura 2003 standings ?
### Response:
|
SELECT "team" FROM table_203_67 ORDER BY "place" LIMIT 1
|
### Instruction:
What is the time of Yuliya Yefimova?
### Response:
|
SELECT "Time" FROM table_66434 WHERE "Name" = 'yuliya yefimova'
|
### Instruction:
What is the first year she played in the french open?
### Response:
|
SELECT MIN("Year") FROM table_22870 WHERE "Championship" = 'French Open'
|
### Instruction:
how many designs have a weight of at least 45 ?
### Response:
|
SELECT COUNT("tops design code") FROM table_204_131 WHERE "weight" >= 45
|
### Instruction:
What is every year with average start of 27.2?
### Response:
|
SELECT "Year" FROM table_3457 WHERE "Avg. Start" = '27.2'
|
### Instruction:
what are the number of times tour of qatar is listed as the race ?
### Response:
|
SELECT COUNT(*) FROM table_204_4 WHERE "race" = 'tour of qatar'
|
### Instruction:
When turquoise is the map colour what is the length?
### Response:
|
SELECT length FROM table_17839_1 WHERE map_colour = "Turquoise"
|
### Instruction:
What is the maximum rank of the nation that won 4 gold medals?
### Response:
|
SELECT MAX("Rank") FROM table_24953 WHERE "Gold" = '4'
|
### Instruction:
how many years did ulysses grant serve ?
### Response:
|
SELECT "years served" FROM table_203_800 WHERE "president" = 'ulysses grant'
|
### Instruction:
select PostTypeId, count(PostTypeId) from user Posts by PostTypeId.
### Response:
|
SELECT PostTypeId, COUNT(PostTypeId) FROM Posts GROUP BY PostTypeId
|
### Instruction:
how mnay greek designation in tampa
### Response:
|
SELECT COUNT(greek_designation) FROM table_18159601_1 WHERE city = "Tampa"
|
### Instruction:
How many digital terrestrial channels are there for channel 4?
### Response:
|
SELECT COUNT("Digital terrestrial channel") FROM table_22212 WHERE "Channel" = 'Channel 4'
|
### Instruction:
What is the sum of all silver medals with more than 2 bronze?
### Response:
|
SELECT SUM("Silver") FROM table_6749 WHERE "Bronze" > '2'
|
### Instruction:
What is the largest Against with a Byes larger than 0?
### Response:
|
SELECT MAX("Against") FROM table_41864 WHERE "Byes" > '0'
|
### Instruction:
What format for the release that had 2000 copies?
### Response:
|
SELECT "Format" FROM table_22557 WHERE "Other details" = '2000 copies'
|
### Instruction:
Count the number of people of each sex who have a weight higher than 85 in a pie chart.
### Response:
|
SELECT Sex, COUNT(*) FROM people WHERE Weight > 85 GROUP BY Sex
|
### Instruction:
How many games had less than 7 goals scored?
### Response:
|
SELECT COUNT(appearances¹) FROM table_24565004_15 WHERE goals¹ = 7
|
### Instruction:
a sharp and pleasure king produced what title track ?
### Response:
|
SELECT "title" FROM table_203_37 WHERE "producer(s)" = 'a-sharp, pleasure king'
|
### Instruction:
which 2 stations both have faith ministries radio ?
### Response:
|
SELECT "call-sign" FROM table_204_793 WHERE "programming" = 'faith ministries radio'
|
### Instruction:
What was the away team that played at Princes Park?
### Response:
|
SELECT "Away team" FROM table_78509 WHERE "Venue" = 'princes park'
|
### Instruction:
What was the score of the game on June 10?
### Response:
|
SELECT "Score/Time" FROM table_47915 WHERE "Date" = 'june 10'
|
### Instruction:
What score has a record of 22-28-7-4?
### Response:
|
SELECT score FROM table_name_9 WHERE record = "22-28-7-4"
|
### Instruction:
What should I take before I take OMS 548 ?
### Response:
|
SELECT DISTINCT advisory_requirement FROM course WHERE department = 'OMS' AND number = 548
|
### Instruction:
Where was the match that had 119 points for played?
### Response:
|
SELECT "Played in" FROM table_56254 WHERE "Points for" = '119'
|
### Instruction:
Of which part does congressman dick clark belong to?
### Response:
|
SELECT "Party" FROM table_26819 WHERE "Senator" = 'Dick Clark'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.