instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What percentage of voters choise McCain in Burlington?
### Response:
| SELECT mccain__percentage FROM table_20278716_2 WHERE county = "Burlington" |
### Instruction:
What was the total when the set 3 score was 25 27?
### Response:
| SELECT "Total" FROM table_9552 WHERE "Set 3" = '25–27' |
### Instruction:
what is the number of services broadcast with a mono lsf audio channel ?
### Response:
| SELECT COUNT("service") FROM table_203_603 WHERE "audio channels" = 'mono lsf' |
### Instruction:
what is the number of products that were introduced in 2010 ?
### Response:
| SELECT COUNT("model") FROM table_204_625 WHERE "introduced" = 2010 |
### Instruction:
What is the average number of games with a record of 20-12?
### Response:
| SELECT AVG("Game") FROM table_9892 WHERE "Record" = '20-12' |
### Instruction:
Who are the candidates in Washington 1 district?
### Response:
| SELECT 2008 AS _candidates FROM table_16185956_1 WHERE district = "Washington 1" |
### Instruction:
What is the title of the single with the peak position of 10 and from France?
### Response:
| SELECT title FROM table_name_21 WHERE peak_position = 10 AND country = "france" |
### Instruction:
SELECT * FROM Users WHERE LastAccessDate < '2014-01-01';.
### Response:
| SELECT * FROM Users WHERE LastAccessDate < '2014-01-01' |
### Instruction:
What was the crowd when the away team was hawthorn?
### Response:
| SELECT MIN("Crowd") FROM table_51644 WHERE "Away team" = 'hawthorn' |
### Instruction:
What is the 2nd place when Virginia finished in 1st place?
### Response:
| SELECT "2nd Place" FROM table_22792 WHERE "1st Place" = 'Virginia' |
### Instruction:
What hand guard system is used with a gas piston commando?
### Response:
| SELECT "Hand guards" FROM table_17836 WHERE "Name" = 'Gas Piston Commando' |
### Instruction:
Name the score for march 29, 1997
### Response:
| SELECT "Score" FROM table_2310 WHERE "Date" = 'March 29, 1997' |
### Instruction:
When Karaorman is Team 1, what is the Agg.?
### Response:
| SELECT "Agg." FROM table_59379 WHERE "Team 1" = 'karaorman' |
### Instruction:
Who was the incumbent in the Arkansas 2 district election?
### Response:
| SELECT "Incumbent" FROM table_18436 WHERE "District" = 'Arkansas 2' |
### Instruction:
Which player has a cap larger than 12 and Clubs of Toulouse?
### Response:
| SELECT player FROM table_name_74 WHERE caps > 12 AND club_province = "toulouse" |
### Instruction:
Against what opponent did the Wildcats have a record of 5-4?
### Response:
| SELECT "Opponent" FROM table_3071 WHERE "Record" = '5-4' |
### Instruction:
What's the part 4 for the verb whose part 3 is borgen?
### Response:
| SELECT part_4 FROM table_1745843_7 WHERE part_3 = "borgen" |
### Instruction:
What is the max pressure of the .38 long colt cartridge?
### Response:
| SELECT max_pressure FROM table_173103_1 WHERE cartridge = ".38 Long Colt" |
### Instruction:
what's the height with current club being dkv joventut
### Response:
| SELECT height FROM table_12962773_5 WHERE current_club = "DKV Joventut" |
### Instruction:
What is the barony of the townland whose area is 150 acres?
### Response:
| SELECT "Barony" FROM table_4291 WHERE "Area( acres )" = '150' |
### Instruction:
Compute the number of times Dennis Rodman recordedhigh rebounds given a regular season
### Response:
| SELECT COUNT("Rebounding high") FROM table_3382 WHERE "Season" = 'Regular season' |
### Instruction:
Draw a bar chart for what is the number of entry descriptions of each problem?
### Response:
| SELECT log_entry_description, COUNT(log_entry_description) FROM Problem_Log GROUP BY log_entry_description |
### Instruction:
Show me how many type by type in a histogram, and I want to sort by the Y-axis in asc.
### Response:
| SELECT Type, COUNT(Type) FROM ship GROUP BY Type ORDER BY COUNT(Type) |
### Instruction:
Is there a tapered grind on the Surestart engine?
### Response:
| SELECT tapered_grind FROM table_16731248_1 WHERE engine = "SureStart" |
### Instruction:
What is 2007, when 2003 is 1R?
### Response:
| SELECT 2007 FROM table_name_54 WHERE 2003 = "1r" |
### Instruction:
What are the Lyrics (l) / Music (m) when the draw was 5?
### Response:
| SELECT lyrics__l____music__m_ FROM table_name_60 WHERE draw = 5 |
### Instruction:
What is the sum avg/g with an effic of 858.4?
### Response:
| SELECT SUM(avg_g) FROM table_name_61 WHERE effic = 858.4 |
### Instruction:
What is the total number for Capacity at city stadium, borisov?
### Response:
| SELECT COUNT(capacity) FROM table_name_28 WHERE venue = "city stadium, borisov" |
### Instruction:
What score has january 15, 2005 as the date?
### Response:
| SELECT score FROM table_name_8 WHERE date = "january 15, 2005" |
### Instruction:
What message has hd 186408 as a designation HD?
### Response:
| SELECT message FROM table_name_75 WHERE designation_hd = "hd 186408" |
### Instruction:
Who was the turbine manufacturer for the Wheatland county?
### Response:
| SELECT turbine_manufacturer FROM table_24837750_1 WHERE county = "Wheatland" |
### Instruction:
What network garnered 2.74 million viewers for Supernatural?
### Response:
| SELECT "Network" FROM table_24569 WHERE "Viewers in millions" = '2.74' |
### Instruction:
County town of castlebar has the most populous city/town?
### Response:
| SELECT "Most populous city/town" FROM table_37794 WHERE "County town" = 'castlebar' |
### Instruction:
What is the position for sail number aus 03?
### Response:
| SELECT MIN(position) FROM table_25594271_2 WHERE sail_number = "AUS 03" |
### Instruction:
What was the lowest attendance at a game when Pittsburgh was the home team?
### Response:
| SELECT MIN("Attendance") FROM table_51440 WHERE "Home" = 'pittsburgh' |
### Instruction:
When Bunky Henry placed t8, what was his To par?
### Response:
| SELECT to_par FROM table_name_75 WHERE place = "t8" AND player = "bunky henry" |
### Instruction:
what are all the type where location is st ives, cambridgeshire
### Response:
| SELECT "Type" FROM table_17253 WHERE "Location" = 'St Ives, Cambridgeshire' |
### Instruction:
What is the number of draws for the team with more than 8 losses and 13 points?
### Response:
| SELECT draws FROM table_name_61 WHERE losses > 8 AND points = 13 |
### Instruction:
Name the best uk team for university of birmingham
### Response:
| SELECT COUNT("Best UK team") FROM table_22958 WHERE "Class 1-200" = 'University of Birmingham' |
### Instruction:
How many networks aired the franchise in 1981 only?
### Response:
| SELECT COUNT("Network") FROM table_17681 WHERE "Dates aired" = '1981' |
### Instruction:
Name the reason for change pennsylvania 13th
### Response:
| SELECT "Reason for change" FROM table_73407 WHERE "District" = 'Pennsylvania 13th' |
### Instruction:
What are the names of all the players with an average of 15.89?
### Response:
| SELECT name FROM table_2482547_5 WHERE average = "15.89" |
### Instruction:
what's the game site with result being l 24 34
### Response:
| SELECT "Game Site" FROM table_19771 WHERE "Result" = 'L 24–34' |
### Instruction:
what position did this racer finish at his only world race walking cup competition ?
### Response:
| SELECT "position" FROM table_204_798 WHERE "competition" = 'world race walking cup' |
### Instruction:
Name the date for s. valentino alla muta , italia
### Response:
| SELECT "Date" FROM table_4277 WHERE "Location" = 'S. Valentino Alla Muta , Italia' |
### Instruction:
When alvin and the chipmunks meet frankenstein, what was the role?
### Response:
| SELECT role FROM table_name_99 WHERE title = "alvin and the chipmunks meet frankenstein" |
### Instruction:
Name the college for andrej podkonicky
### Response:
| SELECT "College/junior/club team" FROM table_74274 WHERE "Player" = 'Andrej Podkonicky' |
### Instruction:
What courses could I take to prepare for RESTORA 881 ?
### Response:
| SELECT DISTINCT advisory_requirement FROM course WHERE department = 'RESTORA' AND number = 881 |
### Instruction:
Name the cast for 1957 bcc for jean anderson
### Response:
| SELECT "Cast" FROM table_19186 WHERE "1957 (BBC)" = 'Jean Anderson' |
### Instruction:
What is the title of the episode with production code 2alf03?
### Response:
| SELECT title FROM table_26199130_1 WHERE production_code = "2ALF03" |
### Instruction:
If the episode is 6x03, what is the first broadcast total number?
### Response:
| SELECT COUNT("First broadcast") FROM table_2910 WHERE "Episode" = '6x03' |
### Instruction:
What were all the away teams when the crowd was 13304?
### Response:
| SELECT away_team FROM table_16388478_2 WHERE crowd = 13304 |
### Instruction:
Find the number of manufactures that are based in Tokyo or Beijing.
### Response:
| SELECT COUNT(*) FROM manufacturers WHERE headquarter = 'Tokyo' OR headquarter = 'Beijing' |
### Instruction:
List the physicians' employee ids together with their primary affiliation departments' ids. Plot them as scatter chart.
### Response:
| SELECT Physician, Department FROM Affiliated_With WHERE PrimaryAffiliation = 1 |
### Instruction:
how many total points were scored by players averaging over 4 assists per game >
### Response:
| SELECT SUM("points") FROM table_203_621 WHERE "assists per game" > 4 |
### Instruction:
What is the college of the afl team of buffalo bills?
### Response:
| SELECT college FROM table_12165135_1 WHERE afl_team = "Buffalo Bills" |
### Instruction:
What district was a republican first elected in 2000?
### Response:
| SELECT district FROM table_name_98 WHERE first_elected = 2000 AND party = "republican" |
### Instruction:
How many series premieres did the season 'All-stars' have?
### Response:
| SELECT COUNT("Series premiere") FROM table_25659 WHERE "Season" = 'All-Stars' |
### Instruction:
What is the half-life discovered in 2003?
### Response:
| SELECT "Half-life" FROM table_39207 WHERE "Discovery year" = '2003' |
### Instruction:
which player had the largest number of Σ points ?
### Response:
| SELECT "player" FROM table_203_507 ORDER BY "\u03c3 points" DESC LIMIT 1 |
### Instruction:
How many numbers were listed under losing bonus when there were 68 tries for?
### Response:
| SELECT COUNT("Losing bonus") FROM table_18084 WHERE "Tries for" = '68' |
### Instruction:
what is the discharge location of the patient id 2560?
### Response:
| SELECT demographic.discharge_location FROM demographic WHERE demographic.subject_id = "2560" |
### Instruction:
Who was the away captain with a result of Eng by 1 wkt?
### Response:
| SELECT "Away captain" FROM table_40014 WHERE "Result" = 'eng by 1 wkt' |
### Instruction:
What was the 1st leg for a team 1 of Teteks?
### Response:
| SELECT "1st leg" FROM table_44167 WHERE "Team 1" = 'teteks' |
### Instruction:
What is Call Sign, when City of License is Brownfield, Texas?
### Response:
| SELECT "Call sign" FROM table_77227 WHERE "City of license" = 'brownfield, texas' |
### Instruction:
Which song is from Volume:Issue 63:5?
### Response:
| SELECT "Song" FROM table_34332 WHERE "Volume:Issue" = '63:5' |
### Instruction:
Database Schema (Tables and Columns).
### Response:
| SELECT table_name, column_name, data_type FROM INFORMATION_SCHEMA.COLUMNS ORDER BY table_name, ordinal_position |
### Instruction:
How many different players did the most high assists on the March 4 game?
### Response:
| SELECT COUNT("High assists") FROM table_73528 WHERE "Date" = 'March 4' |
### Instruction:
Can you tell me the Combined that has the Victories of 14?
### Response:
| SELECT "Combined" FROM table_61338 WHERE "Victories" = '14' |
### Instruction:
How many episodes were titled 'I Wish I Was the Moon'?
### Response:
| SELECT COUNT("Directed by") FROM table_3908 WHERE "Title" = 'I Wish I Was the Moon' |
### Instruction:
Where is Cameron Beckman's rank on the money list?
### Response:
| SELECT money_list_rank FROM table_29499399_2 WHERE player = "Cameron Beckman" |
### Instruction:
what was the only conference to have an attendance over 1,000 ?
### Response:
| SELECT "conference" FROM table_203_33 WHERE "attendance" > 1000 |
### Instruction:
What was the result in the 2012 for the US Open tournament?
### Response:
| SELECT "2012" FROM table_12135 WHERE "Tournament" = 'us open' |
### Instruction:
at kardinia park, what was the away team's score?
### Response:
| SELECT "Away team score" FROM table_58232 WHERE "Venue" = 'kardinia park' |
### Instruction:
in how many games were than more than 80,000 people attending
### Response:
| SELECT COUNT(*) FROM table_204_917 WHERE "attendance" > 80000 |
### Instruction:
What party did the incumbent of the Arkansas 6 district belong to?
### Response:
| SELECT "Party" FROM table_72414 WHERE "District" = 'Arkansas 6' |
### Instruction:
What was the attendance of the game that ended with L 31-0
### Response:
| SELECT "Attendance" FROM table_45831 WHERE "Result" = 'l 31-0' |
### Instruction:
Name the volume for co 2 for 168 g/km
### Response:
| SELECT volume FROM table_17941111_2 WHERE co_2 = "168 g/km" |
### Instruction:
Which home team has the Brunswick Street Oval venue?
### Response:
| SELECT "Home team" FROM table_32359 WHERE "Venue" = 'brunswick street oval' |
### Instruction:
What was the total To Par for the winner in 1995?
### Response:
| SELECT COUNT(to_par) FROM table_name_26 WHERE year_s__won = "1995" |
### Instruction:
what is the minimum number first elected to district louisiana 5?
### Response:
| SELECT MIN("First elected") FROM table_18537 WHERE "District" = 'Louisiana 5' |
### Instruction:
What are all the dates with a score of 203 (-13)?
### Response:
| SELECT date FROM table_11622829_1 WHERE score = "203 (-13)" |
### Instruction:
Tell me the title for japan august 23, 2012
### Response:
| SELECT title FROM table_name_30 WHERE japan = "august 23, 2012" |
### Instruction:
Show the total number from each document type code, show y-axis in descending order.
### Response:
| SELECT Document_Type_Code, COUNT(*) FROM Documents GROUP BY Document_Type_Code ORDER BY COUNT(*) DESC |
### Instruction:
What is the original air date for the episode written by Bob Goodman?
### Response:
| SELECT original_airdate FROM table_16581695_2 WHERE written_by = "Bob Goodman" |
### Instruction:
what is the name of the instructor who is in Statistics department and earns the lowest salary?
### Response:
| SELECT name FROM instructor WHERE dept_name = 'Statistics' ORDER BY salary LIMIT 1 |
### Instruction:
How many people attended the game against the indianapolis colts?
### Response:
| SELECT COUNT("Attendance") FROM table_16217 WHERE "Opponent" = 'Indianapolis Colts' |
### Instruction:
What is the highest BR number with a SECR number of 765?
### Response:
| SELECT MAX("BR No.") FROM table_48880 WHERE "SECR No." = '765' |
### Instruction:
Name the runner-up for margin of victory of 3 strokes
### Response:
| SELECT "Runner(s)-up" FROM table_14804 WHERE "Margin of victory" = '3 strokes' |
### Instruction:
What is the lowest Game, when Date is 'April 12'?
### Response:
| SELECT MIN("Game") FROM table_44745 WHERE "Date" = 'april 12' |
### Instruction:
Who was the home team in the game where North Melbourne was the away team?
### Response:
| SELECT "Home team score" FROM table_78417 WHERE "Away team" = 'north melbourne' |
### Instruction:
How many townships are there in the region with 376 village groups?
### Response:
| SELECT MAX(town_ships) FROM table_19457_1 WHERE village_groups = 376 |
### Instruction:
What is the name of the dreamworks experience from Ferrari?
### Response:
| SELECT name FROM table_name_30 WHERE themed_area = "dreamworks experience" AND manufacturer = "ferrari" |
### Instruction:
What is the high rebounds with a record that is 18-14?
### Response:
| SELECT "High rebounds" FROM table_5804 WHERE "Record" = '18-14' |
### Instruction:
What is the Fourth place with a Year that is 1966?
### Response:
| SELECT "Fourth place" FROM table_42909 WHERE "Year" = '1966' |
### Instruction:
What's the number of the 1.0.12 release version?
### Response:
| SELECT COUNT("Version") FROM table_30594 WHERE "Release" = '1.0.12' |
### Instruction:
What happened to the incombent who was elected in 1980?
### Response:
| SELECT result FROM table_1341586_14 WHERE first_elected = 1980 |
### Instruction:
What is the Nationality of the Deacon of S. Maria in Via Lata?
### Response:
| SELECT nationality FROM table_name_5 WHERE title = "deacon of s. maria in via lata" |
### Instruction:
Who is the Driver on Bob Keselowski's team?
### Response:
| SELECT "Driver(s)" FROM table_71521 WHERE "Owner(s)" = 'bob keselowski' |
### Instruction:
What is the lowest number of cuts made when her best finish is t4?
### Response:
| SELECT MIN("Cuts made") FROM table_19604 WHERE "Best finish" = 'T4' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.