instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
Which Doctor Who episode has a Episode # of 11?
### Response:
|
SELECT doctor_who_episode FROM table_name_78 WHERE episode__number = "11"
|
### Instruction:
Which round has the scorer of Di Matteo?
### Response:
|
SELECT "Round" FROM table_38001 WHERE "Scorers" = 'di matteo'
|
### Instruction:
What Willingshain is Kirchheim 1,126?
### Response:
|
SELECT willingshain FROM table_name_71 WHERE kirchheim = "1,126"
|
### Instruction:
How much did the away team St Kilda score?
### Response:
|
SELECT "Away team score" FROM table_51356 WHERE "Away team" = 'st kilda'
|
### Instruction:
What is the record for the game on January 19?
### Response:
|
SELECT "Record" FROM table_77610 WHERE "Date" = 'january 19'
|
### Instruction:
Which Score has a To par of +1 in sweden?
### Response:
|
SELECT score FROM table_name_67 WHERE to_par = "+1" AND country = "sweden"
|
### Instruction:
How many patients are less than 86 years old?
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "86"
|
### Instruction:
How many silver medals were won in 1938?
### Response:
|
SELECT "Silver" FROM table_44889 WHERE "Year" = '1938'
|
### Instruction:
What schools did lenard semajuste play for?
### Response:
|
SELECT college FROM table_10960039_6 WHERE player = "Lenard Semajuste"
|
### Instruction:
What place in the United States has a To par of e?
### Response:
|
SELECT place FROM table_name_39 WHERE country = "united states" AND to_par = "e"
|
### Instruction:
When 2010 is the year what is the game?
### Response:
|
SELECT games FROM table_29743928_4 WHERE years = "2010"
|
### Instruction:
What player's original team are the Buffalo Bills?
### Response:
|
SELECT "Player" FROM table_80252 WHERE "Original NFL team" = 'buffalo bills'
|
### Instruction:
Which nhl team has kris draper as the player?
### Response:
|
SELECT "NHL team" FROM table_30856 WHERE "Player" = 'Kris Draper'
|
### Instruction:
What is the score of the game on January 12?
### Response:
|
SELECT "Score" FROM table_77611 WHERE "Date" = 'january 12'
|
### Instruction:
Who played home team at the Arden Street Oval game?
### Response:
|
SELECT "Home team" FROM table_4480 WHERE "Venue" = 'arden street oval'
|
### Instruction:
What is the home team of the game on April 20?
### Response:
|
SELECT "Home" FROM table_58267 WHERE "Date" = 'april 20'
|
### Instruction:
What was the venue that featured the Melbourne Tigers as the away team?
### Response:
|
SELECT venue FROM table_name_95 WHERE away_team = "melbourne tigers"
|
### Instruction:
Which ICAO has a Fleet size of 2?
### Response:
|
SELECT "ICAO" FROM table_39804 WHERE "Fleet size" = '2'
|
### Instruction:
What were the total number of games in April greater than 83?
### Response:
|
SELECT COUNT("April") FROM table_38024 WHERE "Game" > '83'
|
### Instruction:
Which Venue has Attendances of 11,045?
### Response:
|
SELECT venue FROM table_name_97 WHERE attendance = "11,045"
|
### Instruction:
how many days did hardcore tv # 6 take ?
### Response:
|
SELECT "days held" FROM table_204_23 WHERE "event" = 'hardcore tv #6'
|
### Instruction:
What is the sum of attendance for H/A values of 'n'?
### Response:
|
SELECT SUM(attendance) FROM table_name_80 WHERE h___a = "n"
|
### Instruction:
What is Score, when Tie No is '30'?
### Response:
|
SELECT "Score" FROM table_60030 WHERE "Tie no" = '30'
|
### Instruction:
what is the date when the competition is 1998 asian games?
### Response:
|
SELECT date FROM table_name_17 WHERE competition = "1998 asian games"
|
### Instruction:
How many production numbers have a Title of bosko in dutch?
### Response:
|
SELECT SUM(production_num) FROM table_name_93 WHERE title = "bosko in dutch"
|
### Instruction:
What's the comp in Olympic Stadium Tokyo, Japan?
### Response:
|
SELECT comp FROM table_name_60 WHERE venue = "olympic stadium tokyo, japan"
|
### Instruction:
Which tribunal had a total of 4167?
### Response:
|
SELECT "Tribunal" FROM table_51153 WHERE "Total" = '4167'
|
### Instruction:
How many semifinalists where from peru?
### Response:
|
SELECT semifinalists FROM table_30018460_1 WHERE country_territory = "Peru"
|
### Instruction:
What draft pick was Chris Brewer?
### Response:
|
SELECT MIN(pick__number) FROM table_16729063_1 WHERE player = "Chris Brewer"
|
### Instruction:
what's airdate with international destination being scotland
### Response:
|
SELECT "Airdate" FROM table_17951 WHERE "International destination" = 'Scotland'
|
### Instruction:
What is the final result for the 63.5 kg?
### Response:
|
SELECT "Final" FROM table_36617 WHERE "Event" = '63.5 kg'
|
### Instruction:
What game sites are where the team record is 1 6?
### Response:
|
SELECT "Game site" FROM table_27617 WHERE "Team record" = '1–6'
|
### Instruction:
When was andrea g miz the opponent?
### Response:
|
SELECT "Date" FROM table_55487 WHERE "Opponent" = 'andrea gámiz'
|
### Instruction:
When was the Attendance larger than 74,382?
### Response:
|
SELECT date FROM table_name_36 WHERE attendance > 74 OFFSET 382
|
### Instruction:
What is the result on 30 june 1995?
### Response:
|
SELECT result FROM table_name_2 WHERE date = "30 june 1995"
|
### Instruction:
What was the result of the game hosted at Queen's Park Oval?
### Response:
|
SELECT result FROM table_name_30 WHERE venue = "queen's park oval"
|
### Instruction:
What is the control type which was founded in 1818?
### Response:
|
SELECT control FROM table_2076608_3 WHERE founded = "1818"
|
### Instruction:
what is procedure long title of procedure icd9 code 331?
### Response:
|
SELECT procedures.long_title FROM procedures WHERE procedures.icd9_code = "331"
|
### Instruction:
How many wins did the club have with the last win in 2000?
### Response:
|
SELECT wins FROM table_name_42 WHERE last_win = "2000"
|
### Instruction:
What is the sum of the drawn values for teams with 2 losses?
### Response:
|
SELECT SUM("Drawn") FROM table_70362 WHERE "Lost" = '2'
|
### Instruction:
what is the title of the episode daphne field wrote?
### Response:
|
SELECT title FROM table_2626495_1 WHERE written_by = "Daphne Field"
|
### Instruction:
tell me the number of times they qualified for the playoffs .
### Response:
|
SELECT COUNT(*) FROM table_204_676 WHERE "playoffs" <> 'did not qualify'
|
### Instruction:
Name the season for runner up of judean rebels
### Response:
|
SELECT "Season" FROM table_66751 WHERE "Runner Up" = 'judean rebels'
|
### Instruction:
At what venue is the margin of victory 7 strokes?
### Response:
|
SELECT venue FROM table_name_82 WHERE margin_of_victory = "7 strokes"
|
### Instruction:
What is the club for the 132 SHTS?
### Response:
|
SELECT "Club" FROM table_6735 WHERE "SHTS" = '132'
|
### Instruction:
What is Team, when Date is 'March 27'?
### Response:
|
SELECT "Team" FROM table_9012 WHERE "Date" = 'march 27'
|
### Instruction:
how many patients have a government insurance policy?
### Response:
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Government"
|
### Instruction:
What rider went under 22 laps with grid number 2?
### Response:
|
SELECT rider FROM table_name_11 WHERE laps < 22 AND grid = 2
|
### Instruction:
How many wins were there when the position was 26th?
### Response:
|
SELECT COUNT("Wins") FROM table_19837 WHERE "Position" = '26th'
|
### Instruction:
What is the Qual listed on the Year of 1954?
### Response:
|
SELECT "Qual" FROM table_69559 WHERE "Year" = '1954'
|
### Instruction:
What is the Suffix for the Group of Benzyl?
### Response:
|
SELECT "Suffix" FROM table_11378 WHERE "Group" = 'benzyl'
|
### Instruction:
How many points does footscray score as the home side?
### Response:
|
SELECT "Home team score" FROM table_74660 WHERE "Home team" = 'footscray'
|
### Instruction:
how many consecutive games were released in 2006 ?
### Response:
|
SELECT COUNT("title") FROM table_203_633 WHERE "year" = 2006
|
### Instruction:
which star has the highest distance at maximum ?
### Response:
|
SELECT "star" FROM table_203_56 ORDER BY "distance at\nmaximum (ly)" DESC LIMIT 1
|
### Instruction:
What is the score of the game on January 10?
### Response:
|
SELECT "Score" FROM table_37413 WHERE "Date" = 'january 10'
|
### Instruction:
What is the highest year that Kim was nominated for Over the Rainbow?
### Response:
|
SELECT MAX(year) FROM table_name_92 WHERE film_series = "over the rainbow"
|
### Instruction:
What type of engine did the Fuel Injection entrant use?
### Response:
|
SELECT "Engine" FROM table_70595 WHERE "Entrant" = 'fuel injection'
|
### Instruction:
What was the score when 7260 people attended the game?
### Response:
|
SELECT "Score" FROM table_2300 WHERE "Attendance" = '7260'
|
### Instruction:
What is the league cup app with league cup goals more than 0?
### Response:
|
SELECT league_cup_apps FROM table_name_76 WHERE league_cup_goals > 0
|
### Instruction:
Who is the player when the economy is 5.29?
### Response:
|
SELECT player FROM table_28846752_9 WHERE economy = "5.29"
|
### Instruction:
I want to know the method for opponent of jerry bohlander
### Response:
|
SELECT method FROM table_name_71 WHERE opponent = "jerry bohlander"
|
### Instruction:
What team visited the Jacksonville Municipal Stadium?
### Response:
|
SELECT "Visiting team" FROM table_68711 WHERE "Stadium" = 'jacksonville municipal stadium'
|
### Instruction:
What club has a home score of 0-2 in Round 1?
### Response:
|
SELECT club FROM table_name_53 WHERE round = 1 AND home = "0-2"
|
### Instruction:
At what arena was the September 21 game?
### Response:
|
SELECT "Arena" FROM table_14137 WHERE "Date" = 'september 21'
|
### Instruction:
does dl stand for DL
### Response:
|
SELECT DISTINCT airline_code FROM airline WHERE airline_code = 'DL' AND airline_name LIKE 'DELTA'
|
### Instruction:
If in english it is heart, what is it in hebrew?
### Response:
|
SELECT "Hebrew" FROM table_74053 WHERE "English" = 'heart'
|
### Instruction:
Which Games had a Name of manuel felix diaz?
### Response:
|
SELECT "Games" FROM table_75000 WHERE "Name" = 'manuel felix diaz'
|
### Instruction:
In what location was the tail number ZS-SPF?
### Response:
|
SELECT "Location" FROM table_41230 WHERE "Tail number" = 'zs-spf'
|
### Instruction:
how many finals did shelfield athletic win ?
### Response:
|
SELECT COUNT(*) FROM table_204_596 WHERE "winners" = 'shelfield athletic'
|
### Instruction:
When playing at Windy Hill, what was the home team?
### Response:
|
SELECT "Home team" FROM table_53094 WHERE "Venue" = 'windy hill'
|
### Instruction:
How many games were held on January 5?
### Response:
|
SELECT COUNT(game) FROM table_27700375_8 WHERE date = "January 5"
|
### Instruction:
When the power kw is 5kw, what is the frequency?
### Response:
|
SELECT "Frequency" FROM table_26827 WHERE "Power kW" = '5kW'
|
### Instruction:
On what date was the Catalog FT 507?
### Response:
|
SELECT "Date" FROM table_52563 WHERE "Catalog" = 'ft 507'
|
### Instruction:
Find the number of dorms for each gender in a bar chart, order in asc by the Y please.
### Response:
|
SELECT gender, COUNT(*) FROM Dorm GROUP BY gender ORDER BY COUNT(*)
|
### Instruction:
Name the total number of dates for toshiba classic
### Response:
|
SELECT COUNT("Date") FROM table_28201 WHERE "Tournament" = 'Toshiba Classic'
|
### Instruction:
How many values for joined occur at Guilford College?
### Response:
|
SELECT COUNT("Joined") FROM table_28409 WHERE "Institution" = 'Guilford College'
|
### Instruction:
what is insurance of subject id 19420?
### Response:
|
SELECT demographic.insurance FROM demographic WHERE demographic.subject_id = "19420"
|
### Instruction:
Name the trucks for scott neal
### Response:
|
SELECT "Truck(s)" FROM table_24665 WHERE "Crew Chief" = 'Scott Neal'
|
### Instruction:
Name the successor for pennsylvania 15th
### Response:
|
SELECT successor FROM table_1958768_3 WHERE district = "Pennsylvania 15th"
|
### Instruction:
What is the Team for the player born in northfield, minnesota?
### Response:
|
SELECT team FROM table_name_30 WHERE birthplace = "northfield, minnesota"
|
### Instruction:
how many times did the home team have a score of only one against the away team ?
### Response:
|
SELECT COUNT(*) FROM table_204_475 WHERE "score" = 1
|
### Instruction:
Tell me the average year with a record of 33-33
### Response:
|
SELECT AVG(year) FROM table_name_23 WHERE record = "33-33"
|
### Instruction:
What is the ICAO for Asiana Airlines?
### Response:
|
SELECT "ICAO" FROM table_40824 WHERE "AIRLINE" = 'asiana airlines'
|
### Instruction:
If Coba is the song choice, what is the order number?
### Response:
|
SELECT "Order #" FROM table_25263 WHERE "Song choice" = 'Coba'
|
### Instruction:
On what date did the away team Fremantle play?
### Response:
|
SELECT "Date" FROM table_72786 WHERE "Away team" = 'Fremantle'
|
### Instruction:
Which Opponent is on October of 29?
### Response:
|
SELECT "Opponent" FROM table_35805 WHERE "October" = '29'
|
### Instruction:
Round 1 of 71 has how many highest money?
### Response:
|
SELECT MAX(money__) AS $_ FROM table_name_33 WHERE round_1 = "71"
|
### Instruction:
What is the name of the home team that played Carlton?
### Response:
|
SELECT "Home team" FROM table_52549 WHERE "Away team" = 'carlton'
|
### Instruction:
Nigeria had the fastest time once.
### Response:
|
SELECT COUNT("Fastest time (s)") FROM table_17601 WHERE "Nation" = 'Nigeria'
|
### Instruction:
What player goes to Torrey Pines High School?
### Response:
|
SELECT player FROM table_11677100_3 WHERE school = "Torrey Pines High school"
|
### Instruction:
Who was the home team when Manchester City was the away team?
### Response:
|
SELECT "Home team" FROM table_47601 WHERE "Away team" = 'manchester city'
|
### Instruction:
Which week's game was attended by 65,272 people?
### Response:
|
SELECT week FROM table_name_18 WHERE attendance = "65,272"
|
### Instruction:
What is the attendance of the game that had a date listed as Bye?
### Response:
|
SELECT "Attendance" FROM table_48793 WHERE "Date" = 'bye'
|
### Instruction:
Who is the player from Australia with a to par of +5?
### Response:
|
SELECT player FROM table_name_7 WHERE to_par = "+5" AND country = "australia"
|
### Instruction:
What is the council area for the Larkhall urban sub-area?
### Response:
|
SELECT council_area FROM table_name_51 WHERE urban_sub_area = "larkhall"
|
### Instruction:
Name the english title for mexico/spain/usa
### Response:
|
SELECT english_title FROM table_name_24 WHERE country = "mexico/spain/usa"
|
### Instruction:
How many are the total winners if 7 won the Men's Open?
### Response:
|
SELECT "Total" FROM table_1831 WHERE "Mens Open" = '7'
|
### Instruction:
What is the pick number for Northwestern college?
### Response:
|
SELECT MAX(pick__number) FROM table_10975034_2 WHERE college = "Northwestern"
|
### Instruction:
Name the team classification for thomas de gendt
### Response:
|
SELECT "Team Classification" FROM table_30925 WHERE "Winner" = 'Thomas De Gendt'
|
### Instruction:
Name the april for candice cassidy
### Response:
|
SELECT "April" FROM table_69135 WHERE "June" = 'candice cassidy'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.