instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: What's the Time/Retired of Laps of 75? ### Response:
SELECT "Time/Retired" FROM table_51739 WHERE "Laps" = '75'
### Instruction: Which model's chipset is intel 955? ### Response:
SELECT "Memory" FROM table_10925 WHERE "Chipset" = 'intel 955'
### Instruction: Name the most goals for total club and apps less than 120 ### Response:
SELECT MAX(goals) FROM table_name_34 WHERE club = "total" AND apps < 120
### Instruction: How many languages have le roman de renart as the original title? ### Response:
SELECT COUNT("Languages") FROM table_24753 WHERE "Original title" = 'Le Roman de Renart'
### Instruction: Which School/Club Team does Vince Carter Play for? ### Response:
SELECT "School/Club Team" FROM table_40971 WHERE "Player" = 'vince carter'
### Instruction: Can you tell me the Name that has the DCSF number of 2117? ### Response:
SELECT name FROM table_name_11 WHERE dcsf_number = 2117
### Instruction: Name the 20 questions for derek jeter ### Response:
SELECT 20 AS _questions FROM table_1566852_5 WHERE interview_subject = "Derek Jeter"
### Instruction: What party did incumbent Albert Wynn belong to? ### Response:
SELECT "Party" FROM table_18100 WHERE "Incumbent" = 'Albert Wynn'
### Instruction: What report has gauteng falcons as the opposing team? ### Response:
SELECT "Report" FROM table_59708 WHERE "Opposing Team" = 'gauteng falcons'
### Instruction: how many titles were made under the network of fuji tv ? ### Response:
SELECT COUNT("japanese title") FROM table_203_133 WHERE "network" = 'fuji tv'
### Instruction: Which month had a sort value under 39 and 2 deaths? ### Response:
SELECT month FROM table_name_73 WHERE sort_restore < 39 AND deaths = "2"
### Instruction: What is the total time (s) for the horse Pinot Grigio? ### Response:
SELECT total_time___s__ FROM table_name_53 WHERE horse = "pinot grigio"
### Instruction: If in English it's house, what is it in proto-semitic? ### Response:
SELECT proto_semitic FROM table_26919_7 WHERE english = "house"
### Instruction: When Hamilton Academical is the Opponent, what is the total Attendance? ### Response:
SELECT COUNT(attendance) FROM table_name_26 WHERE opponent = "hamilton academical"
### Instruction: What is the order number for the theme of Mariah Carey? ### Response:
SELECT order__number FROM table_15796100_1 WHERE theme = "Mariah Carey"
### Instruction: What class in the word with part 4 'giheizan'? ### Response:
SELECT "Class" FROM table_72907 WHERE "Part 4" = 'giheizan'
### Instruction: Name the awardee for best editing ### Response:
SELECT awardee_s_ FROM table_24446718_7 WHERE name_of_award = "Best Editing"
### Instruction: What is the home team score for the game with the away team Carlton? ### Response:
SELECT "Home team score" FROM table_4910 WHERE "Away team" = 'carlton'
### Instruction: When was the game with 13-5-6 record played? ### Response:
SELECT date FROM table_23308178_5 WHERE record = "13-5-6"
### Instruction: What position does the Cincinnati Bengals' player have? ### Response:
SELECT "Position" FROM table_17509 WHERE "AFL Team" = 'Cincinnati Bengals'
### Instruction: What is Score, when Date is 10 July 2011? ### Response:
SELECT score FROM table_name_65 WHERE date = "10 july 2011"
### Instruction: Who wrote the episode whose director is Karen Gaviola? ### Response:
SELECT "Written by" FROM table_73579 WHERE "Directed by" = 'Karen Gaviola'
### Instruction: How many million viewers did episode number 63 have? ### Response:
SELECT "U.S. viewers (million)" FROM table_2737 WHERE "No." = '63'
### Instruction: What is the total number of medals when there are 18 gold medals? ### Response:
SELECT SUM("Total") FROM table_75870 WHERE "Gold" = '18'
### Instruction: What is To Par, when Player is K. J. Choi? ### Response:
SELECT "To par" FROM table_44540 WHERE "Player" = 'k. j. choi'
### Instruction: tell me the insurance and primary disease of james sloan. ### Response:
SELECT demographic.insurance, demographic.diagnosis FROM demographic WHERE demographic.name = "James Sloan"
### Instruction: clinical dementia rating ( cdr ) >= 0.5 ### Response:
SELECT * FROM table_train_74 WHERE clinical_dementia_rating_cdr >= 0.5
### Instruction: Name the broadcast network for saitama prefecture ### Response:
SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Saitama Prefecture"
### Instruction: What is the average game that has December 17 as the date? ### Response:
SELECT AVG("Game") FROM table_47066 WHERE "Date" = 'december 17'
### Instruction: Which race was in Sydney, New South Wales? ### Response:
SELECT "Race name" FROM table_41115 WHERE "City/State" = 'sydney, new south wales'
### Instruction: What is the measure where the yes% is 44.06%? ### Response:
SELECT "description" FROM table_27930 WHERE "% YES" = '44.06%'
### Instruction: how many songs are not performed by vitas on the album smile ! ? ### Response:
SELECT COUNT("english title") FROM table_203_574 WHERE "music" <> 'vitas'
### Instruction: How many peak positions were there on the weekly charts? ### Response:
SELECT COUNT("Peak Position") FROM table_2784 WHERE "Oricon Albums Chart" = 'Weekly Charts'
### Instruction: For each type of store, how many of them are there Plot them as bar chart, and sort from low to high by the X. ### Response:
SELECT Type, COUNT(*) FROM store GROUP BY Type ORDER BY Type
### Instruction: How many spectators were at the game where Richmond was the away team? ### Response:
SELECT SUM("Crowd") FROM table_57110 WHERE "Away team" = 'richmond'
### Instruction: What is the Home team in the Game with a Score of 1 0? ### Response:
SELECT "Home team" FROM table_62593 WHERE "Score" = '1–0'
### Instruction: Draw a bar chart about the distribution of meter_700 and ID , and sort by the ID from high to low. ### Response:
SELECT meter_700, ID FROM swimmer ORDER BY ID DESC
### Instruction: What was the date of A. Benes loss to the Rockies? ### Response:
SELECT date FROM table_name_19 WHERE loss = "a. benes" AND opponent = "rockies"
### Instruction: Which region had a catalog number of 570 734-2? ### Response:
SELECT region FROM table_name_19 WHERE catalog = "570 734-2"
### Instruction: If the position is AM and the league is larger than 7.0, what is the total R number? ### Response:
SELECT COUNT(r) FROM table WHERE position = AM AND league > 7.0
### Instruction: Name the number of population for ### Response:
SELECT COUNT("Population (2011)") FROM table_3329 WHERE "Cyrillic Name Other Names" = 'Врбас'
### Instruction: Who are the batting partners for the 1997 season? ### Response:
SELECT "Batting partners" FROM table_20963 WHERE "Season" = '1997'
### Instruction: What type of settlemen is Kru edol Selo? ### Response:
SELECT "Type" FROM table_27891 WHERE "Settlement" = 'Krušedol Selo'
### Instruction: What is the earliest year that the tournament was played in Cape Town, South Africa? ### Response:
SELECT MIN(year) FROM table_name_71 WHERE location = "cape town, south africa"
### Instruction: how long did it take richard rodgers to complete egot ? ### Response:
SELECT "egot completed" FROM table_204_673 WHERE "name" = 'richard rodgers'
### Instruction: What was the date of appointment for the 10th person in position? ### Response:
SELECT "Date of appointment" FROM table_2553 WHERE "Position in table" = '10th'
### Instruction: How many picks does Matt Moran have altogether after round 6? ### Response:
SELECT COUNT(pick) FROM table_name_72 WHERE name = "matt moran" AND round > 6
### Instruction: how many townships have populations over 2,000 ? ### Response:
SELECT COUNT("township") FROM table_204_616 WHERE "population" > 2000
### Instruction: how many native american with whites being 1.0% ### Response:
SELECT COUNT(native_american) FROM table_1333612_1 WHERE whites = "1.0%"
### Instruction: A bar chart for listing the number of the name of all playlist, and list x axis from low to high order. ### Response:
SELECT name, COUNT(name) FROM playlists GROUP BY name ORDER BY name
### Instruction: Who did they play against in the game that ended in 2-2? ### Response:
SELECT "Opponent" FROM table_18027 WHERE "Record" = '2-2'
### Instruction: What is the total number of cuts made when the events are more than 3? ### Response:
SELECT COUNT("Cuts made") FROM table_13774 WHERE "Events" > '3'
### Instruction: What is the Tie no listed for the Away team of Barnet? ### Response:
SELECT "Tie no" FROM table_68780 WHERE "Away team" = 'barnet'
### Instruction: Give the number of locations of all wrestlers with a bar chart, sort by the x-axis in descending. ### Response:
SELECT Location, COUNT(Location) FROM wrestler GROUP BY Location ORDER BY Location DESC
### Instruction: what year did the album jezebel on blockshok records release ? ### Response:
SELECT "year" FROM table_204_928 WHERE "album" = 'jezebel'
### Instruction: What was the Comp on 2007-08-06? ### Response:
SELECT comp FROM table_name_16 WHERE date = "2007-08-06"
### Instruction: What is the Owner of the Frequency with a Format of First Nations Community Radio? ### Response:
SELECT "Owner" FROM table_65964 WHERE "Format" = 'first nations community radio'
### Instruction: What was the result when the opponent was fenerbah e? ### Response:
SELECT "Result" FROM table_54275 WHERE "Opponent" = 'fenerbahçe'
### Instruction: creatinine clearance ( cl ) of < 45 ml / min. ### Response:
SELECT * FROM table_train_115 WHERE creatinine_clearance_cl < 45
### Instruction: Who was the opposing team in the game with a score of 21-17? ### Response:
SELECT opp_team FROM table_name_49 WHERE score = "21-17"
### Instruction: What is listed for the Wins with a Year of 1989? ### Response:
SELECT "Wins" FROM table_37834 WHERE "Year" = '1989'
### Instruction: Bar graph to show total number of cloud cover from different date, list in desc by the total number. ### Response:
SELECT date, SUM(cloud_cover) FROM weather ORDER BY SUM(cloud_cover) DESC
### Instruction: What was the original air date of the episode written by michael glassberg? ### Response:
SELECT "Original airdate" FROM table_29100 WHERE "Writer" = 'Michael Glassberg'
### Instruction: Which Date has a Result of 2 2, and a Venue of H? ### Response:
SELECT date FROM table_name_3 WHERE result = "2–2" AND venue = "h"
### Instruction: Name the total number of winnings for 1995 ### Response:
SELECT COUNT(winnings) FROM table_1671401_2 WHERE year = 1995
### Instruction: What are the ids of all female students who play football? ### Response:
SELECT stuid FROM student WHERE sex = 'F' INTERSECT SELECT stuid FROM sportsinfo WHERE sportname = "Football"
### Instruction: What is the average number of deaths for earthquakes centered in Damghan? ### Response:
SELECT AVG(fatalities) FROM table_name_84 WHERE epicenter = "damghan"
### Instruction: who ended runner-up to sankar adhi? ### Response:
SELECT runner_up_a FROM table_22757733_4 WHERE winner = "Sankar Adhi"
### Instruction: What was the fewest entrants in an event won by Grant Hinkle? ### Response:
SELECT MIN(entrants) FROM table_name_90 WHERE winner = "grant hinkle"
### Instruction: What is the total number scored of the team positioned lower than 10? ### Response:
SELECT COUNT("Scored") FROM table_35960 WHERE "Position" > '10'
### Instruction: How many times was the incumbent elected in Washington 4 district? ### Response:
SELECT COUNT("Elected") FROM table_1417 WHERE "District" = 'Washington 4'
### Instruction: What was the score for the game where the home team was Wycombe Wanderers? ### Response:
SELECT score FROM table_name_73 WHERE home_team = "wycombe wanderers"
### Instruction: What is the total for set 2 17-25? ### Response:
SELECT "Total" FROM table_42042 WHERE "Set 2" = '17-25'
### Instruction: which providence's soccer stadium was founded in 2005? ### Response:
SELECT province FROM table_27369069_1 WHERE founded = 2005
### Instruction: Which incumbent was first elected in 1940? ### Response:
SELECT "Incumbent" FROM table_18593 WHERE "First elected" = '1940'
### Instruction: Name the santee sisseton for morning ### Response:
SELECT santee_sisseton FROM table_1499791_2 WHERE english_gloss = "morning"
### Instruction: When was incumbent William B. Oliver first elected? ### Response:
SELECT MAX("First elected") FROM table_18700 WHERE "Incumbent" = 'William B. Oliver'
### Instruction: How many were in the crowd when there was a game at Junction Oval? ### Response:
SELECT SUM(crowd) FROM table_name_88 WHERE venue = "junction oval"
### Instruction: What are the remarks for 8 October 2008? ### Response:
SELECT "Remarks" FROM table_73181 WHERE "Date" = '8 October 2008'
### Instruction: When the away team was Carlton, who was the home team? ### Response:
SELECT home_team FROM table_16388545_1 WHERE away_team = "Carlton"
### Instruction: Tell me the chief judge which has reason for termination of retirement ### Response:
SELECT "Chief Judge" FROM table_55335 WHERE "Reason for termination" = 'retirement'
### Instruction: What incumbent was first elected in 2009? ### Response:
SELECT "Incumbent" FROM table_23279 WHERE "First elected" = '2009'
### Instruction: What sport was played on November 14, 2009? ### Response:
SELECT sport FROM table_name_27 WHERE date = "november 14, 2009"
### Instruction: what's the party with dbeingtrict being massachusetts 3 ### Response:
SELECT party FROM table_1341604_22 WHERE district = "Massachusetts 3"
### Instruction: Who had the high assist total when the team was 0-1? ### Response:
SELECT high_assists FROM table_27902171_4 WHERE record = "0-1"
### Instruction: What was the location/attendance for the game with a record of 16-6? ### Response:
SELECT location_attendance FROM table_name_79 WHERE record = "16-6"
### Instruction: What was the injured entry for the row with a killed entry of 29? ### Response:
SELECT "Injured" FROM table_62170 WHERE "Killed" = '29'
### Instruction: what is the number of galaxies in the pisces constellation ? ### Response:
SELECT COUNT("designation") FROM table_203_569 WHERE "constellation" = 'pisces'
### Instruction: The driver Jacky Ickx had what time/retired? ### Response:
SELECT "Time/Retired" FROM table_54423 WHERE "Driver" = 'jacky ickx'
### Instruction: Which martial arts style was shown in Rio de Janeiro? ### Response:
SELECT martial_art_style FROM table_14937957_1 WHERE city = "Rio de Janeiro"
### Instruction: What are the years that the new classification was MCLA division i? ### Response:
SELECT years FROM table_26476336_2 WHERE new_classification = "MCLA Division I"
### Instruction: How many horses are mentioned competing in 1985? ### Response:
SELECT COUNT(horse) FROM table_21676617_1 WHERE year = 1985
### Instruction: How many game sites are there where the team record is 1 7? ### Response:
SELECT COUNT("Game site") FROM table_27614 WHERE "Team record" = '1–7'
### Instruction: What was Footscray's score when it played as the home team? ### Response:
SELECT "Home team score" FROM table_32966 WHERE "Home team" = 'footscray'
### Instruction: What is the English title for 1984 from Sweden? ### Response:
SELECT english_title FROM table_name_68 WHERE year = 1984 AND country = "sweden"
### Instruction: Which state contains the University of Iowa in the mideast region? ### Response:
SELECT state FROM table_name_67 WHERE region = "mideast" AND host = "university of iowa"
### Instruction: How many transit passengers at london gatwick? ### Response:
SELECT "Transit Passengers" FROM table_19010 WHERE "Airport" = 'London Gatwick'
### Instruction: When hermann uhde is the count who is the conductor? ### Response:
SELECT "Conductor" FROM table_31318 WHERE "Count" = 'Hermann Uhde'
### Instruction: What studio has directors John Lasseter and Andrew Stanton? ### Response:
SELECT studio FROM table_name_95 WHERE director_s_ = "john lasseter and andrew stanton"
### Instruction: What episode had a share percentage of 41.5%? ### Response:
SELECT "Episode" FROM table_29441 WHERE "Share (%)" = '41.5'