instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: What is the latest after when the player is Steve Stricker? ### Response:
SELECT MAX(after) FROM table_24108789_4 WHERE player = "Steve Stricker"
### Instruction: Show me the proportion on what is the number of players who have points less than 30 for each position? ### Response:
SELECT Position, COUNT(*) FROM player WHERE Points < 30 GROUP BY Position
### Instruction: how many players scored at least 25 or more points ? ### Response:
SELECT COUNT(DISTINCT "player") FROM table_203_871 WHERE "pts" >= 25
### Instruction: Which city station is owned by Coyote Communications? ### Response:
SELECT "City of License" FROM table_68567 WHERE "Status" = 'owned by coyote communications'
### Instruction: Name the candidates for selah r. hobbie ### Response:
SELECT candidates FROM table_2668243_17 WHERE incumbent = "Selah R. Hobbie"
### Instruction: What is the school of the player from Lake Charles, LA? ### Response:
SELECT "School" FROM table_17054 WHERE "Hometown" = 'Lake Charles, LA'
### Instruction: What is the leading scorer on february 1? ### Response:
SELECT leading_scorer FROM table_11964047_8 WHERE date = "February 1"
### Instruction: Who was the opponent when the series was at 1-3? ### Response:
SELECT "Opponent" FROM table_15509 WHERE "Series" = '1-3'
### Instruction: how long was daniel pfister behind first place / ### Response:
SELECT "behind" FROM table_204_862 WHERE "athlete" = 'daniel pfister'
### Instruction: Which Overall is the average one that has a Name of vance walker? ### Response:
SELECT AVG(overall) FROM table_name_95 WHERE name = "vance walker"
### Instruction: In what city did oklahoma win the tournament. ### Response:
SELECT tournament_venue__city_ FROM table_24348134_3 WHERE tournament_winner = "Oklahoma"
### Instruction: What station has average ratings of 14.7%? ### Response:
SELECT "TV Station" FROM table_66109 WHERE "Average Ratings" = '14.7%'
### Instruction: In what year was the winner a soccer player from Virginia? ### Response:
SELECT SUM(year) FROM table_name_81 WHERE sport = "soccer" AND college = "virginia"
### Instruction: If the market name is Xperia U, what is the weight? ### Response:
SELECT "Weight" FROM table_26143 WHERE "Market name" = 'Xperia U'
### Instruction: What is the Distance of the 1945 Vuelta a Espana with 4A Stage? ### Response:
SELECT distance FROM table_name_20 WHERE stage = "4a"
### Instruction: What is every denomination for the school Seymour college? ### Response:
SELECT denomination FROM table_22043925_1 WHERE school = "Seymour College"
### Instruction: What is the time with FB notes for Canada? ### Response:
SELECT "Time" FROM table_62948 WHERE "Notes" = 'fb' AND "Country" = 'canada'
### Instruction: What season episode is written by neil thompson? ### Response:
SELECT MIN("No. in season") FROM table_1951 WHERE "Written by" = 'Neil Thompson'
### Instruction: what was the least number of points scored in a win ? ### Response:
SELECT MIN("result/score") FROM table_203_383 WHERE "result/score" = 'w'
### Instruction: Return a bar chart about the distribution of personal_name and author_id . ### Response:
SELECT personal_name, author_id FROM Course_Authors_and_Tutors ORDER BY personal_name
### Instruction: Who was the opponent at the game with a result of l 27 3? ### Response:
SELECT opponent FROM table_name_52 WHERE result = "l 27–3"
### Instruction: What is the highest attendance a result of W 30-7? ### Response:
SELECT MAX(attendance) FROM table_name_57 WHERE result = "w 30-7"
### Instruction: When the team is yale what is max amount of times they placed fourth? ### Response:
SELECT MAX("Fourth place") FROM table_1313 WHERE "Team" = 'Yale'
### Instruction: how many albums held a chart position of at least 10 or less ? ### Response:
SELECT COUNT("album") FROM table_203_512 WHERE "chart position" <= 10
### Instruction: how many years did earl ball coach the muncie flyers ? ### Response:
SELECT COUNT("year") FROM table_200_32 WHERE "coach" = 'earl ball'
### Instruction: Who picked dimitri tsoumpas? ### Response:
SELECT cfl_team FROM table_16575609_1 WHERE player = "Dimitri Tsoumpas"
### Instruction: Give me a bar chart for the total number of each budget type code ### Response:
SELECT Budget_Type_Code, COUNT(*) FROM Documents_with_Expenses GROUP BY Budget_Type_Code
### Instruction: How many years did Real Colorado Foxes make it to the Open Cup 1st Round? ### Response:
SELECT COUNT(year) FROM table_name_9 WHERE open_cup = "1st round"
### Instruction: Name the segment c for crash test dummies ### Response:
SELECT COUNT("Segment C") FROM table_19895 WHERE "Segment D" = 'Crash Test Dummies'
### Instruction: How many semifinalists has Romania had? ### Response:
SELECT "Semifinalists" FROM table_31410 WHERE "Country/Territory" = 'Romania'
### Instruction: how many incumbent with district being tennessee 5 ### Response:
SELECT COUNT("Incumbent") FROM table_18409 WHERE "District" = 'Tennessee 5'
### Instruction: What club or province is the player with 12 caps from? ### Response:
SELECT "Club/province" FROM table_56414 WHERE "Caps" = '12'
### Instruction: What is Country, when HDTV is yes, and when Content is cinema? ### Response:
SELECT country FROM table_name_29 WHERE hdtv = "yes" AND content = "cinema"
### Instruction: how many world performance cars were entered in 2009 ? ### Response:
SELECT "world performance car" FROM table_203_838 WHERE "year" = 2009
### Instruction: What character does Italian voice actor Emanuela Damasio play? ### Response:
SELECT "Character" FROM table_5918 WHERE "Italian voice actor" = 'emanuela damasio'
### Instruction: Give the proportion of how many hours do the students spend studying in each department? ### Response:
SELECT DEPT_CODE, SUM(STU_HRS) FROM STUDENT GROUP BY DEPT_CODE
### Instruction: find the names of people who are taller than 200 or lower than 190. ### Response:
SELECT name FROM people WHERE height > 200 OR height < 190
### Instruction: Return the name, location, and seating of the track that was opened in the most recent year. ### Response:
SELECT name, location, seating FROM track ORDER BY year_opened DESC LIMIT 1
### Instruction: How many episodes were broadcast in 2010? ### Response:
SELECT COUNT("Episode") FROM table_26665 WHERE "Broadcast Date" = '2010'
### Instruction: How man teams had a total weight of 57.5? ### Response:
SELECT COUNT("Group") FROM table_73856 WHERE "Weight (kg)" = '57.5'
### Instruction: Tell me the circuit for 10 may for targa florio ### Response:
SELECT circuit FROM table_name_79 WHERE date = "10 may" AND name = "targa florio"
### Instruction: What Team 2 has a second leg of 1-0? ### Response:
SELECT "Team 2" FROM table_71675 WHERE "2nd leg" = '1-0'
### Instruction: When did the 113 episode air? ### Response:
SELECT original_air_date FROM table_10718631_2 WHERE no_in_series = 113
### Instruction: What's the total number of game that has 377 points? ### Response:
SELECT SUM("Games") FROM table_44998 WHERE "Points" = '377'
### Instruction: I want the Grand Final Date for season 1988 ### Response:
SELECT "Grand FinalDate" FROM table_10209 WHERE "Season" = '1988'
### Instruction: What away team played at Glenferrie Oval? ### Response:
SELECT "Away team" FROM table_32618 WHERE "Venue" = 'glenferrie oval'
### Instruction: What was the location of the game when the record was 12-4? ### Response:
SELECT "Location" FROM table_75872 WHERE "Record" = '12-4'
### Instruction: For player is john jakopin mention the total number of position ### Response:
SELECT COUNT(position) FROM table_2781227_4 WHERE player = "John Jakopin"
### Instruction: how many times is the production code is 201a? ### Response:
SELECT COUNT("Title") FROM table_29255 WHERE "Production code" = '201a'
### Instruction: The match played July 8, 2007 had what outcome? ### Response:
SELECT outcome FROM table_name_54 WHERE date = "july 8, 2007"
### Instruction: clinical diagnosis of a bacterial or viral infection ### Response:
SELECT * FROM table_train_67 WHERE active_infection = 1 OR viral_infection = 1
### Instruction: What Label has a Catalog of 486 136-2? ### Response:
SELECT label FROM table_name_13 WHERE catalog = "486 136-2"
### Instruction: WHAT IS THE PACKAGE VERSION WITH TELUS MOBILITY? ### Response:
SELECT package_version FROM table_name_74 WHERE carrier = "telus mobility"
### Instruction: What is the report for the race name V Ulster Trophy? ### Response:
SELECT "Report" FROM table_16775 WHERE "Race Name" = 'V Ulster Trophy'
### Instruction: What catalog uses the stereo compact cassette format? ### Response:
SELECT "Catalog" FROM table_47064 WHERE "Format" = 'stereo compact cassette'
### Instruction: how many times is there more than 0 draws and more than 0 losses? ### Response:
SELECT COUNT(played) FROM table_name_5 WHERE drawn > 0 AND lost > 0
### Instruction: Show all sport name and the number of students Show bar chart, rank by the X from high to low. ### Response:
SELECT SportName, COUNT(*) FROM SportsInfo GROUP BY SportName ORDER BY SportName DESC
### Instruction: What time did the game at memorial stadium take place? ### Response:
SELECT "Time ( ET )" FROM table_39687 WHERE "Location" = 'memorial stadium'
### Instruction: How many touchdowns did the player with 10 points have? ### Response:
SELECT MIN("Touchdowns") FROM table_28071 WHERE "Points" = '10'
### Instruction: What was the date when the first audition venue was Kemper Arena? ### Response:
SELECT date FROM table_name_40 WHERE first_audition_venue = "kemper arena"
### Instruction: What is the aggregate number of Position that has a Bike No of 4? ### Response:
SELECT COUNT("Position") FROM table_44227 WHERE "Bike No" = '4'
### Instruction: What body is at the World Championship for Underwater Target shooting? ### Response:
SELECT body FROM table_name_12 WHERE event_type = "world championship" AND sport = "underwater target shooting"
### Instruction: What are the average, maximum, and minimum number of floors for all buildings? ### Response:
SELECT AVG(floors), MAX(floors), MIN(floors) FROM building
### Instruction: what the the end number where albert rains was running ### Response:
SELECT COUNT(result) FROM table_1342233_3 WHERE incumbent = "Albert Rains"
### Instruction: which buildings are taller than 500 ft ? ### Response:
SELECT "name" FROM table_203_837 WHERE "height\nft / m" > 500
### Instruction: What is the total amount of circuts dated 22 april? ### Response:
SELECT COUNT(circuit) FROM table_1140105_6 WHERE date = "22 April"
### Instruction: How many different numbers for Afinsa when value is 5p? ### Response:
SELECT COUNT("Afinsa") FROM table_22194 WHERE "Value" = '5P'
### Instruction: How many people were in the crowd at collingwood's home game? ### Response:
SELECT SUM(crowd) FROM table_name_46 WHERE home_team = "collingwood"
### Instruction: Which player is in position center for round 2? ### Response:
SELECT "Player" FROM table_34153 WHERE "Round" = '2' AND "Position" = 'center'
### Instruction: Who is the director of the episode titled 'The Reunion Job'? ### Response:
SELECT "Directed by" FROM table_23828 WHERE "Title" = 'The Reunion Job'
### Instruction: What was the result of the September 8, 1985 game? ### Response:
SELECT result FROM table_name_3 WHERE date = "september 8, 1985"
### Instruction: What color commentator(s) were in 2010? ### Response:
SELECT "Color commentator" FROM table_21759 WHERE "Year" = '2010'
### Instruction: When 2008 is the year how many divisions are there? ### Response:
SELECT COUNT("Division") FROM table_23379 WHERE "Year" = '2008'
### Instruction: With which kind of payment method were the least number of payments processed? ### Response:
SELECT Payment_Method_Code FROM Payments GROUP BY Payment_Method_Code ORDER BY COUNT(*) LIMIT 1
### Instruction: Which year has has a Engine of maserati straight-6? ### Response:
SELECT COUNT("Year") FROM table_71846 WHERE "Engine" = 'maserati straight-6'
### Instruction: What School Year has a Class AAAA of Dickinson? ### Response:
SELECT "School Year" FROM table_43454 WHERE "Class AAAA" = 'dickinson'
### Instruction: For Model e64 what is the zAAPs/zIIPs? ### Response:
SELECT zaaps___ziips FROM table_name_36 WHERE model = "e64"
### Instruction: What was the results against the Philadelphia Eagles? ### Response:
SELECT "Result" FROM table_43528 WHERE "Opponent" = 'philadelphia eagles'
### Instruction: Bar chart x axis meter 600 y axis id, show by the X from low to high. ### Response:
SELECT meter_600, ID FROM swimmer ORDER BY meter_600
### Instruction: What is the First Branch Opened, when Branch is Belmont Library? ### Response:
SELECT "First branch opened" FROM table_41562 WHERE "Branch" = 'belmont library'
### Instruction: Name the webcast for website of and frequency of 103.3 ### Response:
SELECT webcast FROM table_name_5 WHERE website = "•" AND frequency = 103.3
### Instruction: What was the outcome of the final with a partner of Brett Steven? ### Response:
SELECT "Outcome" FROM table_65796 WHERE "Partner" = 'brett steven'
### Instruction: Which player scored the most points and how many were scored on November 6? ### Response:
SELECT "High points" FROM table_29907 WHERE "Date" = 'November 6'
### Instruction: What was the Score of the Spain F32, Gran Canaria Tournament? ### Response:
SELECT score FROM table_name_70 WHERE tournament = "spain f32, gran canaria"
### Instruction: Name the name or route for slope length being 336 ### Response:
SELECT "Name or route" FROM table_21934 WHERE "slope length" = '336'
### Instruction: What is the least amount of silver medals a team with less than 0 gold medals has? ### Response:
SELECT MIN(silver) FROM table_name_68 WHERE gold < 0
### Instruction: What was the attendance number for the Timberwolves game? ### Response:
SELECT SUM("Location Attendance") FROM table_55408 WHERE "Team" = 'timberwolves'
### Instruction: who achieved a time that was at least faster than 54.20 ? ### Response:
SELECT "name" FROM table_204_3 WHERE "time" <= 54.20
### Instruction: What was the result under interim head coach, Gary Darnell? ### Response:
SELECT result FROM table_name_62 WHERE interim_head_coach = "gary darnell"
### Instruction: What's the format of the single, I Can't Stay? ### Response:
SELECT "Format" FROM table_63599 WHERE "Single" = 'i can''t stay'
### Instruction: Return a histogram on how old is each gender, on average?, and could you show bars in asc order please? ### Response:
SELECT gender, AVG(age) FROM Person GROUP BY gender ORDER BY gender
### Instruction: What was the surface of the match against bethanie mattek-sands? ### Response:
SELECT surface FROM table_name_83 WHERE opponent = "bethanie mattek-sands"
### Instruction: state the skating song of graeme & kristina ### Response:
SELECT "Skating song" FROM table_2137 WHERE "Couple" = 'Graeme & Kristina'
### Instruction: what state had only 30 seats in their assembly ? ### Response:
SELECT "state" FROM table_203_562 WHERE "total no. of seats in assembly" = 30
### Instruction: Which Crowd has a Venue of princes park? ### Response:
SELECT MIN("Crowd") FROM table_51887 WHERE "Venue" = 'princes park'
### Instruction: What is Venue, when Balls is '148'? ### Response:
SELECT "Venue" FROM table_62481 WHERE "Balls" = '148'
### Instruction: Who is the home captain that won AUS by 245 runs? ### Response:
SELECT home_captain FROM table_name_93 WHERE result = "aus by 245 runs"
### Instruction: For record 25-24, what is the sum of attendance? ### Response:
SELECT COUNT(attendance) FROM table_name_83 WHERE record = "25-24"
### Instruction: What is the chassis more recent than 1967? ### Response:
SELECT "Chassis" FROM table_58737 WHERE "Year" > '1967'
### Instruction: how many different countries won at least one stage in the 1964 tour de france ? ### Response:
SELECT COUNT(DISTINCT "winner") FROM table_203_44