instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
what is the title of the episode with the production code of ad1a22?
### Response:
| SELECT title FROM table_name_1 WHERE production_code = "ad1a22" |
### Instruction:
After 1996, what is the average position?
### Response:
| SELECT AVG("Position") FROM table_78572 WHERE "Year" > '1996' |
### Instruction:
Which streak had an attendance of 33,013?
### Response:
| SELECT streak FROM table_name_45 WHERE attendance = "33,013" |
### Instruction:
what is the maximum lowest with average being 734
### Response:
| SELECT MAX(lowest) FROM table_14003108_1 WHERE average = 734 |
### Instruction:
Name the team of vitali yeremeyev
### Response:
| SELECT "NHL team" FROM table_31797 WHERE "Player" = 'vitali yeremeyev' |
### Instruction:
What is the area of the English name Shanghang County?
### Response:
| SELECT area FROM table_1204998_2 WHERE english_name = "Shanghang County" |
### Instruction:
What is the song for Dixie Chicks?
### Response:
| SELECT song_title FROM table_23981771_1 WHERE artist = "Dixie Chicks" |
### Instruction:
What is the Length/Fuel of the bus with a Quantity of 30?
### Response:
| SELECT length_fuel FROM table_name_22 WHERE quantity = 30 |
### Instruction:
What year was Skyline High School founded?
### Response:
| SELECT COUNT(founded) FROM table_13759592_1 WHERE high_school = "Skyline" |
### Instruction:
what is the number of individuals in this group who were indian ?
### Response:
| SELECT COUNT(*) FROM table_204_698 WHERE "nationality" = 'indian' |
### Instruction:
Name the most championships for club of erie seawolves
### Response:
| SELECT MAX(championships) FROM table_name_76 WHERE club = "erie seawolves" |
### Instruction:
To which party does Frank T. Bow belong?
### Response:
| SELECT "Party" FROM table_18416 WHERE "Incumbent" = 'Frank T. Bow' |
### Instruction:
What's the railway number of a D(rebuild) class?
### Response:
| SELECT railway_number_s_ FROM table_name_28 WHERE class = "d(rebuild)" |
### Instruction:
Name the 125cc winner with circuit of estoril
### Response:
| SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril" |
### Instruction:
None of the rounds has Roger Williamson as a driver.
### Response:
| SELECT "Rounds" FROM table_58307 WHERE "Driver" = 'roger williamson' |
### Instruction:
On which date was a game played at Junction Oval?
### Response:
| SELECT "Date" FROM table_78271 WHERE "Venue" = 'junction oval' |
### Instruction:
Name the location attendance of 5-15
### Response:
| SELECT location_attendance FROM table_23186738_6 WHERE record = "5-15" |
### Instruction:
What is the number of steals for 2012
### Response:
| SELECT COUNT("Steals") FROM table_17958 WHERE "Year" = '2012' |
### Instruction:
Who had notes of Prizzi's Honor?
### Response:
| SELECT "Director" FROM table_52105 WHERE "Notes" = 'prizzi''s honor' |
### Instruction:
Please compare the number of floors for all street address using a bar chart, and order by the number of floors.
### Response:
| SELECT Street_address, Floors FROM building ORDER BY Floors |
### Instruction:
What is the average number of games drawn among teams that played over 14 games?
### Response:
| SELECT AVG(drawn) FROM table_name_53 WHERE played > 14 |
### Instruction:
what is the total number of points earned by all away team members in december ?
### Response:
| SELECT SUM("score") FROM table_203_24 WHERE "date" = 12 |
### Instruction:
Name the period with matches of 0 0 of portugal
### Response:
| SELECT period FROM table_name_56 WHERE matches = "0 0" AND country = "portugal" |
### Instruction:
How many times is a total listed when the player is Jay Washington?
### Response:
| SELECT COUNT("Totals") FROM table_4072 WHERE "Player" = 'Jay Washington' |
### Instruction:
What is the name of the leading scorer when the record was 9 6?
### Response:
| SELECT leading_scorer FROM table_name_18 WHERE record = "9–6" |
### Instruction:
What is the local/network with an Ad frequency of 15 minutes?
### Response:
| SELECT local_networked FROM table_name_1 WHERE ad_freq = "15 minutes" |
### Instruction:
Where does the network Star Cricket originate?
### Response:
| SELECT origin_of_programming FROM table_name_25 WHERE genre = "cricket" AND network = "star cricket" |
### Instruction:
What was the regular season from year 2012?
### Response:
| SELECT regular_season FROM table_15409403_1 WHERE year = 2012 |
### Instruction:
What Chilean word is used for the Castilian word ordenador?
### Response:
| SELECT "Chilean" FROM table_38133 WHERE "Castilian" = 'ordenador' |
### Instruction:
What was the standing when goal against were 279?
### Response:
| SELECT "Standing" FROM table_25144 WHERE "Goals against" = '279' |
### Instruction:
How many years did he play in santiago de compostela?
### Response:
| SELECT SUM(year) FROM table_name_6 WHERE city = "santiago de compostela" |
### Instruction:
What is the crowd size when the away team was South Melbourne?
### Response:
| SELECT SUM(crowd) FROM table_name_15 WHERE away_team = "south melbourne" |
### Instruction:
What is the highest number of points before 1954?
### Response:
| SELECT MAX("Points") FROM table_14940 WHERE "Year" < '1954' |
### Instruction:
What is every candidate for the Cardiff Central constituency?
### Response:
| SELECT "Candidate" FROM table_73865 WHERE "Constituency" = 'Cardiff Central' |
### Instruction:
What is the Location with a county of 30 Hancock?
### Response:
| SELECT "Location" FROM table_63745 WHERE "County" = '30 hancock' |
### Instruction:
What programs are there for the South Fork Dirt Riders track?
### Response:
| SELECT program FROM table_name_44 WHERE track_name = "south fork dirt riders" |
### Instruction:
What opponent has 2011/12 as the season?
### Response:
| SELECT opponent FROM table_name_79 WHERE season = "2011/12" |
### Instruction:
How many separate values for Years are associated with FA Cup of 5?
### Response:
| SELECT COUNT("Years") FROM table_19734 WHERE "FA Cup" = '5' |
### Instruction:
What are all the report for the Belgian Grand Prix?
### Response:
| SELECT "Report" FROM table_28531 WHERE "Grand Prix" = 'Belgian Grand Prix' |
### Instruction:
What dates did the episodes air in the United States?
### Response:
| SELECT "Dates aired" FROM table_79772 WHERE "Region/Country" = 'united states' |
### Instruction:
Show the transaction type code that occurs the fewest times.
### Response:
| SELECT transaction_type_code FROM TRANSACTIONS GROUP BY transaction_type_code ORDER BY COUNT(*) LIMIT 1 |
### Instruction:
Name the number of driver for fin pos of 19
### Response:
| SELECT COUNT(driver) FROM table_17304308_1 WHERE fin_pos = 19 |
### Instruction:
hepatic failure or dysfunction
### Response:
| SELECT * FROM table_test_9 WHERE hepatic_disease = 1 OR hepatic_disease = 1 |
### Instruction:
What was the smallest crowd of vfl park?
### Response:
| SELECT MIN("Crowd") FROM table_56127 WHERE "Venue" = 'vfl park' |
### Instruction:
What week's game had a result of l 35 37?
### Response:
| SELECT week FROM table_name_88 WHERE result = "l 35–37" |
### Instruction:
what is the number of games where the giants the opponent ?
### Response:
| SELECT COUNT(*) FROM table_204_147 WHERE "opponent" = 'giants' |
### Instruction:
What is Win-Loss, when Win % is .456?
### Response:
| SELECT win_loss FROM table_name_60 WHERE win__percentage = ".456" |
### Instruction:
What is the highest Runners-Up, when Champions is less than 0?
### Response:
| SELECT MAX(runners_up) FROM table_name_30 WHERE champions < 0 |
### Instruction:
Name the least amount of tackles for danny clark
### Response:
| SELECT MIN("Tackles") FROM table_72677 WHERE "Player" = 'Danny Clark' |
### Instruction:
What is the average number of rooms of apartments with type code 'Studio'?
### Response:
| SELECT AVG(room_count) FROM apartments WHERE apt_type_code = "Studio" |
### Instruction:
What is the 8:30pm show on fox?
### Response:
| SELECT "8:30 PM" FROM table_55616 WHERE "Network" = 'fox' |
### Instruction:
What was the score of the game that put the team at 27-32?
### Response:
| SELECT loss FROM table_name_51 WHERE record = "27-32" |
### Instruction:
What is the lowest league for a less than 0 league cup?
### Response:
| SELECT MIN("League") FROM table_7965 WHERE "League Cup" < '0' |
### Instruction:
What is the away team for the game at Windy Hill?
### Response:
| SELECT "Away team" FROM table_4911 WHERE "Venue" = 'windy hill' |
### Instruction:
What total number of Overalls has a round that was smaller than 1?
### Response:
| SELECT COUNT("Overall") FROM table_4715 WHERE "Round" < '1' |
### Instruction:
What was the attendance when Fitzroy played as the away team?
### Response:
| SELECT AVG(crowd) FROM table_name_8 WHERE away_team = "fitzroy" |
### Instruction:
Where was there a school founded in 1927?
### Response:
| SELECT location_s_ FROM table_2064747_1 WHERE founded = 1927 |
### Instruction:
Which opponent was present on April 14?
### Response:
| SELECT "Opponent" FROM table_37086 WHERE "Date" = 'april 14' |
### Instruction:
Which school is Kirk Snyder from?
### Response:
| SELECT "School/Club Team" FROM table_16839 WHERE "Player" = 'Kirk Snyder' |
### Instruction:
What ordered has algerine (2nd of name) as the name?
### Response:
| SELECT ordered FROM table_name_73 WHERE name = "algerine (2nd of name)" |
### Instruction:
state the wins of the team with 2 top 10
### Response:
| SELECT COUNT("Wins") FROM table_23557 WHERE "Top 10" = '2' |
### Instruction:
Who did the high assists in the game against Portland?
### Response:
| SELECT high_assists FROM table_23248869_6 WHERE team = "Portland" |
### Instruction:
What is the average crowd size for the home team essendon?
### Response:
| SELECT AVG(crowd) FROM table_name_6 WHERE home_team = "essendon" |
### Instruction:
What is the name, type, and flag of the ship that was built in the most recent year?
### Response:
| SELECT name, type, flag FROM ship ORDER BY built_year DESC LIMIT 1 |
### Instruction:
What is the platform for the latest release 8.4?
### Response:
| SELECT "Platform" FROM table_47558 WHERE "Latest stable release" = '8.4' |
### Instruction:
what was the name of the team opponent to elfsborg
### Response:
| SELECT team FROM table_29261823_10 WHERE opponent = "Elfsborg" |
### Instruction:
What was fitzroy's away side score?
### Response:
| SELECT "Away team score" FROM table_33205 WHERE "Away team" = 'fitzroy' |
### Instruction:
Which of the biggest points numbers had a year more recent than 1953?
### Response:
| SELECT MAX(points) FROM table_name_62 WHERE year > 1953 |
### Instruction:
Which AFC cup does Masahiro Fukasawa have?
### Response:
| SELECT afc_cup FROM table_name_17 WHERE name = "masahiro fukasawa" |
### Instruction:
Which website has 1921 as the year founded?
### Response:
| SELECT "Website" FROM table_59510 WHERE "Founded" = '1921' |
### Instruction:
when 69 is the episode number what is the air date?
### Response:
| SELECT "Original air date" FROM table_4152 WHERE "Episode #" = '69' |
### Instruction:
What is the sum of the number of wins for teams with more than 0 draws?
### Response:
| SELECT SUM(wins) FROM table_name_51 WHERE draws > 0 |
### Instruction:
What is the catalog with a bronze label and in Vinyl format?
### Response:
| SELECT catalogue FROM table_name_7 WHERE label = "bronze" AND format = "vinyl" |
### Instruction:
What was the score when the away team was West Ham United?
### Response:
| SELECT "Score" FROM table_48918 WHERE "Away team" = 'west ham united' |
### Instruction:
how many arabic in colobians is finnish
### Response:
| SELECT "Arabic" FROM table_27114 WHERE "Colombian" = 'Finnish' |
### Instruction:
What is stumped when matches is 14?
### Response:
| SELECT MIN("Stumped") FROM table_26515 WHERE "Matches" = '14' |
### Instruction:
What is the Score of the game with a Record of 12 12?
### Response:
| SELECT score FROM table_name_93 WHERE record = "12–12" |
### Instruction:
Name the 1st m for nor
### Response:
| SELECT 1 AS st__m_ FROM table_14407512_24 WHERE nationality = "NOR" |
### Instruction:
Who did the Trail Blazers play on January 2?
### Response:
| SELECT "Team" FROM table_21240 WHERE "Date" = 'January 2' |
### Instruction:
What was the lowest pick number for Marc Pilon?
### Response:
| SELECT MIN("Pick #") FROM table_43930 WHERE "Player" = 'marc pilon' |
### Instruction:
Name the constituency for 175130
### Response:
| SELECT constituency FROM table_22754310_1 WHERE margin = 175130 |
### Instruction:
What is Country, when Player is 'Jimmy Demaret'?
### Response:
| SELECT "Country" FROM table_7945 WHERE "Player" = 'jimmy demaret' |
### Instruction:
What was the original air date of series number 10?
### Response:
| SELECT AVG(original_air_date) FROM table_name_20 WHERE series_number = 10 |
### Instruction:
Where was the game played that has a result of 0-4?
### Response:
| SELECT "Ground" FROM table_63589 WHERE "Result" = '0-4' |
### Instruction:
Name the new entries this round for third round
### Response:
| SELECT new_entries_this_round FROM table_19089486_1 WHERE round = "Third round" |
### Instruction:
What is the first broadcast date for episode 3x10?
### Response:
| SELECT "First broadcast" FROM table_2197 WHERE "Episode" = '3x10' |
### Instruction:
Which team was the opponent on october 21?
### Response:
| SELECT team FROM table_27734577_2 WHERE date = "October 21" |
### Instruction:
who held the fastes lap in Phoenix, Arizona?
### Response:
| SELECT fastest_lap FROM table_2454550_1 WHERE location = "Phoenix, Arizona" |
### Instruction:
Which removal treaty covered the chickasaw nation?
### Response:
| SELECT removal_treaty__year_signed_ FROM table_name_32 WHERE nation = "chickasaw" |
### Instruction:
Name the date of Tournament of paris indoor , france?
### Response:
| SELECT SUM(date) FROM table_name_23 WHERE tournament = "paris indoor , france" |
### Instruction:
What is the home team of the game with a 2-0 record?
### Response:
| SELECT "Home" FROM table_59583 WHERE "Record" = '2-0' |
### Instruction:
What is Winner, when Circuit is June 8?
### Response:
| SELECT "Winner" FROM table_47411 WHERE "Circuit" = 'june 8' |
### Instruction:
What is the total on average for teams with 3 tournaments?
### Response:
| SELECT AVG("Total") FROM table_51931 WHERE "Tournament" = '3' |
### Instruction:
how many total days was at & t on strike ?
### Response:
| SELECT SUM("duration of strike") FROM table_203_759 WHERE "company" = 'at&t' |
### Instruction:
Spam posts since given date.
### Response:
| SELECT COUNT(*) AS SpamPosts FROM Votes WHERE VoteTypeId = 12 AND CreationDate >= '##startdate##' |
### Instruction:
Which song has picturization by only vijay?
### Response:
| SELECT song FROM table_10848177_1 WHERE picturization = "Vijay" |
### Instruction:
When did Montreal visit and have a score of 1-4?
### Response:
| SELECT date FROM table_name_47 WHERE visitor = "montreal" AND score = "1-4" |
### Instruction:
Which competition was held in Arles, France?
### Response:
| SELECT "Competition" FROM table_61157 WHERE "Venue" = 'arles, france' |
### Instruction:
Who was the away team at punt road oval?
### Response:
| SELECT "Away team" FROM table_4748 WHERE "Venue" = 'punt road oval' |
### Instruction:
What was the lowest crowd size at the Windy Hill venue?
### Response:
| SELECT MIN(crowd) FROM table_name_55 WHERE venue = "windy hill" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.