instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
Which decile has an Area of welcome bay, and an Authority of state?
### Response:
| SELECT decile FROM table_name_62 WHERE area = "welcome bay" AND authority = "state" |
### Instruction:
How many season did sportfreunde siegen win best supported club?
### Response:
| SELECT COUNT("Season") FROM table_481 WHERE "Best supported Club" = 'Sportfreunde Siegen' |
### Instruction:
who is the founder where date is c. 1900
### Response:
| SELECT "Founder" FROM table_16607 WHERE "Date" = 'c. 1900' |
### Instruction:
Tell me the Australia march 17, 2005
### Response:
| SELECT australia FROM table_name_84 WHERE japan = "march 17, 2005" |
### Instruction:
List the record from the game where Wildcats had 48 points.
### Response:
| SELECT "Record" FROM table_26932 WHERE "Wildcats points" = '48' |
### Instruction:
What is the date of the Sydney, Australia tournament with a hard surface?
### Response:
| SELECT date FROM table_name_50 WHERE surface = "hard" AND tournament = "sydney, australia" |
### Instruction:
What is the Week of the game against Green Bay Packers?
### Response:
| SELECT AVG("Week") FROM table_64794 WHERE "Opponent" = 'green bay packers' |
### Instruction:
How much money was there when the to par was 15?
### Response:
| SELECT SUM("Money ( $ )") FROM table_62090 WHERE "To par" = '15' |
### Instruction:
Where was the game held where Hawthorn was the away team?
### Response:
| SELECT "Venue" FROM table_32746 WHERE "Away team" = 'hawthorn' |
### Instruction:
which round is u.s. open cup division semifinals
### Response:
| SELECT us_open_cup FROM table_1046170_5 WHERE playoffs = "division Semifinals" |
### Instruction:
what is the admission location of subject id 2560?
### Response:
| SELECT demographic.admission_location FROM demographic WHERE demographic.subject_id = "2560" |
### Instruction:
what are the number of times antonov is listed as the manufacturer ?
### Response:
| SELECT COUNT(*) FROM table_203_601 WHERE "manufacturer" = 'antonov' |
### Instruction:
What is under drafted when pro team is arizona cardinals?
### Response:
| SELECT drafted FROM table_1198175_1 WHERE pro_team = "Arizona Cardinals" |
### Instruction:
which stage had the most cyclists withdraw ?
### Response:
| SELECT "stage" FROM table_204_530 GROUP BY "stage" ORDER BY COUNT("cyclist") DESC LIMIT 1 |
### Instruction:
Which country has a qualsiasi tranne sky hd package/option?
### Response:
| SELECT country FROM table_name_21 WHERE package_option = "qualsiasi tranne sky hd" |
### Instruction:
What Dance in Week 1 resulted in Safe?
### Response:
| SELECT "Dance" FROM table_65975 WHERE "Result" = 'safe' AND "Week" = '1' |
### Instruction:
How many teams finished with a 2nd points total of 31?
### Response:
| SELECT COUNT("Position") FROM table_21638 WHERE "Points 2" = '31' |
### Instruction:
What is the stage reached for venue edmonton green?
### Response:
| SELECT "Stage Reached" FROM table_55356 WHERE "Venue" = 'edmonton green' |
### Instruction:
how many songs were not on albums , being only released as a single ?
### Response:
| SELECT COUNT("song") FROM table_203_830 WHERE "album" = 'singles only' |
### Instruction:
What is the lowest year for stage 12, category 1?
### Response:
| SELECT MIN(year) FROM table_name_33 WHERE category = "1" AND stage = 12 |
### Instruction:
What are the moving parts of lead-acid?
### Response:
| SELECT "Moving Parts" FROM table_44923 WHERE "Technology" = 'lead-acid' |
### Instruction:
In which series was season 18?
### Response:
| SELECT COUNT(no_in_series) FROM table_2409041_6 WHERE no_in_season = 18 |
### Instruction:
What's the release date of the processor with 2.8 ghz of frequency?
### Response:
| SELECT release_date FROM table_name_77 WHERE frequency = "2.8 ghz" |
### Instruction:
Who is in January where April is chris cranston?
### Response:
| SELECT "January" FROM table_66797 WHERE "April" = 'chris cranston' |
### Instruction:
What was the position of the event held in Valencia, Spain?
### Response:
| SELECT "Position" FROM table_60747 WHERE "Venue" = 'valencia, spain' |
### Instruction:
What is the pick of Texas-San Antonio?
### Response:
| SELECT AVG("Pick") FROM table_44326 WHERE "College" = 'texas-san antonio' |
### Instruction:
What is the location of the daytona international speedway?
### Response:
| SELECT location FROM table_1245148_1 WHERE track_name = "Daytona International Speedway" |
### Instruction:
What is the chromosomal location of il-1 ?
### Response:
| SELECT "Chromosomal location" FROM table_4253 WHERE "Name" = 'IL-1β' |
### Instruction:
What is the height of the Tenth Presbyterian Church?
### Response:
| SELECT height_ft__m_ FROM table_name_69 WHERE name = "tenth presbyterian church" |
### Instruction:
Who is the winner where the losing hand is Ah 7s?
### Response:
| SELECT "Winner" FROM table_17694 WHERE "Losing Hand" = 'Ah 7s' |
### Instruction:
four corners has 13 premierships listed , what was their nickname ?
### Response:
| SELECT "nickname" FROM table_204_198 WHERE "club" = 'four corners' |
### Instruction:
how many airports are there in the townsville community ?
### Response:
| SELECT COUNT("airport name") FROM table_204_139 WHERE "community" = 'townsville' |
### Instruction:
Which team won at the symmons plains raceway?
### Response:
| SELECT "Team" FROM table_61210 WHERE "Circuit" = 'symmons plains raceway' |
### Instruction:
What party did the incumbent Thomas P. Moore belong to?
### Response:
| SELECT party FROM table_2668254_8 WHERE incumbent = "Thomas P. Moore" |
### Instruction:
And does 584 have a lab ?
### Response:
| SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 584 |
### Instruction:
how many coupless totalled 14.5
### Response:
| SELECT COUNT(couple) FROM table_19744915_3 WHERE total = "14.5" |
### Instruction:
who is the away team when the home team is hartlepool united?
### Response:
| SELECT away_team FROM table_name_10 WHERE home_team = "hartlepool united" |
### Instruction:
By how many strokes did Lema beat Jack Nicklaus?
### Response:
| SELECT margin_of_victory FROM table_name_16 WHERE runner_s__up = "jack nicklaus" |
### Instruction:
Which tournament was on 2009 with 11?
### Response:
| SELECT "Tournament" FROM table_56659 WHERE "2009" = '11' |
### Instruction:
What date was parliament assembled when John rudhale was first member?
### Response:
| SELECT "Assembled" FROM table_1256 WHERE "First member" = 'John Rudhale' |
### Instruction:
What episode had a run time of 24:25?
### Response:
| SELECT "Episode" FROM table_20306 WHERE "Run time" = '24:25' |
### Instruction:
What's the average year lebanon won?
### Response:
| SELECT AVG("Year") FROM table_59793 WHERE "Country/Territory" = 'lebanon' |
### Instruction:
How many judges points did the couple ranked at number 5 have?
### Response:
| SELECT MAX(judges) FROM table_19744915_22 WHERE rank = 5 |
### Instruction:
Which catalogue has essential, castle music as it's label?
### Response:
| SELECT "Catalogue" FROM table_71784 WHERE "Label" = 'essential, castle music' |
### Instruction:
What rank is the airport whose IATA Code is JFK?
### Response:
| SELECT "Rank" FROM table_22103 WHERE "IATA Code" = 'JFK' |
### Instruction:
What Race did Michele Alboreto win?
### Response:
| SELECT "Race" FROM table_57062 WHERE "Race Winner" = 'michele alboreto' |
### Instruction:
What's listed for the Elevated category that has an Order of Cardinal-Bishop?
### Response:
| SELECT elevated FROM table_name_78 WHERE order = "cardinal-bishop" |
### Instruction:
Show id from each meter 500, and could you show by the x-axis in asc?
### Response:
| SELECT meter_500, ID FROM swimmer ORDER BY meter_500 |
### Instruction:
How many years were there for the 62nd golden globe awards?
### Response:
| SELECT SUM(year) FROM table_name_29 WHERE awards = "62nd golden globe awards" |
### Instruction:
what's the state with highest point being mount katahdin
### Response:
| SELECT state FROM table_1416612_1 WHERE highest_point = "Mount Katahdin" |
### Instruction:
What round did they face fc st. gallen?
### Response:
| SELECT COUNT(round) FROM table_2214582_3 WHERE opponents = "FC St. Gallen" |
### Instruction:
What is Away Team, when Ground is Colonial Stadium?
### Response:
| SELECT "Away team" FROM table_48720 WHERE "Ground" = 'colonial stadium' |
### Instruction:
Count the number of captains that have each rank by a bar chart, list the total number from high to low order.
### Response:
| SELECT Rank, COUNT(*) FROM captain GROUP BY Rank ORDER BY COUNT(*) DESC |
### Instruction:
contraindication to raising legs or head to 45 degrees for 3 minute intervals
### Response:
| SELECT * FROM table_train_10 WHERE raising_legs_or_head = 1 |
### Instruction:
What was the bronze medal count of the team that finished with 47 total medals?
### Response:
| SELECT AVG(bronze) FROM table_name_86 WHERE total = 47 |
### Instruction:
what is the album when the year is later than 2008?
### Response:
| SELECT "Album" FROM table_45881 WHERE "Year" > '2008' |
### Instruction:
What venue does st kilda play at as the away team?
### Response:
| SELECT "Venue" FROM table_33749 WHERE "Away team" = 'st kilda' |
### Instruction:
Team 1, Everton, has what as a 1st leg?
### Response:
| SELECT "1st leg" FROM table_8438 WHERE "Team 1" = 'everton' |
### Instruction:
How many years were the events won by KCLMS less than 7?
### Response:
| SELECT COUNT(year) FROM table_name_8 WHERE events_won_by_kclMS < 7 |
### Instruction:
What is the minimum grid when there was more than 22 laps?
### Response:
| SELECT MIN("Grid") FROM table_61785 WHERE "Laps" > '22' |
### Instruction:
What's the name of the team who had a Honda motorcycle?
### Response:
| SELECT "Team" FROM table_73168 WHERE "Motorcycle" = 'Honda' |
### Instruction:
Who had highest assists at game on December 21?
### Response:
| SELECT COUNT("High assists") FROM table_29855 WHERE "Date" = 'December 21' |
### Instruction:
What home team had an attendance record of 16,971?
### Response:
| SELECT home_team FROM table_name_68 WHERE attendance = "16,971" |
### Instruction:
Name the sum of frequecy with brand of exa fm
### Response:
| SELECT SUM("Frequency") FROM table_68581 WHERE "Brand" = 'exa fm' |
### Instruction:
in april 13 who made the high rebounds
### Response:
| SELECT high_rebounds FROM table_30047613_12 WHERE date = "April 13" |
### Instruction:
How many significant relationships list Will as a virtue?
### Response:
| SELECT COUNT(significant_relationship) FROM table_1058787_1 WHERE virtues = "Will" |
### Instruction:
Who is the opponent when the attendance is 57,331?
### Response:
| SELECT opponent FROM table_name_41 WHERE attendance = "57,331" |
### Instruction:
What is the total of 2013 with 6th?
### Response:
| SELECT MAX("Total") FROM table_68541 WHERE "2013" = '6th' |
### Instruction:
Bar chart, X is bed type and the Y-axis is their appearance frequency.
### Response:
| SELECT bedType, COUNT(bedType) FROM Rooms WHERE decor = "traditional" GROUP BY bedType |
### Instruction:
what is the number of draws for ali said gouled?
### Response:
| SELECT COUNT("Draws") FROM table_71001 WHERE "Name" = 'ali said gouled' |
### Instruction:
What is the date of the game with a result of W 13-10?
### Response:
| SELECT date FROM table_name_53 WHERE result = "w 13-10" |
### Instruction:
Which country has a Col (m) of 1374?
### Response:
| SELECT "Country" FROM table_66240 WHERE "Col (m)" = '1374' |
### Instruction:
Find the number of rooms with price higher than 120 for different decor. Show the proportion.
### Response:
| SELECT decor, COUNT(*) FROM Rooms WHERE basePrice > 120 GROUP BY decor |
### Instruction:
What is the lowest overall number for total(min. 2 medals)?
### Response:
| SELECT MIN(total_min_2_medals_) FROM table_22355_65 |
### Instruction:
Which To par has a Place in t9 and a Country of Spain?
### Response:
| SELECT to_par FROM table_name_55 WHERE place = "t9" AND country = "spain" |
### Instruction:
How many people directed the show written by Chris Sheridan?
### Response:
| SELECT COUNT("Directed by") FROM table_19532 WHERE "Written by" = 'Chris Sheridan' |
### Instruction:
Name the number of points defending for 1075
### Response:
| SELECT COUNT("Points defending") FROM table_73559 WHERE "New points" = '1075' |
### Instruction:
Who is the driver of the entry constructed by Mercedes-Benz?
### Response:
| SELECT driver FROM table_18893428_1 WHERE constructor = "Mercedes-Benz" |
### Instruction:
What rank has a population of 4839400?
### Response:
| SELECT MIN(rank) FROM table_name_87 WHERE population = "4839400" |
### Instruction:
What is the smallest scored with a result of 46-18?
### Response:
| SELECT MIN(scored) FROM table_name_49 WHERE result = "46-18" |
### Instruction:
What was the attendance when the VFL played Arden Street Oval?
### Response:
| SELECT COUNT(crowd) FROM table_name_50 WHERE venue = "arden street oval" |
### Instruction:
Name the 1st match for brisbane bears
### Response:
| SELECT "1st Match" FROM table_71865 WHERE "Team" = 'brisbane bears' |
### Instruction:
Tell me the category for result of won and year more than 2009
### Response:
| SELECT category FROM table_name_77 WHERE result = "won" AND year > 2009 |
### Instruction:
What kind of chassis does Ricardo Zonta have?
### Response:
| SELECT "Chassis" FROM table_77604 WHERE "Driver" = 'ricardo zonta' |
### Instruction:
what is days of hospital stay of subject id 2560?
### Response:
| SELECT demographic.days_stay FROM demographic WHERE demographic.subject_id = "2560" |
### Instruction:
Which January has an Opponent of @ detroit red wings?
### Response:
| SELECT AVG(january) FROM table_name_74 WHERE opponent = "@ detroit red wings" |
### Instruction:
Please give me the title of Season 2, episode 1.
### Response:
| SELECT title FROM table_12451376_2 WHERE season_2_ep__number = 1 |
### Instruction:
Name the production code for number in season being 21
### Response:
| SELECT production_code FROM table_22948559_1 WHERE no_in_season = "21" |
### Instruction:
Name the stadium for nizhny novgorod
### Response:
| SELECT "Stadium" FROM table_30443 WHERE "City" = 'Nizhny Novgorod' |
### Instruction:
Which transfer window was moving from borussia dortmund?
### Response:
| SELECT "Transfer window" FROM table_70765 WHERE "Moving from" = 'borussia dortmund' |
### Instruction:
What is the % of seats where the difference is 0.25?
### Response:
| SELECT "% of seats" FROM table_9094 WHERE "difference" = '0.25' |
### Instruction:
Name the total number of offensive for colin doyle
### Response:
| SELECT COUNT(offensive) FROM table_23265433_2 WHERE overall = "Colin Doyle" |
### Instruction:
What was the away team that played at Corio Oval?
### Response:
| SELECT "Away team" FROM table_33049 WHERE "Venue" = 'corio oval' |
### Instruction:
What is the surface of the tournament with Sascha Kloer as the opponent?
### Response:
| SELECT surface FROM table_name_37 WHERE opponent = "sascha kloer" |
### Instruction:
which airing had the least number of viewers ?
### Response:
| SELECT "air date" FROM table_204_996 ORDER BY "viewers\n(millions)" LIMIT 1 |
### Instruction:
at most , what is spain 's win percentage against another country .
### Response:
| SELECT "win %" FROM table_203_378 ORDER BY "win %" DESC LIMIT 1 |
### Instruction:
What is Team (B), when S No is greater than 17?
### Response:
| SELECT "Team (B)" FROM table_41136 WHERE "S No" > '17' |
### Instruction:
what is the number of multiplayer browser games released in 2003 ?
### Response:
| SELECT COUNT(*) FROM table_204_700 WHERE "release" = 2003 |
### Instruction:
how many drawn with tries against being 24
### Response:
| SELECT COUNT(drawn) FROM table_12828723_3 WHERE tries_against = "24" |
### Instruction:
What is the total when the score for set 2 is 25 22?
### Response:
| SELECT total FROM table_name_86 WHERE set_2 = "25–22" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.