instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: Where Award is newcomer actress, what is the work? ### Response:
SELECT "Work" FROM table_11358 WHERE "Award" = 'newcomer actress'
### Instruction: Name the entrant for benedicto campos ### Response:
SELECT "Entrant" FROM table_24676 WHERE "Driver" = 'Benedicto Campos'
### Instruction: What is the catalog number for the Grilled Cheese label? ### Response:
SELECT "Catalog" FROM table_59367 WHERE "Label" = 'grilled cheese'
### Instruction: What is the venue on 3 September 1972? ### Response:
SELECT venue FROM table_name_57 WHERE date = "3 september 1972"
### Instruction: Which team has a 59.8% completion rate? ### Response:
SELECT "Team" FROM table_71845 WHERE "Completion %" = '59.8%'
### Instruction: When was the game when Footscray was the away team? ### Response:
SELECT "Date" FROM table_74782 WHERE "Away team" = 'footscray'
### Instruction: List email address and birthday of customer whose first name as Carole. ### Response:
SELECT email_address, date_of_birth FROM customers WHERE first_name = "Carole"
### Instruction: Name the district of lawrence j. smith ### Response:
SELECT "District" FROM table_698 WHERE "Incumbent" = 'Lawrence J. Smith'
### Instruction: Who was the recipient of an award of 4,203? ### Response:
SELECT recipient FROM table_name_22 WHERE award = "£4,203"
### Instruction: Which class has *alanaz as Part 4? ### Response:
SELECT "Class" FROM table_50829 WHERE "Part 4" = '*alanaz'
### Instruction: What episode is titled 'Authority Vested'? ### Response:
SELECT MAX("No. in season") FROM table_2293 WHERE "Title" = 'Authority Vested'
### Instruction: What city is the Northeast Louisiana University located in? ### Response:
SELECT "City" FROM table_31692 WHERE "Host" = 'northeast louisiana university'
### Instruction: Which Rank has a Years of 1998 present? ### Response:
SELECT AVG(rank) FROM table_name_82 WHERE years = "1998–present"
### Instruction: What's the nationality of Louisiana Tech? ### Response:
SELECT "Nationality" FROM table_44328 WHERE "College" = 'louisiana tech'
### Instruction: What are the rank/s of Eddie Guerrero? ### Response:
SELECT "#" FROM table_73483 WHERE "Name" = 'Eddie Guerrero'
### Instruction: What body styles have 6/75 as the model? ### Response:
SELECT "Body Styles" FROM table_5035 WHERE "Model" = '6/75'
### Instruction: What is the Home team in the game with a Score of 2 3? ### Response:
SELECT home_team FROM table_name_17 WHERE score = "2–3"
### Instruction: Which term in office has an Electorate of hinkler? ### Response:
SELECT term_in_office FROM table_name_65 WHERE electorate = "hinkler"
### Instruction: What is the home team of the game on February 3? ### Response:
SELECT "Home" FROM table_55392 WHERE "Date" = 'february 3'
### Instruction: Name the total number of pitcher for 9 overall rank ### Response:
SELECT COUNT(pitcher) FROM table_242813_2 WHERE overall_rank = 9
### Instruction: Which team has a 1:10.998 best? ### Response:
SELECT team FROM table_name_87 WHERE best = "1:10.998"
### Instruction: What is the sum of Bronze when the total is more than 27? ### Response:
SELECT SUM(bronze) FROM table_name_91 WHERE total > 27
### Instruction: Who faced off against St Kilda at their home? ### Response:
SELECT "Away team score" FROM table_56439 WHERE "Home team" = 'st kilda'
### Instruction: What president was elected in 2010? ### Response:
SELECT "President" FROM table_70956 WHERE "Elected" = '2010'
### Instruction: What away has toronto downtown dingos as the home? ### Response:
SELECT away FROM table_name_71 WHERE home = "toronto downtown dingos"
### Instruction: how many class with poles being bigger than 1.0 ### Response:
SELECT COUNT("Class") FROM table_19148 WHERE "Poles" > '1.0'
### Instruction: What is the Total with a Player named robbie winters? ### Response:
SELECT "Total" FROM table_6507 WHERE "Player" = 'robbie winters'
### Instruction: Tell me the voting turnout for 1985 general elections ### Response:
SELECT voting_turnout FROM table_name_91 WHERE general_elections = 1985
### Instruction: What was the maximum attendance when Chicago is the visiting team? ### Response:
SELECT MAX("Attendance") FROM table_9841 WHERE "Visitor" = 'chicago'
### Instruction: How many tournaments were held in Maryland? ### Response:
SELECT COUNT(tournament) FROM table_11603006_1 WHERE location = "Maryland"
### Instruction: What's Dave Fortier's pick number? ### Response:
SELECT COUNT("Pick #") FROM table_17449 WHERE "Player" = 'Dave Fortier'
### Instruction: What is the original airdate of episode #31? ### Response:
SELECT "Original air date" FROM table_30863 WHERE "Episode #" = '31'
### Instruction: count yearid for visualizing a line chart, and sort X in asc order. ### Response:
SELECT yearid, COUNT(yearid) FROM hall_of_fame ORDER BY yearid
### Instruction: What is the maximum acres in Castledermot? ### Response:
SELECT MAX("s Acre") FROM table_4114 WHERE "Civil parish" = 'Castledermot'
### Instruction: What is the To Par score for the player from South Africa? ### Response:
SELECT "To par" FROM table_78620 WHERE "Country" = 'south africa'
### Instruction: how many consecutive games were played in houston , tx ? ### Response:
SELECT COUNT(*) FROM table_203_636 WHERE "location" = 'houston, tx'
### Instruction: What is the birthplace and date of pick 4? ### Response:
SELECT "Birthplace, Date" FROM table_45621 WHERE "Pick" = '4'
### Instruction: Which away team played the home team of Footscray? ### Response:
SELECT "Away team" FROM table_57249 WHERE "Home team" = 'footscray'
### Instruction: what were the total number of songs that peaked at number one according to this chart ? ### Response:
SELECT COUNT(*) FROM table_203_7 WHERE "peak" = 1
### Instruction: What is the mean game played on January 9? ### Response:
SELECT AVG("Game") FROM table_44290 WHERE "Date" = 'january 9'
### Instruction: When 55 is the tries for what is the lost? ### Response:
SELECT lost FROM table_17941032_1 WHERE tries_for = "55"
### Instruction: What is the track whent the vocal percussionist is unknown? ### Response:
SELECT "Track" FROM table_4089 WHERE "Vocal Percussionist" = 'unknown'
### Instruction: What is the winning % for the 2010 QF? ### Response:
SELECT win__percentage FROM table_name_3 WHERE 2010 = "qf"
### Instruction: What couple had less than 2.0 points from the public? ### Response:
SELECT couple FROM table_19744915_22 WHERE public < 2.0
### Instruction: what is the minimum points with highest position being 1 ### Response:
SELECT MIN(points) FROM table_13789248_2 WHERE highest_position = 1
### Instruction: Which game was on 14 January 1973? ### Response:
SELECT game FROM table_name_31 WHERE date = "14 january 1973"
### Instruction: What is the motive before 2007? ### Response:
SELECT "Motive" FROM table_14685 WHERE "Year" < '2007'
### Instruction: Show me the total number by grape in a histogram, sort by the bar in desc. ### Response:
SELECT Grape, COUNT(*) FROM wine GROUP BY Grape ORDER BY Grape DESC
### Instruction: Which stadium is for football with the China League One? ### Response:
SELECT stadium FROM table_name_34 WHERE sport = "football" AND league = "china league one"
### Instruction: Which Shooter has Score points of olympic silver medalist? ### Response:
SELECT shooter FROM table_name_40 WHERE score_points = "olympic silver medalist"
### Instruction: Which player was previously on the New York Knicks? ### Response:
SELECT "Player" FROM table_12450 WHERE "Previous team" = 'new york knicks'
### Instruction: What was the result in the voting district Kentucky 2? ### Response:
SELECT "Result" FROM table_72401 WHERE "District" = 'Kentucky 2'
### Instruction: What was the finale for ### Response:
SELECT "Finale" FROM table_16355 WHERE "Chinese title" = '潮爆大狀'
### Instruction: When did the Wolverhampton Wanderers play at home? ### Response:
SELECT date FROM table_name_52 WHERE home_team = "wolverhampton wanderers"
### Instruction: Which Date has a Score of 112 118? ### Response:
SELECT date FROM table_name_58 WHERE score = "112–118"
### Instruction: What are the first names and department numbers for employees with last name McEwen? ### Response:
SELECT first_name, department_id FROM employees WHERE last_name = 'McEwen'
### Instruction: What result occurs when the round is 4 leg 2? ### Response:
SELECT "Result" FROM table_57188 WHERE "Round" = '4 leg 2'
### Instruction: What was the score on 7 february 2008? ### Response:
SELECT score FROM table_name_42 WHERE date = "7 february 2008"
### Instruction: What is the name of team 2 that has 1-2 as the score? ### Response:
SELECT team_2 FROM table_name_91 WHERE score = "1-2"
### Instruction: who scored first rank in the first heat ? ### Response:
SELECT "name" FROM table_204_71 WHERE "rank" = 1 AND "heat" = 1
### Instruction: In what prefecture is Daito located? ### Response:
SELECT prefecture FROM table_2518850_4 WHERE city_town = "Daito"
### Instruction: What was the home team's score at Corio Oval? ### Response:
SELECT home_team AS score FROM table_name_20 WHERE venue = "corio oval"
### Instruction: What was the score when the Celtics played Washington at home? ### Response:
SELECT score FROM table_27722408_11 WHERE team = "Washington"
### Instruction: What ride opened after 2011? ### Response:
SELECT "Current Name" FROM table_31743 WHERE "Year First Opened" > '2011'
### Instruction: What is the average goals for Essi Sainio? ### Response:
SELECT AVG("Goals") FROM table_76949 WHERE "Name" = 'essi sainio'
### Instruction: What is the number of votes for the party which got more than 28 seats? ### Response:
SELECT COUNT(votes) FROM table_name_67 WHERE seats > 28
### Instruction: What is the time where the record is 10-1? ### Response:
SELECT "Time" FROM table_12210 WHERE "Record" = '10-1'
### Instruction: What is the team name when 243 is the total? ### Response:
SELECT "Team Name" FROM table_24712 WHERE "Total" = '243'
### Instruction: who was the last noted ruler ? ### Response:
SELECT "family name (in bold) and personal name" FROM table_203_347 ORDER BY id DESC LIMIT 1
### Instruction: What Torque has a Power of HP (KW)? ### Response:
SELECT "Torque" FROM table_36889 WHERE "Power" = 'hp (kw)'
### Instruction: Which mountain peak has spanish peaks? ### Response:
SELECT "Mountain Peak" FROM table_56123 WHERE "Mountain Range" = 'spanish peaks'
### Instruction: On what date was the record 8 6 3? ### Response:
SELECT "Date" FROM table_37586 WHERE "Record" = '8–6–3'
### Instruction: What Surface has a Date of 1 september 2008? ### Response:
SELECT surface FROM table_name_18 WHERE date = "1 september 2008"
### Instruction: When the points are less than 65 what is the drop #? ### Response:
SELECT COUNT("Drop") FROM table_12049 WHERE "Points" < '65'
### Instruction: How many games were played where exactly 15 points were scored? ### Response:
SELECT SUM("Played") FROM table_41677 WHERE "Points" = '15'
### Instruction: How many draws were there in 2006? ### Response:
SELECT "Draws" FROM table_76391 WHERE "Year" = '2006'
### Instruction: Which year did The Adventures of Tintin come out? ### Response:
SELECT SUM(year) FROM table_name_17 WHERE film = "the adventures of tintin"
### Instruction: What was the score of the home team at junction oval? ### Response:
SELECT home_team AS score FROM table_name_19 WHERE venue = "junction oval"
### Instruction: What episode number was written by Gregg Hurwitz? ### Response:
SELECT no FROM table_24938621_3 WHERE written_by = "Gregg Hurwitz"
### Instruction: In what game did the New York Rangers play against the Chicago Black Hawks? ### Response:
SELECT game FROM table_name_5 WHERE opponent = "chicago black hawks"
### Instruction: Who is the Composer of ' peace will come '? ### Response:
SELECT "Composer" FROM table_59853 WHERE "Song" = ' peace will come '
### Instruction: Which Artist's song is listed as ' missing '? ### Response:
SELECT "Artist(s)" FROM table_34331 WHERE "Song" = ' missing '
### Instruction: What was the result of the Top 12 Men theme? ### Response:
SELECT "Result" FROM table_29676 WHERE "Theme" = 'Top 12 Men'
### Instruction: what number is associated with the name chartist ( )? ### Response:
SELECT "Number" FROM table_4478 WHERE "Name" = 'chartist (чартист)'
### Instruction: what is the listing date for nuckolls county? ### Response:
SELECT "Listed" FROM table_49332 WHERE "County" = 'nuckolls'
### Instruction: If the innings is 68, what is the average? ### Response:
SELECT "Average" FROM table_25971 WHERE "Innings" = '68'
### Instruction: What is the lowest number of students from a state during the Fall 06 semester? ### Response:
SELECT MIN("Fall 06") FROM table_19825
### Instruction: Find the marketing region description of China? ### Response:
SELECT marketing_region_descriptrion FROM marketing_regions WHERE marketing_region_name = "China"
### Instruction: triglycerides greater than 600 mg / dl ### Response:
SELECT * FROM table_dev_15 WHERE triglyceride_tg > 600
### Instruction: Which countries won by 9 strokes? ### Response:
SELECT country FROM table_1520559_1 WHERE margin_of_victory = "9 strokes"
### Instruction: In Ascot (UK), what was the result? ### Response:
SELECT result FROM table_14981555_3 WHERE venue = "Ascot (UK)"
### Instruction: Plot how many country by grouped by country as a bar graph, show X from high to low order. ### Response:
SELECT Country, COUNT(Country) FROM member GROUP BY Country ORDER BY Country DESC
### Instruction: What was the final rank of the Brewers in 1980? ### Response:
SELECT finish FROM table_name_63 WHERE team_season = "1980"
### Instruction: What is the Format o Catalog F4 87199? ### Response:
SELECT format FROM table_name_99 WHERE catalog = "f4 87199"
### Instruction: which countries were commentated on by gordana bonetti ### Response:
SELECT "Country" FROM table_22366 WHERE "Commentator" = 'Gordana Bonetti'
### Instruction: Which stadium hosted the November 20 game? ### Response:
SELECT "Stadium" FROM table_68804 WHERE "Date" = 'november 20'
### Instruction: how many jstations have an rf of at least 29 ? ### Response:
SELECT COUNT(*) FROM table_204_793 WHERE "rf" >= 29
### Instruction: Name the spectators for 11 november 2011 ### Response:
SELECT spectators FROM table_name_57 WHERE date = "11 november 2011"
### Instruction: how many voted in the texas 6 section ### Response:
SELECT first_elected FROM table_1341884_45 WHERE district = "Texas 6"
### Instruction: What is shown on Friday when Tuesday is Jay Mohr Sports? ### Response:
SELECT friday FROM table_name_25 WHERE tuesday = "jay mohr sports"