instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Name the cfl team for saskatchewan ### Response:
SELECT cfl_team FROM table_25017530_6 WHERE college = "Saskatchewan"
### Instruction: What is the highest Round that lasted 1:44? ### Response:
SELECT MAX("Round") FROM table_48249 WHERE "Time" = '1:44'
### Instruction: What is sheffield united's away team? ### Response:
SELECT "Away team" FROM table_61415 WHERE "Home team" = 'sheffield united'
### Instruction: Who is the Driver with the Team of P & L Mechanical Services? ### Response:
SELECT "Driver" FROM table_38378 WHERE "Team" = 'p & l mechanical services'
### Instruction: What was the original are date of series number 71? ### Response:
SELECT "Original air date" FROM table_21997 WHERE "No. in series" = '71'
### Instruction: What is the score for Fitzroy when they are the home team? ### Response:
SELECT "Home team score" FROM table_32384 WHERE "Home team" = 'fitzroy'
### Instruction: How many numbers belong to the player with 10 assists? ### Response:
SELECT COUNT(number) FROM table_25401874_1 WHERE assists = 10
### Instruction: What is the lowest nuber of games drawn in the total column? ### Response:
SELECT MIN("Drawn") FROM table_11146 WHERE "Against" = 'total'
### Instruction: What difference has a points greater than 10, and a drawn less than 2? ### Response:
SELECT difference FROM table_name_66 WHERE points > 10 AND drawn < 2
### Instruction: What was the attendance where the record was 8-4? ### Response:
SELECT MIN("Attendance") FROM table_78115 WHERE "Record" = '8-4'
### Instruction: What is the Maltese word for the Malay word rabu? ### Response:
SELECT "Maltese" FROM table_36503 WHERE "Malay" = 'rabu'
### Instruction: What is Viewers, when Episode is 'A Family Affair'? ### Response:
SELECT "Viewers" FROM table_8885 WHERE "Episode" = 'a family affair'
### Instruction: How many neighborhoods have a station proposed at a Hospital? ### Response:
SELECT COUNT("City/Neighborhood") FROM table_25298 WHERE "Station" = 'Hospital'
### Instruction: How many points has more than 15 wins and less than 10 losses? ### Response:
SELECT points FROM table_name_54 WHERE wins > 15 AND losses < 10
### Instruction: Who is the coach for the Northamptonshire Steelbacks? ### Response:
SELECT coach FROM table_name_36 WHERE team = "northamptonshire steelbacks"
### Instruction: What was the 1st leg when team 2 was nov milenium? ### Response:
SELECT 1 AS st_leg FROM table_name_7 WHERE team_2 = "nov milenium"
### Instruction: Who was the lyricist for composer Haewon Park? ### Response:
SELECT lyricist_s_ FROM table_name_36 WHERE composer_s_ = "haewon park"
### Instruction: What was the latest episode of 'House of Cards'? ### Response:
SELECT MAX("Episode #") FROM table_126 WHERE "Title" = 'House of Cards'
### Instruction: If the special weapon is the Grenado, what is the armor? ### Response:
SELECT "Armor" FROM table_74163 WHERE "Special weapon" = 'Grenado'
### Instruction: The years produced for the cylinder layout v8 are what? ### Response:
SELECT "Years produced" FROM table_28590 WHERE "Cylinder Layout" = 'V8'
### Instruction: How many sets of marks does Tonioli get in week 3? ### Response:
SELECT COUNT("Tonioli") FROM table_22451 WHERE "Week #" = '3'
### Instruction: What is the district of the incumbent Thomas Larkin Thompson? ### Response:
SELECT district FROM table_name_37 WHERE incumbent = "thomas larkin thompson"
### Instruction: suspected ( cultures drawn and antibiotic given ) or confirmed ( via culture results ) infection ### Response:
SELECT * FROM table_train_31 WHERE active_infection = 1
### Instruction: What was the record for the Orangemen when they played against Army? ### Response:
SELECT "Record" FROM table_25993 WHERE "Opponent" = 'Army'
### Instruction: Name the recorded for translation of sleep my love, good night ### Response:
SELECT "Recorded" FROM table_53942 WHERE "Translation" = 'sleep my love, good night'
### Instruction: What year did Karl Schnabl win the Winter Olympics? ### Response:
SELECT "Winter Olympics" FROM table_21697 WHERE "Winner" = 'Karl Schnabl'
### Instruction: How many is the high assist total for players from panama? ### Response:
SELECT MAX(assists) FROM table_29743928_3 WHERE country = "Panama"
### Instruction: Name the result for already famous ### Response:
SELECT result FROM table_21790203_1 WHERE film_title_used_in_nomination = "Already Famous"
### Instruction: What party does incumbent edwin reinecke represent? ### Response:
SELECT party FROM table_1341738_6 WHERE incumbent = "Edwin Reinecke"
### Instruction: What was the score when the record was 39-62? ### Response:
SELECT "Score" FROM table_56273 WHERE "Record" = '39-62'
### Instruction: What is the total number of rank for the country of greece? ### Response:
SELECT COUNT("Rank") FROM table_65512 WHERE "Country" = 'greece'
### Instruction: Which co drivers are 3rd in Joest racing? ### Response:
SELECT co_drivers FROM table_name_23 WHERE pos = "3rd" AND team = "joest racing"
### Instruction: When was the date of appointment by Hugo Broos? ### Response:
SELECT "Date of appointment" FROM table_29457 WHERE "Replaced by" = 'Hugo Broos'
### Instruction: Which Partner has a Date of 8 february 2009? ### Response:
SELECT partner FROM table_name_57 WHERE date = "8 february 2009"
### Instruction: How many Attendances on 13 april 1903? ### Response:
SELECT attendance FROM table_name_37 WHERE date = "13 april 1903"
### Instruction: What is the name of the school that is in Valparaiso? ### Response:
SELECT "School" FROM table_37017 WHERE "Location" = 'valparaiso'
### Instruction: When 31901 is the population what is the county? ### Response:
SELECT county FROM table_23248420_1 WHERE population = 31901
### Instruction: What's the average finish in 2008? ### Response:
SELECT avg_finish FROM table_1909647_2 WHERE year = 2008
### Instruction: How many catches does hh dippenaar have? ### Response:
SELECT "Catches" FROM table_54705 WHERE "Player" = 'hh dippenaar'
### Instruction: When aspect computing is the yacht what is the sail number? ### Response:
SELECT sail_number FROM table_1858574_2 WHERE yacht = "Aspect Computing"
### Instruction: What is the hometown of Jarrid Famous? ### Response:
SELECT hometown FROM table_29418619_1 WHERE name = "Jarrid Famous"
### Instruction: Which candidate won 88 votes in Queens in 1921? ### Response:
SELECT "1921" FROM table_136 WHERE "Queens" = '88'
### Instruction: Which Nickname has Founded of 1954? ### Response:
SELECT "Nickname" FROM table_47874 WHERE "Founded" = '1954'
### Instruction: What date did Episode 22 originally air? ### Response:
SELECT COUNT(original_airdate) FROM table_23392257_4 WHERE _number = 22
### Instruction: What is the score in the final of the tournament with a hard surface? ### Response:
SELECT "Score in the final" FROM table_13706 WHERE "Surface" = 'hard'
### Instruction: What is the home team's score for north melbourne? ### Response:
SELECT "Home team score" FROM table_33758 WHERE "Home team" = 'north melbourne'
### Instruction: Name the score for rebeka dremelj ### Response:
SELECT "Score" FROM table_24321 WHERE "Artist" = 'Rebeka Dremelj'
### Instruction: Name who wrote the 11 number in the season ### Response:
SELECT written_by FROM table_15584067_7 WHERE no_in_season = "11"
### Instruction: What Week 2 has a Week 4 of piret aava? ### Response:
SELECT week_2 FROM table_name_63 WHERE week_4 = "piret aava"
### Instruction: Name the women's singles for 2012 ### Response:
SELECT "Women's singles" FROM table_38968 WHERE "Year" = '2012'
### Instruction: Count - iOS questions that contain <code>. ### Response:
SELECT COUNT(Title) FROM Posts AS Question WHERE Question.Body LIKE '%<code>%' AND Question.Tags LIKE '%windows-phone%'
### Instruction: display those employees who joined after 7th September, 1987. ### Response:
SELECT * FROM employees WHERE hire_date > '1987-09-07'
### Instruction: What is the date that the Institution of Lynn University was founded on? ### Response:
SELECT "Founded" FROM table_58246 WHERE "Institution" = 'lynn university'
### Instruction: Name the total number of grounds for essendon ### Response:
SELECT COUNT(ground) FROM table_16388047_1 WHERE home_team = "Essendon"
### Instruction: Which week's game had an attendance of 90,138? ### Response:
SELECT week FROM table_name_37 WHERE attendance = "90,138"
### Instruction: Name the 2011 for tokyo tournament ### Response:
SELECT "2011" FROM table_70103 WHERE "Tournament" = 'tokyo'
### Instruction: Which Opponent has a Series of bruins lead 2 1? ### Response:
SELECT opponent FROM table_name_91 WHERE series = "bruins lead 2–1"
### Instruction: What Adminstration has a Season of 2000? ### Response:
SELECT "Administration" FROM table_64467 WHERE "Season" = '2000'
### Instruction: Count the number of people of each sex who have a weight higher than 85 by a bar chart. ### Response:
SELECT Sex, COUNT(*) FROM people WHERE Weight > 85 GROUP BY Sex
### Instruction: The president, peter williamson, had how many home grounds? ### Response:
SELECT COUNT("Home Ground") FROM table_189 WHERE "President" = 'Peter Williamson'
### Instruction: When the Border Conference was held, who was the tournament winner? ### Response:
SELECT "Tournament Winner" FROM table_25255 WHERE "Conference" = 'Border Conference'
### Instruction: What is the CC displacement for 1965? ### Response:
SELECT "Displacement cc" FROM table_60273 WHERE "Year" = '1965'
### Instruction: Name the college for calgary stampeders ### Response:
SELECT "College" FROM table_20904 WHERE "CFL Team" = 'Calgary Stampeders'
### Instruction: Which Player has a Place of T2 and a Country listed as Fiji? ### Response:
SELECT player FROM table_name_33 WHERE place = "t2" AND country = "fiji"
### Instruction: Who is the call sign that has a commenced operation before 1976? ### Response:
SELECT callsign FROM table_name_3 WHERE commenced_operations < 1976
### Instruction: How many years have a Player name of ronnie bull? ### Response:
SELECT SUM("Year") FROM table_67763 WHERE "Player name" = 'ronnie bull'
### Instruction: What is the final position/round of the UEFA cup? ### Response:
SELECT "Final position / round" FROM table_55138 WHERE "Competition" = 'uefa cup'
### Instruction: What is the station type of DWMC-TV? ### Response:
SELECT station_type FROM table_2610582_3 WHERE callsign = "DWMC-TV"
### Instruction: For team Atl tico Nacional, what were the points? ### Response:
SELECT points FROM table_16795394_3 WHERE team__number2 = "Atlético Nacional"
### Instruction: What is the Runner-up on April 11? ### Response:
SELECT "Runner-up" FROM table_47616 WHERE "Week" = 'april 11'
### Instruction: Name the det/pre-amp with # of tubes of 8 ### Response:
SELECT det_pre_amp FROM table_name_74 WHERE _number_tubes = "8"
### Instruction: What school is in the Missouri Synod school corporation? ### Response:
SELECT "School" FROM table_13814 WHERE "School Corp." = 'missouri synod'
### Instruction: A bar chart shows the distribution of meter_600 and ID , show by the Y from high to low. ### Response:
SELECT meter_600, ID FROM swimmer ORDER BY ID DESC
### Instruction: How many gold medals were awarded to teams ranked higher than 19? ### Response:
SELECT COUNT("Gold") FROM table_7331 WHERE "Rank" > '19'
### Instruction: Name the outcome with tournament of mexico f12, obreg n ### Response:
SELECT outcome FROM table_name_57 WHERE tournament = "mexico f12, obregón"
### Instruction: Who is the artist with catalog number ZK 34354? ### Response:
SELECT artist FROM table_name_38 WHERE catalog__number = "zk 34354"
### Instruction: What day did the VFL play Punt Road Oval? ### Response:
SELECT "Date" FROM table_58120 WHERE "Venue" = 'punt road oval'
### Instruction: For game site Schaefer Stadium, what were the results? ### Response:
SELECT result FROM table_17928023_1 WHERE game_site = "Schaefer Stadium"
### Instruction: How many wines are there for each grape, and show x-axis from high to low order. ### Response:
SELECT Grape, COUNT(*) FROM wine GROUP BY Grape ORDER BY Grape DESC
### Instruction: Who is the candidate wehre district is louisiana 1? ### Response:
SELECT candidates FROM table_1342198_18 WHERE district = "Louisiana 1"
### Instruction: What is the average song rating for each language Plot them as bar chart, display by the X in ascending. ### Response:
SELECT languages, AVG(rating) FROM song GROUP BY languages ORDER BY languages
### Instruction: Where is friendship collegiate charter school located ### Response:
SELECT hometown FROM table_11677691_8 WHERE school = "Friendship Collegiate Charter school"
### Instruction: What was November 4, 1973 attendance? ### Response:
SELECT attendance FROM table_name_64 WHERE date = "november 4, 1973"
### Instruction: Name the D 42 with D 43 of d 14 ### Response:
SELECT d_42 FROM table_name_7 WHERE d_43 = "d 14"
### Instruction: What are the different positions of players from UCLA or Duke colleges? ### Response:
SELECT DISTINCT position FROM match_season WHERE college = "UCLA" OR college = "Duke"
### Instruction: How many people attended the Edmonton Oilers game? ### Response:
SELECT attendance FROM table_16864968_8 WHERE opponent = "Edmonton Oilers"
### Instruction: how many athletes have been flag bearers for samoa at the olympic games ? ### Response:
SELECT COUNT(DISTINCT "flag bearer") FROM table_204_986
### Instruction: What tournament was Laura Davies the runner-up? ### Response:
SELECT "Tournament" FROM table_9533 WHERE "Runner(s)-up" = 'laura davies'
### Instruction: What is the Date with a Home that is hamilton wildcats? ### Response:
SELECT "Date" FROM table_75857 WHERE "Home" = 'hamilton wildcats'
### Instruction: What is the Political group for p. maelius capitolinus? ### Response:
SELECT political_group FROM table_name_58 WHERE name = "p. maelius capitolinus"
### Instruction: Who vacated the Pennsylvania 6th district? ### Response:
SELECT "Vacator" FROM table_25069 WHERE "District" = 'Pennsylvania 6th'
### Instruction: Find the policy type used by more than 4 customers. ### Response:
SELECT policy_type_code FROM available_policies GROUP BY policy_type_code HAVING COUNT(*) > 4
### Instruction: What is Date, when Home Team is 'Luton Town'? ### Response:
SELECT "Date" FROM table_49923 WHERE "Home team" = 'luton town'
### Instruction: With a subjunctive of du m chast what is the imperative? ### Response:
SELECT imperative FROM table_name_37 WHERE subjunctive = "du måchast"
### Instruction: how many games did larry johnson play ? ### Response:
SELECT "games played" FROM table_203_621 WHERE "player" = 'larry johnson'
### Instruction: What is the highest f/laps with less than 0 wins? ### Response:
SELECT MAX("F/Laps") FROM table_13931 WHERE "Wins" < '0'
### Instruction: What is the control type which was founded in 1991? ### Response:
SELECT "Control" FROM table_23905 WHERE "Founded" = '1991'
### Instruction: who was the opponent where the date was the 21st? ### Response:
SELECT opponent FROM table_17120964_9 WHERE date = "21st"
### Instruction: What was the record after the bout with Alexis Vila? ### Response:
SELECT "Record" FROM table_37137 WHERE "Opponent" = 'alexis vila'
### Instruction: A bar chart about the number of first name for all female students whose sex is F. ### Response:
SELECT Fname, COUNT(Fname) FROM Student WHERE Sex = 'F' GROUP BY Fname