instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
ed bauer was picked by the saints , what was his position ?
### Response:
|
SELECT "position" FROM table_204_70 WHERE "player" = 'ed bauer'
|
### Instruction:
What are the highest championships where the club is Springfield Cardinals?
### Response:
|
SELECT MAX(championships) FROM table_name_54 WHERE club = "springfield cardinals"
|
### Instruction:
Which band has a current freq of 8tab (hpon)?
### Response:
|
SELECT band FROM table_name_80 WHERE freq_currently = "8tab (hpon)"
|
### Instruction:
did he play less than 20 years ?
### Response:
|
SELECT (SELECT MAX("year") - MIN("year") FROM table_204_914) < 20
|
### Instruction:
Where did St KIlda play their away game?
### Response:
|
SELECT "Venue" FROM table_52292 WHERE "Away team" = 'st kilda'
|
### Instruction:
What is the result on 20 July 2008?
### Response:
|
SELECT result FROM table_name_52 WHERE date = "20 july 2008"
|
### Instruction:
What are the points for ktm-vmc equipment?
### Response:
|
SELECT points FROM table_16729457_18 WHERE equipment = "KTM-VMC"
|
### Instruction:
What is the football Bronze with more than 1 Silver?
### Response:
|
SELECT AVG(bronze) FROM table_name_9 WHERE sport = "football" AND silver > 1
|
### Instruction:
how many times has the treatment of hyperkalemia procedure been done?
### Response:
|
SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'treatment of hyperkalemia'
|
### Instruction:
What is the publication the observer music monthly highest year?
### Response:
|
SELECT MAX("Year") FROM table_59359 WHERE "Publication" = 'the observer music monthly'
|
### Instruction:
How many goals have a Result of 12 0?
### Response:
|
SELECT "Goals" FROM table_53401 WHERE "Result" = '12 – 0'
|
### Instruction:
What was the record at the game with a loss of Cook (14 7)?
### Response:
|
SELECT record FROM table_name_61 WHERE loss = "cook (14–7)"
|
### Instruction:
When galaxy angel aa is the title what was the series?
### Response:
|
SELECT series FROM table_1714685_1 WHERE title = "Galaxy Angel AA"
|
### Instruction:
How many games have rebounds larger than 1048?
### Response:
|
SELECT COUNT(games) FROM table_name_78 WHERE total_rebounds > 1048
|
### Instruction:
Which tie number had an away team of Arsenal?
### Response:
|
SELECT "Tie no" FROM table_79560 WHERE "Away team" = 'arsenal'
|
### Instruction:
What is the Location of the Bowl in 2006?
### Response:
|
SELECT "Location" FROM table_38935 WHERE "Season" = '2006'
|
### Instruction:
how many people attended the club 's games in the month of march ?
### Response:
|
SELECT SUM("attendance") FROM table_204_971 WHERE "date" = 3
|
### Instruction:
what is admission time of subject id 3343?
### Response:
|
SELECT demographic.admittime FROM demographic WHERE demographic.subject_id = "3343"
|
### Instruction:
What is the rank of the film, Amelia and Michael?
### Response:
|
SELECT "Rank" FROM table_5173 WHERE "Film" = 'amelia and michael'
|
### Instruction:
count Votes group by postid, votetypeid.
### Response:
|
SELECT PostId, VoteTypeId, COUNT(1) FROM Votes GROUP BY PostId, VoteTypeId
|
### Instruction:
What is the origin of the one whose final destination is Brandholmen?
### Response:
|
SELECT "Origin" FROM table_31727 WHERE "Final destination" = 'brandholmen'
|
### Instruction:
What is the average point count for tristan gommendy?
### Response:
|
SELECT AVG(points) FROM table_name_30 WHERE driver = "tristan gommendy"
|
### Instruction:
What type is You from the state of Chen?
### Response:
|
SELECT "Type" FROM table_44636 WHERE "State" = 'chen' AND "Name" = 'you'
|
### Instruction:
Name the number of song for scoreboard being 3rd
### Response:
|
SELECT COUNT(song) FROM table_21234111_6 WHERE scoreboard = "3rd"
|
### Instruction:
What is the latitude of the point with a longitude of 147.1w?
### Response:
|
SELECT latitude FROM table_name_7 WHERE longitude = "147.1w"
|
### Instruction:
Who is the Player for School/Club Team Illinois?
### Response:
|
SELECT "Player" FROM table_40972 WHERE "School/Club Team" = 'illinois'
|
### Instruction:
What status of school is the school represented by the baby olympians?
### Response:
|
SELECT status FROM table_2589963_1 WHERE juniors = "Baby Olympians"
|
### Instruction:
What is the takeover date of the FA division mitre?
### Response:
|
SELECT takeover_date FROM table_name_19 WHERE fa_division_s_ = "mitre"
|
### Instruction:
Which Tournament has Pat Cash as a runner-up?
### Response:
|
SELECT "Tournament" FROM table_57045 WHERE "Runner-up" = 'pat cash'
|
### Instruction:
Name the highest silver for table tennis and bronze more than 0
### Response:
|
SELECT MAX(silver) FROM table_name_18 WHERE sport = "table tennis" AND bronze > 0
|
### Instruction:
What is the lowest number of games with a rank less than 1?
### Response:
|
SELECT MIN("Games") FROM table_7628 WHERE "Rank" < '1'
|
### Instruction:
Name the average Pick # of mike williams?
### Response:
|
SELECT AVG("Pick #") FROM table_46333 WHERE "Player" = 'mike williams'
|
### Instruction:
What campuses opened between 1935 and 1939?
### Response:
|
SELECT campus FROM campuses WHERE year >= 1935 AND year <= 1939
|
### Instruction:
What is the Elevation of the mountain on Route 62?
### Response:
|
SELECT "Elevation" FROM table_74813 WHERE "Route" = '62'
|
### Instruction:
A scatter chart showing the correlation between age and purchase time for each coffee shop.
### Response:
|
SELECT Time_of_purchase, Age FROM member GROUP BY Address ORDER BY Time_of_purchase
|
### Instruction:
Name the high rebounds for march 17
### Response:
|
SELECT high_rebounds FROM table_15780049_8 WHERE date = "March 17"
|
### Instruction:
What is the Home team at the Lincoln City Away game?
### Response:
|
SELECT "Home team" FROM table_63658 WHERE "Away team" = 'lincoln city'
|
### Instruction:
What Report has the Date September 3, 2005?
### Response:
|
SELECT report FROM table_name_8 WHERE date = "september 3, 2005"
|
### Instruction:
How many laps does driver dario franchitti have?
### Response:
|
SELECT "Laps" FROM table_76620 WHERE "Driver" = 'dario franchitti'
|
### Instruction:
Which viewers had Matt Gallagher as the director?
### Response:
|
SELECT viewers FROM table_11642945_1 WHERE director = "Matt Gallagher"
|
### Instruction:
Which round has pain and glory 2006 as the event?
### Response:
|
SELECT round FROM table_name_94 WHERE event = "pain and glory 2006"
|
### Instruction:
what are all the record where date is january 21
### Response:
|
SELECT "Record" FROM table_18753 WHERE "Date" = 'January 21'
|
### Instruction:
What day were the results 3:2?
### Response:
|
SELECT "Date" FROM table_75155 WHERE "Results\u00b9" = '3:2'
|
### Instruction:
Return a pie chart about the proportion of All_Neutral and All_Games_Percent.
### Response:
|
SELECT All_Neutral, All_Games_Percent FROM basketball_match
|
### Instruction:
What is Tony O'Sullivan's county?
### Response:
|
SELECT "County" FROM table_4725 WHERE "Player" = 'tony o''sullivan'
|
### Instruction:
Where was the GTE Suncoast Classic tournament held?
### Response:
|
SELECT location FROM table_11622562_1 WHERE tournament = "GTE Suncoast Classic"
|
### Instruction:
What is the smallest grid for Ayrton Senna?
### Response:
|
SELECT MIN("Grid") FROM table_54111 WHERE "Driver" = 'ayrton senna'
|
### Instruction:
How many league of communists have the municipality of bar?
### Response:
|
SELECT COUNT("League of Communists") FROM table_1217 WHERE "Municipality" = 'Bar'
|
### Instruction:
WHO WROTE 'DAD'S DEAD
### Response:
|
SELECT "Written by" FROM table_17388 WHERE "Title" = 'Dad''s Dead'
|
### Instruction:
What class year was Vencie Glenn from?
### Response:
|
SELECT MIN("Class Year") FROM table_25619 WHERE "Player" = 'Vencie Glenn'
|
### Instruction:
In what year was the partner Wesley Moodie?
### Response:
|
SELECT MAX("Year") FROM table_2528 WHERE "Partner" = 'Wesley Moodie'
|
### Instruction:
Which manager has sheffield wednesday as the team?
### Response:
|
SELECT "Manager" FROM table_80386 WHERE "Team" = 'sheffield wednesday'
|
### Instruction:
Which County has an Enrollment of 297?
### Response:
|
SELECT "County" FROM table_66612 WHERE "Enrollment" = '297'
|
### Instruction:
What year was the first store that had a hypermarket of 3?
### Response:
|
SELECT "First store" FROM table_9141 WHERE "Hypermarkets" = '3'
|
### Instruction:
Which Date has a Game site of jeppesen stadium?
### Response:
|
SELECT "Date" FROM table_39267 WHERE "Game site" = 'jeppesen stadium'
|
### Instruction:
tell me the number of shows that only have one host per day .
### Response:
|
SELECT COUNT("program") FROM table_204_839 WHERE "host(s)" = 1
|
### Instruction:
number of silver medals earned the year switzerland earned no gold medals
### Response:
|
SELECT "silver" FROM table_204_374 WHERE "gold" = 0
|
### Instruction:
Which Player has a Score of 67 in united states?
### Response:
|
SELECT player FROM table_name_17 WHERE score = 67 AND country = "united states"
|
### Instruction:
What athlete has a wind number of 1.4?
### Response:
|
SELECT "Athlete" FROM table_59432 WHERE "Wind*" = '1.4'
|
### Instruction:
On what type of land (public or private) do more wildfires occur?
### Response:
|
SELECT owner_descr FROM fires GROUP BY owner_descr ORDER BY COUNT(*) DESC LIMIT 1
|
### Instruction:
Who directed the film that Avie Luthra received an award for?
### Response:
|
SELECT director_s_ FROM table_name_63 WHERE recipient = "avie luthra"
|
### Instruction:
What Surface had a Rally HQ of salou?
### Response:
|
SELECT "Surface" FROM table_64381 WHERE "Rally HQ" = 'salou'
|
### Instruction:
What is the highest crowd when fitzroy is the home team?
### Response:
|
SELECT MAX(crowd) FROM table_name_24 WHERE home_team = "fitzroy"
|
### Instruction:
What was the gp/gs when the assists was 1?
### Response:
|
SELECT "GP/GS" FROM table_42985 WHERE "Assists" = '1'
|
### Instruction:
What was the 1st leg that had a 4-2 aggregate?
### Response:
|
SELECT 1 AS st_leg FROM table_name_33 WHERE aggregate = "4-2"
|
### Instruction:
Which organization administered the poll that showed a lead margin of 5.5?
### Response:
|
SELECT poll_source FROM table_name_88 WHERE lead_margin = 5.5
|
### Instruction:
name a player that play in no more than 13 innings .
### Response:
|
SELECT "player" FROM table_204_154 WHERE "innings" <= 13
|
### Instruction:
How many stolen ends were there when the locale was Sweden?
### Response:
|
SELECT "Stolen Ends" FROM table_20090 WHERE "Locale" = 'Sweden'
|
### Instruction:
What are the average play-offs that have an FA Cup greater than 3?
### Response:
|
SELECT AVG(play_offs) FROM table_name_9 WHERE fa_cup > 3
|
### Instruction:
On average, how many wins have a rank lower than 1?
### Response:
|
SELECT AVG("Wins") FROM table_78067 WHERE "Rank" < '1'
|
### Instruction:
How many nationalities are the pick 193?
### Response:
|
SELECT COUNT(nationality) FROM table_1013129_8 WHERE pick = 193
|
### Instruction:
Name the segment c for ski goggles
### Response:
|
SELECT "Segment C" FROM table_37388 WHERE "Segment A" = 'ski goggles'
|
### Instruction:
Show the attendances of the performances at location 'TD Garden' or 'Bell Centre
### Response:
|
SELECT attendance FROM performance WHERE location = "TD Garden" OR location = "Bell Centre"
|
### Instruction:
What is Mark O'Meara's Score?
### Response:
|
SELECT "Score" FROM table_47458 WHERE "Player" = 'mark o''meara'
|
### Instruction:
How many episodes had a series number of 95?
### Response:
|
SELECT COUNT(title) FROM table_23287683_1 WHERE series__number = 95
|
### Instruction:
Which song has votes greater than 640 and a draw of 1?
### Response:
|
SELECT song FROM table_name_62 WHERE votes > 640 AND draw = 1
|
### Instruction:
How many people attended the home game against the New York Jets?
### Response:
|
SELECT SUM(attendance) FROM table_name_61 WHERE opponent = "new york jets"
|
### Instruction:
What is the score of the game that holds a record of 80-61?
### Response:
|
SELECT score FROM table_name_69 WHERE record = "80-61"
|
### Instruction:
Which Articulatory class has and Aspirated stop of ?
### Response:
|
SELECT articulatory_class FROM table_name_34 WHERE aspirated_stop = "ㅍ"
|
### Instruction:
What was the Director with a Ceremony of 2001?
### Response:
|
SELECT director FROM table_name_93 WHERE year__ceremony_ = 2001
|
### Instruction:
What is the losses for the year 2012?
### Response:
|
SELECT "Losses" FROM table_42343 WHERE "Year" = '2012'
|
### Instruction:
What was the end date when Alex Bodry was the minister?
### Response:
|
SELECT "End date" FROM table_76499 WHERE "Minister" = 'alex bodry'
|
### Instruction:
Who is the August playmate with the October playmate Shannon Long?
### Response:
|
SELECT "August" FROM table_69250 WHERE "October" = 'shannon long'
|
### Instruction:
How many teams drew the widnes vikings?
### Response:
|
SELECT COUNT("Drawn") FROM table_17924 WHERE "Club" = 'Widnes Vikings'
|
### Instruction:
What is the try bonus for when tries against is 43?
### Response:
|
SELECT "Try bonus" FROM table_18938 WHERE "Tries against" = '43'
|
### Instruction:
what was the final score of the game versus Milwaukee?
### Response:
|
SELECT score FROM table_17325580_5 WHERE team = "Milwaukee"
|
### Instruction:
What is the 1.93 that is 2.05 in height?
### Response:
|
SELECT 193 FROM table_name_77 WHERE height = 2.05
|
### Instruction:
What was part 4 when part 3 was *hleupun?
### Response:
|
SELECT part_4 FROM table_name_65 WHERE part_3 = "*hleupun"
|
### Instruction:
What is the lowest Points, when Home is 'Boston'?
### Response:
|
SELECT MIN("Points") FROM table_47366 WHERE "Home" = 'boston'
|
### Instruction:
who directed s01e13
### Response:
|
SELECT "Directed by" FROM table_73199 WHERE "Television order" = 'S01E13'
|
### Instruction:
What's the FA Cup that has a league less than 1?
### Response:
|
SELECT SUM("FA Cup") FROM table_67604 WHERE "League" < '1'
|
### Instruction:
Which lowest goals for number had a played number of less than 34?
### Response:
|
SELECT MIN(goals_for) FROM table_name_95 WHERE played < 34
|
### Instruction:
Who is the home team when melbourne is the away team?
### Response:
|
SELECT "Home team score" FROM table_74771 WHERE "Away team" = 'melbourne'
|
### Instruction:
Name the most minutes for morgan jennings
### Response:
|
SELECT MAX(minutes) FROM table_23183195_5 WHERE player = "Morgan Jennings"
|
### Instruction:
What is the title of the episode with production code 406?
### Response:
|
SELECT "Title" FROM table_3080 WHERE "Production code" = '406'
|
### Instruction:
What is the surface of the match with Brian Gottfried as the runner-up?
### Response:
|
SELECT surface FROM table_name_47 WHERE runner_up = "brian gottfried"
|
### Instruction:
What is the name for the locomotive n474?
### Response:
|
SELECT "Name" FROM table_56248 WHERE "Locomotive" = 'n474'
|
### Instruction:
What is the group B region with a Group E region of Georgia?
### Response:
|
SELECT "Group B" FROM table_75158 WHERE "Group E" = 'georgia'
|
### Instruction:
In what Year was the Result of the game 16-14?
### Response:
|
SELECT MAX(year) FROM table_name_81 WHERE result = "16-14"
|
### Instruction:
Number Of Posts Created on a Certain Date.
### Response:
|
SELECT COUNT(*) FROM Posts WHERE Posts.CreationDate = '10-13-2014'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.