instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What is the name of the episode written by alison cross?
### Response:
| SELECT title FROM table_27969432_2 WHERE written_by = "Alison Cross" |
### Instruction:
Who is the head coach of the team located in Mudgeeraba?
### Response:
| SELECT head_coach FROM table_name_53 WHERE location = "mudgeeraba" |
### Instruction:
what is the average finish for thomas lloyd ?
### Response:
| SELECT AVG("finish") FROM table_204_24 WHERE "manager" = 'thomas lloyd' |
### Instruction:
Which IATA's ICAO is rjss?
### Response:
| SELECT "IATA" FROM table_11591 WHERE "ICAO" = 'rjss' |
### Instruction:
How many clf teams have a pick # of 5?
### Response:
| SELECT COUNT("CFL Team") FROM table_24282 WHERE "Pick #" = '5' |
### Instruction:
Bar graph to show sum card number from different card type code
### Response:
| SELECT card_type_code, SUM(card_number) FROM Customers_Cards GROUP BY card_type_code |
### Instruction:
In which state did Marquis Li rule?
### Response:
| SELECT "State" FROM table_46862 WHERE "Name" = 'li' AND "Title" = 'marquis' |
### Instruction:
What is the area in km2 for Dufferin?
### Response:
| SELECT "Area km 2" FROM table_1599 WHERE "Official Name" = 'Dufferin' |
### Instruction:
Which city had years 1971-1974?
### Response:
| SELECT city FROM table_name_97 WHERE years = "1971-1974" |
### Instruction:
Usu rios com reputa o suficiente para fechar perguntas.
### Response:
| SELECT COUNT(*) FROM Users AS u WHERE u.Reputation >= 3000 |
### Instruction:
what are the tries where the game was lost by 4?
### Response:
| SELECT tries_against FROM table_13564637_3 WHERE lost = "4" |
### Instruction:
What was the record the day David Weathers (15) had a save?
### Response:
| SELECT record FROM table_name_10 WHERE save = "david weathers (15)" |
### Instruction:
Where did South Melbourne go to play a team at home?
### Response:
| SELECT "Home team" FROM table_32314 WHERE "Away team" = 'south melbourne' |
### Instruction:
What was the nationality of player Cliff Abrecht?
### Response:
| SELECT "Nationality" FROM table_29026 WHERE "Player" = 'Cliff Abrecht' |
### Instruction:
Name the sinhalese for manthai west
### Response:
| SELECT MAX("Sinhalese") FROM table_26972 WHERE "DS Division" = 'Manthai West' |
### Instruction:
What is the title for episode number in series of 28?
### Response:
| SELECT "Title" FROM table_24475 WHERE "No. in series" = '28' |
### Instruction:
When was the ship originally named sachem finally decommissioned?
### Response:
| SELECT final_decommission FROM table_name_94 WHERE original_name = "sachem" |
### Instruction:
were there any clubs that had no losses ?
### Response:
| SELECT (SELECT COUNT("club") FROM table_204_135 WHERE "losses" = 0) > 0 |
### Instruction:
what were the total number of times the championship was held in italy ?
### Response:
| SELECT COUNT(*) FROM table_203_60 WHERE "championship" = 'italy' |
### Instruction:
What athlete has less than 7 gold and 14 total medals?
### Response:
| SELECT athlete FROM table_name_87 WHERE gold < 7 AND total = 14 |
### Instruction:
What country won gold in the year(s) that Chinese Taipei won bronze?
### Response:
| SELECT gold FROM table_name_50 WHERE bronze = "chinese taipei" |
### Instruction:
What date was the opponents the Oakland Raiders?
### Response:
| SELECT "Date" FROM table_7516 WHERE "Opponent" = 'oakland raiders' |
### Instruction:
What player is a center born in 1977?
### Response:
| SELECT player FROM table_name_79 WHERE position = "center" AND year_born = 1977 |
### Instruction:
Which location had an attendance of 22537?
### Response:
| SELECT ground FROM table_16388545_1 WHERE crowd = 22537 |
### Instruction:
What is the land area of Reed Township?
### Response:
| SELECT land___sqmi__ FROM table_18600760_18 WHERE township = "Reed" |
### Instruction:
What is the School, when the Team is Golden Knights?
### Response:
| SELECT "School" FROM table_70863 WHERE "Team" = 'golden knights' |
### Instruction:
What is Karl Wendlinger's total grid #?
### Response:
| SELECT COUNT("Grid") FROM table_52903 WHERE "Driver" = 'karl wendlinger' |
### Instruction:
Name the area for north bay village
### Response:
| SELECT "Metropolitan area" FROM table_25585 WHERE "Densest incorporated place" = 'North Bay Village' |
### Instruction:
Can you tell me more about LHSP 229 ?
### Response:
| SELECT DISTINCT description, name FROM course WHERE department = 'LHSP' AND number = 229 |
### Instruction:
which driver and co driver came in last place ?
### Response:
| SELECT "driver", "co-driver" FROM table_203_644 ORDER BY "pos." DESC LIMIT 1 |
### Instruction:
how many goals did hinnigan score throughout this season ?
### Response:
| SELECT COUNT(*) FROM table_204_565 WHERE "goalscorers" = 'hinnigan' |
### Instruction:
SELECT * FROM votes WHERE votetypeid = 7 AND userid <> NULL;.
### Response:
| SELECT * FROM Votes WHERE VoteTypeId = 7 AND UserId > 0 |
### Instruction:
What was the final result for Craig Hosmer?
### Response:
| SELECT result FROM table_1342013_5 WHERE incumbent = "Craig Hosmer" |
### Instruction:
Which characters had their first experience in the episode 'consequences'?
### Response:
| SELECT "Character" FROM table_16564 WHERE "First appearance" = 'Consequences' |
### Instruction:
Which NFL team has a player that came from a college in Washington?
### Response:
| SELECT "NFL Team" FROM table_47654 WHERE "College" = 'washington' |
### Instruction:
What is the largest base pair with a Strain of unspecified?
### Response:
| SELECT MAX(base_pairs) FROM table_name_2 WHERE strain = "unspecified" |
### Instruction:
What is the 2FM for SW Ireland?
### Response:
| SELECT 2 AS fm__mhz_ FROM table_name_91 WHERE service_area = "sw ireland" |
### Instruction:
Who did the most high rebounds in the game 24?
### Response:
| SELECT high_rebounds FROM table_11961582_4 WHERE game = 24 |
### Instruction:
How many team numbers have john keane as the player?
### Response:
| SELECT COUNT("Team Number") FROM table_67670 WHERE "Player" = 'john keane' |
### Instruction:
What are all the countries where the electric company Ebisa has a presence?
### Response:
| SELECT country FROM table_19001916_2 WHERE entities = "EBISA" |
### Instruction:
What is City, when Prize is '$146,000'?
### Response:
| SELECT city FROM table_name_18 WHERE prize = "$146,000" |
### Instruction:
Total votes of users by user-rep.
### Response:
| SELECT (UpVotes + DownVotes) AS "Total Votes" FROM Users WHERE Id = 1340599 |
### Instruction:
What Games covered had a round of divisional finals?
### Response:
| SELECT "Games covered" FROM table_6027 WHERE "Round" = 'divisional finals' |
### Instruction:
What are the number of the countries of all airlines whose names start with Orbit?
### Response:
| SELECT country, COUNT(country) FROM airlines WHERE name LIKE 'Orbit%' GROUP BY country |
### Instruction:
When London Bridge is the destination, how many lines are there?
### Response:
| SELECT COUNT(line) FROM table_1569516_1 WHERE destination = "London Bridge" |
### Instruction:
Name the result for cowboys points being 23
### Response:
| SELECT COUNT("Result") FROM table_25328 WHERE "Cowboys points" = '23' |
### Instruction:
What is the Record with a Date that is december 20?
### Response:
| SELECT "Record" FROM table_42566 WHERE "Date" = 'december 20' |
### Instruction:
what year was the opponent caroline garcia?
### Response:
| SELECT SUM("Year") FROM table_42303 WHERE "Opponent" = 'caroline garcia' |
### Instruction:
What is the nickname of the school located in Fairfax, VA?
### Response:
| SELECT nickname FROM table_name_98 WHERE location = "fairfax, va" |
### Instruction:
What team was the game on November 21 played against?
### Response:
| SELECT team FROM table_17326036_5 WHERE date = "November 21" |
### Instruction:
what team has the most winners ?
### Response:
| SELECT "team" FROM table_204_409 GROUP BY "team" ORDER BY COUNT("winner") DESC LIMIT 1 |
### Instruction:
How many viewers did Episode #5 have?
### Response:
| SELECT viewers__millions_ FROM table_17525955_2 WHERE episode__number = 5 |
### Instruction:
What is the year the institution Tougaloo College joined?
### Response:
| SELECT joined FROM table_10577579_2 WHERE institution = "Tougaloo College" |
### Instruction:
Get User ID from Display Name. Look up your User ID (for use in other queries) based upon your Display Name
### Response:
| SELECT Id FROM Users WHERE DisplayName = '##DisplayName##' |
### Instruction:
What is the sort value that had deaths of 71?
### Response:
| SELECT "Sort restore" FROM table_48048 WHERE "Deaths" = '71' |
### Instruction:
Where the Vancouver Grizzlies is the awards, what is the conference?
### Response:
| SELECT conference FROM table_name_29 WHERE awards = "vancouver grizzlies" |
### Instruction:
What is the highest number of laps for the driver with 5 points?
### Response:
| SELECT MAX("Laps") FROM table_74783 WHERE "Points" = '5' |
### Instruction:
What Band's Power (W) is 400 or less?
### Response:
| SELECT MAX(band) FROM table_name_33 WHERE power__w_ > 400 |
### Instruction:
What is the points sum of the series with less than 0 poles?
### Response:
| SELECT SUM("Points") FROM table_40229 WHERE "Poles" < '0' |
### Instruction:
What was South Melbourne's score as the home team?
### Response:
| SELECT "Home team score" FROM table_32218 WHERE "Home team" = 'south melbourne' |
### Instruction:
What is the title of the episode written by Jack Orman?
### Response:
| SELECT title FROM table_25356350_2 WHERE written_by = "Jack Orman" |
### Instruction:
What Local/Networked has a Show Name of nightline?
### Response:
| SELECT "Local/Networked" FROM table_78994 WHERE "Show Name" = 'nightline' |
### Instruction:
Create a bar chart showing the number of city across city, order in asc by the bars.
### Response:
| SELECT CITY, COUNT(CITY) FROM locations GROUP BY CITY ORDER BY CITY |
### Instruction:
What class does the w298ak sign belong to?
### Response:
| SELECT "Class" FROM table_72001 WHERE "Call sign" = 'w298ak' |
### Instruction:
Which pre-season has May 5 of 21?
### Response:
| SELECT "Pre- season" FROM table_70610 WHERE "May 5" = '21' |
### Instruction:
What Interview subject was on a Date that is 11-92?
### Response:
| SELECT interview_subject FROM table_name_42 WHERE date = "11-92" |
### Instruction:
Which date had Japanese sales of 0.59 million?
### Response:
| SELECT "Date" FROM table_13490 WHERE "Japan" = '0.59 million' |
### Instruction:
what's the status with incumbent being eliot engel
### Response:
| SELECT "Status" FROM table_892 WHERE "Incumbent" = 'Eliot Engel' |
### Instruction:
Which player was in the Omonia Nicosia club?
### Response:
| SELECT "Player" FROM table_75973 WHERE "Club" = 'omonia nicosia' |
### Instruction:
total number of middle earth video games published by melbourne house
### Response:
| SELECT COUNT("title") FROM table_204_398 WHERE "publisher" = 'melbourne house' |
### Instruction:
Draw a bar chart of type versus the total number, could you order in descending by the the total number ?
### Response:
| SELECT Type, COUNT(*) FROM Institution GROUP BY Type ORDER BY COUNT(*) DESC |
### Instruction:
Name the try bonus for kenfig hill rfc
### Response:
| SELECT "Try bonus" FROM table_18827 WHERE "Club" = 'Kenfig Hill RFC' |
### Instruction:
What was the surface played on for the match than began before 1897?
### Response:
| SELECT court_surface FROM table_name_93 WHERE began < 1897 |
### Instruction:
What committees do the district 46 members serve on?
### Response:
| SELECT "Committee" FROM table_3695 WHERE "District" = '46' |
### Instruction:
Where was there a change of 6.5%?
### Response:
| SELECT name FROM table_1425958_1 WHERE _percentage_change = "6.5" |
### Instruction:
Who has the highest total and a to par of +14?
### Response:
| SELECT MAX("Total") FROM table_78739 WHERE "To par" = '+14' |
### Instruction:
What is the height of the player with a first round score of 44.1?
### Response:
| SELECT height FROM table_name_1 WHERE first_round = "44.1" |
### Instruction:
What is th title of the episode written by Nick Thiel?
### Response:
| SELECT "Title" FROM table_30456 WHERE "Written by" = 'Nick Thiel' |
### Instruction:
What is the home team score when the away team is St Kilda?
### Response:
| SELECT home_team AS score FROM table_name_37 WHERE away_team = "st kilda" |
### Instruction:
What is the earliest date of the game with a score of 2-2?
### Response:
| SELECT MIN(date) FROM table_name_14 WHERE score = "2-2" |
### Instruction:
What is the series number for season episode 24?
### Response:
| SELECT MIN("Series Number") FROM table_18780 WHERE "Season Number" = '24' |
### Instruction:
What was the placing when the jockey was Damien Oliver?
### Response:
| SELECT placing FROM table_24915874_1 WHERE jockey = "Damien Oliver" |
### Instruction:
Name the air date for alex taub
### Response:
| SELECT original_air_date FROM table_27504682_1 WHERE written_by = "Alex Taub" |
### Instruction:
What was the name of the Visiting team at Jack Murphy Stadium?
### Response:
| SELECT visiting_team FROM table_name_90 WHERE stadium = "jack murphy stadium" |
### Instruction:
What school is the team from that has the colors blue and gold?
### Response:
| SELECT "School" FROM table_39924 WHERE "Colors" = 'blue and gold' |
### Instruction:
what is the recnet when the city of license is peterborough?
### Response:
| SELECT recnet FROM table_name_68 WHERE city_of_license = "peterborough" |
### Instruction:
If hardware colours is 8 what would the char cells be?
### Response:
| SELECT char_cells FROM table_1701371_2 WHERE hardware_colours = 8 |
### Instruction:
Who was the opponent the falcons played against on week 3?
### Response:
| SELECT "Opponent" FROM table_79262 WHERE "Week" = '3' |
### Instruction:
Show the ministers and the time they took and left office, listed by the time they left office.
### Response:
| SELECT minister, took_office, left_office FROM party ORDER BY left_office |
### Instruction:
On what date was the Opponent Chicago Bears?
### Response:
| SELECT "Date" FROM table_9876 WHERE "Opponent" = 'chicago bears' |
### Instruction:
What year was Barclay Henley first elected?
### Response:
| SELECT COUNT(first_elected) FROM table_name_77 WHERE incumbent = "barclay henley" |
### Instruction:
how many cyclists total had dnf withdrawals ?
### Response:
| SELECT COUNT("cyclist") FROM table_204_530 WHERE "type" = 'dnf' |
### Instruction:
What is the name of the school/s in North Manchester?
### Response:
| SELECT "School" FROM table_23353 WHERE "City / Town" = 'North Manchester' |
### Instruction:
How many coins have a diameter of 23mm?
### Response:
| SELECT COUNT(reverse) FROM table_1307572_1 WHERE diameter = "23mm" |
### Instruction:
What is the highest game whose score was 94-116
### Response:
| SELECT MAX(game) FROM table_name_62 WHERE score = "94-116" |
### Instruction:
What's the average round number for East Carolina?
### Response:
| SELECT AVG("Round") FROM table_11071 WHERE "School" = 'east carolina' |
### Instruction:
What country placed t6 with player Vijay Singh?
### Response:
| SELECT country FROM table_name_91 WHERE place = "t6" AND player = "vijay singh" |
### Instruction:
What is the Country that has Richard Buck Lane higher than 3?
### Response:
| SELECT country FROM table_name_99 WHERE lane > 3 AND name = "richard buck" |
### Instruction:
name of the first nobel laureates from penn. .
### Response:
| SELECT "laureate" FROM table_203_437 ORDER BY "year" LIMIT 1 |
### Instruction:
Which forward player has the number 22?
### Response:
| SELECT "Player" FROM table_253 WHERE "No." = '22' AND "Position" = 'Forward' |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.