instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
How many players went to depaul?
### Response:
|
SELECT COUNT(player) FROM table_16494599_2 WHERE school_club_team = "DePaul"
|
### Instruction:
What is the latest Date, when Label is Captain Oi! Records?
### Response:
|
SELECT MAX(date) FROM table_name_58 WHERE label = "captain oi! records"
|
### Instruction:
What score points have olympic gold medalist as the rank points?
### Response:
|
SELECT score_points FROM table_name_19 WHERE rank_points = "olympic gold medalist"
|
### Instruction:
What's the part 3 of the verb whose class is 4?
### Response:
|
SELECT "Part 3" FROM table_21709 WHERE "Class" = '4'
|
### Instruction:
What is the Song choice with a Theme that is 1960s?
### Response:
|
SELECT song_choice FROM table_name_1 WHERE theme = "1960s"
|
### Instruction:
Who was the printer of Estes Park, Colorado?
### Response:
|
SELECT "Printer" FROM table_20206 WHERE "Place of issue" = 'Estes Park, Colorado'
|
### Instruction:
What is every number when the player is Aigars Vitols?
### Response:
|
SELECT "No" FROM table_26251 WHERE "Player" = 'Aigars Vitols'
|
### Instruction:
What are the average scores of contestants whose home state is Pennsylvania?
### Response:
|
SELECT "Average" FROM table_20761 WHERE "Country" = 'Pennsylvania'
|
### Instruction:
how many new points does the player roberta vinci have?
### Response:
|
SELECT MAX("New points") FROM table_4222 WHERE "Player" = 'Roberta Vinci'
|
### Instruction:
How many accounts for different account details? Draw a bar chart.
### Response:
|
SELECT other_account_details, COUNT(other_account_details) FROM Accounts GROUP BY other_account_details
|
### Instruction:
What record has points greater than 39, with 38 as the game?
### Response:
|
SELECT record FROM table_name_1 WHERE points > 39 AND game = 38
|
### Instruction:
what's the w-l-d with position being 1
### Response:
|
SELECT w_l_d FROM table_14181578_1 WHERE position = 1
|
### Instruction:
How many points did South Melbourne score as the home team?
### Response:
|
SELECT "Home team score" FROM table_33098 WHERE "Home team" = 'south melbourne'
|
### Instruction:
What is the abbreviation for the University of Tartu?
### Response:
|
SELECT "Abbr." FROM table_12329 WHERE "Name" = 'university of tartu'
|
### Instruction:
which state placed first in the 1989 miss teen usa competition ?
### Response:
|
SELECT "state" FROM table_204_757 ORDER BY id LIMIT 1
|
### Instruction:
What are the points for the Seven Sisters RFC club?
### Response:
|
SELECT "Points" FROM table_4938 WHERE "Club" = 'seven sisters rfc'
|
### Instruction:
Name the city for kanji a
### Response:
|
SELECT city___municipality FROM table_2562572_5 WHERE urban_settlement = "Kanjiža"
|
### Instruction:
Name the party for virginia 12
### Response:
|
SELECT "Party" FROM table_74011 WHERE "District" = 'Virginia 12'
|
### Instruction:
How far is the olbia to sassari route?
### Response:
|
SELECT "Distance" FROM table_10194 WHERE "Course" = 'olbia to sassari'
|
### Instruction:
What is the title of the TV series in 2012?
### Response:
|
SELECT "Title" FROM table_68680 WHERE "Year" = '2012'
|
### Instruction:
Wjich city had a date of october 13?
### Response:
|
SELECT "City" FROM table_75154 WHERE "Date" = 'october 13'
|
### Instruction:
Who did the Mariners play when their record was 26 32?
### Response:
|
SELECT opponent FROM table_name_70 WHERE record = "26–32"
|
### Instruction:
what's the loss with points for being 594
### Response:
|
SELECT lost FROM table_12828723_3 WHERE points_for = "594"
|
### Instruction:
WHAT IS THE TITLE WITH CATEGORY OF best r&b song?
### Response:
|
SELECT title FROM table_name_95 WHERE category = "best r&b song"
|
### Instruction:
in how many meetings did kaseorg place 10th or better ?
### Response:
|
SELECT COUNT(*) FROM table_204_202 WHERE "rank" <= 10
|
### Instruction:
Who were the opponents of the Wildcats in game 4?
### Response:
|
SELECT "Opponent" FROM table_24102 WHERE "Game" = '4'
|
### Instruction:
What team drafted steve scifres?
### Response:
|
SELECT nfl_team FROM table_13758243_1 WHERE player = "Steve Scifres"
|
### Instruction:
For what cause is Touring Car Racing the discipline?
### Response:
|
SELECT "Cause" FROM table_48647 WHERE "Discipline" = 'touring car racing'
|
### Instruction:
What is the set 4 with a 2-3 score?
### Response:
|
SELECT "Set 4" FROM table_40022 WHERE "Score" = '2-3'
|
### Instruction:
Who scored a 9.72 in the swimsuit?
### Response:
|
SELECT "Interview" FROM table_325 WHERE "Swimsuit" = '9.72'
|
### Instruction:
Who was the publisher of Martial Law: Dead Ringers?
### Response:
|
SELECT publisher FROM table_name_56 WHERE release_title = "martial law: dead ringers"
|
### Instruction:
Bar chart x axis first name y axis salary, and rank in desc by the y axis.
### Response:
|
SELECT FIRST_NAME, SALARY FROM employees ORDER BY SALARY DESC
|
### Instruction:
What MLS team is affiliated with yale university?
### Response:
|
SELECT "MLS Team" FROM table_31848 WHERE "Affiliation" = 'yale university'
|
### Instruction:
Who won on 2007-04-14
### Response:
|
SELECT result FROM table_name_66 WHERE date = "2007-04-14"
|
### Instruction:
what is the date of the tournament in michalovce
### Response:
|
SELECT "Date" FROM table_35056 WHERE "Tournament" = 'michalovce'
|
### Instruction:
What locale has Suzanne Gaudet as skip?
### Response:
|
SELECT "Locale" FROM table_1116 WHERE "Skip" = 'Suzanne Gaudet'
|
### Instruction:
Users participating the in strike.
### Response:
|
SELECT COUNT(*) AS "Users participating in the strike" FROM Users WHERE LOWER(DisplayName) LIKE '%reinstate%monica%'
|
### Instruction:
What place is United States player Corey Pavin in?
### Response:
|
SELECT place FROM table_name_25 WHERE country = "united states" AND player = "corey pavin"
|
### Instruction:
In what season was the overall record 29-7?
### Response:
|
SELECT "Season" FROM table_19441 WHERE "Overall" = '29-7'
|
### Instruction:
What province does the Ruhuna Royals team come from?
### Response:
|
SELECT province FROM table_19905183_1 WHERE team = "Ruhuna Royals"
|
### Instruction:
What is the nationality of the School/Club team of Louisville?
### Response:
|
SELECT nationality FROM table_name_43 WHERE school_club_team = "louisville"
|
### Instruction:
What is the record for the game with a score of 7 5?
### Response:
|
SELECT "Record" FROM table_71563 WHERE "Score" = '7–5'
|
### Instruction:
Where the built as is DLG-23, what is the class?
### Response:
|
SELECT class FROM table_name_98 WHERE built_as = "dlg-23"
|
### Instruction:
WHAT IS THE POINTS WITH 55 TRIES?
### Response:
|
SELECT "Points" FROM table_59347 WHERE "Tries for" = '55'
|
### Instruction:
What film was directed by Sandro Aguilar?
### Response:
|
SELECT "Film" FROM table_70372 WHERE "Director(s)" = 'sandro aguilar'
|
### Instruction:
What is the ethernet ports of the u150 appliance?
### Response:
|
SELECT ethernet_ports FROM table_name_86 WHERE name = "u150"
|
### Instruction:
How many road numbers are before 1922?
### Response:
|
SELECT COUNT("Road number") FROM table_80290 WHERE "Year" < '1922'
|
### Instruction:
what is the position for the player from university of alabama?
### Response:
|
SELECT "Position" FROM table_69145 WHERE "School" = 'university of alabama'
|
### Instruction:
What is the Shirt No for the person whose height is 188?
### Response:
|
SELECT SUM(shirt_no) FROM table_name_9 WHERE height = 188
|
### Instruction:
Who is team c when dhez javier is team e?
### Response:
|
SELECT "Team C" FROM table_47513 WHERE "Team E" = 'dhez javier'
|
### Instruction:
what is ethnicity of subject id 3343?
### Response:
|
SELECT demographic.ethnicity FROM demographic WHERE demographic.subject_id = "3343"
|
### Instruction:
What was the attendance when the VFL played Lake Oval?
### Response:
|
SELECT COUNT(crowd) FROM table_name_44 WHERE venue = "lake oval"
|
### Instruction:
Show the ids of the faculty who don't participate in any activity.
### Response:
|
SELECT FacID FROM Faculty EXCEPT SELECT FacID FROM Faculty_participates_in
|
### Instruction:
how many songs from the album intentions charted in the uk ?
### Response:
|
SELECT COUNT("uk") FROM table_204_654 WHERE "album" = 'intentions'
|
### Instruction:
What is the tyre for the peugeot a20 engine?
### Response:
|
SELECT tyre FROM table_name_40 WHERE engine_† = "peugeot a20"
|
### Instruction:
What are all values for 24 mountains when direction is Northeast?
### Response:
|
SELECT "24 Mountains" FROM table_26044 WHERE "Direction" = 'Northeast'
|
### Instruction:
Which rider had a speed of 90.57mph?
### Response:
|
SELECT rider FROM table_name_59 WHERE speed = "90.57mph"
|
### Instruction:
What episode took place in Belfast Waterfront Hall?
### Response:
|
SELECT episode FROM table_23122988_1 WHERE location = "Belfast Waterfront Hall"
|
### Instruction:
What field resulted with w 18-12?
### Response:
|
SELECT "Field" FROM table_61003 WHERE "Result" = 'w 18-12'
|
### Instruction:
Which Team/Chassis has a Year larger than 1987?
### Response:
|
SELECT team_chassis FROM table_name_46 WHERE year > 1987
|
### Instruction:
What is the Postion, when the Name is Rod Paavola?
### Response:
|
SELECT "Position" FROM table_41473 WHERE "Name" = 'rod paavola'
|
### Instruction:
Who wrote the episode when the director was dean white?
### Response:
|
SELECT writer_s_ FROM table_12451376_1 WHERE director = "Dean White"
|
### Instruction:
Which Name has a Pennant number of f82?
### Response:
|
SELECT "Name" FROM table_36209 WHERE "Pennant number" = 'f82'
|
### Instruction:
When 44 is the col in meters what is the country?
### Response:
|
SELECT country FROM table_18946749_1 WHERE col__m_ = 44
|
### Instruction:
who is the only person to rank from jamaica ?
### Response:
|
SELECT "name" FROM table_204_902 WHERE "nationality" = 'jamaica'
|
### Instruction:
what 's the total of grass and hard surfaces listed ?
### Response:
|
SELECT COUNT(*) FROM table_203_848 WHERE "surface" IN ('grass', 'hard')
|
### Instruction:
How much Overall has a Name of bob anderson?
### Response:
|
SELECT COUNT("Overall") FROM table_76609 WHERE "Name" = 'bob anderson'
|
### Instruction:
What is the position when the points 1 is 61?
### Response:
|
SELECT SUM("Position") FROM table_46852 WHERE "Points 1" = '61'
|
### Instruction:
tell me the number of artists who ended up in 6th place .
### Response:
|
SELECT COUNT("artist") FROM table_204_915 WHERE "place" = 6
|
### Instruction:
Name the listed owners for brevak racing
### Response:
|
SELECT "Listed Owner(s)" FROM table_24666 WHERE "Team" = 'Brevak Racing'
|
### Instruction:
How many draws occurred when 25 points were scored?
### Response:
|
SELECT COUNT(draws) FROM table_18594107_1 WHERE scored = 25
|
### Instruction:
What date was the Monsanto open located in Florida?
### Response:
|
SELECT date FROM table_name_58 WHERE location = "florida" AND tournament = "monsanto open"
|
### Instruction:
What city was the event in when Patrik Antonius won?
### Response:
|
SELECT "City" FROM table_79948 WHERE "Winner" = 'patrik antonius'
|
### Instruction:
What is the Hometown of Tim Williams?
### Response:
|
SELECT "Hometown (Previous school)" FROM table_40180 WHERE "Name" = 'tim williams'
|
### Instruction:
Return the description of the budget type that has the code ORG.
### Response:
|
SELECT budget_type_description FROM ref_budget_codes WHERE budget_type_code = "ORG"
|
### Instruction:
Specify the route of drug administration for Indomethacin
### Response:
|
SELECT prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Indomethacin"
|
### Instruction:
What is Final, when Team is United States (USA) USA I?
### Response:
|
SELECT final FROM table_name_66 WHERE team = "united states (usa) usa i"
|
### Instruction:
What is the original air date of season 18?
### Response:
|
SELECT "Original air date" FROM table_17031 WHERE "No. in season" = '18'
|
### Instruction:
How many times is the nation china and bronze more than 0?
### Response:
|
SELECT COUNT(rank) FROM table_name_4 WHERE nation = "china" AND bronze > 0
|
### Instruction:
What integrated has an allied-related of centralized?
### Response:
|
SELECT "Integrated" FROM table_51969 WHERE "Allied-Related" = 'centralized'
|
### Instruction:
how many painters received a color mark below 10 ?
### Response:
|
SELECT COUNT("painter") FROM table_203_186 WHERE "color" < 10
|
### Instruction:
Who is the opponent in 1976?
### Response:
|
SELECT "Opponent" FROM table_46352 WHERE "Year" = '1976'
|
### Instruction:
List the names of pilots that do not have any record.
### Response:
|
SELECT Pilot_name FROM pilot WHERE NOT Pilot_ID IN (SELECT Pilot_ID FROM pilot_record)
|
### Instruction:
The entrepreneur Layla Bennett was featured in which episode?
### Response:
|
SELECT episode FROM table_name_60 WHERE entrepreneur_s_ = "layla bennett"
|
### Instruction:
Record of 3-3-1 had what lowest game?
### Response:
|
SELECT MIN("Game") FROM table_5077 WHERE "Record" = '3-3-1'
|
### Instruction:
Who had the high assists on November 17?
### Response:
|
SELECT "High assists" FROM table_29908 WHERE "Date" = 'November 17'
|
### Instruction:
how many qualifying scores were above 15.2 ?
### Response:
|
SELECT COUNT(*) FROM table_204_975 WHERE "qualifying score" > 15.2
|
### Instruction:
Bar chart of sum age from each nationality, and list by the Y in asc.
### Response:
|
SELECT Nationality, SUM(Age) FROM journalist GROUP BY Nationality ORDER BY SUM(Age)
|
### Instruction:
What date did episode 115 in the series originally air?
### Response:
|
SELECT "Original air date" FROM table_26841 WHERE "Series" = '115'
|
### Instruction:
how many places are in greene county ?
### Response:
|
SELECT COUNT("name of place") FROM table_203_115 WHERE "principal county" = 'greene county'
|
### Instruction:
What is the city where the number is 47?
### Response:
|
SELECT "City district (Stadtteil)" FROM table_72149 WHERE "No" = '47'
|
### Instruction:
how many floors does the capitol square have ?
### Response:
|
SELECT "floors" FROM table_203_837 WHERE "name" = 'capitol square'
|
### Instruction:
Name the results for steve millen
### Response:
|
SELECT results FROM table_13643154_2 WHERE gto_winning_team = "Steve Millen"
|
### Instruction:
were there any games that were played before 6 pm ?
### Response:
|
SELECT (SELECT COUNT(*) FROM table_204_197 WHERE "time" < 6) > 0
|
### Instruction:
On what date was the number of locomotives 421-6?
### Response:
|
SELECT date FROM table_name_70 WHERE loco_nos = "421-6"
|
### Instruction:
which title is for ipad but not for iphone or ipod ?
### Response:
|
SELECT "title" FROM table_203_836 WHERE "platforms" = 'ipad'
|
### Instruction:
How many matches were played when there was 1 draw and 1 win?
### Response:
|
SELECT matches FROM table_name_92 WHERE draws = "1" AND wins = "1"
|
### Instruction:
What is Score, when Date is 'Nov 28'?
### Response:
|
SELECT "Score" FROM table_59288 WHERE "Date" = 'nov 28'
|
### Instruction:
What was the time for the event in which Tony Mendoza was the opponent?
### Response:
|
SELECT time FROM table_name_22 WHERE opponent = "tony mendoza"
|
### Instruction:
how many total goals were scored against nigeria ?
### Response:
|
SELECT COUNT("goal") FROM table_204_920 WHERE "opponent" = 'nigeria'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.