instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
How many birthdays does Earl Hanley Beshlin have?
### Response:
| SELECT COUNT("Date of birth") FROM table_16032 WHERE "Representative" = 'Earl Hanley Beshlin' |
### Instruction:
When the attendance was 1568, who was man of the match?
### Response:
| SELECT "Man of the Match" FROM table_21356 WHERE "Attendance" = '1568' |
### Instruction:
What player has t3 as the place, with england united states as the country?
### Response:
| SELECT player FROM table_name_57 WHERE place = "t3" AND country = "england united states" |
### Instruction:
If the poverty rate is 12.9%, what is the county?
### Response:
| SELECT "County" FROM table_25353 WHERE "Poverty Rate" = '12.9%' |
### Instruction:
Who did the Jets play in the Meadowlands on week 14?
### Response:
| SELECT opponent FROM table_name_46 WHERE game_site = "the meadowlands" AND week = 14 |
### Instruction:
Which Tournament has a Score of 3 6 6 4 4 6?
### Response:
| SELECT tournament FROM table_name_43 WHERE score = "3–6 6–4 4–6" |
### Instruction:
What was the round when the home team was chornomorets odessa?
### Response:
| SELECT "Round" FROM table_71350 WHERE "Home team" = 'chornomorets odessa' |
### Instruction:
how many strikes had above 200,000 members affected ?
### Response:
| SELECT COUNT(*) FROM table_203_759 WHERE "number of members affected" > 200000 |
### Instruction:
How many scores are there when the championship game opponent is Miami University?
### Response:
| SELECT COUNT("Score") FROM table_24813 WHERE "Championship Game Opponent" = 'Miami University' |
### Instruction:
What is the highest Quantity for PTRD Nos. 3, 15?
### Response:
| SELECT MAX(quantity) FROM table_name_84 WHERE ptrd_nos = "3, 15" |
### Instruction:
What was the total number of wins with player Mike Hill with a rank bigger than 2?
### Response:
| SELECT COUNT(wins) FROM table_name_73 WHERE rank > 2 AND player = "mike hill" |
### Instruction:
What's the name of the tournament that Gianni Ocleppo was the runner-up?
### Response:
| SELECT tournament_name FROM table_name_80 WHERE runners_up = "gianni ocleppo" |
### Instruction:
How many match values have points under 14 and 0 draws?
### Response:
| SELECT COUNT("Match") FROM table_7081 WHERE "Points" < '14' AND "Draw" < '0' |
### Instruction:
Name the D 41 which has a D 46 of r 6
### Response:
| SELECT "D 41" FROM table_51876 WHERE "D 46" = 'r 6' |
### Instruction:
What is the number played for the Barcelona B club, with wins under 11?
### Response:
| SELECT SUM(played) FROM table_name_2 WHERE club = "barcelona b" AND wins < 11 |
### Instruction:
what is the maximum number of people that can attend an event at windsor park ?
### Response:
| SELECT "capacity" FROM table_203_420 WHERE "stadium" = 'windsor park' |
### Instruction:
Who is the runner-up for season 2011 12?
### Response:
| SELECT "Runner-up" FROM table_3219 WHERE "Season" = '2011–12' |
### Instruction:
Who was the winning driver of the Savio Circuit with the constructor Itala?
### Response:
| SELECT winning_driver FROM table_name_5 WHERE winning_constructor = "itala" AND name = "savio circuit" |
### Instruction:
What's the national title of miss international ikumi yoshimatsu?
### Response:
| SELECT "National title" FROM table_59791 WHERE "Miss International" = 'ikumi yoshimatsu' |
### Instruction:
What is the sum of Artist Steve Hepburn's Mintage?
### Response:
| SELECT SUM("Mintage") FROM table_54944 WHERE "Artist" = 'steve hepburn' |
### Instruction:
which area in ranked first in population in 2012 ?
### Response:
| SELECT "name" FROM table_203_642 WHERE "2012\npopulation\nrank" = 1 |
### Instruction:
How many power kw have a frequency of 93.7 mhz?
### Response:
| SELECT COUNT("Power kW") FROM table_26391 WHERE "Frequency" = '93.7 MHz' |
### Instruction:
What is the number of jurisdiction for 57.3 percent?
### Response:
| SELECT COUNT(jurisdiction) FROM table_120778_1 WHERE percent_for = "57.3" |
### Instruction:
In what year and location did Liu Guozheng win the Mens Singles?
### Response:
| SELECT "Year Location" FROM table_30317 WHERE "Mens Singles" = 'Liu Guozheng' |
### Instruction:
Which Country has a Catalogue number(s) of eredv711?
### Response:
| SELECT "Country" FROM table_60540 WHERE "Catalogue number(s)" = 'eredv711' |
### Instruction:
How many Lost have a Team of flamengo, and an Against smaller than 5?
### Response:
| SELECT COUNT(lost) FROM table_name_92 WHERE team = "flamengo" AND against < 5 |
### Instruction:
Tell me the ethnic group for jewish of 0.47%
### Response:
| SELECT "Ethnic group" FROM table_52054 WHERE "Jewish" = '0.47%' |
### Instruction:
Name the opponent that has attendance of 76,965
### Response:
| SELECT "Opponent" FROM table_52629 WHERE "Attendance" = '76,965' |
### Instruction:
in what two races did chelsea williams earn the same rank ?
### Response:
| SELECT "event" FROM table_204_791 WHERE "winner" = 'chelsea wlliams' |
### Instruction:
What is the 2nd leg when second team is Sumykhimprom?
### Response:
| SELECT 2 AS nd_leg FROM table_name_98 WHERE team__number2 = "sumykhimprom" |
### Instruction:
Which network has model nForce Professional 3400 MCP?
### Response:
| SELECT "Network" FROM table_38742 WHERE "Model" = 'nforce professional 3400 mcp' |
### Instruction:
Show the location code, the starting date and ending data in that location for all the documents.
### Response:
| SELECT location_code, date_in_location_from, date_in_locaton_to FROM Document_locations |
### Instruction:
On what Date was Henry I Latin Commander of the Battle of Boruy?
### Response:
| SELECT date FROM table_name_67 WHERE latin_commander = "henry i" AND battle = "battle of boruy" |
### Instruction:
What is the average last yr with an l plyf less than 0?
### Response:
| SELECT AVG("Last Yr") FROM table_44739 WHERE "L plyf" < '0' |
### Instruction:
What team was the loser when the result was 119 113?
### Response:
| SELECT "Loser" FROM table_6901 WHERE "Result" = '119–113' |
### Instruction:
Name the margin of victory when tournament is algarve open de portugal
### Response:
| SELECT "Margin of victory" FROM table_20272 WHERE "Tournament" = 'Algarve Open de Portugal' |
### Instruction:
search in comments / all.
### Response:
| SELECT Id AS "comment_link", CreationDate, Text FROM Comments WHERE UPPER(Text) LIKE UPPER('%##CommentText##%') ORDER BY CreationDate DESC |
### Instruction:
What is the LFN support on Windows NT 3.1?
### Response:
| SELECT "LFN support" FROM table_32370 WHERE "Name" = 'windows nt 3.1' |
### Instruction:
What is the result of the ajc craven plate (wfa) race?
### Response:
| SELECT "Result" FROM table_49377 WHERE "Race" = 'ajc craven plate (wfa)' |
### Instruction:
who directed the least number of the inspector episodes in 1967 ?
### Response:
| SELECT "director" FROM table_203_338 GROUP BY "director" ORDER BY COUNT(*) LIMIT 1 |
### Instruction:
What was the result of the game played on November 23, 2003?
### Response:
| SELECT result FROM table_name_67 WHERE date = "november 23, 2003" |
### Instruction:
Name the party with end date of 22 november 1980
### Response:
| SELECT "Party" FROM table_14844 WHERE "End date" = '22 november 1980' |
### Instruction:
How many targets are there with an approval date of 1997?
### Response:
| SELECT COUNT(target) FROM table_1661124_1 WHERE approval_date = 1997 |
### Instruction:
What is Tournament, when Date is '6 April 1992'?
### Response:
| SELECT "Tournament" FROM table_48853 WHERE "Date" = '6 april 1992' |
### Instruction:
what is the total number of publisher where first appearance is daredevil #1
### Response:
| SELECT COUNT("Publisher") FROM table_448 WHERE "First Appearance" = 'Daredevil #1' |
### Instruction:
Number of questions concerning flutter development.
### Response:
| SELECT COUNT(*) FROM Posts WHERE Id IN (SELECT DISTINCT (PostId) FROM PostTags WHERE TagId IN (SELECT Id FROM Tags WHERE TagName LIKE '%flutter%')) |
### Instruction:
What is the Name of the Building at 100 North Tampa Street?
### Response:
| SELECT "Name" FROM table_61375 WHERE "Street address" = '100 north tampa street' |
### Instruction:
What is the km2 area for the population of 311?
### Response:
| SELECT AVG("Area (km 2 )") FROM table_78026 WHERE "Population" = '311' |
### Instruction:
A visualization to show the headquarter and revenue of all manufacturers sorted by their revenue in the descending order.
### Response:
| SELECT Headquarter, Revenue FROM Manufacturers ORDER BY Revenue DESC |
### Instruction:
What was Katie's order number when the theme was The Rolling Stones?
### Response:
| SELECT order__number FROM table_26250189_1 WHERE theme = "The Rolling Stones" |
### Instruction:
What is the time/retired with 60 laps and a grid 19?
### Response:
| SELECT time_retired FROM table_name_19 WHERE laps = 60 AND grid = 19 |
### Instruction:
Which rank has 0 bronze and 2 silver?
### Response:
| SELECT MIN("Gold") FROM table_59948 WHERE "Bronze" = '0' AND "Silver" < '2' |
### Instruction:
What method was there in round 1 when the location was Aruba?
### Response:
| SELECT "Method" FROM table_62561 WHERE "Round" = '1' AND "Location" = 'aruba' |
### Instruction:
How many districts had William F. Norrell as the incumbent?
### Response:
| SELECT COUNT("District") FROM table_72410 WHERE "Incumbent" = 'William F. Norrell' |
### Instruction:
What papers has james fogarty written ?
### Response:
| SELECT DISTINCT writes.paperid FROM author, writes WHERE author.authorname = 'james fogarty' AND writes.authorid = author.authorid |
### Instruction:
What kind of Tongan has a North Marquesan of /ha e/?
### Response:
| SELECT "Tongan" FROM table_49476 WHERE "North Marquesan" = '/haʔe/' |
### Instruction:
What is the withdrawal date associated with a date made of 1904?
### Response:
| SELECT "Date withdrawn" FROM table_67782 WHERE "Date made" = '1904' |
### Instruction:
Who was picked before 149 in round 9?
### Response:
| SELECT "Player" FROM table_50888 WHERE "Pick" < '149' AND "Round" = '9' |
### Instruction:
what is diagnoses short title of diagnoses icd9 code 7885?
### Response:
| SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.icd9_code = "7885" |
### Instruction:
What year did Ecurie Bleue score more than 0 points?
### Response:
| SELECT AVG(year) FROM table_name_34 WHERE pts > 0 AND entrant = "ecurie bleue" |
### Instruction:
Name the sport for canada in 2004
### Response:
| SELECT "Sport" FROM table_57280 WHERE "Country" = 'canada' AND "Year" = '2004' |
### Instruction:
Who directed the film that received an award of 6,245?
### Response:
| SELECT "Director(s)" FROM table_67765 WHERE "Award" = '£6,245' |
### Instruction:
Visualize a bar chart about the distribution of Date_of_Birth and Height , and could you sort from low to high by the total number?
### Response:
| SELECT Date_of_Birth, Height FROM people ORDER BY Height |
### Instruction:
Show me a bar chart with the product name and their frequency, sort by the X in desc.
### Response:
| SELECT product_name, COUNT(product_name) FROM Products GROUP BY product_name ORDER BY product_name DESC |
### Instruction:
How many games tied for the air force with over 57 years participating?
### Response:
| SELECT COUNT(tied) FROM table_name_69 WHERE mountain_west = "air force" AND years > 57 |
### Instruction:
What was the air date of the episode with the production code of 322?
### Response:
| SELECT original_air_date FROM table_2818164_4 WHERE production_code = 322 |
### Instruction:
What place has the score of 67-74=141?
### Response:
| SELECT "Place" FROM table_50634 WHERE "Score" = '67-74=141' |
### Instruction:
Which Spoofed title is from February 1998?
### Response:
| SELECT "Spoofed Title" FROM table_40254 WHERE "Date" = 'february 1998' |
### Instruction:
WHAT WAS THE WINNING SCORE IN YEAR 1922?
### Response:
| SELECT winning_score FROM table_1507806_1 WHERE year = 1922 |
### Instruction:
When was the date of appointment for St. Johnstone's manager?
### Response:
| SELECT date_of_appointment FROM table_16075179_6 WHERE team = "St. Johnstone" |
### Instruction:
What is the ENglish word for the Icelandic word hlaupa?
### Response:
| SELECT "English" FROM table_42488 WHERE "Icelandic" = 'hlaupa' |
### Instruction:
How many districts have t/vap values of 67.0%?
### Response:
| SELECT COUNT("District") FROM table_29051 WHERE "T/VAP" = '67.0%' |
### Instruction:
history of any heart disease including coronary artery disease
### Response:
| SELECT * FROM table_dev_11 WHERE heart_disease = 1 OR coronary_artery_disease_cad = 1 |
### Instruction:
November 25, 2001 was what week of the season?
### Response:
| SELECT COUNT(week) FROM table_name_52 WHERE date = "november 25, 2001" |
### Instruction:
What is the Event when the opponent was wesslan evaristo de oliveira?
### Response:
| SELECT event FROM table_name_79 WHERE opponent = "wesslan evaristo de oliveira" |
### Instruction:
What Catalog has a Label of geffen records / universal music special markets?
### Response:
| SELECT "Catalog" FROM table_59824 WHERE "Label" = 'geffen records / universal music special markets' |
### Instruction:
what is the number of area where the county is marsabit?
### Response:
| SELECT COUNT(area__km_2__) FROM table_1404486_1 WHERE county = "Marsabit" |
### Instruction:
count the number of male patients who are 51 or under.
### Response:
| SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.age >= "51" |
### Instruction:
What is the venue of the 1990 Asian games?
### Response:
| SELECT "Venue" FROM table_77945 WHERE "Competition" = '1990 asian games' |
### Instruction:
Name the other for chironius multiventris septentrionalis
### Response:
| SELECT other FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis" |
### Instruction:
What are each document's location code, and starting date and ending data in that location?
### Response:
| SELECT location_code, date_in_location_from, date_in_locaton_to FROM document_locations |
### Instruction:
When was the operation in Field 103 executed?
### Response:
| SELECT years_of_operation FROM table_13150274_1 WHERE area_of_operation = "Field 103" |
### Instruction:
Which city had the charleston area convention center as its callback location
### Response:
| SELECT audition_city FROM table_11129123_1 WHERE callback_venue = "Charleston Area Convention Center" |
### Instruction:
What is the team's record on may 12 when they play the giants?
### Response:
| SELECT record FROM table_name_58 WHERE opponent = "giants" AND date = "may 12" |
### Instruction:
What date was the opponent in the final Virginie Pichet?
### Response:
| SELECT "Date" FROM table_11469 WHERE "Opponent in final" = 'virginie pichet' |
### Instruction:
How many states were there when there was an enrollment of 2789?
### Response:
| SELECT COUNT("State") FROM table_30140 WHERE "Enrollment" = '2789' |
### Instruction:
How many points did Judd v8 has in 1989?
### Response:
| SELECT COUNT(points) FROM table_name_71 WHERE engine = "judd v8" AND year = 1989 |
### Instruction:
Who was the male rep. when Caroline Rhoads was the artistic director?
### Response:
| SELECT "Male Rep." FROM table_24986 WHERE "Artistic Director" = 'Caroline Rhoads' |
### Instruction:
How many different kickoffs happened when the oppenent was at Rhein Fire?
### Response:
| SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "at Rhein Fire" |
### Instruction:
How many premier episodes were there with the title survivor's law ii?
### Response:
| SELECT COUNT("Premiere") FROM table_371 WHERE "English title" = 'Survivor''s Law II' |
### Instruction:
Name the least number for xle02007
### Response:
| SELECT MIN(no) FROM table_28348757_3 WHERE production_code = "XLE02007" |
### Instruction:
What label is released on September 20, 2005?
### Response:
| SELECT label FROM table_name_16 WHERE date_of_release = "september 20, 2005" |
### Instruction:
what's the percentage of votes with number of deputies being 112
### Response:
| SELECT "Percentage of votes" FROM table_18965 WHERE "Number of deputies" = '112' |
### Instruction:
Name the total number of scoring average for money list rank of 174
### Response:
| SELECT COUNT("Scoring average") FROM table_17943 WHERE "Money list rank" = '174' |
### Instruction:
Which Republican ran against the American Labor candidate Matthew J. Merritt?
### Response:
| SELECT "Republican ticket" FROM table_42093 WHERE "American Labor ticket" = 'matthew j. merritt' |
### Instruction:
who many times is gloucestershire is painswick?
### Response:
| SELECT COUNT(premier_two) FROM table_12043148_2 WHERE gloucestershire = "Painswick" |
### Instruction:
What is TV Companions Featured, when Author is 'William Emms'?
### Response:
| SELECT tv_companions_featured FROM table_name_95 WHERE author = "william emms" |
### Instruction:
What was the score on 19/08/2012?
### Response:
| SELECT "Score" FROM table_9033 WHERE "Date" = '19/08/2012' |
### Instruction:
What is the Week number with a Result of W 30-28?
### Response:
| SELECT AVG("Week") FROM table_43636 WHERE "Result" = 'w 30-28' |
### Instruction:
What was the sum of the crowds that watched Fitzroy play as the away team?
### Response:
| SELECT SUM("Crowd") FROM table_32242 WHERE "Away team" = 'fitzroy' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.