instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Which award was won when the nomination was Senses Around? ### Response:
SELECT award FROM table_name_77 WHERE result = "won" AND nomination = "senses around"
### Instruction: what is the series sorted when the released is may 2012? ### Response:
SELECT series_sorted FROM table_name_73 WHERE released = "may 2012"
### Instruction: What chassis has the year 1987? ### Response:
SELECT "Chassis" FROM table_11401 WHERE "Year" = '1987'
### Instruction: What is the final score at Melbourne Cricket Ground? ### Response:
SELECT "Result" FROM table_68136 WHERE "Venue" = 'melbourne cricket ground'
### Instruction: Find the id and address of the shops whose score is below the average score. ### Response:
SELECT shop_id, address FROM shop WHERE score < (SELECT AVG(score) FROM shop)
### Instruction: What is the height of the player that went to ohio state? ### Response:
SELECT height FROM table_11677760_31 WHERE college = "Ohio State"
### Instruction: What is the Week of the game against the Minnesota Vikings? ### Response:
SELECT MIN(week) FROM table_name_66 WHERE opponent = "minnesota vikings"
### Instruction: What was the name in English that had a Stat of 7th cut? ### Response:
SELECT "English Name" FROM table_6094 WHERE "Stat" = '7th cut'
### Instruction: the ffestiniog railway serviced at most how many slate quarries ? ### Response:
SELECT COUNT(*) FROM table_203_2 WHERE "mineral" = 'slate'
### Instruction: What is the points number when rebounds is 4.4? ### Response:
SELECT points FROM table_20107762_1 WHERE rebounds = "4.4"
### Instruction: Who directed the episode that was written by Bill Lawrence? ### Response:
SELECT directed_by FROM table_25547943_1 WHERE written_by = "Bill Lawrence"
### Instruction: When 2 is the k-band what is the v-band? ### Response:
SELECT v_band FROM table_186468_1 WHERE k_band = "2"
### Instruction: how many total games took place in 1999 ? ### Response:
SELECT COUNT("date") FROM table_203_537 WHERE "date" = 1999
### Instruction: What was the score of the game that had a loss of Williams (1-1)? ### Response:
SELECT score FROM table_name_48 WHERE loss = "williams (1-1)"
### Instruction: What's the largest shirt number when the cap number is 5? ### Response:
SELECT MAX(shirt_number) FROM table_name_22 WHERE cap_number = 5
### Instruction: What is the total attendance when Stourbridge is the home team? ### Response:
SELECT COUNT(attendance) FROM table_name_25 WHERE home_team = "stourbridge"
### Instruction: Who is the player with 140,000? ### Response:
SELECT player FROM table_name_97 WHERE money___£__ = "140,000"
### Instruction: What is the NBA draft result of the player from Kingston, PA? ### Response:
SELECT nba_draft FROM table_name_4 WHERE hometown = "kingston, pa"
### Instruction: If the representative is Dave Hall, when was the term limited? ### Response:
SELECT term_limited FROM table_26131768_4 WHERE representative = "Dave Hall"
### Instruction: Which Score that has a Winning team of wei chuan dragons? ### Response:
SELECT score FROM table_name_35 WHERE winning_team = "wei chuan dragons"
### Instruction: What shows for the League when the FA Cup is 6 (20)? ### Response:
SELECT league_a FROM table_name_47 WHERE fa_cup = "6 (20)"
### Instruction: Name the forward assist for a2 barrel profile ### Response:
SELECT forward_assist FROM table_12834315_4 WHERE barrel_profile = "A2"
### Instruction: Name the average Played with a Points of 0*? ### Response:
SELECT AVG("Played") FROM table_61254 WHERE "Points" = '0*'
### Instruction: What was the total crowd size for the him team footscray? ### Response:
SELECT COUNT(crowd) FROM table_name_95 WHERE home_team = "footscray"
### Instruction: Who replaced Michel Preud'homme? ### Response:
SELECT "Replaced by" FROM table_29466 WHERE "Outgoing manager" = 'Michel Preud''homme'
### Instruction: What is the name of the element with a calculated value of 56? ### Response:
SELECT "name" FROM table_40354 WHERE "Calculated" = '56'
### Instruction: How many drivers did Bob Gerard Racing have? ### Response:
SELECT COUNT(driver) FROM table_21977627_1 WHERE entrant = "Bob Gerard Racing"
### Instruction: What stadium has a club of west ham united? ### Response:
SELECT "Stadium" FROM table_58086 WHERE "Club" = 'west ham united'
### Instruction: What is the goal difference number with a position of 15? ### Response:
SELECT "Goal Difference" FROM table_60613 WHERE "Position" = '15'
### Instruction: How many people attended the game played with the New England Patriots as opponents? ### Response:
SELECT attendance FROM table_name_53 WHERE opponent = "new england patriots"
### Instruction: What is the position of the player for the Baltimore Orioles? ### Response:
SELECT "Position" FROM table_13878 WHERE "Team" = 'baltimore orioles'
### Instruction: Where is the university located that's nicknamed the Wolves? ### Response:
SELECT "Location" FROM table_20531 WHERE "Team Nickname" = 'Wolves'
### Instruction: what is the capital where it is ramtha ### Response:
SELECT "Qadisiya" FROM table_28352 WHERE "\u00d7" = 'Ramtha'
### Instruction: What was away team Geelong's crowd numbers? ### Response:
SELECT "Crowd" FROM table_32271 WHERE "Away team" = 'geelong'
### Instruction: All tags without a wiki excerpt. ### Response:
SELECT 'site://tags/' + TagName + '|' + TagName AS "tagname", Count FROM Tags ORDER BY Count DESC
### Instruction: What was the game site against the Dallas Texans? ### Response:
SELECT "Game site" FROM table_21899 WHERE "Opponent" = 'Dallas Texans'
### Instruction: What are the production codes for the title 'all about brooke ### Response:
SELECT "Production code" FROM table_16367 WHERE "Title" = 'All About Brooke'
### Instruction: Which couple participated in the Paso Doble style and were safe? ### Response:
SELECT couple FROM table_name_91 WHERE results = "safe" AND style = "paso doble"
### Instruction: Where is Hip 4872? ### Response:
SELECT "Constellation" FROM table_80148 WHERE "Designation" = 'hip 4872'
### Instruction: What character did Richard Fleeshman portray? ### Response:
SELECT "Character" FROM table_25006 WHERE "Original West End Performer" = 'Richard Fleeshman'
### Instruction: What is the lowest game on February 10? ### Response:
SELECT MIN("Game") FROM table_48041 WHERE "Date" = 'february 10'
### Instruction: Tell me the venue for score of 82-0 ### Response:
SELECT "Venue" FROM table_52640 WHERE "Score" = '82-0'
### Instruction: On what day was the game that ended in a score of 97-38? ### Response:
SELECT date FROM table_name_17 WHERE score = "97-38"
### Instruction: Which team is from Birmingham & Telford? ### Response:
SELECT "Team" FROM table_55110 WHERE "City/Area" = 'birmingham & telford'
### Instruction: What is the total sum of points for songs performed by Partners in Crime? ### Response:
SELECT SUM(points) FROM table_name_16 WHERE performer = "partners in crime"
### Instruction: Provide the age and birthdate of Jerry Deberry. ### Response:
SELECT demographic.age, demographic.dob FROM demographic WHERE demographic.name = "Jerry Deberry"
### Instruction: Who had the high assists when the opponent was Indiana? ### Response:
SELECT high_assists FROM table_27882867_9 WHERE team = "Indiana"
### Instruction: When us open (2) is the championship what is the surface? ### Response:
SELECT surface FROM table_24901152_2 WHERE championship = "US Open (2)"
### Instruction: which party had more staying councilors ? ### Response:
SELECT "party" FROM table_204_223 ORDER BY "staying councillors" DESC LIMIT 1
### Instruction: Show minimal enr from each state, and could you show by the x-axis in ascending? ### Response:
SELECT state, MIN(enr) FROM College GROUP BY state ORDER BY state
### Instruction: What is the Traditional when the Pinyin is h d ng q ? ### Response:
SELECT traditional FROM table_name_27 WHERE pinyin = "hédōng qū"
### Instruction: What is the location of the 200m backstroke? ### Response:
SELECT "Location" FROM table_4552 WHERE "Event" = '200m backstroke'
### Instruction: Which is the Outcome on 13 november 2006? ### Response:
SELECT outcome FROM table_name_44 WHERE date = "13 november 2006"
### Instruction: How many episodes have a share bigger than 7.0? ### Response:
SELECT COUNT(_number) FROM table_16072430_1 WHERE share > 7.0
### Instruction: How many accounts for different account details? Draw a pie chart. ### Response:
SELECT other_account_details, COUNT(other_account_details) FROM Accounts GROUP BY other_account_details
### Instruction: how many bronze medals did russia earn ? ### Response:
SELECT "bronze" FROM table_204_107 WHERE "nation" = 'russia'
### Instruction: when was the death when the birth was 8 december 1542? ### Response:
SELECT death FROM table_name_45 WHERE birth = "8 december 1542"
### Instruction: What is the smallest crowd when collingwood is home team? ### Response:
SELECT MIN(crowd) FROM table_name_91 WHERE home_team = "collingwood"
### Instruction: which nation is the top nation in number of gold awards won ? ### Response:
SELECT "nation" FROM table_204_761 ORDER BY "gold" DESC LIMIT 1
### Instruction: Who was the heir when the monarch was Wareru? ### Response:
SELECT heir FROM table_26460435_5 WHERE monarch = "Wareru"
### Instruction: What kind of Pada 1 has a Pada 2 of sa? ### Response:
SELECT pada_1 FROM table_name_8 WHERE pada_2 = "सा sa"
### Instruction: What is the verb meaning for *bar as Part 2? ### Response:
SELECT "Verb meaning" FROM table_50828 WHERE "Part 2" = '*bar'
### Instruction: What is the Points with a Played larger than 14? ### Response:
SELECT COUNT("Points") FROM table_42622 WHERE "Played" > '14'
### Instruction: What episode has average ratings of 7.4%? ### Response:
SELECT AVG(episodes) FROM table_name_64 WHERE average_ratings = "7.4%"
### Instruction: What is 2012, when Tournament is 'French Open'? ### Response:
SELECT 2012 FROM table_name_55 WHERE tournament = "french open"
### Instruction: How many new points were earned by rk 26? ### Response:
SELECT new_points FROM table_27615896_18 WHERE rk = 26
### Instruction: Which Home Town has a Senator of dan shelley? ### Response:
SELECT "Home Town" FROM table_50941 WHERE "Senator" = 'dan shelley'
### Instruction: What is atacama's percentage of solar panels? ### Response:
SELECT solar_panel FROM table_25042332_26 WHERE region = "Atacama"
### Instruction: Which Grid has a Time of +13.999? ### Response:
SELECT MIN(grid) FROM table_name_65 WHERE time = "+13.999"
### Instruction: what is the lowest position of brendan sole ### Response:
SELECT MAX(pos) FROM table_20090682_4 WHERE driver = "Brendan Sole"
### Instruction: What is Ido Kozikaro's position? ### Response:
SELECT position FROM table_12962773_2 WHERE player = "Ido Kozikaro"
### Instruction: how many candidates with result being new seat democratic gain ### Response:
SELECT COUNT("Candidates") FROM table_72383 WHERE "Result" = 'New seat Democratic gain'
### Instruction: What is the function percentage when the estimated function percentage is 20? ### Response:
SELECT function__percentage FROM table_name_30 WHERE estimated_function__percentage = 20
### Instruction: What is the lowest position for bruce taylor? ### Response:
SELECT MIN("Position") FROM table_35572 WHERE "Pilot" = 'bruce taylor'
### Instruction: What was the aggregate score for the match won by Brive? ### Response:
SELECT aggregate_score FROM table_28068063_2 WHERE winners = "Brive"
### Instruction: What is the average grid with more than 23 laps? ### Response:
SELECT AVG("Grid") FROM table_70461 WHERE "Laps" > '23'
### Instruction: Who are the cast members of episode 3-04? ### Response:
SELECT "Cast" FROM table_28025 WHERE "Episode #" = '3-04'
### Instruction: What is Robert Allenby's average to par score? ### Response:
SELECT AVG("To par") FROM table_60381 WHERE "Player" = 'robert allenby'
### Instruction: What was the top crowd when collingwood played home? ### Response:
SELECT MAX("Crowd") FROM table_52952 WHERE "Home team" = 'collingwood'
### Instruction: how many times did sd ponferradina b come in better than 5th place ? ### Response:
SELECT COUNT(*) FROM table_204_35 WHERE "place" < 5
### Instruction: top 100 display names on stackoverflow. ### Response:
SELECT DisplayName, COUNT(DisplayName) FROM Users GROUP BY DisplayName ORDER BY COUNT(DisplayName) DESC LIMIT 100
### Instruction: How many clubs were remaining in the preliminary round? ### Response:
SELECT "Clubs remaining" FROM table_30236 WHERE "Round" = 'Preliminary round'
### Instruction: Where was the Deep - 30 Impact event held? ### Response:
SELECT "Location" FROM table_50137 WHERE "Event" = 'deep - 30 impact'
### Instruction: What is the maximum, minimum and average market share of the listed browsers? ### Response:
SELECT MAX(market_share), MIN(market_share), AVG(market_share) FROM browser
### Instruction: the 2010 clausura tournament? ### Response:
SELECT coefficient FROM table_30083499_1 WHERE tournament = "2010 Clausura"
### Instruction: Who directed the film Antonio's Breakfast? ### Response:
SELECT "Director(s)" FROM table_67767 WHERE "Film" = 'antonio''s breakfast'
### Instruction: which opponent is from February 12? ### Response:
SELECT "Opponent" FROM table_77090 WHERE "Date" = 'february 12'
### Instruction: Name the total number of previous br number for number 21 ### Response:
SELECT COUNT("Previous BR No.") FROM table_23921 WHERE "Number" = '21'
### Instruction: What home team scored 102-87? ### Response:
SELECT "Home team" FROM table_49255 WHERE "Score" = '102-87'
### Instruction: When 8.3 is the q-band what is the property? ### Response:
SELECT "Property" FROM table_1942 WHERE "Q-band" = '8.3'
### Instruction: What player scored 68-66=134? ### Response:
SELECT player FROM table_name_50 WHERE score = 68 - 66 = 134
### Instruction: What year had a total of 2 and LA matches of 0? ### Response:
SELECT year FROM table_name_35 WHERE total = "2" AND la_matches = "0"
### Instruction: Name the representing for englar alheimsins ### Response:
SELECT "Representing" FROM table_57013 WHERE "Original title" = 'englar alheimsins'
### Instruction: which lifts were not manufactured by poma ? ### Response:
SELECT "lift name" FROM table_204_907 WHERE "lift name" <> 'poma'
### Instruction: Who was the batsmen at the Brit Oval location? ### Response:
SELECT "Batsmen" FROM table_43871 WHERE "Location" = 'the brit oval'
### Instruction: Name the original air date for number in season being 13 ### Response:
SELECT "Original air date" FROM table_1560 WHERE "No. in season" = '13'
### Instruction: Which 1991 has an A 1993 ? ### Response:
SELECT 1991 FROM table_name_77 WHERE 1993 = "a"
### Instruction: Which controller has an interface of pcie 2.0 8? ### Response:
SELECT controller FROM table_name_37 WHERE interface = "pcie 2.0 × 8"
### Instruction: how many singles competitions have been played in bangkok ? ### Response:
SELECT COUNT(*) FROM table_204_765 WHERE "location" = 'bangkok'
### Instruction: what is the handicap where the distance is 9 lengths? ### Response:
SELECT handicap FROM table_25429986_1 WHERE distance = "9 lengths"