instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: what are all the rating with viewers (m) being 2.61 ### Response:
SELECT rating FROM table_13110459_2 WHERE viewers__m_ = "2.61"
### Instruction: What points has 18 for the played and bala rfc as the club? ### Response:
SELECT points_for FROM table_name_31 WHERE played = "18" AND club = "bala rfc"
### Instruction: what was the date of the only match to occur in sapporo , japan ? ### Response:
SELECT "date" FROM table_203_565 WHERE "location" = 'sapporo, japan'
### Instruction: What are the Runner(s)-up of the 1972 Championship? ### Response:
SELECT "Runner(s)-up" FROM table_44719 WHERE "Year" = '1972'
### Instruction: specify gender and death status of patient id 42820 ### Response:
SELECT demographic.gender, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "42820"
### Instruction: Who is the rector of the residence hall who's mascot is the phoxes? ### Response:
SELECT rector FROM table_15873547_1 WHERE mascot = "Phoxes"
### Instruction: What television service is in italy and is in english? ### Response:
SELECT "Television service" FROM table_72732 WHERE "Country" = 'Italy' AND "Language" = 'English'
### Instruction: What was the lowest week in the month of August against Andrew Combs? ### Response:
SELECT MIN(week) FROM table_name_60 WHERE month = "august" AND offensive = "andrew combs"
### Instruction: What opponent was playing against the Golden Bears when they scored 3 points? ### Response:
SELECT "Opponent" FROM table_24079 WHERE "Golden Bears points" = '3'
### Instruction: What is the name for the best of 1:45.361? ### Response:
SELECT "Name" FROM table_44255 WHERE "Best" = '1:45.361'
### Instruction: What is the total when the score of set 1 is 15 11? ### Response:
SELECT "Total" FROM table_55015 WHERE "Set 1" = '15–11'
### Instruction: What is the maximum week that 69,372 people attended the game? ### Response:
SELECT MAX("Week") FROM table_12996 WHERE "Attendance" = '69,372'
### Instruction: How many names correspond to the value 101 for appearances? ### Response:
SELECT COUNT("Name") FROM table_26942 WHERE "Appearances\u00b9" = '101'
### Instruction: the episode directed by art dielhenn was what number in the series? ### Response:
SELECT "No. in series" FROM table_74242 WHERE "Directed by" = 'Art Dielhenn'
### Instruction: What is Years, when Win-Loss is 11-60? ### Response:
SELECT "Years" FROM table_44566 WHERE "Win-Loss" = '11-60'
### Instruction: What is the position for outgoing manager alfredo merino ### Response:
SELECT position_in_table FROM table_27495117_3 WHERE outgoing_manager = "Alfredo Merino"
### Instruction: 2013 of 4 4 is involved in what 2006? ### Response:
SELECT 2006 FROM table_name_59 WHERE 2013 = "4–4"
### Instruction: How many total goals were made at the game on 15 November 1989? ### Response:
SELECT COUNT(goal) FROM table_name_81 WHERE date = "15 november 1989"
### Instruction: What song is it that artist morena camilleri does and has more than 38 points ### Response:
SELECT song FROM table_name_46 WHERE points > 38 AND artist = "morena camilleri"
### Instruction: When the 8th is Marcos Hernandez who was the 6th? ### Response:
SELECT "Sixth" FROM table_72842 WHERE "Eighth" = 'Marcos Hernandez'
### Instruction: What is the nationality of the goalie in Round 7? ### Response:
SELECT "Nationality" FROM table_78284 WHERE "Round" = '7' AND "Position" = 'goalie'
### Instruction: What is the hometown of Mike White? ### Response:
SELECT "Hometown/School" FROM table_14102 WHERE "Position" = 'of' AND "Player" = 'mike white'
### Instruction: how many current patients are of age 60 or above? ### Response:
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.hospitaldischargetime IS NULL AND patient.age >= 60
### Instruction: which university has the least in endowment ? ### Response:
SELECT "institution" FROM table_203_592 ORDER BY "2013 endowment\n(and us rank)" LIMIT 1
### Instruction: Name the score with opponent of javier genaro-martinez ### Response:
SELECT "Score" FROM table_71607 WHERE "Opponent" = 'javier genaro-martinez'
### Instruction: Tell me the scoring average for year less than 1998 and wins more than 3 ### Response:
SELECT scoring_average FROM table_name_92 WHERE year < 1998 AND wins > 3
### Instruction: What is the total of overall values with a safety position in a round greater than 1? ### Response:
SELECT COUNT(overall) FROM table_name_26 WHERE position = "safety" AND round > 1
### Instruction: When did the home team score 13.11 (89)? ### Response:
SELECT "Date" FROM table_11875 WHERE "Home team score" = '13.11 (89)'
### Instruction: when did the institution at chapel hill, North carolina join acc? ### Response:
SELECT joined_acc FROM table_28744929_1 WHERE location = "Chapel Hill, North Carolina"
### Instruction: Who was the participant or recipient for the Best Female Actor? ### Response:
SELECT participants_recipients FROM table_26282750_1 WHERE category = "Best Female Actor"
### Instruction: How many clubs were founded in the westfalenstadion stadium? ### Response:
SELECT COUNT(founded) FROM table_26218124_1 WHERE stadium = "Westfalenstadion"
### Instruction: How many points did the team who had 132 total points have in round 1? ### Response:
SELECT MAX("Round1") FROM table_3137 WHERE "Total points" = '132'
### Instruction: What is Match Report, when Venue is 'Westfalenstadion , Dortmund'? ### Response:
SELECT match_report FROM table_name_92 WHERE venue = "westfalenstadion , dortmund"
### Instruction: What year was the locomotive withdrawn that was made in 1876? ### Response:
SELECT year_s__withdrawn FROM table_name_90 WHERE year_made = "1876"
### Instruction: What is the model of the engine d5244 t7? ### Response:
SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5244 T7"
### Instruction: What is the Almali village with the S sk n village z rn ? ### Response:
SELECT almalı__qax_ FROM table_name_77 WHERE süskən = "zərnə"
### Instruction: Who was listed under the general classification when the stage winner was suhardi hassan? ### Response:
SELECT "General classification" FROM table_29315 WHERE "Stage winner" = 'Suhardi Hassan'
### Instruction: When did chatham complete the Hmsmedusa? ### Response:
SELECT "Completed" FROM table_75744 WHERE "Builder" = 'chatham' AND "Name" = 'hmsmedusa'
### Instruction: What's the GFL Premiership when the home ground was Leopold Memorial Park? ### Response:
SELECT gfl_premierships FROM table_name_4 WHERE home_ground = "leopold memorial park"
### Instruction: What title did George Fury win when on the Oran Park Raceway? ### Response:
SELECT race_title FROM table_name_6 WHERE winner = "george fury" AND circuit = "oran park raceway"
### Instruction: What is the length of fleet number 501-506? ### Response:
SELECT "Length" FROM table_35931 WHERE "Fleet Number" = '501-506'
### Instruction: Which Best Actress has a Year of 2012 6th? ### Response:
SELECT "Best Actress" FROM table_35090 WHERE "Year" = '2012 6th'
### Instruction: What type has a GNIS ID of 1139805 ### Response:
SELECT "type" FROM table_71532 WHERE "GNIS ID" = '1139805'
### Instruction: What were the results in the election where Albert Wynn was the incumbent? ### Response:
SELECT results FROM table_1341423_20 WHERE incumbent = "Albert Wynn"
### Instruction: Which category was william ivey long a nominee and nominated in? ### Response:
SELECT category FROM table_name_55 WHERE result = "nominated" AND nominee = "william ivey long"
### Instruction: Where are all school boards associated with a number of elementary schools of 96? ### Response:
SELECT "School Board" FROM table_1174 WHERE "Number of Elementary Schools" = '96'
### Instruction: Where was held the ceremony for the 12th Pride of Britain Awards? ### Response:
SELECT location FROM table_13943239_1 WHERE episode = "12th Pride of Britain Awards"
### Instruction: When the Mole was Petrina Edge, what was the potential prize money? ### Response:
SELECT "Potential prize money" FROM table_59558 WHERE "Mole" = 'petrina edge'
### Instruction: How many years of kindergarten is provided in Ticino? ### Response:
SELECT years_of_kindergarten AS provided FROM table_1831309_1 WHERE canton = "Ticino"
### Instruction: Which European election (UK) has a Share of votes of 19%? ### Response:
SELECT european_election__uk_ FROM table_name_41 WHERE share_of_votes = "19%"
### Instruction: What is the high grid total for maserati with under 35 laps? ### Response:
SELECT MAX(grid) FROM table_name_64 WHERE laps < 35 AND constructor = "maserati"
### Instruction: What is the Population n1891 of the County with Sleaford Headquarters? ### Response:
SELECT MAX(population_1891) FROM table_name_44 WHERE headquarters = "sleaford"
### Instruction: If the player is Reed Doughty, what isthe fumrec? ### Response:
SELECT fumrec FROM table_25773915_11 WHERE player = "Reed Doughty"
### Instruction: Which Opponent in the final has a Partnering of graydon oliver? ### Response:
SELECT opponent_in_the_final FROM table_name_88 WHERE partnering = "graydon oliver"
### Instruction: What's the 1981 census of Livorno? ### Response:
SELECT 1981 AS _census FROM table_10138926_1 WHERE city = "Livorno"
### Instruction: Who was the spouse of the consort who was born as rania al yassin? ### Response:
SELECT spouse_to FROM table_name_27 WHERE born_as = "rania al yassin"
### Instruction: what is age and discharge time of subject id 2560? ### Response:
SELECT demographic.age, demographic.dischtime FROM demographic WHERE demographic.subject_id = "2560"
### Instruction: What venue featured a crowd of over 30,000? ### Response:
SELECT "Venue" FROM table_74758 WHERE "Crowd" > '30,000'
### Instruction: Name the number of sement d for solar water heaters ### Response:
SELECT COUNT(segment_d) FROM table_15187735_18 WHERE segment_b = "Solar Water Heaters"
### Instruction: How many episodes had New York, New York as the location? ### Response:
SELECT COUNT(episode_number) FROM table_24798489_1 WHERE location = "New York, New York"
### Instruction: What is the Musical Guest/Song with a pilot of 3? ### Response:
SELECT "Musical Guest/Song performed" FROM table_40936 WHERE "Pilot" = '3'
### Instruction: What Season has wins as the philadelphia warriors (nba)? ### Response:
SELECT "Season" FROM table_40425 WHERE "Wins" = 'philadelphia warriors (nba)'
### Instruction: Plot the number of result by grouped by result as a bar graph, and sort by the Y in descending. ### Response:
SELECT Result, COUNT(Result) FROM music_festival GROUP BY Result ORDER BY COUNT(Result) DESC
### Instruction: How many different heights are there for the contestants from Warsaw? ### Response:
SELECT COUNT(height__ft_) FROM table_20669355_2 WHERE hometown = "Warsaw"
### Instruction: What is the fastest time for athlete Jason Smyth? ### Response:
SELECT "Fastest time (s)" FROM table_70312 WHERE "Athlete" = 'jason smyth'
### Instruction: Name the sarasota samantha sharpe ### Response:
SELECT sarasota FROM table_17085724_1 WHERE indianapolis_concerts = "Samantha Sharpe"
### Instruction: What was the album Closer: The Best of Sarah Mclachlan certified as? ### Response:
SELECT certification FROM table_name_88 WHERE album = "closer: the best of sarah mclachlan"
### Instruction: What is the Attendance of the game September 21, 2003? ### Response:
SELECT attendance FROM table_name_36 WHERE date = "september 21, 2003"
### Instruction: What is the original air date for the episode written by daniel dratch? ### Response:
SELECT original_air_date FROM table_25716399_1 WHERE written_by = "Daniel Dratch"
### Instruction: how many institutions have at least 1000 listed for enrollment ? ### Response:
SELECT COUNT("institution") FROM table_203_135 WHERE "enrollment" >= 1000
### Instruction: Frequency MHz of 88.7 had what average erp w? ### Response:
SELECT AVG(erp_w) FROM table_name_50 WHERE frequency_mhz = 88.7
### Instruction: What is the Outcome of the match with a Score of 6 1, 6 1? ### Response:
SELECT outcome FROM table_name_22 WHERE score = "6–1, 6–1"
### Instruction: What is the most members Europe had when Australia had 94615? ### Response:
SELECT MAX(europe) FROM table_1914090_2 WHERE australia = 94615
### Instruction: What was the average attendance for games played at Atlanta Falcons? ### Response:
SELECT AVG("Attendance") FROM table_77283 WHERE "Opponent" = 'at atlanta falcons'
### Instruction: Where did Day & Age rank in the Rolling Stone in 2008? ### Response:
SELECT SUM(rank) FROM table_name_60 WHERE publication = "rolling stone" AND year = 2008
### Instruction: What's the largest amount of assists juan ignacio s nchez ever had? ### Response:
SELECT MAX(assists) FROM table_name_30 WHERE name = "juan ignacio sánchez"
### Instruction: Who is the rider with a 399cc Kawasaki? ### Response:
SELECT "Rider" FROM table_77587 WHERE "Team" = '399cc kawasaki'
### Instruction: In fitzroy's match where they were the home team, how much did they score? ### Response:
SELECT "Home team score" FROM table_54953 WHERE "Home team" = 'fitzroy'
### Instruction: I want the site for september 29, 2013 ### Response:
SELECT "Site" FROM table_54625 WHERE "Date" = 'september 29, 2013'
### Instruction: Which 2002 has a 2009 of 2r? ### Response:
SELECT "2002" FROM table_41031 WHERE "2009" = '2r'
### Instruction: what is the minimum overall attendance where the goals scored were 19? ### Response:
SELECT MIN("Overall attendance") FROM table_29763 WHERE "Overall goals scored" = '19'
### Instruction: what's the preliminaries with average being 9.360 ### Response:
SELECT "Preliminaries" FROM table_17366 WHERE "Average" = '9.360'
### Instruction: Which lane ranked less than 4 for the Netherlands? ### Response:
SELECT "Lane" FROM table_14357 WHERE "Rank" < '4' AND "Nationality" = 'netherlands'
### Instruction: What country scored 69-69-73=211? ### Response:
SELECT country FROM table_name_24 WHERE score = 69 - 69 - 73 = 211
### Instruction: Pundit comments, with scores, sorted DESC. ### Response:
SELECT Id AS "comment_link", Score FROM Comments WHERE UserId = '##UserId##' AND Score > 0 ORDER BY Score DESC
### Instruction: Which authority has a rocket launch called rehbar-5? ### Response:
SELECT COUNT(derivatives) FROM table_11869952_1 WHERE rocket_launch = "Rehbar-5"
### Instruction: whats the sex of patient 006-116961? ### Response:
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '006-116961'
### Instruction: What is Score, when Date is '2000-05-23'? ### Response:
SELECT score FROM table_name_93 WHERE date = "2000-05-23"
### Instruction: What platform came out before 2009 with the game wii sports? ### Response:
SELECT platform_s_ FROM table_name_38 WHERE year < 2009 AND game = "wii sports"
### Instruction: What was the round 5 score if the team's total points where 212? ### Response:
SELECT round5 FROM table_16815824_1 WHERE total_points = 212
### Instruction: Who was the home team when attendance was over 41,846? ### Response:
SELECT "Home team" FROM table_4491 WHERE "Crowd" > '41,846'
### Instruction: What is the original air date of the episode directed by Jeff Melman? ### Response:
SELECT original_air_date FROM table_13477468_3 WHERE directed_by = "Jeff Melman"
### Instruction: What is the score of the scores when Game had a Record of 17-29? ### Response:
SELECT SUM("Game") FROM table_35313 WHERE "Record" = '17-29'
### Instruction: What was the overall draft number of Tom Fleming, a wide receiver? ### Response:
SELECT COUNT(overall) FROM table_name_28 WHERE position = "wide receiver" AND player = "tom fleming"
### Instruction: What is the gender of Congresswoman Jaime Herrera Beutler's baby? ### Response:
SELECT baby_gender FROM table_name_66 WHERE congresswoman = "jaime herrera beutler"
### Instruction: What title does Overkill have before 1984? ### Response:
SELECT "Title" FROM table_6682 WHERE "Artist" = 'overkill' AND "Year" < '1984'
### Instruction: What is the name for the listed date of 11/21/1989? ### Response:
SELECT name FROM table_name_42 WHERE listed = "11/21/1989"
### Instruction: What is the hawthorn score at the year 2000? ### Response:
SELECT hawthorn_score FROM table_28211103_1 WHERE year = 2000
### Instruction: Who had the fastest lap in the Belgian Grand Prix? ### Response:
SELECT fastest_lap FROM table_1132600_3 WHERE grand_prix = "Belgian grand_prix"
### Instruction: What was France's highest score when the venue was Bokskogens? ### Response:
SELECT MAX(score) FROM table_name_1 WHERE country = "france" AND venue = "bokskogens"