instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What was the airdate of 21 series number?
### Response:
| SELECT original_air_date FROM table_11630008_3 WHERE series_no = 21 |
### Instruction:
On which date was the score 94-74 w?
### Response:
| SELECT "Date" FROM table_46151 WHERE "Score" = '94-74 w' |
### Instruction:
What is the main presenter of bulgaria?
### Response:
| SELECT main_presenters FROM table_1053802_1 WHERE region_country = "Bulgaria" |
### Instruction:
How many districts does gary condit represent?
### Response:
| SELECT COUNT(district) FROM table_1341453_7 WHERE incumbent = "Gary Condit" |
### Instruction:
Which 2005 has a Tournament of grand slam tournaments?
### Response:
| SELECT 2005 FROM table_name_52 WHERE tournament = "grand slam tournaments" |
### Instruction:
Performer 2 of chip esten has what performer 3?
### Response:
| SELECT performer_3 FROM table_name_40 WHERE performer_2 = "chip esten" |
### Instruction:
For the flyers, what's the minimum capacity?
### Response:
| SELECT MIN("Capacity") FROM table_20718 WHERE "Team Nickname" = 'Flyers' |
### Instruction:
What is the tie number for Middlesbrough?
### Response:
| SELECT "Tie no" FROM table_59958 WHERE "Home team" = 'middlesbrough' |
### Instruction:
On what date did the match where fitzroy was the home team occur?
### Response:
| SELECT "Date" FROM table_57945 WHERE "Home team" = 'fitzroy' |
### Instruction:
Which surface had Yew-Ming Si as a partner?
### Response:
| SELECT "Surface" FROM table_57193 WHERE "Partner" = 'yew-ming si' |
### Instruction:
How much capacity has 1944 as the founded?
### Response:
| SELECT COUNT("Capacity") FROM table_12917 WHERE "Founded" = '1944' |
### Instruction:
How many people went to the game that had 17-13?
### Response:
| SELECT SUM(attendance) FROM table_name_39 WHERE score = "17-13" |
### Instruction:
Namethe school team for season 2008
### Response:
| SELECT "School/Club Team" FROM table_1261 WHERE "Season" = '2008' |
### Instruction:
Which Leader has Spoilt Votes as % of Seats?
### Response:
| SELECT "Leader" FROM table_9514 WHERE "% of seats" = 'spoilt votes' |
### Instruction:
What are Scott Zygulski's pick numbers?
### Response:
| SELECT pick__number FROM table_2897457_7 WHERE player = "Scott Zygulski" |
### Instruction:
What is the alternate of the nation with hubert gr ndhammer as the second?
### Response:
| SELECT alternate FROM table_name_97 WHERE second = "hubert gründhammer" |
### Instruction:
What competition ended with a score of 38-14?
### Response:
| SELECT competition FROM table_13328239_4 WHERE score = "38-14" |
### Instruction:
What was the final score in 1986?
### Response:
| SELECT score_in_final FROM table_26309085_1 WHERE year = 1986 |
### Instruction:
when was the number l6, with a fleet of black sea, launched?
### Response:
| SELECT launched FROM table_name_86 WHERE fleet = "black sea" AND number = "l6" |
### Instruction:
what chassis was on the last team on the chart 's car ?
### Response:
| SELECT "chassis" FROM table_204_864 ORDER BY id DESC LIMIT 1 |
### Instruction:
Which music video was from the album Map of the Human Soul?
### Response:
| SELECT "Music video" FROM table_47054 WHERE "Album" = 'map of the human soul' |
### Instruction:
Which masters fought in hapkido style?
### Response:
| SELECT masters FROM table_14937957_1 WHERE martial_art_style = "Hapkido" |
### Instruction:
What is the production code for season episode 8?
### Response:
| SELECT MIN(production_code) FROM table_13505192_3 WHERE season_number = 8 |
### Instruction:
What is the number of ties when Altrincham is the home team?
### Response:
| SELECT tie_no FROM table_name_88 WHERE home_team = "altrincham" |
### Instruction:
who is the winner and score for the week of august 9?
### Response:
| SELECT "Winner and score" FROM table_9217 WHERE "Week" = 'august 9' |
### Instruction:
Name the total number of party for willis alston
### Response:
| SELECT COUNT("Party") FROM table_73997 WHERE "Incumbent" = 'Willis Alston' |
### Instruction:
What was the date of the game where North Melbourne was the home team?
### Response:
| SELECT "Date" FROM table_53741 WHERE "Home team" = 'north melbourne' |
### Instruction:
List the 3 highest salaries of the players in 2001?
### Response:
| SELECT salary FROM salary WHERE year = 2001 ORDER BY salary DESC LIMIT 3 |
### Instruction:
What was the QB rating for Neil lomax?
### Response:
| SELECT "QB Rating" FROM table_23997 WHERE "Name" = 'Neil Lomax' |
### Instruction:
what is the tallest building in columbus ?
### Response:
| SELECT "name" FROM table_203_837 ORDER BY "height\nft / m" DESC LIMIT 1 |
### Instruction:
What was the date when the record was 35-57?
### Response:
| SELECT "Date" FROM table_56274 WHERE "Record" = '35-57' |
### Instruction:
How many states is Grant Wharington from?
### Response:
| SELECT COUNT("State/Country") FROM table_27820 WHERE "Skipper" = 'Grant Wharington' |
### Instruction:
How many times did he hold 12 poles?
### Response:
| SELECT COUNT(f_laps) FROM table_26400438_1 WHERE poles = 12 |
### Instruction:
What date did episode 10 in the series originally air?
### Response:
| SELECT "Original air date" FROM table_30092 WHERE "No. in series" = '10' |
### Instruction:
which community has the only public airport in queensland ?
### Response:
| SELECT "community" FROM table_204_139 WHERE "type" = 'military/public' |
### Instruction:
Name the males for language of persons that didn't name their native language
### Response:
| SELECT males FROM table_name_57 WHERE language = "persons that didn't name their native language" |
### Instruction:
For an IATA of MLE, what is the ICAO?
### Response:
| SELECT "ICAO" FROM table_34979 WHERE "IATA" = 'mle' |
### Instruction:
what is the maximum first elected with district being alabama 5
### Response:
| SELECT MAX("First elected") FROM table_18624 WHERE "District" = 'Alabama 5' |
### Instruction:
What is the relationship of the woman who died at 96?
### Response:
| SELECT "Relationship" FROM table_38013 WHERE "Age at death" = '96' |
### Instruction:
What is the venue where 153 runs were scored?
### Response:
| SELECT "Venue" FROM table_55903 WHERE "Runs" = '153' |
### Instruction:
Which episodes did Nelson McCormick direct?
### Response:
| SELECT written_by FROM table_17355820_1 WHERE directed_by = "Nelson McCormick" |
### Instruction:
What kind of Week 4 has a Week 1 of sheila levell?
### Response:
| SELECT week_4 FROM table_name_10 WHERE week_1 = "sheila levell" |
### Instruction:
did marcus hellner or jean marc gaillard rank tenth ?
### Response:
| SELECT "athlete" FROM table_204_713 WHERE "rank" = 10 |
### Instruction:
List the id, genre and artist name of English songs ordered by rating.
### Response:
| SELECT f_id, genre_is, artist_name FROM song WHERE languages = "english" ORDER BY rating |
### Instruction:
how many voronezh radars were built before 2010 ?
### Response:
| SELECT COUNT(*) FROM table_204_338 WHERE "built" < 2010 |
### Instruction:
What is the score when the record was 40 36?
### Response:
| SELECT "Score" FROM table_46329 WHERE "Record" = '40–36' |
### Instruction:
What was the finish place with a qual of 123.660?
### Response:
| SELECT finish FROM table_name_26 WHERE qual = "123.660" |
### Instruction:
The KTRH.com website includes which type of webcast?
### Response:
| SELECT "Webcast" FROM table_36235 WHERE "Website" = 'ktrh.com' |
### Instruction:
What district has 213 constituents?
### Response:
| SELECT COUNT(district) FROM table_29785324_5 WHERE constituency_no = 213 |
### Instruction:
Does 566 include a lab ?
### Response:
| SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 566 |
### Instruction:
what's the grand prix with winning driver being jenson button
### Response:
| SELECT "Grand Prix" FROM table_17484 WHERE "Winning driver" = 'Jenson Button' |
### Instruction:
When there were 767 points, what was the point difference?
### Response:
| SELECT points_difference FROM table_name_34 WHERE points_against = "767" |
### Instruction:
What machine did susan jenness trophy earn the trophy?
### Response:
| SELECT machine FROM table_name_75 WHERE trophy = "susan jenness trophy" |
### Instruction:
Who's the opponent of the game with the record 64-51?
### Response:
| SELECT opponent FROM table_name_60 WHERE record = "64-51" |
### Instruction:
What was the role when the original broadway was Adam Riegler?
### Response:
| SELECT role FROM table_name_8 WHERE original_broadway_cast = "adam riegler" |
### Instruction:
What is the score on 22 january 2008?
### Response:
| SELECT score FROM table_name_88 WHERE date = "22 january 2008" |
### Instruction:
which 4 countries were scored last , with only 1 bronze medal each ?
### Response:
| SELECT "nation" FROM table_203_61 ORDER BY "rank" DESC LIMIT 4 |
### Instruction:
, could you order by the total number in asc?
### Response:
| SELECT preferred_foot, COUNT(*) FROM Player_Attributes WHERE overall_rating > 80 GROUP BY preferred_foot ORDER BY COUNT(*) |
### Instruction:
what is the location when the record is 5-1-1?
### Response:
| SELECT "Location" FROM table_77348 WHERE "Record" = '5-1-1' |
### Instruction:
What was the score of the game that had a loss of Cox (6 2)?
### Response:
| SELECT score FROM table_name_44 WHERE loss = "cox (6–2)" |
### Instruction:
Who has the most assists on January 3?
### Response:
| SELECT high_assists FROM table_15873014_5 WHERE date = "January 3" |
### Instruction:
how long did it take the german team to finish the race ?
### Response:
| SELECT "time" FROM table_203_160 WHERE "nation" = 'germany' |
### Instruction:
What is the average election that has monza as the municipality?
### Response:
| SELECT AVG("Election") FROM table_13092 WHERE "Municipality" = 'monza' |
### Instruction:
Which Incumbent has a District of massachusetts 2?
### Response:
| SELECT "Incumbent" FROM table_6634 WHERE "District" = 'massachusetts 2' |
### Instruction:
How many regions have 0.5% solar panels?
### Response:
| SELECT COUNT("Public network") FROM table_27330 WHERE "Solar panel" = '0.5%' |
### Instruction:
Which Game is the lowest one that has Points smaller than 92?
### Response:
| SELECT MIN("Game") FROM table_37997 WHERE "Points" < '92' |
### Instruction:
What is the latest year of the album with the release title death valley?
### Response:
| SELECT MAX(year_of_release) FROM table_name_98 WHERE title = "death valley" |
### Instruction:
What home has 122-28 as the score?
### Response:
| SELECT "Home" FROM table_41478 WHERE "Score" = '122-28' |
### Instruction:
Show ids, first names, last names, and phones for all customers.
### Response:
| SELECT customer_id, customer_first_name, customer_last_name, customer_phone FROM Customers |
### Instruction:
Show the number of each allergiy type in a pie chart.
### Response:
| SELECT AllergyType, COUNT(AllergyType) FROM Allergy_Type GROUP BY AllergyType |
### Instruction:
Of all the claims, what was the earliest date when any claim was made?
### Response:
| SELECT Date_Claim_Made FROM Claims ORDER BY Date_Claim_Made LIMIT 1 |
### Instruction:
How many silver metals are possessed by countries with 2 gold medals?
### Response:
| SELECT COUNT("Silver") FROM table_15103 WHERE "Gold" = '2' |
### Instruction:
What was the away team score in the game at Arden Street Oval?
### Response:
| SELECT away_team AS score FROM table_name_31 WHERE venue = "arden street oval" |
### Instruction:
Which team had a start of 8 in years under 2008?
### Response:
| SELECT team FROM table_name_22 WHERE start = 8 AND year < 2008 |
### Instruction:
How many Decembers have calgary flames as the opponent?
### Response:
| SELECT COUNT(december) FROM table_name_90 WHERE opponent = "calgary flames" |
### Instruction:
which country has the top amount of adherents ?
### Response:
| SELECT "jurisdiction" FROM table_204_284 ORDER BY "adherents" DESC LIMIT 1 |
### Instruction:
Name the total number of points for newell's old boys
### Response:
| SELECT COUNT("Points") FROM table_22039 WHERE "Team" = 'Newell''s Old Boys' |
### Instruction:
What was the record at the game that had a loss of Brandon (4 8)?
### Response:
| SELECT record FROM table_name_86 WHERE loss = "brandon (4–8)" |
### Instruction:
What is the average crowd size of Fitzroy's home team?
### Response:
| SELECT AVG(crowd) FROM table_name_78 WHERE home_team = "fitzroy" |
### Instruction:
If the residence is Chagrin falls, who is the representative?
### Response:
| SELECT representative FROM table_26131768_4 WHERE residence = "Chagrin Falls" |
### Instruction:
Name the game for 13 17 9
### Response:
| SELECT game FROM table_23453931_5 WHERE record = "13–17–9" |
### Instruction:
What is the smallest round associated with Samuel Scheschuk?
### Response:
| SELECT MIN("Round") FROM table_14676 WHERE "Name" = 'samuel scheschuk' |
### Instruction:
What is the largest year located in zagreb, croatia?
### Response:
| SELECT MAX("Year") FROM table_11061 WHERE "Location" = 'zagreb, croatia' |
### Instruction:
what is the minimum highest position with artbeingt being paul evans
### Response:
| SELECT MIN("Highest position") FROM table_883 WHERE "Artist" = 'Paul Evans' |
### Instruction:
What is the gearbox when the torque is torque?
### Response:
| SELECT gearbox FROM table_250230_2 WHERE "torque" = "torque" |
### Instruction:
how many competitors from venezuela qualified for the final ?
### Response:
| SELECT COUNT("swimmer") FROM table_204_886 WHERE "country" = 'venezuela' |
### Instruction:
What week number saw a w 31-16 result?
### Response:
| SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16" |
### Instruction:
WHAT IS THE LOCATION ATTENDANCE FOR GAME 4?
### Response:
| SELECT "Location Attendance" FROM table_50618 WHERE "Game" = '4' |
### Instruction:
Who is the alternate for Andy Brown, and Nick Grady?
### Response:
| SELECT alternate__2_ FROM table_name_7 WHERE coach = "andy brown" AND captain = "nick grady" |
### Instruction:
What was the vacator for georgia 2nd?
### Response:
| SELECT vacator FROM table_2417340_4 WHERE district = "Georgia 2nd" |
### Instruction:
What size was the crowd when Hawthorn was the home team?
### Response:
| SELECT COUNT(crowd) FROM table_name_62 WHERE home_team = "hawthorn" |
### Instruction:
Which class has a peak named fountains fell south top?
### Response:
| SELECT "Class" FROM table_55023 WHERE "Peak" = 'fountains fell south top' |
### Instruction:
What is Result, when Date is 19 August 1992?
### Response:
| SELECT result FROM table_name_40 WHERE date = "19 august 1992" |
### Instruction:
What is the sum of Frequency, when Type is 'Christian Pop'?
### Response:
| SELECT SUM(frequency) FROM table_name_13 WHERE type = "christian pop" |
### Instruction:
Which Zero Fighter has a count of 10?
### Response:
| SELECT "ID code of his Zero Fighter" FROM table_35534 WHERE "Count" = '10' |
### Instruction:
Users who visited in the last day.
### Response:
| SELECT COUNT(*) AS "Num of Recent Visitors" FROM Users WHERE LastAccessDate > CURRENT_TIMESTAMP() - 34 |
### Instruction:
Tell me the 1st leg for asfa rabat
### Response:
| SELECT "1st leg" FROM table_56561 WHERE "Team #1" = 'asfa rabat' |
### Instruction:
how many clubs had a positive goal difference ?
### Response:
| SELECT COUNT("club") FROM table_203_145 WHERE "goals for" - "goals against" > 0 |
### Instruction:
how many high points where date is february 19
### Response:
| SELECT COUNT("High points") FROM table_23480 WHERE "Date" = 'February 19' |
### Instruction:
What are the ids of the trips that lasted the longest and how long did they last. Plot them as scatter chart.
### Response:
| SELECT id, duration FROM trip ORDER BY duration DESC LIMIT 3 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.