instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: how many women were not executed by lethal injection ? ### Response:
SELECT COUNT("name") FROM table_204_867 WHERE "method" <> 'lethal injection'
### Instruction: Who was the opponent on December 27? ### Response:
SELECT "Opponent" FROM table_21651 WHERE "Date" = 'December 27'
### Instruction: What venue featured a notes of 2:38:44? ### Response:
SELECT venue FROM table_name_63 WHERE notes = "2:38:44"
### Instruction: Give me the comparison about the amount of Nationality over the Nationality , and group by attribute Nationality. ### Response:
SELECT Nationality, COUNT(Nationality) FROM swimmer GROUP BY Nationality
### Instruction: What is the day in December of the game against the Boston Bruins? ### Response:
SELECT COUNT(december) FROM table_name_11 WHERE opponent = "boston bruins"
### Instruction: What is the largest silver number when the rank is smaller than 1? ### Response:
SELECT MAX("Silver") FROM table_64130 WHERE "Rank" < '1'
### Instruction: What is the Official ITV1 rating for auditions 4? ### Response:
SELECT official_itv1_rating FROM table_name_96 WHERE episode = "auditions 4"
### Instruction: what is the diagnosis of patient id 2560? ### Response:
SELECT diagnoses.long_title FROM diagnoses WHERE diagnoses.subject_id = "2560"
### Instruction: On what day was Utah Blaze the opponent? ### Response:
SELECT "Date" FROM table_68053 WHERE "Opponent" = 'utah blaze'
### Instruction: Name the maximum height for yury berezhko ### Response:
SELECT MAX(height) FROM table_14363116_1 WHERE player = "Yury Berezhko"
### Instruction: How many points and bonuses did Kurt Busch get? ### Response:
SELECT "Pts/bns" FROM table_3943 WHERE "Driver" = 'Kurt Busch'
### Instruction: What is the song choice when the theme is not aired? ### Response:
SELECT theme FROM table_12175755_1 WHERE song_choice = "Not Aired"
### Instruction: What event did tedd williams fight bill parker? ### Response:
SELECT "Event" FROM table_49148 WHERE "Opponent" = 'bill parker'
### Instruction: Who was the Alabama player associated with Walt Harris? ### Response:
SELECT "Alabama" FROM table_80221 WHERE "Mississippi St." = 'walt harris'
### Instruction: What was the finale for ### Response:
SELECT finale FROM table_10942714_1 WHERE chinese_title = "潮爆大狀"
### Instruction: How many Ranks have ray pickrell as a Rider? ### Response:
SELECT COUNT("Rank") FROM table_74744 WHERE "Rider" = 'ray pickrell'
### Instruction: Visualize a bar chart for how many students play each sport?, and sort bar in ascending order. ### Response:
SELECT SportName, COUNT(*) FROM SportsInfo GROUP BY SportName ORDER BY SportName
### Instruction: Which state has a king named xiang? ### Response:
SELECT "State" FROM table_7199 WHERE "Title" = 'king' AND "Name" = 'xiang'
### Instruction: What is the tie when the home team is Stoke City? ### Response:
SELECT "Tie no" FROM table_27165 WHERE "Home team" = 'Stoke City'
### Instruction: Which player from Scotland has a To Par score of +7? ### Response:
SELECT player FROM table_name_50 WHERE to_par = "+7" AND country = "scotland"
### Instruction: Which was the lowest overall that Wisconsin's team managed? ### Response:
SELECT MIN(overall) FROM table_name_78 WHERE school_club_team = "wisconsin"
### Instruction: What shows for region when the date is february 2006? ### Response:
SELECT region FROM table_name_29 WHERE date = "february 2006"
### Instruction: What is the highest rank of the 2009 xbox? ### Response:
SELECT MAX(rank) FROM table_name_95 WHERE 2009 = "xbox"
### Instruction: What is the most common reason that causes a fire? ### Response:
SELECT stat_cause_descr FROM fires GROUP BY stat_cause_descr ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: Who was the home team of the game at the time of 15:00? ### Response:
SELECT home FROM table_name_33 WHERE time = "15:00"
### Instruction: what is ethnicity of subject id 6983? ### Response:
SELECT demographic.ethnicity FROM demographic WHERE demographic.subject_id = "6983"
### Instruction: When Australian open is the championship what is the lowest year? ### Response:
SELECT MIN("Year") FROM table_73700 WHERE "Championship" = 'Australian Open'
### Instruction: What's the status of the player with 3041 points? ### Response:
SELECT "Status" FROM table_3815 WHERE "Points" = '3041'
### Instruction: How many game entries are there when the points are 57? ### Response:
SELECT COUNT(game) FROM table_27501030_7 WHERE points = 57
### Instruction: What is Runner-up, when Event is Mancora Peru Classic? ### Response:
SELECT runner_up FROM table_name_87 WHERE event = "mancora peru classic"
### Instruction: What is Place, when Player is 'Arnold Palmer'? ### Response:
SELECT "Place" FROM table_48858 WHERE "Player" = 'arnold palmer'
### Instruction: Name the venue that has conv of 5 players on 20 points ### Response:
SELECT venue FROM table_name_12 WHERE conv = "5 players on 20 points"
### Instruction: Tell me the date with result of l 13 9 ### Response:
SELECT "Date" FROM table_54055 WHERE "Result" = 'l 13–9'
### Instruction: What is the 1st leg with Team 2 Lyon? ### Response:
SELECT "1st leg" FROM table_60352 WHERE "Team 2" = 'lyon'
### Instruction: What is the round when the opponent is Andre Roberts? ### Response:
SELECT "Round" FROM table_8728 WHERE "Opponent" = 'andre roberts'
### Instruction: What is the home team score when played at mcg? ### Response:
SELECT "Home team score" FROM table_52263 WHERE "Venue" = 'mcg'
### Instruction: What type of school is in swarthmore, pennsylvania? ### Response:
SELECT type FROM table_254776_1 WHERE location = "Swarthmore, Pennsylvania"
### Instruction: Eletrical Engineering: electronic design automation. ### Response:
SELECT Body FROM Posts WHERE PostTypeId = 2 AND Score >= 7 AND Body LIKE ('%##param##%')
### Instruction: What is the first year that there was a Satellite Award? ### Response:
SELECT MIN(year) FROM table_name_90 WHERE festival_organization = "satellite award"
### Instruction: With original artist of Tina Turner, what is the week number? ### Response:
SELECT "Week #" FROM table_24430 WHERE "Original artist" = 'Tina Turner'
### Instruction: For which Game 4, did David Boyle play in Game 3? ### Response:
SELECT game_4 FROM table_name_41 WHERE game_3 = "david boyle"
### Instruction: WHO AUTHORED 'RED ASPHALT'? ### Response:
SELECT "Written by" FROM table_17389 WHERE "Title" = 'Red Asphalt'
### Instruction: which 1st Member has a Election of 1832 ### Response:
SELECT 1 AS st_member FROM table_name_51 WHERE election = "1832"
### Instruction: Name the number of high points for record 5-17 ### Response:
SELECT COUNT("High points") FROM table_25706 WHERE "Record" = '5-17'
### Instruction: What is the latest year with a 34-0 result? ### Response:
SELECT MAX("Year") FROM table_12590 WHERE "Result" = '34-0'
### Instruction: What station aired a game at 9:00pm? ### Response:
SELECT television FROM table_1672976_6 WHERE time = "9:00PM"
### Instruction: Who is the away side when collingwood is at home? ### Response:
SELECT "Away team" FROM table_32762 WHERE "Home team" = 'collingwood'
### Instruction: How many combined days did Go Shiozaki have? ### Response:
SELECT "Combined days" FROM table_26 WHERE "Wrestler" = 'Go Shiozaki'
### Instruction: What is the total number of ranks that had vestron as the studio? ### Response:
SELECT COUNT("Rank") FROM table_43683 WHERE "Studio" = 'vestron'
### Instruction: How many new entries started in the quarter finals? ### Response:
SELECT "New entries this round" FROM table_22283 WHERE "Round" = 'Quarter finals'
### Instruction: What's the Ball Diameter with the Culture of Olmec? ### Response:
SELECT "Ball diameter" FROM table_6440 WHERE "Culture" = 'olmec'
### Instruction: how many teams scored no points against their opponents ? ### Response:
SELECT COUNT(*) FROM table_204_361 WHERE "score" = 0 OR "score" = 0
### Instruction: What are the maximum and minimum budget of the departments? ### Response:
SELECT MAX(budget_in_billions), MIN(budget_in_billions) FROM department
### Instruction: What was the scale of disaster in Peru? ### Response:
SELECT "Scale of Disaster" FROM table_17004 WHERE "Countries Affected" = 'Peru'
### Instruction: What was the order number where the original artist is The Doors? ### Response:
SELECT "Order #" FROM table_20308 WHERE "Original artist" = 'The Doors'
### Instruction: Which country scored 66-68=134? ### Response:
SELECT country FROM table_name_60 WHERE score = 66 - 68 = 134
### Instruction: what was the only competition where this competitor achieved 1st place ? ### Response:
SELECT "competition" FROM table_204_706 WHERE "position" = 1
### Instruction: What method has randy couture as the opponent? ### Response:
SELECT "Method" FROM table_35504 WHERE "Opponent" = 'randy couture'
### Instruction: On which episode did actress Sela Ward make her last appearance? ### Response:
SELECT "Last appearance" FROM table_16569 WHERE "Portrayed by" = 'Sela Ward'
### Instruction: What is the relationship between student_id and monthly_rental ? ### Response:
SELECT student_id, monthly_rental FROM Student_Addresses ORDER BY monthly_rental DESC
### Instruction: How many episodes had a production code 120? ### Response:
SELECT COUNT("Series #") FROM table_74175 WHERE "Production code" = '120'
### Instruction: What is the Away team score for Away team North Melbourne? ### Response:
SELECT away_team AS score FROM table_name_13 WHERE away_team = "north melbourne"
### Instruction: What is the record for the w 100-99 score? ### Response:
SELECT record FROM table_name_95 WHERE score = "w 100-99"
### Instruction: I want the lowest laps that have a grid of 12 ### Response:
SELECT MIN("Laps") FROM table_10282 WHERE "Grid" = '12'
### Instruction: How many ties were there for game 36 started? ### Response:
SELECT COUNT("Ties") FROM table_1051 WHERE "Games Started" = '36'
### Instruction: how old is the patient with patient id 14755? ### Response:
SELECT demographic.age FROM demographic WHERE demographic.subject_id = "14755"
### Instruction: What is the average Attendance, when Visitor is Toronto? ### Response:
SELECT AVG("Attendance") FROM table_47648 WHERE "Visitor" = 'toronto'
### Instruction: Who's the character when Margot Boyd was acting? ### Response:
SELECT "Character" FROM table_64916 WHERE "Actor" = 'margot boyd'
### Instruction: what is the number of menteri besars that there have been during the pre independence period ? ### Response:
SELECT COUNT("menteri besar") FROM table_204_668
### Instruction: What is the lowest number of f/laps in the 5th position? ### Response:
SELECT MIN(f_laps) FROM table_name_17 WHERE position = "5th"
### Instruction: What is the lowest number of points for game 32? ### Response:
SELECT MIN(points) FROM table_27539808_5 WHERE game = 32
### Instruction: Which Outcome has a Score of 3 6 2 6? ### Response:
SELECT outcome FROM table_name_90 WHERE score = "3–6 2–6"
### Instruction: What is Notes, when Year is '2010'? ### Response:
SELECT "Notes" FROM table_62003 WHERE "Year" = '2010'
### Instruction: Which player was drafted after round 9 and number 464 overall? ### Response:
SELECT player FROM table_name_83 WHERE round > 9 AND overall = 464
### Instruction: What is the number of people who attended the game later than game 6? ### Response:
SELECT COUNT("Attendance") FROM table_69087 WHERE "Game" > '6'
### Instruction: name one of the painters that was last in rank for color . ### Response:
SELECT "painter" FROM table_203_186 ORDER BY "color" LIMIT 1
### Instruction: WWhich rder had a vehicle manufactured by kr211v? ### Response:
SELECT rider FROM table_name_26 WHERE manufacturer = "kr211v"
### Instruction: What is the census division for the city named Kenora? ### Response:
SELECT census_division FROM table_21284653_1 WHERE name = "Kenora"
### Instruction: Peter Hopwood has how many laps in all? ### Response:
SELECT COUNT("Laps") FROM table_65440 WHERE "Entrant" = 'peter hopwood'
### Instruction: In which ceremony was Jayant nominated for an award? ### Response:
SELECT "Ceremony" FROM table_51660 WHERE "Nominee" = 'jayant'
### Instruction: What position is the player Jordan Fransoo in? ### Response:
SELECT position FROM table_11803648_20 WHERE player = "Jordan Fransoo"
### Instruction: How many cytoplasms result in a blue nucleus? ### Response:
SELECT COUNT("Cytoplasm") FROM table_815 WHERE "Nucleus" = 'Blue'
### Instruction: What was the date of the game held at Invesco Field? ### Response:
SELECT "Date" FROM table_14548 WHERE "Game site" = 'invesco field'
### Instruction: What party did robert p. letcher represent? ### Response:
SELECT party FROM table_2668264_8 WHERE incumbent = "Robert P. Letcher"
### Instruction: What was the lowest total with a finish of t47? ### Response:
SELECT MIN("Total") FROM table_12952 WHERE "Finish" = 't47'
### Instruction: Which kit maker have Trond Sollied as a manager? ### Response:
SELECT "Kit maker" FROM table_9233 WHERE "Manager" = 'trond sollied'
### Instruction: What is the highest number killed in incident #14? ### Response:
SELECT MAX("Killed") FROM table_33396 WHERE "Incident No." = '14'
### Instruction: at what time was the patient stephanie suchan admitted in hospital? ### Response:
SELECT demographic.admittime FROM demographic WHERE demographic.name = "Stephanie Suchan"
### Instruction: When hot adult contemporary is the format what is the call sign? ### Response:
SELECT call_sign FROM table_18536769_1 WHERE format = "hot adult contemporary"
### Instruction: What was the attendance when Nuneaton Borough was the home team? ### Response:
SELECT attendance FROM table_name_44 WHERE home_team = "nuneaton borough"
### Instruction: How many games were played against the Chicago Bears? ### Response:
SELECT COUNT("Record") FROM table_19742 WHERE "Opponent" = 'Chicago Bears'
### Instruction: What is the fame number when the Montreal Canadiens were the opponent? ### Response:
SELECT COUNT(game) FROM table_name_56 WHERE opponent = "montreal canadiens"
### Instruction: how many consecutive victories included an enemy aircraft as the foe ? ### Response:
SELECT COUNT(*) FROM table_204_353 WHERE "foe" = 'enemy aircraft'
### Instruction: What was the score when the NY Islanders was the visiting team? ### Response:
SELECT "Score" FROM table_77550 WHERE "Visitor" = 'ny islanders'
### Instruction: which model is the only model to have the lowest caliber ? ### Response:
SELECT "model" FROM table_203_253 ORDER BY "caliber(s)" LIMIT 1
### Instruction: What is the Class AAAAA when the Class AAA is Gonzales? ### Response:
SELECT class_aAAA FROM table_name_28 WHERE class_aAA = gonzales
### Instruction: How many year was the venue in stockholm, sweden used? ### Response:
SELECT COUNT(year) FROM table_name_65 WHERE venue = "stockholm, sweden"
### Instruction: What's the hometown of rachel muyot soriano? ### Response:
SELECT hometown FROM table_name_67 WHERE delegate = "rachel muyot soriano"
### Instruction: Name the result for first elected being 1992 ### Response:
SELECT result FROM table_19753079_4 WHERE first_elected = 1992
### Instruction: How many Big 12 teams made it to the Final Four? ### Response:
SELECT "Final Four" FROM table_4605 WHERE "Conference" = 'big 12'