instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What Round has the Track Clipsal 500 Support?
### Response:
| SELECT "Round" FROM table_14860 WHERE "Track" = 'clipsal 500 support' |
### Instruction:
what is the margin of victory for the waste management phoenix open tournament?
### Response:
| SELECT margin_of_victory FROM table_name_69 WHERE tournament = "waste management phoenix open" |
### Instruction:
what is the number of games in which one team was left with a score of 0 ?
### Response:
| SELECT COUNT(*) FROM table_203_522 WHERE "results\nfinal score" = 0 |
### Instruction:
how many games had at least 10,000 people in attendance ?
### Response:
| SELECT COUNT(*) FROM table_203_775 WHERE "attendance" >= 10000 |
### Instruction:
How many bronze medals are there when there are fewer than 3 silver medals and 7 medals total?
### Response:
| SELECT bronze FROM table_name_69 WHERE silver < 3 AND total = 7 |
### Instruction:
how many administrative areas have a population below 500 ?
### Response:
| SELECT COUNT("administrative\narea") FROM table_204_332 WHERE "population" < 500 |
### Instruction:
What is the blank ends record when the win record is higher than 6.0?
### Response:
| SELECT "Blank Ends" FROM table_31224 WHERE "W" > '6.0' |
### Instruction:
provide the number of patients whose primary disease is colangitis?
### Response:
| SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "COLANGITIS" |
### Instruction:
Which team scored l 87 115 (ot)?
### Response:
| SELECT "Team" FROM table_46718 WHERE "Score" = 'l 87–115 (ot)' |
### Instruction:
Which team did the Boston Beaneaters host at the South End Grounds?
### Response:
| SELECT "Opponent" FROM table_5992 WHERE "Venue" = 'south end grounds' |
### Instruction:
List the number of bbc rankings with cable rankings of 6.
### Response:
| SELECT "BBC Three weekly ranking" FROM table_26807 WHERE "Cable rank" = '6' |
### Instruction:
What's the GPU frequency that has ultra-low power in cores?
### Response:
| SELECT "GPU frequency" FROM table_13572 WHERE "Cores" = 'ultra-low power' |
### Instruction:
which diane keaton film ranked higher ?
### Response:
| SELECT "title" FROM table_202_244 WHERE "actors" = 'diane keaton' ORDER BY "rank" LIMIT 1 |
### Instruction:
What is Record, when Opponent is San Francisco Warriors?
### Response:
| SELECT "Record" FROM table_45430 WHERE "Opponent" = 'san francisco warriors' |
### Instruction:
What is the primary language used in the film, Black Book?
### Response:
| SELECT main_language_s_ FROM table_name_53 WHERE film_title_used_in_nomination = "black book" |
### Instruction:
What is the lowest attandance recorded at Cappielow?
### Response:
| SELECT MIN("Lowest") FROM table_16521 WHERE "Stadium" = 'Cappielow' |
### Instruction:
What venue was the game played in when the away team was fitzroy?
### Response:
| SELECT "Venue" FROM table_32974 WHERE "Away team" = 'fitzroy' |
### Instruction:
Tell me the Hindu with Jewish of source: uk 2001 census
### Response:
| SELECT hindu FROM table_name_87 WHERE jewish = "source: uk 2001 census" |
### Instruction:
What is the postion of the player listed from Dooly County High School?
### Response:
| SELECT "Position" FROM table_17063 WHERE "School" = 'Dooly County High School' |
### Instruction:
What is the total number of all football games played by scholarship students?
### Response:
| SELECT SUM(gamesplayed) FROM sportsinfo WHERE sportname = "Football" AND onscholarship = 'Y' |
### Instruction:
Name the average Stolen Ends which has an Ends Lost smaller than 35?
### Response:
| SELECT AVG(stolen_ends) FROM table_name_89 WHERE ends_lost < 35 |
### Instruction:
What is the purse total for the royal caribbean golf classic?
### Response:
| SELECT SUM(purse__) AS $__ FROM table_name_5 WHERE tournament = "royal caribbean golf classic" |
### Instruction:
how long did the last place swimmer take to swim the 100 meter butterfly ?
### Response:
| SELECT "time" FROM table_204_3 ORDER BY "rank" DESC LIMIT 1 |
### Instruction:
What is the rank # of kelli miller the winning pitcher?
### Response:
| SELECT "Rank#" FROM table_24781 WHERE "Winning Pitcher" = 'Kelli Miller' |
### Instruction:
Who is the opposing team when the game was played on the Shea Stadium?
### Response:
| SELECT opponent FROM table_17386066_2 WHERE stadium = "Shea stadium" |
### Instruction:
What is the total number of gentle personalities?
### Response:
| SELECT COUNT(方位_direction) FROM table_1912713_2 WHERE 性情_personality = "Gentle" |
### Instruction:
What was the choice of song where the original artist was Stevie Wonder?
### Response:
| SELECT song_choice FROM table_26250189_1 WHERE original_artist = "Stevie Wonder" |
### Instruction:
How many times has the playoff been 1 in the contest for the afc cup?
### Response:
| SELECT COUNT("AFC Cup") FROM table_1064 WHERE "Play-off" = '1' |
### Instruction:
How many people in total have attended games where carlton played as away?
### Response:
| SELECT COUNT("Crowd") FROM table_52820 WHERE "Away team" = 'carlton' |
### Instruction:
Which Bronze has a Silver of 2, and a Total smaller than 5?
### Response:
| SELECT AVG(bronze) FROM table_name_15 WHERE silver = 2 AND total < 5 |
### Instruction:
What was the method of elimination for Kofi Kingston/
### Response:
| SELECT "Method of elimination" FROM table_27029 WHERE "Wrestler" = 'Kofi Kingston' |
### Instruction:
What is the county with an elevation of 1262?
### Response:
| SELECT "County" FROM table_17585 WHERE "Elevation (m)" = '1262' |
### Instruction:
Show me a bar chart comparing the total number of captains of different classes, display total number from low to high order.
### Response:
| SELECT Class, COUNT(Class) FROM captain GROUP BY Class ORDER BY COUNT(Class) |
### Instruction:
What Result has a Location of atlanta, and Rank smaller than 4?
### Response:
| SELECT AVG(result) FROM table_name_11 WHERE location = "atlanta" AND rank < 4 |
### Instruction:
how many students are enrolled at harvard university according to this chart ?
### Response:
| SELECT "total enrollment" FROM table_203_592 WHERE "institution" = 'harvard university' |
### Instruction:
What is the length of the highway with remarks that it was replaced by bsi-35?
### Response:
| SELECT length FROM table_name_77 WHERE remarks = "replaced by bsi-35" |
### Instruction:
what are patient 013-29856's gender?
### Response:
| SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '013-29856' |
### Instruction:
HOw many jockeys had eoin harty as a trainer
### Response:
| SELECT COUNT("Jockey") FROM table_25097 WHERE "Trainer" = 'Eoin Harty' |
### Instruction:
Tell me the competition of 20 august 2008
### Response:
| SELECT "Competition" FROM table_31577 WHERE "Date" = '20 august 2008' |
### Instruction:
What shows for 1991 when 2002 is 2R?
### Response:
| SELECT 1991 FROM table_name_44 WHERE 2002 = "2r" |
### Instruction:
Which gold has 3 silver and a Total of 5?
### Response:
| SELECT "Gold" FROM table_70667 WHERE "Silver" = '3' AND "Total" = '5' |
### Instruction:
What is the builder launched 30 october 1944?
### Response:
| SELECT builder FROM table_1206583_2 WHERE launched = "30 October 1944" |
### Instruction:
what is the only country that started up a plant in 2013 ?
### Response:
| SELECT "country" FROM table_204_789 WHERE "startup date" = 2013 |
### Instruction:
count the number of patients whose admission type is elective?
### Response:
| SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" |
### Instruction:
What was the transfer window with a moving from of fenerbah e?
### Response:
| SELECT "Transfer window" FROM table_65106 WHERE "Moving from" = 'fenerbahçe' |
### Instruction:
What is the date of the episode in which the presenter is Johnny Vaughan?
### Response:
| SELECT "Date" FROM table_23728 WHERE "Presenter" = 'Johnny Vaughan' |
### Instruction:
Name the title that got 1.54 viewers
### Response:
| SELECT "Title" FROM table_24934 WHERE "U.S. viewers (million)" = '1.54' |
### Instruction:
Which team has Pick 13 in Round 2?
### Response:
| SELECT "Team" FROM table_10391 WHERE "Round" = '2' AND "Pick" = '13' |
### Instruction:
What was the attendance on 1997-12-14?
### Response:
| SELECT attendance FROM table_name_54 WHERE date = "1997-12-14" |
### Instruction:
What is the call sign for Thunder 106.1?
### Response:
| SELECT "Call sign" FROM table_54807 WHERE "Name" = 'thunder 106.1' |
### Instruction:
which years were the totals at least 600,000 ?
### Response:
| SELECT "year" FROM table_203_163 WHERE "total" >= 600000 |
### Instruction:
What was the away score when the game was at Brunswick Street Oval?
### Response:
| SELECT away_team AS score FROM table_name_70 WHERE venue = "brunswick street oval" |
### Instruction:
What was the length when James Swallow had a release longer than 2.1?
### Response:
| SELECT length FROM table_name_36 WHERE writer = "james swallow" AND release > 2.1 |
### Instruction:
Which visiting team wound up with a final score of 18-40?
### Response:
| SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40" |
### Instruction:
What is the position of digital channel 5 44 (+1)?
### Response:
| SELECT "Position" FROM table_22215 WHERE "Digital terrestrial channel" = '5 44 (+1)' |
### Instruction:
When spanish challenge is the team name what are the rr1 points?
### Response:
| SELECT "RR1 Pts." FROM table_24405 WHERE "Team name" = 'Spanish Challenge' |
### Instruction:
Which country is the film Tent of Miracles from?
### Response:
| SELECT "Country" FROM table_80034 WHERE "Film title used in nomination" = 'tent of miracles' |
### Instruction:
What is Team 2, when 2nd Leg is 1-0?
### Response:
| SELECT "Team 2" FROM table_47674 WHERE "2nd leg" = '1-0' |
### Instruction:
What is the nationality of the player from the Detroit Red Wings?
### Response:
| SELECT nationality FROM table_1213511_6 WHERE nhl_team = "Detroit Red Wings" |
### Instruction:
What was the margin of victory over Brad Faxon?
### Response:
| SELECT "Margin of victory" FROM table_38866 WHERE "Runner(s)-up" = 'brad faxon' |
### Instruction:
What is every party A with a constituency of Tiruchendur?
### Response:
| SELECT party AS a FROM table_22753439_1 WHERE constituency = "Tiruchendur" |
### Instruction:
When portsmouth is the city of license who is the licensee?
### Response:
| SELECT licensee FROM table_1949746_1 WHERE city_of_license = "Portsmouth" |
### Instruction:
what is the display size for the calculator released in 1997?
### Response:
| SELECT "Display Size" FROM table_17128 WHERE "Year Released" = '1997' |
### Instruction:
What is the average crowd size when Collingwood is the away team?
### Response:
| SELECT AVG("Crowd") FROM table_74583 WHERE "Away team" = 'collingwood' |
### Instruction:
Find the total number of students in each department Show bar chart, and display by the Y from low to high.
### Response:
| SELECT dept_name, COUNT(*) FROM student GROUP BY dept_name ORDER BY COUNT(*) |
### Instruction:
What is the attendance of the match with a record 20-11?
### Response:
| SELECT "Attendance" FROM table_38315 WHERE "Record" = '20-11' |
### Instruction:
Which week 1 had a week 2 of Mandy Lynn?
### Response:
| SELECT "Week 1" FROM table_12185 WHERE "Week 2" = 'mandy lynn' |
### Instruction:
What is the call sign of the translator in Spring Valley, Nevada?
### Response:
| SELECT "Call sign" FROM table_75355 WHERE "City of license" = 'spring valley, nevada' |
### Instruction:
What was the size of the crowd at the game where Fitzroy was the home team?
### Response:
| SELECT "Crowd" FROM table_54381 WHERE "Home team" = 'fitzroy' |
### Instruction:
Release date of 2008 q3 has what release price?
### Response:
| SELECT release_price___usd__ FROM table_name_69 WHERE release_date = "2008 q3" |
### Instruction:
What is the liberal ticket that has judith white as the socialist workers?
### Response:
| SELECT liberal_ticket FROM table_name_73 WHERE socialist_workers_ticket = "judith white" |
### Instruction:
What series number is the episode with production code bdf101?
### Response:
| SELECT MAX("Series #") FROM table_30222 WHERE "Production code" = 'BDF101' |
### Instruction:
Name the number of others votes for when others % is 2.0%
### Response:
| SELECT COUNT("Others Votes") FROM table_1375 WHERE "Others %" = '2.0%' |
### Instruction:
When Giovanni Gaetano Orsini was the elector who was the elevator?
### Response:
| SELECT elevator FROM table_name_63 WHERE elector = "giovanni gaetano orsini" |
### Instruction:
what is the amount of silver when gold is 2 and the rank is more than 1?
### Response:
| SELECT AVG(silver) FROM table_name_6 WHERE gold = 2 AND rank > 1 |
### Instruction:
What is the max week where kate and anton are eliminated?
### Response:
| SELECT MAX(week) FROM table_12305325_4 WHERE eliminated = "Kate and Anton" |
### Instruction:
What was the original title for the film used in nomination of street days?
### Response:
| SELECT original_title FROM table_name_91 WHERE film_title_used_in_nomination = "street days" |
### Instruction:
Who was the co-driver in the DNF position in the GT1 class?
### Response:
| SELECT co_drivers FROM table_name_41 WHERE pos = "dnf" AND class = "gt1" |
### Instruction:
Check for Greater Seattle.
### Response:
| SELECT DISTINCT Reputation, Location, WebsiteUrl FROM Users WHERE LOWER(Location) LIKE '%seattle%' AND LOWER(AboutMe) LIKE '%microsoft%' |
### Instruction:
What is T4 Place Player Nick Price's Score?
### Response:
| SELECT "Score" FROM table_12810 WHERE "Place" = 't4' AND "Player" = 'nick price' |
### Instruction:
What is the smallest total produced with a model of M-420?
### Response:
| SELECT MIN("Total produced") FROM table_70735 WHERE "Model" = 'm-420' |
### Instruction:
Was the Title with a Last Issue of July 2010 completed?
### Response:
| SELECT "Completed?" FROM table_63811 WHERE "Last Issue" = 'july 2010' |
### Instruction:
what is age and gender of subject id 84129?
### Response:
| SELECT demographic.age, demographic.gender FROM demographic WHERE demographic.subject_id = "84129" |
### Instruction:
How many height entries are there for players from lagos, nigeria?
### Response:
| SELECT COUNT("Height") FROM table_25061 WHERE "Home Town" = 'Lagos, Nigeria' |
### Instruction:
Which builder is associated with ikazuchi 'thunder'?
### Response:
| SELECT "Builder" FROM table_33843 WHERE "Name (Translation)" = 'ikazuchi "thunder' |
### Instruction:
what is the number of time seyni kountche has been president ?
### Response:
| SELECT COUNT(*) FROM table_203_528 WHERE "president" = 'seyni kountche' |
### Instruction:
What pick was Scott Glennie from the Western hockey league
### Response:
| SELECT pick__number FROM table_name_62 WHERE league_from = "western hockey league" AND player = "scott glennie" |
### Instruction:
If the winner is Bernhard Eisel, what is the stage maximum?
### Response:
| SELECT MAX("Stage") FROM table_25589 WHERE "Winner" = 'Bernhard Eisel' |
### Instruction:
what is the title of the episode with production code '2arg09'?
### Response:
| SELECT "Title" FROM table_29439 WHERE "Production code" = '2ARG09' |
### Instruction:
name of athlete who came in first in heat 1 of the women 's 200 metres
### Response:
| SELECT "name" FROM table_204_401 WHERE "rank" = 1 |
### Instruction:
What is the date founded/founder when the emblem was Hercules?
### Response:
| SELECT date_founded__founder FROM table_242785_3 WHERE emblem = "Hercules" |
### Instruction:
Which Name has a Yes Saturday and a Yes Evening?
### Response:
| SELECT "Name" FROM table_48426 WHERE "Saturday" = 'yes' AND "Evening" = 'yes' |
### Instruction:
Which player has an A-League of 150 (4)?
### Response:
| SELECT "Name" FROM table_15234 WHERE "A-League" = '150 (4)' |
### Instruction:
Top users in tag / location.
### Response:
| SELECT u.Reputation, u.DisplayName FROM Users AS u WHERE LOWER(u.Location) LIKE '%##Location##%' ORDER BY u.Reputation DESC |
### Instruction:
Users with the name matching a pattern.
### Response:
| SELECT u.Id AS "user_link", u.Reputation FROM Users AS u WHERE u.DisplayName LIKE '##pattern##' ORDER BY u.Reputation |
### Instruction:
what's the permanence of the body where purity is rudra
### Response:
| SELECT "permanence of the body" FROM table_72203 WHERE "purity" = 'Rudra' |
### Instruction:
what was the total amount of m -lrb- mexican -rrb- victories ?
### Response:
| SELECT COUNT(*) FROM table_204_429 WHERE "victor" = 'm' |
### Instruction:
What is the highest number of top-25s for events with 0 wins?
### Response:
| SELECT MAX("Top-25") FROM table_40943 WHERE "Wins" < '0' |
### Instruction:
\What is the class of the station with the call sign w254ah?
### Response:
| SELECT "Class" FROM table_71453 WHERE "Call sign" = 'w254ah' |
### Instruction:
What school took 3rd place in 2007?
### Response:
| SELECT 3 AS rd_place FROM table_11577996_1 WHERE year = 2007 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.