instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
When 'the charlotte letter' is the title what is the air date?
### Response:
| SELECT "Original air date" FROM table_27966 WHERE "Title" = 'The Charlotte Letter' |
### Instruction:
What is the date of the tournament with carlos moy as the opponent?
### Response:
| SELECT "Date" FROM table_44480 WHERE "Opponent" = 'carlos moyà' |
### Instruction:
How many fires were more than 100 acres in 2006?
### Response:
| SELECT COUNT(*) FROM fires WHERE fire_year = 2006 AND fire_size > 100 |
### Instruction:
What year was she ranked 16th with over 12 points?
### Response:
| SELECT COUNT(year) FROM table_name_29 WHERE rank = "16th" AND points > 12 |
### Instruction:
Name the most serial number for feb 1994
### Response:
| SELECT MAX("Serial Number") FROM table_30892 WHERE "Scrapped" = 'Feb 1994' |
### Instruction:
What pick number did the linebacker from the denver broncos get?
### Response:
| SELECT pick FROM table_name_34 WHERE position = "linebacker" AND team = "denver broncos" |
### Instruction:
What is the medal named fatuma roba category:articles with hcards for?
### Response:
| SELECT medal FROM table_name_73 WHERE name = "fatuma roba category:articles with hcards" |
### Instruction:
What date did the show air when Sean Lock was the headliner?
### Response:
| SELECT airdate FROM table_23122988_1 WHERE headliner = "Sean Lock" |
### Instruction:
Who wrote the episode with the production code of 942A?
### Response:
| SELECT "Written by" FROM table_20806 WHERE "Production code" = '942A' |
### Instruction:
What is the average Year with Chassis equalling cooper t60?
### Response:
| SELECT AVG(year) FROM table_name_49 WHERE chassis = "cooper t60" |
### Instruction:
What are the ids and names of all start stations that were the beginning of at least 200 trips. Show bar chart.
### Response:
| SELECT start_station_name, start_station_id FROM trip |
### Instruction:
What team has a high score with tracy mcgrady (24)?
### Response:
| SELECT team FROM table_name_70 WHERE high_points = "tracy mcgrady (24)" |
### Instruction:
what is the value of the audio with a just ratio 21:20
### Response:
| SELECT "audio" FROM table_64483 WHERE "just ratio" = '21:20' |
### Instruction:
How many different original air dates did the episode number 6 have?
### Response:
| SELECT COUNT(original_air_date) FROM table_13426649_1 WHERE _number = 6 |
### Instruction:
Who is the mixed doubled on the tour korea super series?
### Response:
| SELECT "Mixed doubles" FROM table_74189 WHERE "Tour" = 'Korea Super Series' |
### Instruction:
What player's hometown is Roebuck, South Carolina?
### Response:
| SELECT "Player" FROM table_17088 WHERE "Hometown" = 'Roebuck, South Carolina' |
### Instruction:
What is the average of all the years when the notes are electronics brand?
### Response:
| SELECT AVG("Year") FROM table_33724 WHERE "Notes" = 'electronics brand' |
### Instruction:
Show the different headquarters and number of companies at each headquarter with a bar chart, order y axis in ascending order.
### Response:
| SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters ORDER BY COUNT(*) |
### Instruction:
who are the candidates when the incumbent is lindsey graham?
### Response:
| SELECT candidates FROM table_1341423_40 WHERE incumbent = "Lindsey Graham" |
### Instruction:
what is the wheel arrangement when the year made is 1881?
### Response:
| SELECT "Wheel arrangement" FROM table_79651 WHERE "Year made" = '1881' |
### Instruction:
Which address has both members younger than 30 and members older than 40?
### Response:
| SELECT address FROM member WHERE age < 30 INTERSECT SELECT address FROM member WHERE age > 40 |
### Instruction:
For which Game 4 did Michael O'Connor play during Game 1?
### Response:
| SELECT game_4 FROM table_name_27 WHERE game_1 = "michael o'connor" |
### Instruction:
What was the decision from the Vancouver home game on April 21?
### Response:
| SELECT decision FROM table_name_2 WHERE home = "vancouver" AND date = "april 21" |
### Instruction:
WHAT IS THE VALE ROYAL WITH THE JEWISH RELIGION?
### Response:
| SELECT vale_royal FROM table_name_20 WHERE religion = "jewish" |
### Instruction:
What is the length when the propulsion is controllable pitch propeller?
### Response:
| SELECT "Length" FROM table_30292 WHERE "Propulsion" = 'Controllable pitch propeller' |
### Instruction:
What is the total rank of the match with tipperary as the opposition?
### Response:
| SELECT COUNT("Rank") FROM table_65863 WHERE "Opposition" = 'tipperary' |
### Instruction:
Name the D 42 which has a D 44 of d 44
### Response:
| SELECT d_42 FROM table_name_29 WHERE d_44 = "d 44" |
### Instruction:
What was the title for the episode with the production code 404a?
### Response:
| SELECT title FROM table_2701851_5 WHERE production_code = "404a" |
### Instruction:
What is the value for Drawn, when the value for Losing bonus is 6?
### Response:
| SELECT "Drawn" FROM table_67685 WHERE "Losing bonus" = '6' |
### Instruction:
Who's the Winning driver with a Pole position of bryan herta?
### Response:
| SELECT winning_driver FROM table_name_46 WHERE pole_position = "bryan herta" |
### Instruction:
What is the away team's score at punt road oval?
### Response:
| SELECT "Away team" FROM table_53098 WHERE "Venue" = 'punt road oval' |
### Instruction:
Where did the team in which Tom Pryce was in Pole Position race?
### Response:
| SELECT "Location" FROM table_77684 WHERE "Pole Position" = 'tom pryce' |
### Instruction:
Which Character has a Category of favourite naya sadasya?
### Response:
| SELECT "Character" FROM table_58880 WHERE "Category" = 'favourite naya sadasya' |
### Instruction:
On what Date was Judy Rankin Runner(s)-up?
### Response:
| SELECT "Date" FROM table_35905 WHERE "Runner(s)-up" = 'judy rankin' |
### Instruction:
Name the number of giants points for opponents being 31
### Response:
| SELECT COUNT(giants_points) FROM table_16661199_2 WHERE opponents = 31 |
### Instruction:
Name the indianapolis concerts for les minski
### Response:
| SELECT indianapolis_concerts FROM table_17085724_1 WHERE sarasota = "Les Minski" |
### Instruction:
How long is the track ' (good luck!!)'?
### Response:
| SELECT "Time" FROM table_60596 WHERE "Title" = '잘해봐 (good luck!!)' |
### Instruction:
what is the home city for the stadion src mladost?
### Response:
| SELECT "Home city" FROM table_44912 WHERE "Stadium" = 'stadion src mladost' |
### Instruction:
What was the hometown of the contestant who was a professional mixologist?
### Response:
| SELECT "Hometown" FROM table_15715 WHERE "Profession" = 'mixologist' |
### Instruction:
What is the ERP W for the frequency of 91.3MHz?
### Response:
| SELECT erp_w FROM table_name_18 WHERE frequency_mhz = 91.3 |
### Instruction:
WHICH 2/3 (P) has a Verb of kh la?
### Response:
| SELECT 2 AS _3__p_ FROM table_name_76 WHERE verb = "khêla" |
### Instruction:
What is the title of the episode with a production code of FL209?
### Response:
| SELECT "Title" FROM table_4235 WHERE "Production code" = 'FL209' |
### Instruction:
How many locations did the game that was on April 8 take place at?
### Response:
| SELECT COUNT("Location Attendance") FROM table_29865 WHERE "Date" = 'April 8' |
### Instruction:
What team had 10 Labs and the Driver was Alex Yoong?
### Response:
| SELECT team FROM table_name_24 WHERE laps = 10 AND driver = "alex yoong" |
### Instruction:
What is the male incarceration rate of maule?
### Response:
| SELECT MAX("Incarceration rate Male") FROM table_27322 WHERE "Region" = 'Maule' |
### Instruction:
how many roles did actor ikuta toma have in 2009 ?
### Response:
| SELECT COUNT("role") FROM table_203_133 WHERE "year" = 2009 |
### Instruction:
What is the record for the opponent the Cleveland Cavaliers?
### Response:
| SELECT "Record" FROM table_43612 WHERE "Opponent" = 'cleveland cavaliers' |
### Instruction:
What's the number of the episode directed by Whitney Ransick?
### Response:
| SELECT _number FROM table_2345558_1 WHERE director = "Whitney Ransick" |
### Instruction:
What is the Result with a Date with 22 january 2008?
### Response:
| SELECT result FROM table_name_43 WHERE date = "22 january 2008" |
### Instruction:
What is the production code of the episode written by Jeff Filgo?
### Response:
| SELECT MAX("Production code") FROM table_30180 WHERE "Written by" = 'Jeff Filgo' |
### Instruction:
What is senghenydd rfc's points for?
### Response:
| SELECT "Points for" FROM table_15312 WHERE "Club" = 'senghenydd rfc' |
### Instruction:
what is the city when the country is libya and the iata is ben?
### Response:
| SELECT city FROM table_name_57 WHERE country = "libya" AND iata = "ben" |
### Instruction:
Name the least world rank for south american rank 3
### Response:
| SELECT MIN(world_rank) FROM table_2249087_1 WHERE south_american_rank = 3 |
### Instruction:
Nusa Ina only played once while group 7 played.
### Response:
| SELECT COUNT("Group 7") FROM table_73121 WHERE "Group 12" = 'Nusa Ina' |
### Instruction:
What is Akron's highest Pct in 100 years?
### Response:
| SELECT COUNT(pct) FROM table_name_5 WHERE years > 100 AND team = "akron" |
### Instruction:
Which Game has an Opponent of phoenix suns?
### Response:
| SELECT "Game" FROM table_12533 WHERE "Opponent" = 'phoenix suns' |
### Instruction:
Name the number of naming for anomic aphasia
### Response:
| SELECT COUNT(naming) FROM table_2088_1 WHERE type_of_aphasia = "Anomic aphasia" |
### Instruction:
What are the names of races held between 2009 and 2011?
### Response:
| SELECT name FROM races WHERE YEAR BETWEEN 2009 AND 2011 |
### Instruction:
What's the enrollment at 41 Johnson?
### Response:
| SELECT AVG(enrollment) FROM table_name_24 WHERE _number___county = "41 johnson" |
### Instruction:
Find ACC_Regular_Season and ACC_Percent , and visualize them by a bar chart.
### Response:
| SELECT ACC_Regular_Season, ACC_Percent FROM basketball_match |
### Instruction:
How many people attended the game on December 2, 1951?
### Response:
| SELECT attendance FROM table_name_69 WHERE date = "december 2, 1951" |
### Instruction:
How many loses corresponded to giving up 714 points?
### Response:
| SELECT lost FROM table_12792876_2 WHERE points_against = "714" |
### Instruction:
Who's the First District with a Fifth District of prudy adam?
### Response:
| SELECT first_district FROM table_name_9 WHERE fifth_district = "prudy adam" |
### Instruction:
Which Winning score has a Tournament of walt disney world/oldsmobile classic?
### Response:
| SELECT winning_score FROM table_name_67 WHERE tournament = "walt disney world/oldsmobile classic" |
### Instruction:
How many bronzes for Iceland with over 2 silvers?
### Response:
| SELECT AVG(bronze) FROM table_name_53 WHERE silver > 2 AND nation = "iceland" |
### Instruction:
there were years where he had 0 goals but was year did he have the most goals ?
### Response:
| SELECT "season" FROM table_203_34 ORDER BY "goals" DESC LIMIT 1 |
### Instruction:
when changsha is the commandery what is the commandery capital?
### Response:
| SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Changsha 長沙" |
### Instruction:
What was miles's bmi att the reunion?
### Response:
| SELECT COUNT(reunion_bmi) FROM table_28654454_5 WHERE contestant = "Miles" |
### Instruction:
Name the record for september 15, 1985
### Response:
| SELECT "Record" FROM table_649 WHERE "Date" = 'September 15, 1985' |
### Instruction:
What party was the winning one in the elections in the California 30 district?
### Response:
| SELECT party FROM table_1341663_6 WHERE district = "California 30" |
### Instruction:
What season had Belgium and 1 goal?
### Response:
| SELECT "Season" FROM table_58841 WHERE "Country" = 'belgium' AND "Goals" = '1' |
### Instruction:
Which region had the date of November 18, 2002?
### Response:
| SELECT region FROM table_name_41 WHERE date = "november 18, 2002" |
### Instruction:
Who wrote the episode whose director is Karen Gaviola?
### Response:
| SELECT written_by FROM table_23799653_1 WHERE directed_by = "Karen Gaviola" |
### Instruction:
How many people were elected in 1929
### Response:
| SELECT COUNT(candidates) FROM table_1342359_17 WHERE first_elected = 1929 |
### Instruction:
What is the average number of field goals for players with more than 60 points?
### Response:
| SELECT AVG("Field goals") FROM table_75194 WHERE "Points" > '60' |
### Instruction:
When was the institution of Kansas city Kansas community college founded?
### Response:
| SELECT COUNT(founded) FROM table_12434380_1 WHERE institution = "Kansas City Kansas Community College" |
### Instruction:
Which pinyin have a population of 374047?
### Response:
| SELECT pinyin FROM table_1204998_2 WHERE population = 374047 |
### Instruction:
What is Left Office, when Took Office is 2006?
### Response:
| SELECT "Left Office" FROM table_76834 WHERE "Took Office" = '2006' |
### Instruction:
What is the maximum start record for player of Jeff Brehaut?
### Response:
| SELECT MAX(starts) FROM table_29504351_2 WHERE player = "Jeff Brehaut" |
### Instruction:
Name the left of the Lady Pilots.
### Response:
| SELECT "Left" FROM table_16180 WHERE "Women\u2019s Nickname" = 'Lady Pilots' |
### Instruction:
How many races were for a distance of 2020 m?
### Response:
| SELECT COUNT(group) FROM table_1358608_4 WHERE distance = "2020 m" |
### Instruction:
What is the distance with a 1:46.32 time?
### Response:
| SELECT "Distance" FROM table_62986 WHERE "Time" = '1:46.32' |
### Instruction:
What was the final rank of the Brewers when they achieved a win percentage of .585?
### Response:
| SELECT finish FROM table_name_79 WHERE win__percentage = ".585" |
### Instruction:
Select posts with historic use of tag.
### Response:
| SELECT PostId AS "post_link" FROM PostHistory WHERE PostHistoryTypeId IN (3, 6) AND Text LIKE '%<database-schema>%' |
### Instruction:
Who was Hanne Skak Jensen's opponent when facing Belarus?
### Response:
| SELECT "Opponent" FROM table_3276 WHERE "Against" = 'Belarus' |
### Instruction:
What was the aggregate score that had a 1-2 second leg score?
### Response:
| SELECT "Aggregate" FROM table_78933 WHERE "2nd leg" = '1-2' |
### Instruction:
What was pinky's bmi at the reunion?
### Response:
| SELECT reunion_bmi FROM table_28654454_5 WHERE contestant = "Pinky" |
### Instruction:
What was the score of the tie that had Tottenham Hotspur as the home team?
### Response:
| SELECT score FROM table_name_35 WHERE home_team = "tottenham hotspur" |
### Instruction:
What country had a swimsuit score of 8.788?
### Response:
| SELECT "Country" FROM table_72912 WHERE "Swimsuit" = '8.788' |
### Instruction:
how long was david dowd head coach ?
### Response:
| SELECT COUNT("year") FROM table_204_11 WHERE "charleston southern's head coach" = 'david dowd' |
### Instruction:
What position did the player whose highlights were 5 career INTs play?
### Response:
| SELECT "Position" FROM table_25620 WHERE "Highlight(s)" = '5 Career INTs' |
### Instruction:
how many singles peaked above number ten on the charts ?
### Response:
| SELECT COUNT("title") FROM table_204_500 WHERE "peak chart positions\nus country" < 10 |
### Instruction:
What was the attendance on location when the record was 3 16?
### Response:
| SELECT "Location Attendance" FROM table_57442 WHERE "Record" = '3–16' |
### Instruction:
Name the enrollment for 2007-08
### Response:
| SELECT enrollment FROM table_1973648_1 WHERE joined = "2007-08" |
### Instruction:
What was the date for the game that had a Location/Attendance of the spectrum?
### Response:
| SELECT "Date" FROM table_65655 WHERE "Location/Attendance" = 'the spectrum' |
### Instruction:
Which United States player has a place of T3?
### Response:
| SELECT "Player" FROM table_12733 WHERE "Country" = 'united states' AND "Place" = 't3' |
### Instruction:
What is the frequency of the station with a coverage of oaxaca guerrero puebla?
### Response:
| SELECT frequency FROM table_name_24 WHERE coverage = "oaxaca guerrero puebla" |
### Instruction:
what is the number of clubs that were founded after 1950 ?
### Response:
| SELECT COUNT("club") FROM table_204_959 WHERE "founded" > 1950 |
### Instruction:
What club/province does the prop player with over 45 caps play for?
### Response:
| SELECT club_province FROM table_name_27 WHERE caps > 45 AND position = "prop" |
### Instruction:
What percentage of browsers were using Opera in October 2010?
### Response:
| SELECT "Opera" FROM table_79425 WHERE "Date" = 'october 2010' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.