instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
Which episode/s were written by Evan Gore?
### Response:
|
SELECT "Series #" FROM table_30937 WHERE "Written by" = 'Evan Gore'
|
### Instruction:
Which player from the United States is in a place of T2?
### Response:
|
SELECT player FROM table_name_49 WHERE place = "t2" AND country = "united states"
|
### Instruction:
What is the highest overall number for a player from Kentucky State?
### Response:
|
SELECT MAX("Overall") FROM table_4598 WHERE "College" = 'kentucky state'
|
### Instruction:
What is the area of Colonsay Island?
### Response:
|
SELECT MIN(area___ha__) FROM table_143579_1 WHERE island = "Colonsay"
|
### Instruction:
What type has a scratch of 750 GB?
### Response:
|
SELECT "Type" FROM table_52007 WHERE "Scratch" = '750 gb'
|
### Instruction:
What was the score for the home team of essendon?
### Response:
|
SELECT "Home team score" FROM table_33604 WHERE "Home team" = 'essendon'
|
### Instruction:
Name the total number of nicknames for andrew college
### Response:
|
SELECT COUNT(nickname) FROM table_16734640_1 WHERE institution = "Andrew College"
|
### Instruction:
What is the Hanja for the hamgyeong RR Romaja?
### Response:
|
SELECT hanja FROM table_name_4 WHERE rr_romaja = "hamgyeong"
|
### Instruction:
Give me a bar chart showing the total number of each minister, display by the bars in desc please.
### Response:
|
SELECT Minister, COUNT(Minister) FROM party GROUP BY Minister ORDER BY Minister DESC
|
### Instruction:
What is the name of the team from goreville vienna school?
### Response:
|
SELECT team_name FROM table_name_80 WHERE schools = "goreville vienna"
|
### Instruction:
Who was the home team when Fitzroy was the away team?
### Response:
|
SELECT "Home team" FROM table_51841 WHERE "Away team" = 'fitzroy'
|
### Instruction:
Tell me the sum of Grid for giancarlo fisichella
### Response:
|
SELECT SUM(grid) FROM table_name_84 WHERE driver = "giancarlo fisichella"
|
### Instruction:
What is the Lead for the 1999 00 season?
### Response:
|
SELECT lead FROM table_name_87 WHERE season = "1999–00"
|
### Instruction:
Bar chart of school_id from each all games, display total number from low to high order.
### Response:
|
SELECT All_Games, School_ID FROM basketball_match ORDER BY School_ID
|
### Instruction:
how many times was the margin of victory 3 strokes or more ?
### Response:
|
SELECT COUNT(*) FROM table_203_473 WHERE "margin\nof victory" >= 3
|
### Instruction:
What is the Club name what shows 405 for the Points against?
### Response:
|
SELECT club FROM table_name_11 WHERE points_against = "405"
|
### Instruction:
list the opponents which are under the friendly competition .
### Response:
|
SELECT "opponent" FROM table_203_537 WHERE "competition" = 'friendly'
|
### Instruction:
How many people attended the game at VFL Park?
### Response:
|
SELECT SUM("Crowd") FROM table_77740 WHERE "Venue" = 'vfl park'
|
### Instruction:
Which policy type has the most records in the database?
### Response:
|
SELECT policy_type_code FROM available_policies GROUP BY policy_type_code ORDER BY COUNT(*) DESC LIMIT 1
|
### Instruction:
What is Away team Carlton's score?
### Response:
|
SELECT "Away team score" FROM table_11250 WHERE "Away team" = 'carlton'
|
### Instruction:
Use of LIKE function with OR.
### Response:
|
SELECT * FROM Users WHERE Id <= 100 AND Id > 0 AND DisplayName LIKE 'Tim%' OR DisplayName LIKE 'Dav%'
|
### Instruction:
what was the name of the last person to accomplish this up to date ?
### Response:
|
SELECT "player" FROM table_203_549 ORDER BY "date" DESC LIMIT 1
|
### Instruction:
Name the location attendance for 22-8
### Response:
|
SELECT location_attendance FROM table_22654073_7 WHERE record = "22-8"
|
### Instruction:
Which CFL Teams drafted an OL in 2006?
### Response:
|
SELECT "CFL Team" FROM table_16326 WHERE "Position" = 'OL'
|
### Instruction:
I want the trailers for motors of 145
### Response:
|
SELECT "Trailers" FROM table_52220 WHERE "Motors" = '145'
|
### Instruction:
Show all locations and the total number of platforms for all train stations in each location in a pie chart.
### Response:
|
SELECT Location, SUM(Number_of_Platforms) FROM station GROUP BY Location
|
### Instruction:
What is the Medal for the Player in the Light Heavyweight event?
### Response:
|
SELECT "Medal" FROM table_62589 WHERE "Event" = 'light heavyweight'
|
### Instruction:
Which original artist has a Episode of workshop #1?
### Response:
|
SELECT "Original artist" FROM table_69351 WHERE "Episode" = 'workshop #1'
|
### Instruction:
How many scores had a date of March 6?
### Response:
|
SELECT COUNT(score) FROM table_23308178_9 WHERE date = "March 6"
|
### Instruction:
Name the total number of years for usisl pro league
### Response:
|
SELECT COUNT(year) FROM table_2511876_1 WHERE league = "USISL Pro league"
|
### Instruction:
What are December 10's high points?
### Response:
|
SELECT high_points FROM table_27712451_6 WHERE date = "December 10"
|
### Instruction:
Comment extraction - ask ubuntu.
### Response:
|
SELECT Id, Text FROM Comments WHERE PostId IN (SELECT Id FROM Posts WHERE Tags LIKE '%puppet%') AND Text LIKE '%complex%'
|
### Instruction:
Name the record for l 24 22
### Response:
|
SELECT record FROM table_14520977_1 WHERE result = "L 24–22"
|
### Instruction:
What theme has special notes from calgary flames gift set?
### Response:
|
SELECT theme FROM table_name_24 WHERE special_notes = "from calgary flames gift set"
|
### Instruction:
Who got high assists for the game played on February 9?
### Response:
|
SELECT "High assists" FROM table_102 WHERE "Date" = 'February 9'
|
### Instruction:
how many dances at most scored at least 35 ?
### Response:
|
SELECT COUNT("dance") FROM table_204_711 WHERE "best score" >= 35
|
### Instruction:
what is the box score when the home team is melbourne tigers?
### Response:
|
SELECT Box AS score FROM table_name_3 WHERE home_team = "melbourne tigers"
|
### Instruction:
Which Super Ghas a missed season due to injury?
### Response:
|
SELECT "Super G" FROM table_35857 WHERE "Overall" = 'missed season due to injury'
|
### Instruction:
Which Colliery has a Death toll of 7?
### Response:
|
SELECT "Colliery" FROM table_61879 WHERE "Death toll" = '7'
|
### Instruction:
how many silver medals did india win in shooting ?
### Response:
|
SELECT COUNT("name") FROM table_204_103 WHERE "sport" = 'shooting'
|
### Instruction:
What is the date of birth and language of Kurt Buczek?
### Response:
|
SELECT demographic.dob, demographic.language FROM demographic WHERE demographic.name = "Kurt Buczek"
|
### Instruction:
Name the most times contested for montgomeryshire
### Response:
|
SELECT MAX("Times contested") FROM table_26765 WHERE "County" = 'Montgomeryshire'
|
### Instruction:
Who was the opponent when there was a TKO method?
### Response:
|
SELECT "Opponent" FROM table_76449 WHERE "Method" = 'tko'
|
### Instruction:
What was the attendance for the home team of Walsall?
### Response:
|
SELECT "Attendance" FROM table_77248 WHERE "Home team" = 'walsall'
|
### Instruction:
What is the total number of Against, when Draw is greater than 48?
### Response:
|
SELECT COUNT(against) FROM table_name_12 WHERE draw > 48
|
### Instruction:
When melbourne played as the home team, who did they play?
### Response:
|
SELECT "Away team" FROM table_51260 WHERE "Home team" = 'melbourne'
|
### Instruction:
Who won that game on 24 July 2010?
### Response:
|
SELECT result FROM table_name_26 WHERE date = "24 july 2010"
|
### Instruction:
What is richmond's scores when they are the home team?
### Response:
|
SELECT "Home team score" FROM table_57507 WHERE "Home team" = 'richmond'
|
### Instruction:
Find the name of the department that offers the highest total credits?
### Response:
|
SELECT dept_name FROM course GROUP BY dept_name ORDER BY SUM(credits) DESC LIMIT 1
|
### Instruction:
What years have joyce couwenberg as the character?
### Response:
|
SELECT "Years" FROM table_14024 WHERE "Character" = 'joyce couwenberg'
|
### Instruction:
What is the number of capacity at somerset park?
### Response:
|
SELECT COUNT("Capacity") FROM table_16498 WHERE "Stadium" = 'Somerset Park'
|
### Instruction:
What is the Enrollment for the Pilots?
### Response:
|
SELECT MIN("Enrollment") FROM table_7062 WHERE "Team Nickname" = 'pilots'
|
### Instruction:
What was the surface for events held in 1983?
### Response:
|
SELECT "Surface" FROM table_73317 WHERE "Year" = '1983'
|
### Instruction:
What did the home team score against the away team Hawthorn?
### Response:
|
SELECT home_team AS score FROM table_name_30 WHERE away_team = "hawthorn"
|
### Instruction:
What party is John McHugh a member of?
### Response:
|
SELECT "Party" FROM table_18152 WHERE "Incumbent" = 'John McHugh'
|
### Instruction:
List all home teams when Western Kentucky was the visiting team.
### Response:
|
SELECT "Home team" FROM table_29078 WHERE "Visiting team" = 'Western Kentucky'
|
### Instruction:
Who was the champion when the attendance was 70,000?
### Response:
|
SELECT champion FROM table_name_43 WHERE attendance = "70,000"
|
### Instruction:
What seasons does stella malone appear?
### Response:
|
SELECT main_cast_seasons FROM table_12441518_1 WHERE character = "Stella Malone"
|
### Instruction:
what is the sport for wolfgang schattauer?
### Response:
|
SELECT "Sport" FROM table_13996 WHERE "Name" = 'wolfgang schattauer'
|
### Instruction:
Who is the player from Arizona state with a round less than 7?
### Response:
|
SELECT player FROM table_name_84 WHERE round < 7 AND college = "arizona state"
|
### Instruction:
Who was the host that garnered ratings of 9.6/26?
### Response:
|
SELECT host FROM table_name_30 WHERE ratings = "9.6/26"
|
### Instruction:
How many times did the 2nd season have a finale?
### Response:
|
SELECT COUNT("Season Finale") FROM table_18763 WHERE "Season" = '2nd'
|
### Instruction:
What is the nationality for the player with over 64 goals?
### Response:
|
SELECT "Nat." FROM table_46458 WHERE "Goals" > '64'
|
### Instruction:
Name the high rebounds for record 10-19
### Response:
|
SELECT "High rebounds" FROM table_2821 WHERE "Record" = '10-19'
|
### Instruction:
Name the perfect stem for jo
### Response:
|
SELECT COUNT(perfect_stem) FROM table_12784134_24 WHERE short_stem = "jo"
|
### Instruction:
what is the minimum average with highest being 2363
### Response:
|
SELECT MIN("Average") FROM table_902 WHERE "Highest" = '2363'
|
### Instruction:
How many points differ from 134?
### Response:
|
SELECT points_difference FROM table_20760802_1 WHERE points_for = "134"
|
### Instruction:
Who is the away side at junction oval?
### Response:
|
SELECT "Away team" FROM table_33445 WHERE "Venue" = 'junction oval'
|
### Instruction:
Name who wrote 5ajn11
### Response:
|
SELECT written_by FROM table_23235679_1 WHERE production_code = "5AJN11"
|
### Instruction:
how many episodes were written by matt nix ?
### Response:
|
SELECT COUNT("title") FROM table_203_349 WHERE "written by" = 'matt nix'
|
### Instruction:
What is every type for the location of Roanoke, Virginia?
### Response:
|
SELECT "Type" FROM table_28408 WHERE "Location" = 'Roanoke, Virginia'
|
### Instruction:
to the Latin of f, y, u/v/w?
### Response:
|
SELECT greek FROM table_name_63 WHERE latin = "f, y, u/v/w"
|
### Instruction:
In which district is the first elected 2000?
### Response:
|
SELECT "District" FROM table_22108 WHERE "First elected" = '2000'
|
### Instruction:
Name the name origin for 54.0e
### Response:
|
SELECT name AS origin FROM table_16799784_2 WHERE longitude = "54.0E"
|
### Instruction:
How many players named Dean Kirkland were picked
### Response:
|
SELECT COUNT(pick__number) FROM table_15353123_1 WHERE player = "Dean Kirkland"
|
### Instruction:
What province has an election after 2009?
### Response:
|
SELECT "Province" FROM table_33162 WHERE "Election" > '2009'
|
### Instruction:
What is the NFL team of the player whose college is Minnesota?
### Response:
|
SELECT "NFL Team" FROM table_19480 WHERE "College" = 'Minnesota'
|
### Instruction:
Who had the highest assists during the game on February 22?
### Response:
|
SELECT high_assists FROM table_name_28 WHERE date = "february 22"
|
### Instruction:
Give me the comparison about author_id over the password by a bar chart.
### Response:
|
SELECT password, author_id FROM Course_Authors_and_Tutors ORDER BY personal_name
|
### Instruction:
What is the original artist of top 9 as the week number?
### Response:
|
SELECT "Original artist" FROM table_75714 WHERE "Week #" = 'top 9'
|
### Instruction:
When the venue was lake oval what did the home team score?
### Response:
|
SELECT home_team AS score FROM table_name_56 WHERE venue = "lake oval"
|
### Instruction:
What is the week 5 after Dani Dior as week 1?
### Response:
|
SELECT week_5 FROM table_name_36 WHERE week_1 = "dani dior"
|
### Instruction:
What is jim dutcher's hometown?
### Response:
|
SELECT "Hometown" FROM table_25383 WHERE "Player" = 'Jim Dutcher'
|
### Instruction:
How many field goals did Stacey Thomas have?
### Response:
|
SELECT field_goals FROM table_24850487_5 WHERE player = "Stacey Thomas"
|
### Instruction:
What is the Home with an Away that is toronto rebels?
### Response:
|
SELECT "Home" FROM table_6963 WHERE "Away" = 'toronto rebels'
|
### Instruction:
What is the gross revenue in 2011 for MO?
### Response:
|
SELECT gross_revenue__2011_ FROM table_name_8 WHERE state = "mo"
|
### Instruction:
What is the visiting team of Melbourne's score?
### Response:
|
SELECT "Away team score" FROM table_54261 WHERE "Away team" = 'melbourne'
|
### Instruction:
When 2 is the ka-band how many properties are there?
### Response:
|
SELECT COUNT(property) FROM table_186468_1 WHERE ka_band = "2"
|
### Instruction:
What is the name of the film with an award of 5,380?
### Response:
|
SELECT film FROM table_name_18 WHERE award = "£5,380"
|
### Instruction:
What was the open cup results in 2004?
### Response:
|
SELECT open_cup FROM table_1243601_1 WHERE year = "2004"
|
### Instruction:
What were the notes for the time of 6:34.51?
### Response:
|
SELECT notes FROM table_name_56 WHERE time = "6:34.51"
|
### Instruction:
How many have are model 2.4 awd?
### Response:
|
SELECT COUNT("engine type") FROM table_16816 WHERE "model" = '2.4 AWD'
|
### Instruction:
how many patients were in the 1017 ward.
### Response:
|
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 1017
|
### Instruction:
What is the lowest number played with more than 30 points?
### Response:
|
SELECT MIN("Played") FROM table_40836 WHERE "Points" > '30'
|
### Instruction:
What was the score in the game on May 11?
### Response:
|
SELECT score FROM table_11963601_11 WHERE date = "May 11"
|
### Instruction:
What digital channel corresponds to virtual channel 23.2?
### Response:
|
SELECT "Digital channel" FROM table_30607 WHERE "Virtual channel" = '23.2'
|
### Instruction:
What type of environment is the venue that was built in 2003?
### Response:
|
SELECT environment FROM table_name_11 WHERE year_built = "2003"
|
### Instruction:
For Appl of Radiation , are there any advisory prerequisites ?
### Response:
|
SELECT DISTINCT advisory_requirement FROM course WHERE name LIKE '%Appl of Radiation%'
|
### Instruction:
How many Againsts have more than 15 wins?
### Response:
|
SELECT COUNT("Against") FROM table_58660 WHERE "Wins" > '15'
|
### Instruction:
what's the won with club being ammanford rfc
### Response:
|
SELECT won FROM table_12828723_3 WHERE club = "Ammanford RFC"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.