instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW? ### Response:
SELECT "Country" FROM table_48487 WHERE "Transfer window" = 'summer'
### Instruction: What Version has a Developer of dino games, and a Title of metronome? ### Response:
SELECT version FROM table_name_34 WHERE developer = "dino games" AND title = "metronome"
### Instruction: What is the license number where the maximum diameter is 400 mm? ### Response:
SELECT "Licence number" FROM table_59731 WHERE "Maximum diameter" = '400 mm'
### Instruction: Who played as Team 2 against Team 1 SC Gagnoa? ### Response:
SELECT "Team 2" FROM table_68473 WHERE "Team 1" = 'sc gagnoa'
### Instruction: What was the loss of the game attended by 37,119? ### Response:
SELECT "Loss" FROM table_15602 WHERE "Attendance" = '37,119'
### Instruction: For what round was the opponent nikola iri du an vemi ? ### Response:
SELECT round FROM table_name_72 WHERE opponents = "nikola ćirić dušan vemić"
### Instruction: On what day was the team playing at milwaukee county stadium? ### Response:
SELECT date FROM table_13259019_2 WHERE game_site = "Milwaukee County Stadium"
### Instruction: How many measures had a yes vote of 216545? ### Response:
SELECT COUNT("passed") FROM table_27931 WHERE "YES votes" = '216545'
### Instruction: Name the tournament for april 3, 2005 ### Response:
SELECT "Tournament" FROM table_51701 WHERE "Date" = 'april 3, 2005'
### Instruction: what is the pick when the school is jasper hs (jasper, texas)? ### Response:
SELECT pick FROM table_name_63 WHERE school = "jasper hs (jasper, texas)"
### Instruction: What is the date of the game with less than 35 points and chicago as the home team? ### Response:
SELECT date FROM table_name_99 WHERE points < 35 AND home = "chicago"
### Instruction: how many 10wi and bbi is 6/101 ### Response:
SELECT COUNT("10wi") FROM table_30792 WHERE "BBI" = '6/101'
### Instruction: How many Gold medals does the country with 2 Silver and more than 2 Bronze have? ### Response:
SELECT COUNT(gold) FROM table_name_11 WHERE silver = 2 AND bronze > 2
### Instruction: What Dutch word has the same meaning as the Greek word (pl )? ### Response:
SELECT "Dutch" FROM table_40477 WHERE "Greek" = 'πλέω (pléō)'
### Instruction: What tournament did Smeets play against Mark nielsen? ### Response:
SELECT "Tournament" FROM table_36483 WHERE "Opponent in the final" = 'mark nielsen'
### Instruction: What was the airdate of the episode of production code 214? ### Response:
SELECT original_air_date FROM table_28787871_3 WHERE production_code = 214
### Instruction: How many points were scored against the Toronto Rebels? ### Response:
SELECT MAX(points_against) FROM table_26200568_16 WHERE club = "Toronto Rebels"
### Instruction: What was the lowest attendance at a game against the St. Louis Cardinals? ### Response:
SELECT MIN(attendance) FROM table_name_91 WHERE opponent = "st. louis cardinals"
### Instruction: Visualize the relationship between Team_ID and ACC_Percent , and group by attribute All_Neutral. ### Response:
SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY All_Neutral
### Instruction: how many years was the team banned from the arab nations cup ? ### Response:
SELECT MAX("year") - MIN("year") FROM table_202_197 WHERE "round" = 'banned'
### Instruction: how many areas have townland as kilgilky north? ### Response:
SELECT COUNT("Area( acres )") FROM table_31500 WHERE "Townland" = 'Kilgilky North'
### Instruction: Which country is Pete Cooper, who made $816, from? ### Response:
SELECT country FROM table_name_32 WHERE money___$__ = 816 AND player = "pete cooper"
### Instruction: How many powiats have mstsislaw as a capital? ### Response:
SELECT "Number of powiats" FROM table_21961 WHERE "Capital" = 'Mstsislaw'
### Instruction: what is subject name and date of birth of subject id 2560? ### Response:
SELECT demographic.name, demographic.dob FROM demographic WHERE demographic.subject_id = "2560"
### Instruction: What is Result, when Date is '2000-05-23'? ### Response:
SELECT result FROM table_name_57 WHERE date = "2000-05-23"
### Instruction: What nation has a Record of 5.06m(16ft7in)? ### Response:
SELECT nation FROM table_name_95 WHERE record = "5.06m(16ft7in)"
### Instruction: What is the gender of the Roman Catholic school is AL4? ### Response:
SELECT gender FROM table_28523_3 WHERE religious_affiliation = "Roman Catholic" AND location = "AL4"
### Instruction: Who were the candidates when Noah M. Mason was incumbent? ### Response:
SELECT "Candidates" FROM table_18587 WHERE "Incumbent" = 'Noah M. Mason'
### Instruction: how many types of organization were founded in san diego state university? ### Response:
SELECT COUNT(type) FROM table_2538117_2 WHERE founding_university = "San Diego State University"
### Instruction: what is the tournament when the score is 7-6(0), 6-3? ### Response:
SELECT tournament FROM table_name_48 WHERE score = "7-6(0), 6-3"
### Instruction: what is the game when the result is new zealand by 4 wickets? ### Response:
SELECT MAX(game) FROM table_name_25 WHERE result = "new zealand by 4 wickets"
### Instruction: What is the model of the enginge d5252 t? ### Response:
SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5252 T"
### Instruction: Which 1994 has a 1998 of 0 1? ### Response:
SELECT 1994 FROM table_name_35 WHERE 1998 = "0–1"
### Instruction: Who owned the team Jeremy Mayfield raced for? ### Response:
SELECT listed_owner_s_ FROM table_1529793_1 WHERE driver_s_ = "Jeremy Mayfield"
### Instruction: Which Games is the lowest one that has a Position of wlb? ### Response:
SELECT MIN("Games\u2191") FROM table_38025 WHERE "Position" = 'wlb'
### Instruction: When did the staff member named Janessa Sawayn join the company? ### Response:
SELECT date_joined_staff FROM staff WHERE first_name = "Janessa" AND last_name = "Sawayn"
### Instruction: What average year has international meeting & national championships as the tournament? ### Response:
SELECT AVG("Year") FROM table_64157 WHERE "Tournament" = 'international meeting & national championships'
### Instruction: Who had the mountains classification when borut bo i was the winner? ### Response:
SELECT mountains_classification FROM table_25655781_17 WHERE winner = "Borut Božič"
### Instruction: what country was the player drafted by the toronto maple leafs ### Response:
SELECT "Nationality" FROM table_1098 WHERE "NHL team" = 'Toronto Maple Leafs'
### Instruction: Which player(s) was drafted by the Pittsburgh Penguins? ### Response:
SELECT "Player" FROM table_74902 WHERE "NHL team" = 'pittsburgh penguins'
### Instruction: What is the highest against when the lost is 3 with less than 30 points? ### Response:
SELECT MAX(against) FROM table_name_73 WHERE lost = 3 AND points < 30
### Instruction: What is the overall FHT points for Denis Kornilov? ### Response:
SELECT "Overall FHT points" FROM table_36687 WHERE "Name" = 'denis kornilov'
### Instruction: What number pick was Danny Walters in the 1983 NFL draft? ### Response:
SELECT COUNT("Pick #") FROM table_27354 WHERE "Player" = 'Danny Walters'
### Instruction: What's the lowest bits precision when the total bits are less than 16? ### Response:
SELECT MIN("Bits precision") FROM table_54790 WHERE "Total bits" < '16'
### Instruction: what is the highest rank when the bronze is less than 1 and the total is less than 1? ### Response:
SELECT MAX(rank) FROM table_name_83 WHERE bronze < 1 AND total < 1
### Instruction: Name the total number of valid poll with seats more than 4 and candidates more than 9 ### Response:
SELECT COUNT(valid_poll) FROM table_name_67 WHERE seats > 4 AND candidates > 9
### Instruction: Which irrigation district has 4733 users? ### Response:
SELECT irrigation_district FROM table_20018310_1 WHERE users___number_ = 4733
### Instruction: How many Games for Rank 2 Terrell McIntyre? ### Response:
SELECT MIN(games) FROM table_name_8 WHERE name = "terrell mcintyre" AND rank > 2
### Instruction: What's the highest season number with a series number of 47? ### Response:
SELECT MAX("No. in Season") FROM table_29486 WHERE "No. in Series" = '47'
### Instruction: Who is the leading scorer of the Villa De Los Barrios visitor? ### Response:
SELECT "Leading scorer" FROM table_41351 WHERE "Visitor" = 'villa de los barrios'
### Instruction: Name the country for 37.23 1985 ### Response:
SELECT "Country" FROM table_24749 WHERE "1985 (mil)" = '37.23'
### Instruction: How many catagories for denominations does Austria have? ### Response:
SELECT COUNT(denominations__gold_weight_) FROM table_2592308_1 WHERE country = "Austria"
### Instruction: Which opponent has September 14, 2003 as the date? ### Response:
SELECT opponent FROM table_name_14 WHERE date = "september 14, 2003"
### Instruction: How many baronies is Maulnagrough a part of? ### Response:
SELECT COUNT(barony) FROM table_30120761_1 WHERE townland = "Maulnagrough"
### Instruction: On which date was the Dodge Dealers Grand Prix GTS class race? ### Response:
SELECT date FROM table_name_46 WHERE race = "dodge dealers grand prix" AND class = "gts"
### Instruction: What Report has the Date of June 5, 2005? ### Response:
SELECT "Report" FROM table_5215 WHERE "Date" = 'june 5, 2005'
### Instruction: What was the location when the winning driver was Nathana l Berthon? ### Response:
SELECT "Location" FROM table_3306 WHERE "Winning driver" = 'Nathanaël Berthon'
### Instruction: When the total score is 740, what is tromso? ### Response:
SELECT MIN(tromsø) FROM table_19439864_2 WHERE total = 740
### Instruction: what is the total number of times that hateley scored in the uefa champions league ? ### Response:
SELECT COUNT(*) FROM table_204_691 WHERE "scorers" = 'hateley'
### Instruction: What is every media type for the Psychedelic Trance genre? ### Response:
SELECT "Media type" FROM table_26342 WHERE "Genre" = 'Psychedelic Trance'
### Instruction: WHAT IS THE RESULT WITH A SCORE OF 70-73? ### Response:
SELECT "Result" FROM table_76965 WHERE "Score" = '70-73'
### Instruction: How many pick# for CFL team of Toronto Argonauts? ### Response:
SELECT COUNT("Pick #") FROM table_30253 WHERE "CFL Team" = 'Toronto Argonauts'
### Instruction: What country was the golfer from who had a money amount of 45,000? ### Response:
SELECT country FROM table_name_39 WHERE money___$__ = "45,000"
### Instruction: Which Memory (GB) has a Number of CPUs of 1 6? ### Response:
SELECT "Memory (GB)" FROM table_66348 WHERE "Number of CPUs" = '1–6'
### Instruction: What was the loss of the game attended by 14,691? ### Response:
SELECT "Loss" FROM table_71543 WHERE "Attendance" = '14,691'
### Instruction: What is the record when Clayton Mckinney was the opponent? ### Response:
SELECT "Record" FROM table_9837 WHERE "Opponent" = 'clayton mckinney'
### Instruction: Which Kickoff had a Game Site of fawcett stadium? ### Response:
SELECT "Kickoff" FROM table_38052 WHERE "Game Site" = 'fawcett stadium'
### Instruction: What is the location of the bridge named 'Kolob Arch' or 'Rainbow Bridge'? ### Response:
SELECT location FROM bridge WHERE name = 'Kolob Arch' OR name = 'Rainbow Bridge'
### Instruction: On what date was a two-way tie (8) the high rebound? ### Response:
SELECT "Date" FROM table_57443 WHERE "High rebounds" = 'two-way tie (8)'
### Instruction: At what Venue was the Attendance 47,678? ### Response:
SELECT "Venue" FROM table_65096 WHERE "Attendance" = '47,678'
### Instruction: If Safari is 3.76%, what is the other Mozilla amount? ### Response:
SELECT other_mozilla FROM table_1876262_10 WHERE safari = "3.76%"
### Instruction: Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5. ### Response:
SELECT years FROM table_name_27 WHERE roll > 23 AND decile > 5
### Instruction: Which game did marc gasol (10) have the high rebounds? ### Response:
SELECT "Game" FROM table_29955 WHERE "High rebounds" = 'Marc Gasol (10)'
### Instruction: How many assists did the player who had 121 rebounds have? ### Response:
SELECT MAX(assists) FROM table_24850487_5 WHERE rebounds = 121
### Instruction: what was the last year of harald v of norway 's reign ? ### Response:
SELECT "years" FROM table_203_640 WHERE "name" = 'harald v of norway'
### Instruction: Where did Calvin Peete of the United States place? ### Response:
SELECT "Place" FROM table_8868 WHERE "Country" = 'united states' AND "Player" = 'calvin peete'
### Instruction: How many candidates won the election of john n. sandlin? ### Response:
SELECT COUNT("Candidates") FROM table_18718 WHERE "Incumbent" = 'John N. Sandlin'
### Instruction: What was the time of the bout that ended in a TKO (strikes)? ### Response:
SELECT "Time" FROM table_42554 WHERE "Method" = 'tko (strikes)'
### Instruction: What's the 2008 Status of Rosa Delauro? ### Response:
SELECT 2008 AS _status FROM table_name_15 WHERE democratic = "rosa delauro"
### Instruction: What's the lane with a time of 1:00.66? ### Response:
SELECT AVG(lane) FROM table_name_93 WHERE time = "1:00.66"
### Instruction: what is 1976 when 1977 is 3.5? ### Response:
SELECT 1976 FROM table_name_96 WHERE 1977 = "3.5"
### Instruction: how many weeks were chantelle and steve the 3rd couple ? ### Response:
SELECT COUNT("week") FROM table_204_269 WHERE "3rd couple" = 'chantelle and steve'
### Instruction: What score did Jack Nicklaus have when he placed t6? ### Response:
SELECT "Score" FROM table_48652 WHERE "Place" = 't6' AND "Player" = 'jack nicklaus'
### Instruction: What date did the capitols play the toronto maple leafs? ### Response:
SELECT date FROM table_23308178_6 WHERE opponent = "Toronto Maple Leafs"
### Instruction: What stage of the race was held on the course Reggio Calabria to Catanzaro? ### Response:
SELECT stage FROM table_name_89 WHERE course = "reggio calabria to catanzaro"
### Instruction: Where was the game with the attendance of 54,436? ### Response:
SELECT "Game site" FROM table_10339 WHERE "Attendance" = '54,436'
### Instruction: how many events were at the 1980 winter olympics ? ### Response:
SELECT "events" FROM table_203_541 WHERE "games" = '1980 winter olympics'
### Instruction: When the Away team was hawthorn, what's the Home team? ### Response:
SELECT "Home team" FROM table_56016 WHERE "Away team" = 'hawthorn'
### Instruction: which model of car won the most races in the 1992 season ? ### Response:
SELECT "car" FROM table_203_271 GROUP BY "car" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: What was the surface on 23 October 2011? ### Response:
SELECT "Surface" FROM table_67703 WHERE "Date" = '23 october 2011'
### Instruction: What is the most recent year that had a time of 1:36.69? ### Response:
SELECT MAX(year) FROM table_name_82 WHERE time = "1:36.69"
### Instruction: What is the Catalog with a Date that is march 13, 2002? ### Response:
SELECT catalog FROM table_name_9 WHERE date = "march 13, 2002"
### Instruction: What is the 2004 population for ? ### Response:
SELECT "Population (2004 est.)" FROM table_43597 WHERE "Hanzi" = '山海关区'
### Instruction: What date did the song by jennifer lopez get issued? ### Response:
SELECT "Issue Date(s)" FROM table_47547 WHERE "Artist" = 'jennifer lopez'
### Instruction: How old is the average person for each job Show bar chart, and rank total number from high to low order. ### Response:
SELECT job, AVG(age) FROM Person GROUP BY job ORDER BY AVG(age) DESC
### Instruction: Which away team plays at the venue glenferrie oval? ### Response:
SELECT "Away team" FROM table_56910 WHERE "Venue" = 'glenferrie oval'
### Instruction: What monarch(s) did Stanley Baldwin (1st ministry) serve? ### Response:
SELECT monarchs_served FROM table_name_18 WHERE name = "stanley baldwin (1st ministry)"
### Instruction: What is the 4th largest where the 2nd largest is Minab? ### Response:
SELECT "4th largest" FROM table_48111 WHERE "2nd Largest" = 'minab'
### Instruction: In what Year is the Works no. 2040-2049? ### Response:
SELECT year FROM table_name_86 WHERE works_no = "2040-2049"
### Instruction: What is the total of Against with % Won larger than 100? ### Response:
SELECT SUM("Against") FROM table_13003 WHERE "% Won" > '100'