instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: What is the total to par with a total of 163? ### Response:
SELECT COUNT("To par") FROM table_12196 WHERE "Total" = '163'
### Instruction: With a Hanzi of , what is the name? ### Response:
SELECT "Name" FROM table_5500 WHERE "Hanzi" = '深圳卫视'
### Instruction: A bar chart about the number of last name for all female students whose sex is F. ### Response:
SELECT LName, COUNT(LName) FROM Student WHERE Sex = 'F' GROUP BY LName
### Instruction: What is the high rebound for June 9? ### Response:
SELECT high_rebounds FROM table_27723526_17 WHERE date = "June 9"
### Instruction: What was the Result on November 9, 1958? ### Response:
SELECT result FROM table_name_77 WHERE date = "november 9, 1958"
### Instruction: What source of wealth has a value of 5726m? ### Response:
SELECT source_of_wealth FROM table_name_51 WHERE value = "£5726m"
### Instruction: What was the aggregate in the match with a team 1 of Dinamo Minsk? ### Response:
SELECT agg FROM table_name_27 WHERE team_1 = "dinamo minsk"
### Instruction: For Model e12 what is the IFLs/uIFLs? ### Response:
SELECT ifls___uifls FROM table_name_77 WHERE model = "e12"
### Instruction: Find the name and account balance of the customer whose name includes the letter a . Show a pie chart. ### Response:
SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%'
### Instruction: What is Power, when City of License is Sioux Lookout? ### Response:
SELECT "Power" FROM table_42412 WHERE "City of license" = 'sioux lookout'
### Instruction: Name the number of won for goals for being 274 ### Response:
SELECT COUNT("Won") FROM table_27399 WHERE "Goals for" = '274'
### Instruction: What is the attendance of the match with kochi university as the away team? ### Response:
SELECT attendance FROM table_name_23 WHERE away_team = "kochi university"
### Instruction: count the number of cases of pulmonary resection - tumor. ### Response:
SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'pulmonary resection - tumor'
### Instruction: Name the visitor for detroit on february 24 ### Response:
SELECT visitor FROM table_name_55 WHERE home = "detroit" AND date = "february 24"
### Instruction: Plot mean age by grouped by sex as a bar graph, and order in desc by the x-axis. ### Response:
SELECT Sex, AVG(Age) FROM Student GROUP BY Sex ORDER BY Sex DESC
### Instruction: What is the high assists of Hamilton (24)? ### Response:
SELECT "High assists" FROM table_58543 WHERE "High points" = 'hamilton (24)'
### Instruction: Who has a walking data of 214.061km? ### Response:
SELECT athlete FROM table_name_66 WHERE data = "214.061km"
### Instruction: Of the teams that had more than 0 byes, what was the total number of losses? ### Response:
SELECT COUNT(losses) FROM table_name_54 WHERE byes < 0
### Instruction: How many times did Keith Downing depart a position? ### Response:
SELECT COUNT("Position in table") FROM table_22599 WHERE "Outgoing manager" = 'Keith Downing'
### Instruction: How many people were present at the July 10 game? ### Response:
SELECT attendance FROM table_21796261_4 WHERE date = "July 10"
### Instruction: Find all posts with only the 'theology' tag. ### Response:
SELECT Id, Title, Tags FROM Posts AS "post_link" WHERE NOT Title IS NULL AND Tags = '<theology>'
### Instruction: What is the weight with a denomination that is three paise? ### Response:
SELECT "Weight" FROM table_39076 WHERE "Denomination" = 'three paise'
### Instruction: what were the number of innings albert clapp had ? ### Response:
SELECT "innings" FROM table_204_154 WHERE "player" = 'albert clapp'
### Instruction: Which programs were originally broadcast on CITV? ### Response:
SELECT programme FROM table_29566606_11 WHERE original_channel_s_ = "CITV"
### Instruction: what are the number of titles listed in 2005 ? ### Response:
SELECT COUNT("title") FROM table_204_620 WHERE "year" = 2005
### Instruction: What year did Ferrari win the Kyalami circuit? ### Response:
SELECT year FROM table_name_16 WHERE circuit = "kyalami" AND winning_constructor = "ferrari"
### Instruction: What is the Title of the Pye Label mono LP release? ### Response:
SELECT title FROM table_name_18 WHERE format = "mono lp" AND label = "pye"
### Instruction: what was the title of the only episode written by nick thiel ? ### Response:
SELECT "title" FROM table_203_349 WHERE "written by" = 'nick thiel'
### Instruction: WHAT WAS THE ATTENDANCE FOR WEEK 15? ### Response:
SELECT "Attendance" FROM table_49503 WHERE "Week" = '15'
### Instruction: Which nation is where rider phillip dutton from? ### Response:
SELECT "Nation" FROM table_22551 WHERE "Rider" = 'Phillip Dutton'
### Instruction: What is the callsign where the ICAO is AAR? ### Response:
SELECT "CALLSIGN" FROM table_40827 WHERE "ICAO" = 'aar'
### Instruction: What is the other name for martono ? ### Response:
SELECT "Cyrillic Name Other Names" FROM table_27862 WHERE "Settlement" = 'Martonoš'
### Instruction: What percentage of people voted for Obama in Burlington? ### Response:
SELECT "Obama %" FROM table_23637 WHERE "County" = 'Burlington'
### Instruction: If the Away Team is Arsenal what is the Score? ### Response:
SELECT "Score" FROM table_13200 WHERE "Away team" = 'arsenal'
### Instruction: select top 10 from Posts. ### Response:
SELECT * FROM Posts WHERE ViewCount > 31000 AND ViewCount <= 33000 ORDER BY ViewCount DESC
### Instruction: what is the party for the district south carolina 4? ### Response:
SELECT party FROM table_1341423_40 WHERE district = "South Carolina 4"
### Instruction: Name the poles for avg start being 4.7 ### Response:
SELECT poles FROM table_2308381_2 WHERE avg_start = "4.7"
### Instruction: What is Points For, when Club is 'Tycroes RFC'? ### Response:
SELECT points_for FROM table_name_64 WHERE club = "tycroes rfc"
### Instruction: What is the average year with an award of platinum? ### Response:
SELECT AVG(year) FROM table_name_44 WHERE award_description_s_ = "platinum"
### Instruction: When was Kalin Olson listed as the centerfold model? ### Response:
SELECT date FROM table_1566850_8 WHERE centerfold_model = "Kalin Olson"
### Instruction: Name the top-10 with top-5 less than 1 ### Response:
SELECT "Top-10" FROM table_35859 WHERE "Top-5" < '1'
### Instruction: which were the only two longest running shows to open in july ? ### Response:
SELECT "title" FROM table_204_592 WHERE "opening\ndate" = 7
### Instruction: In what seasons did Kate Woods direct Without A Trace? ### Response:
SELECT "Season #" FROM table_20919 WHERE "Directed by" = 'Kate Woods'
### Instruction: what party was the last provincial representative of gilbert plains ? ### Response:
SELECT "party" FROM table_203_345 ORDER BY "took office" DESC LIMIT 1
### Instruction: What is the 2013 of the grand slam tournaments? ### Response:
SELECT 2013 FROM table_name_71 WHERE tournament = "grand slam tournaments"
### Instruction: What tonnage was built in 2007? ### Response:
SELECT "Tonnage" FROM table_12261 WHERE "Built" = '2007'
### Instruction: what is the highest round when the overall is less than 17? ### Response:
SELECT MAX("Round") FROM table_44649 WHERE "Overall" < '17'
### Instruction: What was the result of the 1990 world cup qualifying competition? ### Response:
SELECT result FROM table_name_55 WHERE competition = "1990 world cup qualifying"
### Instruction: What is the name of the soccer stadium in NL providence? ### Response:
SELECT "Soccer Stadium" FROM table_3751 WHERE "Province" = 'NL'
### Instruction: Who is the coach of the 2012 Gold Coast Titans season? ### Response:
SELECT coach FROM table_name_4 WHERE details = "2012 gold coast titans season"
### Instruction: What is the Standalone in the year when Space Invaders is the Console? ### Response:
SELECT "Standalone" FROM table_66310 WHERE "Console" = 'space invaders'
### Instruction: the year with the most independen/other was what ? ### Response:
SELECT "year" FROM table_203_95 ORDER BY "independent\n/ other" DESC LIMIT 1
### Instruction: How many people were in the crowd at Lake Oval? ### Response:
SELECT "Crowd" FROM table_57850 WHERE "Venue" = 'lake oval'
### Instruction: What stadium hosted the game that had a final score of 9-14? ### Response:
SELECT stadium FROM table_name_75 WHERE final_score = "9-14"
### Instruction: what was the first race where he placed in the top 10 ? ### Response:
SELECT MIN("year") FROM table_204_192 WHERE "pos." <= 10
### Instruction: What FCC info is listed for the ERP W of 2? ### Response:
SELECT "FCC info" FROM table_37354 WHERE "ERP W" = '2'
### Instruction: Name the total number of opponent of record 9-2 ### Response:
SELECT COUNT("Opponent") FROM table_72852 WHERE "Record" = '9-2'
### Instruction: What is the Money ($) player Loren Roberts has made? ### Response:
SELECT MAX(money___) AS $__ FROM table_name_93 WHERE player = "loren roberts"
### Instruction: What edition had magdalena maleeva as partner? ### Response:
SELECT "Edition" FROM table_59075 WHERE "Partner" = 'magdalena maleeva'
### Instruction: What is Opponent, when Game is '37'? ### Response:
SELECT "Opponent" FROM table_76954 WHERE "Game" = '37'
### Instruction: What is the figure for Pasadena when Tujunga is 36? ### Response:
SELECT pasadena FROM table_name_11 WHERE tujunga = "36"
### Instruction: In what year of school is the player from Fayetteville, NC? ### Response:
SELECT year FROM table_name_52 WHERE home_town = "fayetteville, nc"
### Instruction: Who was the host team for the game on December 27? ### Response:
SELECT "Host Team" FROM table_68752 WHERE "Date" = 'december 27'
### Instruction: Who is at rank 13 with 23 total points? ### Response:
SELECT name FROM table_name_35 WHERE total_points = "23" AND rank = "13"
### Instruction: how many tracks in word ... life have at most two songwriters ? ### Response:
SELECT COUNT("title") FROM table_203_228 WHERE "songwriters" <= 2
### Instruction: What was # of the first game played on August 20? ### Response:
SELECT MIN("Game") FROM table_22686 WHERE "Date" = 'August 20'
### Instruction: What is the average that has 441 as wicket? ### Response:
SELECT "Average" FROM table_39839 WHERE "s Wicket" = '441'
### Instruction: What is the traditional Chinese name for the record titled Sunrise? ### Response:
SELECT chinese__traditional_ FROM table_name_36 WHERE english_title = "sunrise"
### Instruction: Who is the championship for the year of 1993? ### Response:
SELECT "Championship" FROM table_25416 WHERE "Year" = '1993'
### Instruction: Name the team number 1 for san lorenzo ### Response:
SELECT team__number1 FROM table_23812628_1 WHERE team__number2 = "San Lorenzo"
### Instruction: What's the black with 24 moves in the dortmund tournament? ### Response:
SELECT black FROM table_name_56 WHERE moves = 24 AND tournament = "dortmund"
### Instruction: How many losses have a year later than 2001? ### Response:
SELECT SUM("Losses") FROM table_5706 WHERE "Year" > '2001'
### Instruction: What is Country, when Player is 'Dow Finsterwald'? ### Response:
SELECT "Country" FROM table_46586 WHERE "Player" = 'dow finsterwald'
### Instruction: What tournament was on May 31, 1987? ### Response:
SELECT tournament FROM table_name_93 WHERE date = "may 31, 1987"
### Instruction: What was the stats of Trinidad and Tobago ### Response:
SELECT "Wind (m/s)" FROM table_495 WHERE "Country" = 'Trinidad and Tobago'
### Instruction: what is the total score for the date of january 3? ### Response:
SELECT COUNT("Score") FROM table_18873 WHERE "Date" = 'January 3'
### Instruction: The person that was born in Sydney died in what year? ### Response:
SELECT born___died FROM table_name_47 WHERE connection_with_australia = "born in sydney"
### Instruction: Who is the writer of episode 13? ### Response:
SELECT COUNT(written_by) FROM table_2226817_8 WHERE no_in_season = 13
### Instruction: What is the duration of the flight with end time of 21:06? ### Response:
SELECT duration FROM table_name_61 WHERE end_time = "21:06"
### Instruction: What rank has an average of 6.33? ### Response:
SELECT AVG("Rank") FROM table_65445 WHERE "Average" = '6.33'
### Instruction: On which date is there a performance of more than 8.22.72? ### Response:
SELECT date FROM table_name_9 WHERE performance = "8.22.72"
### Instruction: How many dates have boston college as the opponent? ### Response:
SELECT COUNT(date) FROM table_21091162_1 WHERE opponent = "Boston College"
### Instruction: What company does Simon Stone direct earlier than 2011? ### Response:
SELECT company FROM table_name_14 WHERE director = "simon stone" AND year < 2011
### Instruction: Namethe school team for season 2008 ### Response:
SELECT school_club_team FROM table_15463188_7 WHERE season = "2008"
### Instruction: what is the special edition where the english version is nick stewart? ### Response:
SELECT "Special edition" FROM table_73749 WHERE "English version" = 'Nick Stewart'
### Instruction: Which Precincts has a County of passaic? ### Response:
SELECT "Precincts" FROM table_59248 WHERE "County" = 'passaic'
### Instruction: What place has manfred kokot as the athlete? ### Response:
SELECT "Place" FROM table_62925 WHERE "Athlete" = 'manfred kokot'
### Instruction: which genre is featured the most in this chart ? ### Response:
SELECT "genre" FROM table_203_501 GROUP BY "genre" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: What is the smallest draws value with 21 points? ### Response:
SELECT MIN(draws) FROM table_14871601_1 WHERE points = 21
### Instruction: Name the london great britain for championship record ### Response:
SELECT "London , Great Britain" FROM table_26213 WHERE "World record" = 'Championship record'
### Instruction: What is Lawson Little's Money ($) amount? ### Response:
SELECT "Money ( $ )" FROM table_58860 WHERE "Player" = 'lawson little'
### Instruction: How many people were in the crowd at Victoria Park? ### Response:
SELECT COUNT("Crowd") FROM table_32406 WHERE "Venue" = 'victoria park'
### Instruction: On what date is Isabel cueto the opponent in the final? ### Response:
SELECT date FROM table_name_78 WHERE opponent_in_the_final = "isabel cueto"
### Instruction: I want the outgoing manager for 19 february ### Response:
SELECT outgoing_manager FROM table_name_57 WHERE date_of_appointment = "19 february"
### Instruction: List the 1st air date for season 12. ### Response:
SELECT "Original air date" FROM table_29520 WHERE "No. in season" = '12'
### Instruction: Which Position has a School/Club Team of stanford? ### Response:
SELECT "Position" FROM table_42997 WHERE "School/Club Team" = 'stanford'
### Instruction: How many millions of viewers watched the episode 'blowups ### Response:
SELECT "Viewers (m)" FROM table_27202 WHERE "Episode" = 'Blowups'
### Instruction: Name the most played for 140 plus is 13 ### Response:
SELECT MAX("Played") FROM table_22272 WHERE "140+" = '13'
### Instruction: What record has points less than 16, and detroit as the home? ### Response:
SELECT record FROM table_name_13 WHERE points < 16 AND home = "detroit"
### Instruction: Where was the game played when the opponent was Oklahoma City, and what was the attendance? ### Response:
SELECT location_attendance FROM table_name_9 WHERE team = "oklahoma city"