instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
how many incumbent with first elected being 1924
### Response:
|
SELECT COUNT("Incumbent") FROM table_781 WHERE "First elected" = '1924'
|
### Instruction:
Name the listen owners for repairone
### Response:
|
SELECT "Listed Owner(s)" FROM table_24664 WHERE "Primary Sponsor(s)" = 'RepairOne'
|
### Instruction:
How many productions are shown for rd 2?
### Response:
|
SELECT COUNT(production) FROM table_26686908_2 WHERE rd = "Rd 2"
|
### Instruction:
I want to see trend of the number of season by season, and order in descending by the X.
### Response:
|
SELECT Season, COUNT(Season) FROM game GROUP BY Season ORDER BY Season DESC
|
### Instruction:
What was the prize pool for the event number 27H?
### Response:
|
SELECT "Prize Pool" FROM table_24746 WHERE "Event #" = '27H'
|
### Instruction:
What was the result of the game played in front of 65,473?
### Response:
|
SELECT result FROM table_name_19 WHERE attendance = "65,473"
|
### Instruction:
What designation has a launch weight of 11.3kg?
### Response:
|
SELECT "Designation" FROM table_5008 WHERE "Launch weight" = '11.3kg'
|
### Instruction:
What is the name of the stadium for the city of melfi?
### Response:
|
SELECT "Stadium" FROM table_56091 WHERE "City" = 'melfi'
|
### Instruction:
diastolic blood pressure < 90 mmhg
### Response:
|
SELECT * FROM table_test_13 WHERE diastolic_blood_pressure_dbp < 90
|
### Instruction:
Find the maximum capacity among rooms in each building with a bar chart, list by the names in ascending please.
### Response:
|
SELECT building, MAX(capacity) FROM classroom GROUP BY building ORDER BY building
|
### Instruction:
What place did the singer in atomic kitten finish?
### Response:
|
SELECT "Finished" FROM table_33854 WHERE "Famous for" = 'singer in atomic kitten'
|
### Instruction:
A major third of C has what listed for the Minor seventh?
### Response:
|
SELECT "Minor seventh" FROM table_64374 WHERE "Major third" = 'c'
|
### Instruction:
What were the lowest goals when the matches were smaller than 29?
### Response:
|
SELECT MIN("Goals") FROM table_61440 WHERE "Matches" < '29'
|
### Instruction:
What are the names of body builders?
### Response:
|
SELECT T2.name FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id
|
### Instruction:
Name the location attendance for january 18
### Response:
|
SELECT location_attendance FROM table_23286112_8 WHERE date = "January 18"
|
### Instruction:
On what date was the time of 16:24.12 achieved?
### Response:
|
SELECT date FROM table_name_36 WHERE time = "16:24.12"
|
### Instruction:
who was the top prize winner in cha $ e ?
### Response:
|
SELECT "name" FROM table_203_446 ORDER BY "prize money (usd)" DESC LIMIT 1
|
### Instruction:
What Brazil scorers have a 2-1 Score?
### Response:
|
SELECT "Brazil scorers" FROM table_5372 WHERE "Score" = '2-1'
|
### Instruction:
Who was Henry Hyde's opponent in the race?
### Response:
|
SELECT "Opponent" FROM table_702 WHERE "Incumbent" = 'Henry Hyde'
|
### Instruction:
Name the title that was written by r. scott gemmill
### Response:
|
SELECT title FROM table_17356042_1 WHERE written_by = "R. Scott Gemmill"
|
### Instruction:
Who left office on January 9, 1893
### Response:
|
SELECT name FROM table_name_32 WHERE left_office = "january 9, 1893"
|
### Instruction:
What is the first series episode number for 'the christmas watch'?
### Response:
|
SELECT MIN("Series #") FROM table_29108 WHERE "Title" = 'The Christmas Watch'
|
### Instruction:
how many different people scored in the 1997 game ?
### Response:
|
SELECT "scorers" FROM table_204_770 WHERE "season" = 1997
|
### Instruction:
What venue has more than 50,715 attending?
### Response:
|
SELECT venue FROM table_name_45 WHERE attendance > 50 OFFSET 715
|
### Instruction:
Fulham as Team 1 has the 2nd leg score of what?
### Response:
|
SELECT 2 AS nd_leg FROM table_name_44 WHERE team_1 = "fulham"
|
### Instruction:
For Venue vfl park, what was the home team score?
### Response:
|
SELECT "Home team score" FROM table_53708 WHERE "Venue" = 'vfl park'
|
### Instruction:
Find the number of members living in each address Show bar chart, and I want to show x-axis from low to high order.
### Response:
|
SELECT Address, COUNT(*) FROM member GROUP BY Address ORDER BY Address
|
### Instruction:
What's the location of the team Peter Stuyvesant International Racing?
### Response:
|
SELECT city___state FROM table_name_65 WHERE team = "peter stuyvesant international racing"
|
### Instruction:
Which Males have a percentage of 0.42?
### Response:
|
SELECT "males" FROM table_68315 WHERE "percentage (%)" = '0.42'
|
### Instruction:
What surface was used on may 13, 2007?
### Response:
|
SELECT surface FROM table_name_19 WHERE date = "may 13, 2007"
|
### Instruction:
Who is the home captain at the Adelaide Oval?
### Response:
|
SELECT "Home captain" FROM table_44918 WHERE "Venue" = 'adelaide oval'
|
### Instruction:
Which pick's round was 5 when Kellen Davis was a player?
### Response:
|
SELECT pick FROM table_name_40 WHERE round = "5" AND player = "kellen davis"
|
### Instruction:
What is the tournament location when Vicky Hurst in the champion?
### Response:
|
SELECT tournament_location FROM table_12243817_1 WHERE champion = "Vicky Hurst"
|
### Instruction:
what is procedure long title of procedure icd9 code 5187?
### Response:
|
SELECT procedures.long_title FROM procedures WHERE procedures.icd9_code = "5187"
|
### Instruction:
What is the 2nd leg that Team 1 is Union Berlin?
### Response:
|
SELECT 2 AS nd_leg FROM table_name_46 WHERE team_1 = "union berlin"
|
### Instruction:
What country do the Winnipeg Jets come from?
### Response:
|
SELECT "Nationality" FROM table_3655 WHERE "NHL team" = 'Winnipeg Jets'
|
### Instruction:
which sport had the least silver medalists ?
### Response:
|
SELECT "sport" FROM table_204_103 GROUP BY "sport" ORDER BY COUNT("medal") LIMIT 1
|
### Instruction:
What is jos mar a olaz bal's country?
### Response:
|
SELECT "Country" FROM table_50681 WHERE "Player" = 'josé maría olazábal'
|
### Instruction:
Who was the home team in the match against Luton Town?
### Response:
|
SELECT "Home team" FROM table_77169 WHERE "Away team" = 'luton town'
|
### Instruction:
Which player had a rank of 8 and tally of 1-5?
### Response:
|
SELECT player FROM table_name_56 WHERE rank = 8 AND tally = "1-5"
|
### Instruction:
Who did Dan Follet play for before the draft?
### Response:
|
SELECT "College/junior/club team" FROM table_2099 WHERE "Player" = 'Dan Follet'
|
### Instruction:
Tell me the average 1st prize for tennessee
### Response:
|
SELECT AVG("1st Prize( $ )") FROM table_57453 WHERE "Location" = 'tennessee'
|
### Instruction:
which fa cups had a total of 565 (7)?
### Response:
|
SELECT "FA Cup" FROM table_19728 WHERE "Total" = '565 (7)'
|
### Instruction:
What is the original airdate when the season number is 4?
### Response:
|
SELECT original_air_date FROM table_15824796_5 WHERE season__number = 4
|
### Instruction:
What is the highest week with a w 33-14 result?
### Response:
|
SELECT MAX(week) FROM table_name_38 WHERE result = "w 33-14"
|
### Instruction:
What opera has 19.87% as the firefox?
### Response:
|
SELECT "Opera" FROM table_79302 WHERE "Firefox" = '19.87%'
|
### Instruction:
how many total towns on the list are in montgomery county ?
### Response:
|
SELECT COUNT(*) FROM table_204_299 WHERE "principal county" = 'montgomery county'
|
### Instruction:
What is the number of draws for the team with a points difference of -210?
### Response:
|
SELECT drawn FROM table_name_12 WHERE points_difference = "-210"
|
### Instruction:
What is the venue when Geelong is the away team?
### Response:
|
SELECT "Venue" FROM table_74712 WHERE "Away team" = 'geelong'
|
### Instruction:
This institution nicknamed Fightin' engineers was founded on what year?
### Response:
|
SELECT founded FROM table_255205_1 WHERE nickname = "Fightin' Engineers"
|
### Instruction:
How many points did piritas klaip da get?
### Response:
|
SELECT "Points" FROM table_1408 WHERE "Club" = 'Piritas Klaipėda'
|
### Instruction:
which institutions can be categorized as private/united church of christ?
### Response:
|
SELECT institution FROM table_261895_1 WHERE type = "Private/United Church of Christ"
|
### Instruction:
What is the home city when Mladen Fran i is the manager?
### Response:
|
SELECT "Home city" FROM table_43832 WHERE "Manager" = 'mladen frančić'
|
### Instruction:
what type of engine did drivers use the most in this race ?
### Response:
|
SELECT "engine" FROM table_204_864 GROUP BY "engine" ORDER BY COUNT(*) DESC LIMIT 1
|
### Instruction:
How many dollars is listed under Sydney when the distance is 10km?
### Response:
|
SELECT "Sydney" FROM table_31019 WHERE "Distance" = '10km'
|
### Instruction:
Who is the captain of the 2012 NRL season competition?
### Response:
|
SELECT captain_s_ FROM table_name_75 WHERE competition = "2012 nrl season"
|
### Instruction:
Show the people that have been comptroller the most times and the corresponding number of times.
### Response:
|
SELECT Comptroller, COUNT(*) FROM party GROUP BY Comptroller ORDER BY COUNT(*) DESC LIMIT 1
|
### Instruction:
Who was the leading scorer in the game where the visiting team was the Pistons?
### Response:
|
SELECT leading_scorer FROM table_name_35 WHERE visitor = "pistons"
|
### Instruction:
How many attempts for Bobby Layne?
### Response:
|
SELECT MIN(attempts) FROM table_19418696_3 WHERE name = "Bobby Layne"
|
### Instruction:
How many times was Louisiana-Monroe a visiting team?
### Response:
|
SELECT COUNT("Time") FROM table_29075 WHERE "Visiting team" = 'Louisiana-Monroe'
|
### Instruction:
When Cancelable of yes, and a Type of drag, what was the Category?
### Response:
|
SELECT category FROM table_name_72 WHERE cancelable = "yes" AND type = "drag"
|
### Instruction:
what is the recording date when the title is screech owl blues?
### Response:
|
SELECT recording_date FROM table_name_79 WHERE title = "screech owl blues"
|
### Instruction:
What was the date of the game that had a score of 3 1?
### Response:
|
SELECT "Date" FROM table_77618 WHERE "Score" = '3 – 1'
|
### Instruction:
What is the away side when carlton is the home side?
### Response:
|
SELECT "Away team score" FROM table_32643 WHERE "Home team" = 'carlton'
|
### Instruction:
What was the record at the game against the Los Angeles Rams?
### Response:
|
SELECT "Record" FROM table_6599 WHERE "Opponent" = 'los angeles rams'
|
### Instruction:
When the away team was north melbourne, what was the away team score?
### Response:
|
SELECT away_team AS score FROM table_name_63 WHERE away_team = "north melbourne"
|
### Instruction:
When the Home team of carlton played, what was their score?
### Response:
|
SELECT "Home team score" FROM table_78439 WHERE "Home team" = 'carlton'
|
### Instruction:
What is the budget type code with most number of documents.
### Response:
|
SELECT budget_type_code FROM documents_with_expenses GROUP BY budget_type_code ORDER BY COUNT(*) DESC LIMIT 1
|
### Instruction:
What length was won by Roger McCluskey?
### Response:
|
SELECT length FROM table_22669816_1 WHERE winning_driver = "Roger McCluskey"
|
### Instruction:
What home team had a record of 4-16-7?
### Response:
|
SELECT "Home" FROM table_11729 WHERE "Record" = '4-16-7'
|
### Instruction:
What is Award, when Category is Cabello Maluco?
### Response:
|
SELECT "Award" FROM table_48510 WHERE "Category" = 'cabello maluco'
|
### Instruction:
WHAT CHARTING HAS NO BLOGS OR DISCUSSION?
### Response:
|
SELECT charting FROM table_name_96 WHERE blogs = "no" AND discussion = "no"
|
### Instruction:
Name the maximum wins for 68.75%
### Response:
|
SELECT MAX("Wins") FROM table_20326 WHERE "Success Rate" = '68.75%'
|
### Instruction:
What is the smallest height associated with Honduras?
### Response:
|
SELECT MIN(height__cm_) FROM table_25461827_2 WHERE country = "Honduras"
|
### Instruction:
Which Points have a Lost smaller than 1, and Games larger than 7?
### Response:
|
SELECT MAX(points) FROM table_name_81 WHERE lost < 1 AND games > 7
|
### Instruction:
What type has an overall length of 1.605 m?
### Response:
|
SELECT "Type" FROM table_5009 WHERE "Length overall" = '1.605 m'
|
### Instruction:
For the team led by head coach Felix Magath, who is the team captain?
### Response:
|
SELECT team AS Captain FROM table_name_91 WHERE head_coach = "felix magath"
|
### Instruction:
What's the center of the Artsakh province?
### Response:
|
SELECT center FROM table_23887174_1 WHERE province__ashkharh_ = "Artsakh"
|
### Instruction:
how many times did tomlinson appear in the olympic games ?
### Response:
|
SELECT COUNT(*) FROM table_203_715 WHERE "competition" = 'olympic games'
|
### Instruction:
what is procedure long title of procedure icd9 code 9983?
### Response:
|
SELECT procedures.long_title FROM procedures WHERE procedures.icd9_code = "9983"
|
### Instruction:
Name the heightfor city of license of malone, ny
### Response:
|
SELECT height_m___ft__ FROM table_name_44 WHERE city_of_license = "malone, ny"
|
### Instruction:
What is the sum of crowd(s) at princes park?
### Response:
|
SELECT SUM("Crowd") FROM table_4869 WHERE "Venue" = 'princes park'
|
### Instruction:
What is the percentage for Brown when the lead margin is 26?
### Response:
|
SELECT republican AS :_roy_brown FROM table_name_35 WHERE lead_margin = 26
|
### Instruction:
What is the sum of the total for a routine score of 26.6?
### Response:
|
SELECT SUM(total) FROM table_name_69 WHERE routine_score = 26.6
|
### Instruction:
What was the production code of the episode ranked 28?
### Response:
|
SELECT production_code FROM table_26200084_1 WHERE rank__week_ = "28"
|
### Instruction:
what is the least the starzzs have scored at a home game ?
### Response:
|
SELECT MIN("score") FROM table_204_73 WHERE "opponent" = 'home'
|
### Instruction:
Which Team has 19 Carries, and a Week larger than 13?
### Response:
|
SELECT team FROM table_name_18 WHERE carries = 19 AND week > 13
|
### Instruction:
What was the home teams score while playing the away team of south melbourne?
### Response:
|
SELECT home_team AS score FROM table_name_73 WHERE away_team = "south melbourne"
|
### Instruction:
What was the attendance last year at Manuka Oval?
### Response:
|
SELECT last_year FROM table_1161065_28 WHERE venue = "Manuka Oval"
|
### Instruction:
The firs park stadium had the lowest average attendence of what?
### Response:
|
SELECT MIN("Average") FROM table_147 WHERE "Stadium" = 'Firs Park'
|
### Instruction:
Which 2nd Party has a Election of 1857?
### Response:
|
SELECT 2 AS nd_party FROM table_name_14 WHERE election = "1857"
|
### Instruction:
What position was the player who was drafted by the Washington Capitals?
### Response:
|
SELECT "Position" FROM table_30560 WHERE "NHL team" = 'Washington Capitals'
|
### Instruction:
Which Physical property has a Helium of 0.0693?
### Response:
|
SELECT physical_property FROM table_name_13 WHERE helium = "0.0693"
|
### Instruction:
If the country of Origin is South Africa, who is the primary user?
### Response:
|
SELECT "primary user" FROM table_28656 WHERE "Country of origin" = 'South Africa'
|
### Instruction:
What was the venue when David Jacobs was the host?
### Response:
|
SELECT venue FROM table_name_30 WHERE semi_final_heat_host = "david jacobs"
|
### Instruction:
Tell me the surface for november 28, 2010
### Response:
|
SELECT surface FROM table_name_34 WHERE date = "november 28, 2010"
|
### Instruction:
What is Kris doolan's league number?
### Response:
|
SELECT COUNT(league) FROM table_22683369_8 WHERE player = "Kris Doolan"
|
### Instruction:
What episode number was titled 'my oh maya'?
### Response:
|
SELECT MIN("No. in season") FROM table_72942 WHERE "Title" = 'My Oh Maya'
|
### Instruction:
What amount of times is the name, Bok De Korver listed?
### Response:
|
SELECT MAX("number") FROM table_16898 WHERE "name" = 'Bok de Korver'
|
### Instruction:
What is the covalent (single bond) value of sodium?
### Response:
|
SELECT covalent__single_bond_ FROM table_name_21 WHERE name = "sodium"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.