instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What is the year of the tournament played at Melbourne, Australia?
### Response:
| SELECT AVG(year) FROM table_name_89 WHERE venue = "melbourne, australia" |
### Instruction:
What is the upstream for the internet 100 plans?
### Response:
| SELECT upstream FROM table_name_42 WHERE internet_plan = "internet 100" |
### Instruction:
What event placed bronze earlier than 1987?
### Response:
| SELECT event FROM table_name_16 WHERE placed = "bronze" AND year < 1987 |
### Instruction:
List the names of aircrafts and that did not win any match.
### Response:
| SELECT Aircraft FROM aircraft WHERE NOT Aircraft_ID IN (SELECT Winning_Aircraft FROM MATCH) |
### Instruction:
I want the director for heroes of the wild
### Response:
| SELECT "Director" FROM table_57615 WHERE "Serial Title" = 'heroes of the wild' |
### Instruction:
Find the name of captains whose rank are either Midshipman or Lieutenant.
### Response:
| SELECT name FROM captain WHERE rank = 'Midshipman' OR rank = 'Lieutenant' |
### Instruction:
when were the madison mallards established ?
### Response:
| SELECT "established" FROM table_202_85 WHERE "club" = 'madison mallards' |
### Instruction:
What's Georgia5's first elected year?
### Response:
| SELECT MAX("First elected") FROM table_18202 WHERE "District" = 'Georgia5' |
### Instruction:
Where does the defensive back position appear first?
### Response:
| SELECT MIN(round) FROM table_10361230_1 WHERE position = "Defensive Back" |
### Instruction:
Which tracks have a length of 18:36?
### Response:
| SELECT MIN(tracks) FROM table_name_26 WHERE length = "18:36" |
### Instruction:
What is the ICAO when the IATA is ika?
### Response:
| SELECT "ICAO" FROM table_41851 WHERE "IATA" = 'ika' |
### Instruction:
What was the score when Walsall was the away team?
### Response:
| SELECT "Score" FROM table_46580 WHERE "Away team" = 'walsall' |
### Instruction:
What Utah Jazz guard, played at BYU?
### Response:
| SELECT player FROM table_name_52 WHERE position = "guard" AND school_club_team = "byu" |
### Instruction:
What character did actor Damien Richardson play?
### Response:
| SELECT "Character" FROM table_4558 WHERE "Actor/actress" = 'damien richardson' |
### Instruction:
Venue of Pepsi arena involved what club?
### Response:
| SELECT "Club" FROM table_36909 WHERE "Venue" = 'pepsi arena' |
### Instruction:
in what year was twilight heroes released ?
### Response:
| SELECT "release" FROM table_204_700 WHERE "name" = 'twilight heroes' |
### Instruction:
Find all the catalog publishers whose name contains 'Murray
### Response:
| SELECT DISTINCT (catalog_publisher) FROM catalogs WHERE catalog_publisher LIKE "%Murray%" |
### Instruction:
What is the frequency of the train to Bangalore?
### Response:
| SELECT "Frequency" FROM table_51962 WHERE "Destination" = 'bangalore' |
### Instruction:
Plot salary by grouped by email as a bar graph, and order in desc by the X please.
### Response:
| SELECT EMAIL, SALARY FROM employees ORDER BY EMAIL DESC |
### Instruction:
What location has tatsuhito takaiwa as the wrestler?
### Response:
| SELECT location FROM table_name_14 WHERE wrestler = "tatsuhito takaiwa" |
### Instruction:
What Home team plays at the princes park Venue?
### Response:
| SELECT "Home team" FROM table_55318 WHERE "Venue" = 'princes park' |
### Instruction:
What was the team they played when the series was 2-1?
### Response:
| SELECT "Team" FROM table_48588 WHERE "Series" = '2-1' |
### Instruction:
What Driver has a +1.027 Time/Retired?
### Response:
| SELECT driver FROM table_name_86 WHERE time_retired = "+1.027" |
### Instruction:
What was the record after the game against the St. Louis Cardinals?
### Response:
| SELECT record FROM table_name_15 WHERE opponent = "st. louis cardinals" |
### Instruction:
On May 26, what was the team's record?
### Response:
| SELECT "Record" FROM table_15608 WHERE "Date" = 'may 26' |
### Instruction:
Which level has grandmaster flash as artist 1?
### Response:
| SELECT "Level" FROM table_26217 WHERE "Artist 1" = 'Grandmaster Flash' |
### Instruction:
what is the to par for geoff ogilvy?
### Response:
| SELECT "To par" FROM table_63554 WHERE "Player" = 'geoff ogilvy' |
### Instruction:
What is the highest number drawn when the position was 12?
### Response:
| SELECT MAX("Drawn") FROM table_43781 WHERE "Position" = '12' |
### Instruction:
What was the score for the game with a tie no of 1?
### Response:
| SELECT "Score" FROM table_66645 WHERE "Tie no" = '1' |
### Instruction:
tell me the intake method for syringe?
### Response:
| SELECT DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'syringe' |
### Instruction:
What was the group d winner for modena?
### Response:
| SELECT "Group D Winner" FROM table_16656 WHERE "Group B Winner" = 'Modena' |
### Instruction:
What is the team 1 with tikve as team 2?
### Response:
| SELECT team_1 FROM table_name_92 WHERE team_2 = "tikveš" |
### Instruction:
Which City has an Average of 6.85?
### Response:
| SELECT "City" FROM table_41188 WHERE "Average" = '6.85' |
### Instruction:
Name the car number for 1997
### Response:
| SELECT car__number FROM table_1688640_4 WHERE year_started = 1997 |
### Instruction:
what was the result on 01x06
### Response:
| SELECT "Scores" FROM table_30954 WHERE "Episode" = '01x06' |
### Instruction:
What region is William R. Johnson Coliseum in?
### Response:
| SELECT region FROM table_name_30 WHERE venue = "william r. johnson coliseum" |
### Instruction:
What year was the Beaudesert suburb club founded
### Response:
| SELECT "Founded" FROM table_36112 WHERE "Suburb" = 'beaudesert' |
### Instruction:
Return the different nominees of musicals that have an award that is not the Tony Award.
### Response:
| SELECT DISTINCT nominee FROM musical WHERE award <> "Tony Award" |
### Instruction:
Which round was Robert Deciantis taken in?
### Response:
| SELECT "Round" FROM table_35054 WHERE "Player" = 'robert deciantis' |
### Instruction:
What is origin country for a title that charted at 52?
### Response:
| SELECT "Origin" FROM table_37630 WHERE "Chart no." = '52' |
### Instruction:
Tell me the score for opponent of holy cross and result of push
### Response:
| SELECT score FROM table_name_3 WHERE opponent = "holy cross" AND result = "push" |
### Instruction:
Plot year by mean price as a line chart, rank from high to low by the x axis.
### Response:
| SELECT Year, AVG(Price) FROM wine GROUP BY Year ORDER BY Year DESC |
### Instruction:
What is the elite eight result for the big west?
### Response:
| SELECT "Elite Eight" FROM table_58538 WHERE "Conference" = 'big west' |
### Instruction:
On what date is Jerilyn Britz the runner-up?
### Response:
| SELECT date FROM table_name_32 WHERE runner_s__up = "jerilyn britz" |
### Instruction:
Which Score has a Record of 15 12 2?
### Response:
| SELECT score FROM table_name_28 WHERE record = "15–12–2" |
### Instruction:
Who were the GT winning team when the results were 'report'?
### Response:
| SELECT "GT Winning Team" FROM table_29897 WHERE "Results" = 'Report' |
### Instruction:
What is the total pick with Bill Duffy?
### Response:
| SELECT SUM("Pick") FROM table_49448 WHERE "Player" = 'bill duffy' |
### Instruction:
Who wrote the episode with series number 56?
### Response:
| SELECT writer_s_ FROM table_25800134_1 WHERE series__number = 56 |
### Instruction:
What is the number of extra laps for 9 total points?
### Response:
| SELECT "Extra Laps" FROM table_9914 WHERE "Total Points" = '9' |
### Instruction:
What position does Maryland have a player for Round 3?
### Response:
| SELECT position FROM table_name_81 WHERE school_club_team = "maryland" AND round = 3 |
### Instruction:
How many seasons are there for the 3rd position?
### Response:
| SELECT COUNT(season) FROM table_29471472_1 WHERE position = "3rd" |
### Instruction:
how long was daubin in office ?
### Response:
| SELECT "to" - "from" FROM table_203_372 WHERE "name" = 'daubin' |
### Instruction:
Tell me the build year for total production of 150
### Response:
| SELECT "Build year" FROM table_31852 WHERE "Total production" = '150' |
### Instruction:
What was the 2nd's season's ranking?
### Response:
| SELECT "Ranking" FROM table_31391 WHERE "Season" = '2nd' |
### Instruction:
Which Size has a County of 62 perry?
### Response:
| SELECT MAX("Size") FROM table_65534 WHERE "County" = '62 perry' |
### Instruction:
Where are the Alexandria enrollment locations?
### Response:
| SELECT enrollment FROM table_2076608_3 WHERE location_s_ = "Alexandria" |
### Instruction:
Which team has 16 points and ranks 14th?
### Response:
| SELECT team FROM table_name_90 WHERE points = 16 AND rank = "14th" |
### Instruction:
Name the model for specification of dl-066
### Response:
| SELECT "Model" FROM table_70710 WHERE "Specification" = 'dl-066' |
### Instruction:
Draw a bar chart for how many stadiums does each country have?, and show total number in asc order.
### Response:
| SELECT Country, COUNT(*) FROM stadium GROUP BY Country ORDER BY COUNT(*) |
### Instruction:
Show the relation between team id and acc_percent for each All_Home using a scatter chart
### Response:
| SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY All_Home |
### Instruction:
What Week 2 has a Week 3 of casey mae?
### Response:
| SELECT week_2 FROM table_name_16 WHERE week_3 = "casey mae" |
### Instruction:
Name the winner for jason byrne
### Response:
| SELECT "Winner" FROM table_23436 WHERE "Marcus guest" = 'Jason Byrne' |
### Instruction:
Attendance of 23,150 had what opponent?
### Response:
| SELECT opponent FROM table_name_49 WHERE attendance = "23,150" |
### Instruction:
what is the hometown for mike ladd?
### Response:
| SELECT "Hometown" FROM table_31264 WHERE "Name" = 'Mike Ladd' |
### Instruction:
Which provider is pay with analogue cable?
### Response:
| SELECT provider FROM table_name_83 WHERE free_or_pay = "pay" AND transmission = "analogue cable" |
### Instruction:
Name the segment d for combination locks
### Response:
| SELECT segment_d FROM table_15187735_3 WHERE segment_a = "Combination Locks" |
### Instruction:
Which venue closed in 1996?
### Response:
| SELECT "Venue" FROM table_43485 WHERE "Closed" = '1996' |
### Instruction:
What was the home team score when North Melbourne was the away team?
### Response:
| SELECT home_team AS score FROM table_name_8 WHERE away_team = "north melbourne" |
### Instruction:
What school had a team name of the Trojans?
### Response:
| SELECT "School" FROM table_37988 WHERE "Team Name" = 'trojans' |
### Instruction:
Name the number of date for 1-0 record
### Response:
| SELECT COUNT(date) FROM table_21091157_1 WHERE record = "1-0" |
### Instruction:
What venue has don bradman (nsw) as the player?
### Response:
| SELECT venue FROM table_name_7 WHERE player = "don bradman (nsw)" |
### Instruction:
When 1-1 is the series who is the team?
### Response:
| SELECT team FROM table_22883210_11 WHERE series = "1-1" |
### Instruction:
Name the school/s with is size of 604.
### Response:
| SELECT "School" FROM table_23354 WHERE "Size" = '604' |
### Instruction:
Which shoulder charge has restricted as the body tackle?
### Response:
| SELECT "shoulder charge" FROM table_33082 WHERE "body tackle" = 'restricted' |
### Instruction:
Visualize a scatter chart on what are the average prices of products, grouped by manufacturer code?
### Response:
| SELECT AVG(Price), Manufacturer FROM Products GROUP BY Manufacturer |
### Instruction:
Player of herbert s. graver has what position?
### Response:
| SELECT "Position" FROM table_34216 WHERE "Player" = 'herbert s. graver' |
### Instruction:
Name the total number of losses with number result less than 0
### Response:
| SELECT COUNT("Losses") FROM table_38073 WHERE "No Result" < '0' |
### Instruction:
Which Title has a Type of album in 1983?
### Response:
| SELECT title FROM table_name_34 WHERE type = "album" AND year = 1983 |
### Instruction:
What was the score in the game on November 21?
### Response:
| SELECT "Score" FROM table_29869 WHERE "Date" = 'November 21' |
### Instruction:
What termini does the route with a population Area of aguilares have?
### Response:
| SELECT termini FROM table_name_40 WHERE population_area = "aguilares" |
### Instruction:
How many total No Results are recorded for less than 6 wins?
### Response:
| SELECT COUNT("No Result") FROM table_39854 WHERE "Wins" < '6' |
### Instruction:
Who was the player that was picked by Los Angeles Kings?
### Response:
| SELECT player FROM table_2886617_6 WHERE nhl_team = "Los Angeles Kings" |
### Instruction:
Who was the home team that has a tie no of 1?
### Response:
| SELECT "Home team" FROM table_66642 WHERE "Tie no" = '1' |
### Instruction:
What is the pinyin for explaining beasts?
### Response:
| SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Beasts" |
### Instruction:
Show name and distance for all aircrafts Visualize by bar chart, could you rank from high to low by the y-axis?
### Response:
| SELECT name, distance FROM aircraft ORDER BY distance DESC |
### Instruction:
What is the GDP $IDB in Istanbul?
### Response:
| SELECT gdp_in_$id_b FROM table_name_42 WHERE city = "istanbul" |
### Instruction:
What is the maximum goal after 1979?
### Response:
| SELECT MAX("Goal") FROM table_20045 WHERE "From" = '1979' |
### Instruction:
How many schools did Derrick Green attend?
### Response:
| SELECT COUNT(school) FROM table_11677691_11 WHERE player = "Derrick Green" |
### Instruction:
there are at least 10 mps for how many political parties ?
### Response:
| SELECT COUNT(*) FROM table_203_139 WHERE "mps" >= 10 |
### Instruction:
Who wrote 'The Six Stages of Marshall'?
### Response:
| SELECT "Writer" FROM table_13670 WHERE "Title" = 'the six stages of marshall' |
### Instruction:
How many positions are for creighton?
### Response:
| SELECT COUNT("Position") FROM table_16833 WHERE "School/Club Team" = 'Creighton' |
### Instruction:
What Level has a Season larger than 2010?
### Response:
| SELECT "Level" FROM table_64466 WHERE "Season" > '2010' |
### Instruction:
What is the rank of the swimmer named Petria Thomas?
### Response:
| SELECT "Rank" FROM table_68383 WHERE "Name" = 'petria thomas' |
### Instruction:
How many villians were in No. 25?
### Response:
| SELECT COUNT(villains) FROM table_10470082_3 WHERE no = 25 |
### Instruction:
What position(s) do players from florida state play?
### Response:
| SELECT position FROM table_15592941_1 WHERE college = "Florida State" |
### Instruction:
Who's the race leader of Cuneo to Turin?
### Response:
| SELECT race_leader FROM table_name_90 WHERE course = "cuneo to turin" |
### Instruction:
What is BP's lowest sales?
### Response:
| SELECT MIN("Sales (billion $)") FROM table_49592 WHERE "Company" = 'bp' |
### Instruction:
What is the Political affiliation of deputy john dallat?
### Response:
| SELECT political_affiliation FROM table_name_39 WHERE deputy = "john dallat" |
### Instruction:
What is the duration of the character Bartha Zsolt?
### Response:
| SELECT "Duration" FROM table_65665 WHERE "Character" = 'bartha zsolt' |
### Instruction:
how do you say ` yes ' in afrikaans ?
### Response:
| SELECT "afrikaans" FROM table_200_7 WHERE "english" = 'yes' |
Subsets and Splits