instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Visualize a pie chart with what are the names and seatings for all tracks opened after 2000? ### Response:
SELECT Name, Seating FROM track WHERE Year_Opened > 2000
### Instruction: Which Score has a Place of t5, and a Country of united states? ### Response:
SELECT score FROM table_name_30 WHERE place = "t5" AND country = "united states"
### Instruction: What is the final score of the game at lambeau field? ### Response:
SELECT "Final Score" FROM table_57149 WHERE "Stadium" = 'lambeau field'
### Instruction: left ventricular ejection fraction less than 30 % ### Response:
SELECT * FROM table_train_38 WHERE left_ventricular_ejection_fraction_lvef < 30
### Instruction: Name the region for december 7, 2004 ### Response:
SELECT "Region" FROM table_78015 WHERE "Date" = 'december 7, 2004'
### Instruction: What is the total number of ties a team with less than 3 losses have? ### Response:
SELECT COUNT("Ties") FROM table_56808 WHERE "Losses" < '3'
### Instruction: Find the description and credit for the course QM-261? ### Response:
SELECT crs_credit, crs_description FROM course WHERE crs_code = 'QM-261'
### Instruction: In the Tennis Masters Cup, how did Ji Nov k do in 1997? ### Response:
SELECT 1997 FROM table_name_75 WHERE tournament = "tennis masters cup"
### Instruction: What site has november 30, 2006 as the date? ### Response:
SELECT site FROM table_name_25 WHERE date = "november 30, 2006"
### Instruction: What is the record when the opponent is washington redskins? ### Response:
SELECT record FROM table_18847692_2 WHERE opponent = "Washington Redskins"
### Instruction: Which License has a System of amiga, and a Name of pocketuae? ### Response:
SELECT license FROM table_name_83 WHERE system = "amiga" AND name = "pocketuae"
### Instruction: What is the total of Prom in M for Peak great knoutberry hill? ### Response:
SELECT SUM(prom__m_) FROM table_name_72 WHERE peak = "great knoutberry hill"
### Instruction: What is the Playoffs during 2004-05? ### Response:
SELECT "Playoffs" FROM table_10123 WHERE "Year" = '2004-05'
### Instruction: What is the nationality of the player from Buffalo Sabres? ### Response:
SELECT nationality FROM table_1213511_2 WHERE nhl_team = "Buffalo Sabres"
### Instruction: What is Chep n's average UBIGEO? ### Response:
SELECT AVG("UBIGEO") FROM table_48662 WHERE "Province" = 'chepén'
### Instruction: Name the women's doubles for year less than 1972 ### Response:
SELECT "Women's doubles" FROM table_68000 WHERE "Year" < '1972'
### Instruction: What Position is listed against a Venue of Debrecen, Hungary ### Response:
SELECT "Position" FROM table_77436 WHERE "Venue" = 'debrecen, hungary'
### Instruction: How many episodes were titled 'second chances'? ### Response:
SELECT COUNT("U.S. viewers (millions)") FROM table_30416 WHERE "Title" = 'Second Chances'
### Instruction: What was the date of the game with a record of 17 25? ### Response:
SELECT "Date" FROM table_34500 WHERE "Record" = '17–25'
### Instruction: What average total has cuba as the nation, and a bronze greater than 1? ### Response:
SELECT AVG(total) FROM table_name_8 WHERE nation = "cuba" AND bronze > 1
### Instruction: What are toranosuke takagi's average laps? ### Response:
SELECT AVG("Laps") FROM table_54616 WHERE "Driver" = 'toranosuke takagi'
### Instruction: How many couples have an average of 25.3? ### Response:
SELECT COUNT(couple) FROM table_20424140_3 WHERE average = "25.3"
### Instruction: Who had the men's win in the 1992/93 season? ### Response:
SELECT winner AS Men FROM table_name_92 WHERE season = "1992/93"
### Instruction: What is the career SR for the tournament of wimbledon? ### Response:
SELECT "Career SR" FROM table_48547 WHERE "Tournament" = 'wimbledon'
### Instruction: What's the record of the team who played the Cleveland Browns? ### Response:
SELECT "Record" FROM table_34140 WHERE "Opponent" = 'cleveland browns'
### Instruction: How many incumbents represent district California 34? ### Response:
SELECT COUNT(incumbent) FROM table_1341568_6 WHERE district = "California 34"
### Instruction: Which opponent's game was less than 76 when the march was 10? ### Response:
SELECT opponent FROM table_name_45 WHERE game < 76 AND march = 10
### Instruction: tell how many wins there was when the score was 490 ### Response:
SELECT COUNT(won) FROM table_14070062_4 WHERE points_for = "490"
### Instruction: Who is the player with a 70-75=145 score? ### Response:
SELECT player FROM table_name_62 WHERE score = 70 - 75 = 145
### Instruction: What was the number of the game when the record was 11-12? ### Response:
SELECT "Game" FROM table_66048 WHERE "Record" = '11-12'
### Instruction: how long is anton lyuboslavskiy 's fartherst show in a competition ? ### Response:
SELECT "notes" FROM table_203_677 ORDER BY "notes" DESC LIMIT 1
### Instruction: Who built the conant creek pegram truss railroad bridge? ### Response:
SELECT built FROM table_name_71 WHERE name = "conant creek pegram truss railroad bridge"
### Instruction: Which date was associated with the release in Europe on the Wichita Recordings label? ### Response:
SELECT date FROM table_name_5 WHERE region = "europe" AND label = "wichita recordings"
### Instruction: What was the home team score at Richmond's away game against Footscray? ### Response:
SELECT "Home team score" FROM table_52651 WHERE "Away team" = 'richmond'
### Instruction: what is the only building in canada to have more than 60 floors ? ### Response:
SELECT "building" FROM table_203_777 WHERE "floors" > 60
### Instruction: When Interpol is in 6th, who is in 7th? ### Response:
SELECT COUNT("Seventh") FROM table_72845 WHERE "Sixth" = 'Interpol'
### Instruction: What is the latest episode number with the title of Jerusalem? ### Response:
SELECT MAX(episode__number) FROM table_19517621_4 WHERE title = "Jerusalem"
### Instruction: Scatterplot of acc_percent vs school id by ACC_Regular_Season ### Response:
SELECT School_ID, ACC_Percent FROM basketball_match GROUP BY ACC_Regular_Season
### Instruction: What is the result when the Indianapolis Colts are the opponents? ### Response:
SELECT "Result" FROM table_55184 WHERE "Opponent" = 'indianapolis colts'
### Instruction: What tyre did Mika Salo use for team Lotus? ### Response:
SELECT tyre FROM table_name_93 WHERE entrant = "team lotus" AND driver = "mika salo"
### Instruction: On which date was the GT class at Monterey Sports Car Grand Prix? ### Response:
SELECT date FROM table_name_8 WHERE class = "gt" AND race = "monterey sports car grand prix"
### Instruction: Do you know if 800 has a lab ? ### Response:
SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 800
### Instruction: What happened in Mazar-i-sharif? ### Response:
SELECT "Circumstances" FROM table_70962 WHERE "Location" = 'mazar-i-sharif'
### Instruction: What is the smallest game number with a record of 16-7-2? ### Response:
SELECT MIN(game) FROM table_name_44 WHERE record = "16-7-2"
### Instruction: Can you tell me the English translation that has the Artist of camillo felgen? ### Response:
SELECT english_translation FROM table_name_61 WHERE artist = "camillo felgen"
### Instruction: What was the rank when then time was 7:52.53? ### Response:
SELECT MIN(rank) FROM table_name_10 WHERE time = "7:52.53"
### Instruction: What was the SPA FEA when the LMS FEA was 5? ### Response:
SELECT spa_fea FROM table_name_60 WHERE lms_fea = "5"
### Instruction: How many season numbers are there for the episodes written by Art Everett? ### Response:
SELECT COUNT("No. in season") FROM table_2590 WHERE "Written by" = 'Art Everett'
### Instruction: Who were the candidates if the incumbent was Henry Logan? ### Response:
SELECT "Candidates" FROM table_28847 WHERE "Incumbent" = 'Henry Logan'
### Instruction: How many rounds were fought with opponent Kevin Roddy? ### Response:
SELECT COUNT("Round") FROM table_32478 WHERE "Opponent" = 'kevin roddy'
### Instruction: Which player get the highest score in 1971? ### Response:
SELECT player_id FROM player_award_vote WHERE year = "1971" ORDER BY points_won DESC LIMIT 1
### Instruction: Which narrator has the bonus interview with Frazer Hines? ### Response:
SELECT narrator FROM table_1681535_1 WHERE notes = "Bonus interview with Frazer Hines"
### Instruction: How many apps does Uzbekistan have in 2003? ### Response:
SELECT apps FROM table_name_41 WHERE country = "uzbekistan" AND season = "2003"
### Instruction: What nationality is the draft pick player going to Minnesota North Stars? ### Response:
SELECT nationality FROM table_2850912_1 WHERE nhl_team = "Minnesota North Stars"
### Instruction: What episode in the season was directed by Jeff Melman? ### Response:
SELECT MIN("No. in season") FROM table_16439 WHERE "Directed by" = 'Jeff Melman'
### Instruction: who is the opponent in the final when the year is before 1883? ### Response:
SELECT opponent_in_the_final FROM table_name_8 WHERE year < 1883
### Instruction: Who had the fastest lap in the races won by Max Papis? ### Response:
SELECT "Fastest lap" FROM table_16430 WHERE "Winning driver" = 'Max Papis'
### Instruction: What is the mean played number where the goals conceded is less than 16? ### Response:
SELECT AVG(played) FROM table_name_81 WHERE goals_conceded < 16
### Instruction: If Crazy In Love is the song choice, what is the theme? ### Response:
SELECT theme FROM table_22736523_1 WHERE song_choice = "Crazy In Love"
### Instruction: What is the total number of events with a top-25 less than 0? ### Response:
SELECT COUNT("Events") FROM table_55542 WHERE "Top-25" < '0'
### Instruction: What is the final score of the game home team Bolton Wanderers played? ### Response:
SELECT "Score" FROM table_43510 WHERE "Home team" = 'bolton wanderers'
### Instruction: what is the number of games that depaul won during this season ? ### Response:
SELECT "conf (overall)" FROM table_204_898 WHERE "school" = 'depaul'
### Instruction: what are the draft pick numbers and draft classes for players who play the Defender position? ### Response:
SELECT Draft_Class, Draft_Pick_Number FROM match_season WHERE Position = "Defender"
### Instruction: Which film or series was nominated in the category of best fansite? ### Response:
SELECT film_or_series FROM table_name_2 WHERE result = "nominated" AND category = "best fansite"
### Instruction: In what edition is Ungur's opponent David Nalbandian? ### Response:
SELECT edition FROM table_24099476_8 WHERE opponent = "David Nalbandian"
### Instruction: Can you tell me the Attendance that has the Opponent of new york giants? ### Response:
SELECT attendance FROM table_name_70 WHERE opponent = "new york giants"
### Instruction: What was the crowd size at the moorabbin oval venue? ### Response:
SELECT COUNT(crowd) FROM table_name_86 WHERE venue = "moorabbin oval"
### Instruction: what is the income class for area 75? ### Response:
SELECT "Income Class" FROM table_21160 WHERE "Area (km\u00b2)" = '75'
### Instruction: In which movie is Selva Nambi a co-singer? ### Response:
SELECT "Movie" FROM table_55026 WHERE "Co-Singers" = 'selva nambi'
### Instruction: hba1c >= 8 % within 3 months before surgery ### Response:
SELECT * FROM table_train_231 WHERE hemoglobin_a1c_hba1c >= 8
### Instruction: Which location has an Opponent of masanori suda? ### Response:
SELECT "Location" FROM table_71197 WHERE "Opponent" = 'masanori suda'
### Instruction: How many 2001 censuses are there on number 13? ### Response:
SELECT COUNT("2001 Census") FROM table_15977 WHERE "#" = '13'
### Instruction: What district has a democratic leader from Roby? ### Response:
SELECT SUM(district) FROM table_name_37 WHERE party = "democratic" AND home_town = "roby"
### Instruction: What's the method for a record of 4-2 and round smaller than 3? ### Response:
SELECT method FROM table_name_78 WHERE round < 3 AND record = "4-2"
### Instruction: Name the howard bake when bush had 66% ### Response:
SELECT "Howard Baker" FROM table_39290 WHERE "George H. W. Bush" = '66%'
### Instruction: Which year did the school with enrollment of 413 join? ### Response:
SELECT "Year Joined" FROM table_64801 WHERE "Enrollment" = '413'
### Instruction: When was there 8.9% Green-Communist? ### Response:
SELECT "Date Released" FROM table_19475 WHERE "Green-Communist" = '8.9%'
### Instruction: What is Viewers, when Event is Johnson Vs. Moraga? ### Response:
SELECT "Viewers" FROM table_46809 WHERE "Event" = 'johnson vs. moraga'
### Instruction: What's the Order with an Elector of Marino Bulcani? ### Response:
SELECT "Order" FROM table_71578 WHERE "Elector" = 'marino bulcani'
### Instruction: Which Date has a Score of 4 5, and a Game smaller than 4? ### Response:
SELECT date FROM table_name_33 WHERE score = "4–5" AND game < 4
### Instruction: What year was the ateneo de manila university founded? ### Response:
SELECT "Founded" FROM table_24829 WHERE "Institution" = 'Ateneo de Manila University'
### Instruction: What is the pick number of the defensive back? ### Response:
SELECT COUNT(overall_pick__number) FROM table_12165135_1 WHERE position = "Defensive Back"
### Instruction: What position was played by the player who was 2.12 meters tall? ### Response:
SELECT position FROM table_12962773_10 WHERE height = "2.12"
### Instruction: What is the End Source from the Hartlepool United Loan Club? ### Response:
SELECT "End Source" FROM table_14703 WHERE "Loan Club" = 'hartlepool united'
### Instruction: What is the rank for Heat : Lane of 4 : 1? ### Response:
SELECT "Rank" FROM table_4813 WHERE "Heat : Lane" = '4 : 1'
### Instruction: What is the D45 associated with a D42 of r 22? ### Response:
SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22"
### Instruction: What is Time, when Speed is 87.49mph? ### Response:
SELECT "Time" FROM table_41044 WHERE "Speed" = '87.49mph'
### Instruction: What is the temperature classification of a purple colored glass bulb? ### Response:
SELECT "Temperature Classification" FROM table_43030 WHERE "Glass Bulb Color" = 'purple'
### Instruction: Top SO users in South Carolina area. ### Response:
SELECT Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%south carolina%' ORDER BY Reputation DESC
### Instruction: Which Pick # is the highest and has the Rd # is under 1? ### Response:
SELECT MAX("Pick #") FROM table_54912 WHERE "Rd #" < '1'
### Instruction: What is the least number of laps for the driver Jo Siffert? ### Response:
SELECT MIN("Laps") FROM table_54424 WHERE "Driver" = 'jo siffert'
### Instruction: Name the guest 4 for steve lamacq ### Response:
SELECT guest_4 FROM table_20466963_13 WHERE guest_2 = "Steve Lamacq"
### Instruction: Which season had f/laps is 0 and races is 2? ### Response:
SELECT season FROM table_27631002_1 WHERE f_laps = 0 AND races = 2
### Instruction: What was the B segmint for Netlix S03E01? ### Response:
SELECT segment_b FROM table_name_54 WHERE netflix = "s03e01"
### Instruction: How many different conference records are there for season 2006? ### Response:
SELECT COUNT("Conference Record") FROM table_23657 WHERE "Season" = '2006'
### Instruction: Name the number of number in season for 3.09 ### Response:
SELECT COUNT("No. in season") FROM table_24870 WHERE "Production code" = '3.09'
### Instruction: What country did ekaterina karsten row for with fa listed under notes? ### Response:
SELECT country FROM table_name_70 WHERE notes = "fa" AND athlete = "ekaterina karsten"
### Instruction: What season had a date of 30 august 1980 ### Response:
SELECT "Season" FROM table_6774 WHERE "Date" = '30 august 1980'
### Instruction: What is the sum of the areas for populations of 542? ### Response:
SELECT SUM("Area km 2") FROM table_50650 WHERE "Population" = '542'
### Instruction: How many teams did inge 6 have the high assists with? ### Response:
SELECT COUNT("Team") FROM table_31459 WHERE "High assists" = 'Inge – 6'