instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
Which Championships have a League of ontario australian football league?
### Response:
| SELECT "Championships" FROM table_12662 WHERE "League" = 'ontario australian football league' |
### Instruction:
there are in tobago species name helicops angulatus
### Response:
| SELECT "Tobago" FROM table_1873 WHERE "Species" = 'Helicops angulatus' |
### Instruction:
Who was running for office in the California 10 district?
### Response:
| SELECT "Candidates" FROM table_18361 WHERE "District" = 'California 10' |
### Instruction:
What is the Outcome of the match on 12 september 2004?
### Response:
| SELECT outcome FROM table_name_21 WHERE date = "12 september 2004" |
### Instruction:
Which Discoveryhas an Operator(s) of lundin?
### Response:
| SELECT "Discovery" FROM table_15216 WHERE "Operator(s)" = 'lundin' |
### Instruction:
What is the custody level of the facility in Shelton?
### Response:
| SELECT "Custody Level(s)" FROM table_27565 WHERE "Location" = 'Shelton' |
### Instruction:
What was the class that team Honda Britain was in with points higher than 0?
### Response:
| SELECT class FROM table_name_34 WHERE team = "honda britain" AND points > 0 |
### Instruction:
when does the train departuring at 11.35 arrive
### Response:
| SELECT "Arrival" FROM table_22276 WHERE "Departure" = '11.35' |
### Instruction:
What transmitter location has digital power of 570kw?
### Response:
| SELECT "Transmitter Location" FROM table_39320 WHERE "Digital Power" = '570kw' |
### Instruction:
What is the high total for algeria with over 2 bronzes?
### Response:
| SELECT MAX(total) FROM table_name_82 WHERE nation = "algeria" AND bronze > 2 |
### Instruction:
Return a bar chart about the distribution of Days and the average of Credits , and group by attribute Days.
### Response:
| SELECT Days, AVG(Credits) FROM Course GROUP BY Days ORDER BY Credits |
### Instruction:
What's the service number of the Jammu Duronto train?
### Response:
| SELECT MAX("Service") FROM table_26099 WHERE "Train name" = 'Jammu Duronto' |
### Instruction:
What day in November has a record of 15-6-1?
### Response:
| SELECT AVG(november) FROM table_name_91 WHERE record = "15-6-1" |
### Instruction:
What was the final score of the game played on July 10?
### Response:
| SELECT "Final Score" FROM table_24620 WHERE "Date" = 'July 10' |
### Instruction:
What is Speed, when Time is 1:24.23.0?
### Response:
| SELECT speed FROM table_name_98 WHERE time = "1:24.23.0" |
### Instruction:
which person has directed most of the titles ?
### Response:
| SELECT "directed by" FROM table_201_39 GROUP BY "directed by" ORDER BY COUNT("title") DESC LIMIT 1 |
### Instruction:
What is the date of the gps iif-7 satellite?
### Response:
| SELECT "Date" FROM table_41147 WHERE "Satellite" = 'gps iif-7' |
### Instruction:
What date did the Milton Keynes Dons appoint?
### Response:
| SELECT "Date of appointment" FROM table_22601 WHERE "Team" = 'Milton Keynes Dons' |
### Instruction:
What was the date when the opponent was at South carolina?
### Response:
| SELECT "Date" FROM table_7068 WHERE "Opponent" = 'at south carolina' |
### Instruction:
Which coach has a conference record of 42-78?
### Response:
| SELECT "Coach" FROM table_33718 WHERE "Conference Record" = '42-78' |
### Instruction:
Name the note for catalog of 32xa-106
### Response:
| SELECT "Note" FROM table_66873 WHERE "Catalog" = '32xa-106' |
### Instruction:
What is Results, when First Elected is less than 1988?
### Response:
| SELECT "Results" FROM table_62031 WHERE "First elected" < '1988' |
### Instruction:
In Tie #19, what was the name of the away team?
### Response:
| SELECT "Away team" FROM table_50151 WHERE "Tie no" = '19' |
### Instruction:
What's the mascot in Anderson for the Independent previous conference?
### Response:
| SELECT mascot FROM table_name_74 WHERE previous_conference = "independent" AND location = "anderson" |
### Instruction:
Who is the Lees Team for episode 4x04?
### Response:
| SELECT lees_team FROM table_23575917_4 WHERE episode = "4x04" |
### Instruction:
What's the language of the school founded in 1949?
### Response:
| SELECT "Language" FROM table_22939 WHERE "Year Founded" = '1949' |
### Instruction:
What is the date for the podcast episode number 103?
### Response:
| SELECT "Podcast Date" FROM table_32993 WHERE "Episode Number" = '103' |
### Instruction:
What was the round that had 32 winners from previous round?
### Response:
| SELECT "Round" FROM table_30235 WHERE "Winners from previous round" = '32' |
### Instruction:
What is the smallest total score for the Pasodoble style?
### Response:
| SELECT MIN(total) FROM table_28677723_9 WHERE style = "Pasodoble" |
### Instruction:
What is the total number of points for a total pld less than 38?
### Response:
| SELECT COUNT(total_pts) FROM table_name_24 WHERE total_pld < 38 |
### Instruction:
What's the English name of the month abbreviated as . .?
### Response:
| SELECT "English name" FROM table_22138 WHERE "Abbr." = 'มิ.ย.' |
### Instruction:
Name the total number of awardees for best screenplay
### Response:
| SELECT COUNT("Awardee(s)") FROM table_3059 WHERE "Name of Award" = 'Best Screenplay' |
### Instruction:
How many Years have an Iron Man Award of kyal horsley?
### Response:
| SELECT COUNT("Year") FROM table_44906 WHERE "Iron Man Award" = 'kyal horsley' |
### Instruction:
Name the competition that was on august 25, 2007
### Response:
| SELECT competition FROM table_name_48 WHERE date = "august 25, 2007" |
### Instruction:
Name the running with for elizabeth falco
### Response:
| SELECT running_with__in_team_ FROM table_1855841_1 WHERE candidate = "Elizabeth Falco" |
### Instruction:
Which label is dated February 14, 2002?
### Response:
| SELECT label FROM table_name_32 WHERE date = "february 14, 2002" |
### Instruction:
What is the Result of the battle with Latin Commander Boniface of Montferrat?
### Response:
| SELECT result FROM table_name_3 WHERE latin_commander = "boniface of montferrat" |
### Instruction:
What district is the court located in Tolland?
### Response:
| SELECT MAX(district) FROM table_26758262_1 WHERE location_of_court = "Tolland" |
### Instruction:
What town is Muscle Shoals High School located in?
### Response:
| SELECT hometown FROM table_11677691_10 WHERE school = "Muscle Shoals High school" |
### Instruction:
How many sections does course ACCT-211 has?
### Response:
| SELECT COUNT(DISTINCT class_section) FROM CLASS WHERE crs_code = 'ACCT-211' |
### Instruction:
What is the 1.93 for Svetlana Shkolina?
### Response:
| SELECT 193 FROM table_name_69 WHERE name = "svetlana shkolina" |
### Instruction:
What position has notes of 2:12:53?
### Response:
| SELECT "Position" FROM table_39714 WHERE "Notes" = '2:12:53' |
### Instruction:
what was the last title in 2002 to gross the most money ?
### Response:
| SELECT "film" FROM table_203_762 ORDER BY "gross" DESC LIMIT 1 |
### Instruction:
Who was the Semi-Finalist #2 in 2007?
### Response:
| SELECT semi_finalist__number2 FROM table_name_59 WHERE year = "2007" |
### Instruction:
What is the lowest Rank of Denmark County with a Total smaller than 1?
### Response:
| SELECT MIN(rank) FROM table_name_2 WHERE country = "denmark" AND total < 1 |
### Instruction:
What is the surface for the tournament of manta, ecuador?
### Response:
| SELECT "Surface" FROM table_39169 WHERE "Tournament" = 'manta, ecuador' |
### Instruction:
What was the stadium in Moorabbin, Victoria built for?
### Response:
| SELECT "Built for" FROM table_4136 WHERE "Location" = 'Moorabbin, Victoria' |
### Instruction:
Which country has the Highest mountain of rettlkirchspitze?
### Response:
| SELECT country FROM table_name_68 WHERE highest_mountain = "rettlkirchspitze" |
### Instruction:
What percentage of the votes in Tippah did Obama get?
### Response:
| SELECT obama_percentage FROM table_20799587_1 WHERE county = "Tippah" |
### Instruction:
Who was the visitor on december 15, 1976?
### Response:
| SELECT visitor FROM table_name_94 WHERE date = "december 15, 1976" |
### Instruction:
What was the tries for with tries against at 33?
### Response:
| SELECT tries_for FROM table_12828723_5 WHERE tries_against = "33" |
### Instruction:
what were the number of sertraline hcl prescriptions that were made?
### Response:
| SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'sertraline hcl' |
### Instruction:
How many wins did South Warrambool have?
### Response:
| SELECT AVG("Wins") FROM table_62959 WHERE "Hampden FL" = 'south warrambool' |
### Instruction:
what was the name of the only business simulation video game developed by frog city ?
### Response:
| SELECT "game" FROM table_204_121 WHERE "developer" = 'frog city' |
### Instruction:
What is the date of the game when the Rockies had a record of 61 66?
### Response:
| SELECT date FROM table_name_91 WHERE record = "61–66" |
### Instruction:
What was the attendance at the Kings game when Anaheim was the visiting team?
### Response:
| SELECT "Attendance" FROM table_53790 WHERE "Visitor" = 'anaheim' |
### Instruction:
Which college did the player attend that went to Mission Viejo High School?
### Response:
| SELECT college FROM table_11677691_4 WHERE school = "Mission Viejo High school" |
### Instruction:
What's the number of the horse whose trainer is Kim Bailey?
### Response:
| SELECT MAX("Number") FROM table_23544 WHERE "Trainer" = 'Kim Bailey' |
### Instruction:
What was the location attendance on the date of November 15?
### Response:
| SELECT "Location Attendance" FROM table_17305 WHERE "Date" = 'November 15' |
### Instruction:
Name the attendance with result of t 14-14
### Response:
| SELECT "Attendance" FROM table_34507 WHERE "Result" = 't 14-14' |
### Instruction:
Who was the away team at the game at Kardinia Park?
### Response:
| SELECT "Away team" FROM table_33311 WHERE "Venue" = 'kardinia park' |
### Instruction:
Name the number of crews for light bombardment group
### Response:
| SELECT "Number of crews" FROM table_26133 WHERE "Type of unit" = 'Light bombardment group' |
### Instruction:
What nation has the most bronze medals with over 11 total medals?
### Response:
| SELECT MAX("Bronze") FROM table_69799 WHERE "Total" > '11' |
### Instruction:
when the name is southern region, what is the administrative centre?
### Response:
| SELECT "Administrative centre" FROM table_25111 WHERE "Name (English)" = 'Southern Region' |
### Instruction:
What was the result of the Competition of euro 2000 qualifier?
### Response:
| SELECT result FROM table_name_78 WHERE competition = "euro 2000 qualifier" |
### Instruction:
Name the most ending with for peyalvar
### Response:
| SELECT MAX(ending_with) FROM table_1852650_1 WHERE sung_by = "Peyalvar" |
### Instruction:
What is the highest population for the province having a rank under 5?
### Response:
| SELECT MAX("Population") FROM table_63864 WHERE "Rank Among Provinces" < '5' |
### Instruction:
Which Date has a Record of 19 16 8?
### Response:
| SELECT "Date" FROM table_64405 WHERE "Record" = '19–16–8' |
### Instruction:
What is the branding of the callsign DWBA-TV?
### Response:
| SELECT branding FROM table_2610582_3 WHERE callsign = "DWBA-TV" |
### Instruction:
How many types of work is ?
### Response:
| SELECT COUNT(type_of_work) FROM table_207795_1 WHERE russian_title = "Хромая судьба" |
### Instruction:
What party is listed for the Representative under the 85th congress?
### Response:
| SELECT "Party" FROM table_4023 WHERE "Congress" = '85th' |
### Instruction:
How many times is the ethnic group other: total?
### Response:
| SELECT COUNT("2001 %") FROM table_4011 WHERE "Ethnic group" = 'Other: Total' |
### Instruction:
How many people attended the game where Fitzroy was the away team?
### Response:
| SELECT COUNT("Crowd") FROM table_55220 WHERE "Away team" = 'fitzroy' |
### Instruction:
How many different matchup/results appear in San Diego, California?
### Response:
| SELECT COUNT("Matchup/Results") FROM table_26291 WHERE "City" = 'San Diego, California' |
### Instruction:
Name the summary for the success rate for 68.75%
### Response:
| SELECT "Summary" FROM table_20327 WHERE "Success Rate" = '68.75%' |
### Instruction:
What is the rank associated with 0 wins and a 350cc class?
### Response:
| SELECT rank FROM table_name_42 WHERE wins = 0 AND class = "350cc" |
### Instruction:
How much Rossendale has a Fylde smaller than 0?
### Response:
| SELECT COUNT("Rossendale") FROM table_65582 WHERE "Fylde" < '0' |
### Instruction:
What is the Tamil Name of the Thaipusam holiday?
### Response:
| SELECT "Tamil Name" FROM table_6946 WHERE "English Name" = 'thaipusam' |
### Instruction:
Which region had a year March 10, 1998?
### Response:
| SELECT region FROM table_name_17 WHERE year = "march 10, 1998" |
### Instruction:
Name the golden ticket for invesco field
### Response:
| SELECT "Golden Tickets" FROM table_73469 WHERE "Audition Venue" = 'Invesco Field' |
### Instruction:
On what Date was the Attendance 73,405?
### Response:
| SELECT "Date" FROM table_79510 WHERE "Attendance" = '73,405' |
### Instruction:
How economically free is the country of Armenia?
### Response:
| SELECT "2013 Index of Economic Freedom" FROM table_1414 WHERE "Country" = 'Armenia' |
### Instruction:
Which model has a maximum memory of 512 mb?
### Response:
| SELECT MAX("Model") FROM table_32800 WHERE "Maximum memory" = '512 mb' |
### Instruction:
Which Home captain has a Venue of melbourne cricket ground?
### Response:
| SELECT "Home captain" FROM table_15457 WHERE "Venue" = 'melbourne cricket ground' |
### Instruction:
What is the date of death of the Countess of Flanders who was born in 1309?
### Response:
| SELECT death FROM table_name_75 WHERE birth = "1309" |
### Instruction:
Show me a line chart of how the number of creation change over the creation, sort by the Creation in descending.
### Response:
| SELECT Creation, COUNT(Creation) FROM department ORDER BY Creation DESC |
### Instruction:
What is the result for pfc: put up or shut up?
### Response:
| SELECT "Res." FROM table_11744 WHERE "Event" = 'pfc: put up or shut up' |
### Instruction:
On what date(s) was the winning team Prema Powerteam?
### Response:
| SELECT date FROM table_25213146_2 WHERE winning_team = "Prema Powerteam" |
### Instruction:
What is the score when the points are larger than 74 and the game is 57?
### Response:
| SELECT score FROM table_name_7 WHERE points > 74 AND game = 57 |
### Instruction:
When did the woman who died at 31 first contact Hitlers?
### Response:
| SELECT "First contact with Hitler" FROM table_38012 WHERE "Age at death" = '31' |
### Instruction:
What event was on 26 August 2005?
### Response:
| SELECT "Event" FROM table_55228 WHERE "Date" = '26 august 2005' |
### Instruction:
Who wrote the episode that was directed by Milan Cheylov?
### Response:
| SELECT "Written by" FROM table_31008 WHERE "Directed by" = 'Milan Cheylov' |
### Instruction:
How many gold medals does each school who has a total of 1 medal have?
### Response:
| SELECT "Gold Medals" FROM table_619 WHERE "Total Medals" = '1' |
### Instruction:
What is the Result of the game with an Attendance of 64,104?
### Response:
| SELECT result FROM table_name_25 WHERE attendance = "64,104" |
### Instruction:
What is listed in Network station when the country is Brunei?
### Response:
| SELECT COUNT(network_station) FROM table_2879165_1 WHERE country = "Brunei" |
### Instruction:
gene sarazen and denny shute are both from which country ?
### Response:
| SELECT "country" FROM table_203_864 WHERE "player" = 'gene sarazen' |
### Instruction:
When has a Type of tko, and a Round of 1 (6)
### Response:
| SELECT date FROM table_name_97 WHERE type = "tko" AND round = "1 (6)" |
### Instruction:
When was the park demolished in 1994 closed?
### Response:
| SELECT MIN(closed) FROM table_1987995_5 WHERE demod = 1994 |
### Instruction:
Which host team won on a final scoreline of 13-10?
### Response:
| SELECT host_team FROM table_name_55 WHERE final_score = "13-10" |
### Instruction:
Which type of surface do Amer Delic Robert Kendrick's opponents have?
### Response:
| SELECT surface FROM table_name_53 WHERE opponents = "amer delic robert kendrick" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.