instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: who is the candidate in district south carolina 2? ### Response:
SELECT "Candidates" FROM table_72435 WHERE "District" = 'South Carolina 2'
### Instruction: How many servers have a kernel version 3.11? ### Response:
SELECT COUNT("Servers") FROM table_22919 WHERE "Kernel Version" = '3.11'
### Instruction: Who is the director of the original title perl oder pica? ### Response:
SELECT director FROM table_22073745_1 WHERE original_title = "Perl oder Pica"
### Instruction: What was the earliest year for the Ligier Gitanes? ### Response:
SELECT MIN("Year") FROM table_68427 WHERE "Entrant" = 'ligier gitanes'
### Instruction: On what dates were episodes written by Robert Carlock aired? ### Response:
SELECT "Original air date" FROM table_19651 WHERE "Written by" = 'Robert Carlock'
### Instruction: how many matches did jones kusi asare play in in his first season ? ### Response:
SELECT "matches" FROM table_204_235 ORDER BY "season" LIMIT 1
### Instruction: Which country has doosan infracore as then company name? ### Response:
SELECT country FROM table_237199_1 WHERE company_name = "Doosan Infracore"
### Instruction: What is Time, when Geust is AC Bellinzona (CHL)? ### Response:
SELECT time FROM table_name_77 WHERE geust = "ac bellinzona (chl)"
### Instruction: What is the total count of TD longs more than 29? ### Response:
SELECT COUNT("Long") FROM table_55157 WHERE "TD's" > '29'
### Instruction: Who is the player that plays position c on the New York Knicks? ### Response:
SELECT player FROM table_name_54 WHERE team = "new york knicks" AND position = "c"
### Instruction: Which Time has an Opponent of josh branham? ### Response:
SELECT "Time" FROM table_48084 WHERE "Opponent" = 'josh branham'
### Instruction: WHAT IS THE TOTAL NUMBER WITH A WARD SMALLER THAN 0? ### Response:
SELECT COUNT(total) FROM table_name_80 WHERE ward < 0
### Instruction: Which venue resulted in 2nd before 2005? ### Response:
SELECT venue FROM table_name_27 WHERE result = "2nd" AND year < 2005
### Instruction: before she was in dubshatar , which film did she make a special appearance in ? ### Response:
SELECT "film" FROM table_203_18 WHERE "notes" = 'special appearance'
### Instruction: What is the 2nd leg of team 2 Far rabat? ### Response:
SELECT 2 AS nd_leg FROM table_name_92 WHERE team_2 = "far rabat"
### Instruction: Name the number of party for new york 29 ### Response:
SELECT COUNT(party) FROM table_1341423_32 WHERE district = "New York 29"
### Instruction: Who was the winner of the race at barbagallo raceway? ### Response:
SELECT "Winner" FROM table_23989 WHERE "Circuit" = 'Barbagallo Raceway'
### Instruction: What was the score of the game played on January 19? ### Response:
SELECT score FROM table_15780049_6 WHERE date = "January 19"
### Instruction: What was the away team that played the home team of Geelong? ### Response:
SELECT "Away team" FROM table_33119 WHERE "Home team" = 'geelong'
### Instruction: What lowest Bodyweight has a Snatch smaller than 55? ### Response:
SELECT MIN("Bodyweight") FROM table_11418 WHERE "Snatch" < '55'
### Instruction: What state/territory has lovett tower as the building? ### Response:
SELECT "State / Territory" FROM table_42336 WHERE "Building" = 'lovett tower'
### Instruction: What services were in the area of operation Wadi Borjuj? ### Response:
SELECT "Services" FROM table_15342 WHERE "Area of Operation" = 'wadi borjuj'
### Instruction: What is the largest capacity for the stadium for Treviso club? ### Response:
SELECT MAX("Capacity") FROM table_10240 WHERE "Club" = 'treviso'
### Instruction: Name the number of black knights points for 3 game ### Response:
SELECT COUNT(black_knights_points) FROM table_21091145_1 WHERE game = 3
### Instruction: Name the candidates for first elected being 1976 ### Response:
SELECT candidates FROM table_25030512_24 WHERE first_elected = "1976"
### Instruction: What are the names and ids of customers whose address contains TN. Visualize by pie chart. ### Response:
SELECT customer_name, customer_id FROM Customers WHERE customer_address LIKE "%TN%"
### Instruction: How many titles have a production code of 211? ### Response:
SELECT COUNT(title) FROM table_16581695_3 WHERE production_code = 211
### Instruction: What was the date of the game against the New York Jets? ### Response:
SELECT "Date" FROM table_7437 WHERE "Opponent" = 'new york jets'
### Instruction: What is the lowest number of bids in the Missouri Valley conference? ### Response:
SELECT MIN(_number_of_bids) FROM table_name_47 WHERE conference = "missouri valley"
### Instruction: How many rebounds were there in 2008? ### Response:
SELECT COUNT(rebounds) FROM table_13050003_2 WHERE year = 2008
### Instruction: what is robin's stat when jason was 2.5 ### Response:
SELECT robin FROM table_19744915_3 WHERE jason = "2.5"
### Instruction: What's the English Pluperfect when the Bulgarian is ? ### Response:
SELECT "English" FROM table_64655 WHERE "Bulgarian" = 'бяха чули'
### Instruction: What is the third entry in the row with a first entry of 'club'? ### Response:
SELECT won FROM table_12792876_2 WHERE "club" = "club"
### Instruction: What song was directed by Shankar Jaikishan? ### Response:
SELECT song FROM table_name_13 WHERE music_director_s_ = "shankar jaikishan"
### Instruction: A plural abbreviation of pp. is used for what singular word? ### Response:
SELECT "Singular Word" FROM table_58005 WHERE "Plural abbreviation" = 'pp.'
### Instruction: What is the density of yushan county? ### Response:
SELECT COUNT(density) FROM table_1300525_1 WHERE english_name = "Yushan County"
### Instruction: Who is every incumbent when Kentucky 2 is the district? ### Response:
SELECT incumbent FROM table_2668352_5 WHERE district = "Kentucky 2"
### Instruction: Which episode number was associated with Vibhav Gautam? ### Response:
SELECT "Episode Number" FROM table_67260 WHERE "Name" = 'vibhav gautam'
### Instruction: geriatric depression scales ( gds ) >= 10 . ### Response:
SELECT * FROM table_train_99 WHERE geriatric_depression_scale_gds >= 10
### Instruction: What are the distinct publishers of publications with price higher than 5000000? ### Response:
SELECT DISTINCT publisher FROM publication WHERE price > 5000000
### Instruction: number of teams not to win a match in first leg ### Response:
SELECT COUNT("team #1") FROM table_203_350 WHERE "1st leg" < "1st leg"
### Instruction: What is the result for the match that was only 2:48 long? ### Response:
SELECT "Res." FROM table_46318 WHERE "Time" = '2:48'
### Instruction: For each classroom, show the classroom number and count the number of distinct grades that use the room. ### Response:
SELECT classroom, COUNT(DISTINCT grade) FROM list GROUP BY classroom
### Instruction: What was the final score when the Buffalo Bills were the visiting team? ### Response:
SELECT final_score FROM table_name_94 WHERE visiting_team = "buffalo bills"
### Instruction: What's the home record of the team with percentage of .168? ### Response:
SELECT "Home Record" FROM table_2754 WHERE "Percentage" = '.168'
### Instruction: What is the total number of rounds for the player of Rell Tipton? ### Response:
SELECT COUNT("Round") FROM table_6396 WHERE "Player" = 'rell tipton'
### Instruction: Wha is the rank for 52 574 avg. att? ### Response:
SELECT rank FROM table_name_49 WHERE avgatt = "52 574"
### Instruction: what is marital status of subject name steven sepulveda? ### Response:
SELECT demographic.marital_status FROM demographic WHERE demographic.name = "Steven Sepulveda"
### Instruction: What is the score for the away team at Victoria Park? ### Response:
SELECT "Away team score" FROM table_10535 WHERE "Venue" = 'victoria park'
### Instruction: if there are 30 lifts, what is the name of the ski resort? ### Response:
SELECT "Name" FROM table_73848 WHERE "Lifts" = '30'
### Instruction: How many penalties were there in the game with a G.F. of 40? ### Response:
SELECT penalties FROM table_name_20 WHERE gf = "40"
### Instruction: What position was taken out of Louisiana-Lafayette? ### Response:
SELECT "Position" FROM table_20903 WHERE "College" = 'Louisiana-Lafayette'
### Instruction: what heat number had a time of 58.44? ### Response:
SELECT COUNT("Heat") FROM table_69064 WHERE "Time" = '58.44'
### Instruction: Bar chart x axis color y axis the number of color, show in ascending by the y axis please. ### Response:
SELECT color, COUNT(color) FROM photos GROUP BY color ORDER BY COUNT(color)
### Instruction: What is every English title for the result of nominee? ### Response:
SELECT english_title FROM table_22128871_1 WHERE result = "Nominee"
### Instruction: Date of October 25, 1964 involves what record? ### Response:
SELECT record FROM table_name_1 WHERE date = "october 25, 1964"
### Instruction: What is the total number of votes McCain had in Webster? ### Response:
SELECT MAX("McCain#") FROM table_23850 WHERE "Parish" = 'Webster'
### Instruction: Which province is in the district of San Antonio de Chuca? ### Response:
SELECT "Province" FROM table_25088 WHERE "District" = 'San Antonio de Chuca'
### Instruction: What was the away team's score when Collingwood was the home team? ### Response:
SELECT away_team AS score FROM table_name_17 WHERE home_team = "collingwood"
### Instruction: For teams that played 5 games, what was the smallest number of wins? ### Response:
SELECT MIN(win) FROM table_14288212_1 WHERE played = 5
### Instruction: What country is Richard Vanquelef from? ### Response:
SELECT "Nationality\u00b2" FROM table_26947 WHERE "Name" = 'Richard Vanquelef'
### Instruction: What is the home team score that played away team carlton? ### Response:
SELECT "Home team score" FROM table_57264 WHERE "Away team" = 'carlton'
### Instruction: Name the language for b. ajith kumar ### Response:
SELECT "Language" FROM table_3062 WHERE "Awardee(s)" = 'B. Ajith Kumar'
### Instruction: Name the number of locations for uk32 ### Response:
SELECT COUNT(location_s_) FROM table_19897294_8 WHERE no_overall = "UK32"
### Instruction: Which Thursday has a Wednesday of xingqisen? ### Response:
SELECT thursday FROM table_name_51 WHERE wednesday = "星期三 xingqisen"
### Instruction: What is the song choice where the episode is Live Show 1? ### Response:
SELECT "Song choice" FROM table_27624 WHERE "Episode" = 'Live Show 1'
### Instruction: What was the average Position for which the amount Drawn was less than 0? ### Response:
SELECT AVG("Position") FROM table_76150 WHERE "Drawn" < '0'
### Instruction: Which tournament had Richard Krajicek as a finalist? ### Response:
SELECT "Tournament" FROM table_45961 WHERE "Finalist" = 'richard krajicek'
### Instruction: What is the score when 36-33 is the record? ### Response:
SELECT score FROM table_23281862_9 WHERE record = "36-33"
### Instruction: Which years have a School/Club Team of colorado state? ### Response:
SELECT years_for_jazz FROM table_name_17 WHERE school_club_team = "colorado state"
### Instruction: How many titles had production code 1040? ### Response:
SELECT COUNT(title) FROM table_25662434_1 WHERE production_code = 1040
### Instruction: What was the time for the match with away team Mutual Team B? ### Response:
SELECT "Time" FROM table_65609 WHERE "Away team" = 'mutual team b'
### Instruction: Which townland has a 213 acre area? ### Response:
SELECT "Townland" FROM table_31506 WHERE "Area( acres )" = '213'
### Instruction: What was the score on 8 September 1999? ### Response:
SELECT "Score" FROM table_37914 WHERE "Date" = '8 september 1999'
### Instruction: who is the other person where the assistant is paulo babo ### Response:
SELECT driver FROM table_28046929_2 WHERE co_driver = "Paulo Babo"
### Instruction: Who was the successor in New York 11th district? ### Response:
SELECT "Successor" FROM table_24500 WHERE "District" = 'New York 11th'
### Instruction: What was the away team score for the game played at MCG? ### Response:
SELECT "Away team score" FROM table_58214 WHERE "Venue" = 'mcg'
### Instruction: What is the Focus that has a Year bigger than 1977? ### Response:
SELECT "Points" FROM table_75422 WHERE "Year" > '1977'
### Instruction: What is the highest number of wins when there are less than 2 losses? ### Response:
SELECT MAX("Wins") FROM table_63495 WHERE "Losses" < '2'
### Instruction: I want to know the average crowd for away team of melbourne ### Response:
SELECT AVG("Crowd") FROM table_54336 WHERE "Away team" = 'melbourne'
### Instruction: What is the total number of draws when there are fewer than 3 wins? ### Response:
SELECT COUNT("Draws") FROM table_60688 WHERE "Wins" < '3'
### Instruction: What is the enrollment at the school of Hamilton community? ### Response:
SELECT AVG("Enrollment") FROM table_63310 WHERE "School" = 'hamilton community'
### Instruction: When was the church in Arnafjord built? ### Response:
SELECT "Year Built" FROM table_59057 WHERE "Location of the Church" = 'arnafjord'
### Instruction: What is team 1 when team 2 is Manchester United? ### Response:
SELECT "Team 1" FROM table_61797 WHERE "Team 2" = 'manchester united'
### Instruction: How many figures are there for density for Yucheng County? ### Response:
SELECT COUNT("Density") FROM table_73271 WHERE "English Name" = 'Yucheng County'
### Instruction: What name has 100 w. pender st. as the address? ### Response:
SELECT name FROM table_name_6 WHERE street_address = "100 w. pender st."
### Instruction: What is the try bonus that has llangefni rfc as the club? ### Response:
SELECT try_bonus FROM table_name_22 WHERE club = "llangefni rfc"
### Instruction: What is the first electedfor district ohio 18 ### Response:
SELECT first_elected FROM table_1342249_35 WHERE district = "Ohio 18"
### Instruction: What is the firefox value with a 1.9% safari? ### Response:
SELECT "Firefox" FROM table_79524 WHERE "Safari" = '1.9%'
### Instruction: Who were Petrova's opponents with Vania King? ### Response:
SELECT "Opponents" FROM table_29658 WHERE "Partner" = 'Vania King'
### Instruction: Name the primary conference for st. bonaventure university ### Response:
SELECT "Primary conference" FROM table_20705 WHERE "School" = 'St. Bonaventure University'
### Instruction: What was the score when 43,746 attended? ### Response:
SELECT "Score" FROM table_10223 WHERE "Attendance" = '43,746'
### Instruction: Which Date has High rebounds of pau gasol (9)? ### Response:
SELECT "Date" FROM table_46236 WHERE "High rebounds" = 'pau gasol (9)'
### Instruction: how many townships have no water area ? ### Response:
SELECT COUNT("township") FROM table_203_459 WHERE "water area\nkm2 (sq mi)" = 0
### Instruction: Tell me the championship for runner-up outcome of 2010 ### Response:
SELECT championship FROM table_name_30 WHERE outcome = "runner-up" AND year = 2010
### Instruction: What is the average crowd size when North Melbourne is the away team? ### Response:
SELECT AVG(crowd) FROM table_name_33 WHERE away_team = "north melbourne"
### Instruction: Where was the game seen by 10056 people played? ### Response:
SELECT location FROM table_27537518_6 WHERE attendance = 10056
### Instruction: What is the average year for Ponce, Puerto Rico events? ### Response:
SELECT AVG(year) FROM table_name_15 WHERE venue = "ponce, puerto rico"
### Instruction: What was the studio for The Hard Way in 1943? ### Response:
SELECT studio FROM table_name_77 WHERE year = 1943 AND title = "the hard way"
### Instruction: Which Name has a Height (m) of 2980? ### Response:
SELECT "Name" FROM table_58393 WHERE "Height (m)" = '2980'