instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
Which Thickness has a Diameter of 21.9mm?
### Response:
| SELECT "Thickness" FROM table_34811 WHERE "Diameter" = '21.9mm' |
### Instruction:
What is the City of license with a 88.7 fm frequency
### Response:
| SELECT "City of license" FROM table_77052 WHERE "Frequency" = '88.7 fm' |
### Instruction:
How many wins are listed when the first title is 2004?
### Response:
| SELECT total_wins FROM table_27864661_6 WHERE first_title = 2004 |
### Instruction:
What was the series number of the episode directed by Rob Bailey?
### Response:
| SELECT MAX(series__number) FROM table_14346689_1 WHERE directed_by = "Rob Bailey" |
### Instruction:
What is the status if the poverty rate is 11.4%?
### Response:
| SELECT "Status" FROM table_25352 WHERE "Poverty Rate" = '11.4%' |
### Instruction:
Name the average year for manly-warringah sea eagles
### Response:
| SELECT AVG(year) FROM table_name_13 WHERE opponent = "manly-warringah sea eagles" |
### Instruction:
How many members did Africa have the year that Australia had 94615?
### Response:
| SELECT "Africa" FROM table_22851 WHERE "Australia" = '94615' |
### Instruction:
List the studios of each film and the number of films produced by that studio Show bar chart, could you list by the X from low to high?
### Response:
| SELECT Studio, COUNT(*) FROM film GROUP BY Studio ORDER BY Studio |
### Instruction:
Which Year is the lowest when the Viewers are 13.7 million?
### Response:
| SELECT MIN("Year") FROM table_78358 WHERE "Viewers" = '13.7 million' |
### Instruction:
What was the highest attendance at a game that was played in tulane stadium?
### Response:
| SELECT MAX(attendance) FROM table_name_63 WHERE game_site = "tulane stadium" |
### Instruction:
what is the report called where the circuit took place at the nazareth speedway?
### Response:
| SELECT "Report" FROM table_16257 WHERE "Circuit" = 'Nazareth Speedway' |
### Instruction:
What is the English version of Mariusz Szczygie book?
### Response:
| SELECT english_title FROM table_14631909_1 WHERE author = "Mariusz Szczygieł" |
### Instruction:
Who is the winner constructor with driver riccardo patrese?
### Response:
| SELECT "Winning Constructor" FROM table_57166 WHERE "Winning Driver" = 'riccardo patrese' |
### Instruction:
What average silver has belarus as the nation, with a total less than 1?
### Response:
| SELECT AVG(silver) FROM table_name_23 WHERE nation = "belarus" AND total < 1 |
### Instruction:
What is Davide Rebellin' UCI ProTour Points?
### Response:
| SELECT uci_protour_points FROM table_name_33 WHERE cyclist = "davide rebellin" |
### Instruction:
what is subject name and religion of subject id 2560?
### Response:
| SELECT demographic.name, demographic.religion FROM demographic WHERE demographic.subject_id = "2560" |
### Instruction:
Who was drafted from the school Mountain Pointe High School?
### Response:
| SELECT mlb_draft FROM table_11677100_16 WHERE school = "Mountain Pointe High school" |
### Instruction:
Give me the times and numbers of all trains that go to Chennai, ordered by time. Show bar chart.
### Response:
| SELECT time, train_number FROM train WHERE destination = 'Chennai' ORDER BY time |
### Instruction:
Who is the arranger for 'I KIssed a Girl'?
### Response:
| SELECT "Arranger(s)" FROM table_74316 WHERE "Track" = 'I Kissed a Girl' |
### Instruction:
When is the first broadcast for episodes where Rufus's guest is Jack Whitehall?
### Response:
| SELECT "First broadcast" FROM table_2194 WHERE "Rufus guest" = 'Jack Whitehall' |
### Instruction:
Which division were the Brewers a part of in the 1987 season?
### Response:
| SELECT "Division" FROM table_52511 WHERE "Team season" = '1987' |
### Instruction:
What state has colony as a status and shippensburg university as the school?
### Response:
| SELECT state FROM table_name_71 WHERE status = "colony" AND school = "shippensburg university" |
### Instruction:
Who is the player from Sweden from a round after 3?
### Response:
| SELECT "Player" FROM table_56077 WHERE "Nationality" = 'sweden' AND "Round" > '3' |
### Instruction:
What was the series score on april 17 with minnesota at home?
### Response:
| SELECT series FROM table_name_52 WHERE home = "minnesota" AND date = "april 17" |
### Instruction:
Who is the Head Coach of the team whose President is Mario Volarevic?
### Response:
| SELECT "Head Coach" FROM table_10447 WHERE "President" = 'mario volarevic' |
### Instruction:
What is the local name given to the city of Canberra?
### Response:
| SELECT capital___endonym__ FROM table_1008653_1 WHERE capital___exonym__ = "Canberra" |
### Instruction:
What was the earliest game with a record of 16 4 3?
### Response:
| SELECT MIN("Game") FROM table_38705 WHERE "Record" = '16–4–3' |
### Instruction:
Who was the Player that spent the Year 2005 in Orlando?
### Response:
| SELECT "Player" FROM table_76099 WHERE "Years in Orlando" = '2005' |
### Instruction:
Name the 3 dart average for michael van gerwen
### Response:
| SELECT 3 AS _dart_average FROM table_18317531_1 WHERE player = "Michael van Gerwen" |
### Instruction:
How many blockings occured in the game with 198 rebounds?
### Response:
| SELECT MAX(blocks) FROM table_22993636_5 WHERE rebounds = 198 |
### Instruction:
What is the MP's term who was elected from grey and bell?
### Response:
| SELECT "MP's term" FROM table_31589 WHERE "Electorate" = 'grey and bell' |
### Instruction:
With the Republican ticket of Frank M. Williams who was the Progressive ticket?
### Response:
| SELECT progressive_ticket FROM table_name_63 WHERE republican_ticket = "frank m. williams" |
### Instruction:
What is the coverage area of muzik fm station, which has a music genre?
### Response:
| SELECT coverage_area FROM table_name_65 WHERE genre = "music" AND station = "muzik fm" |
### Instruction:
For the teams that had more than 2 Byes, what was the highest number of Wins?
### Response:
| SELECT MAX("Wins") FROM table_43364 WHERE "Byes" > '2' |
### Instruction:
What was the result of the election of the incumbent clyde doyle?
### Response:
| SELECT result FROM table_1341973_6 WHERE incumbent = "Clyde Doyle" |
### Instruction:
In which country are there 1,278.13 exports?
### Response:
| SELECT country FROM table_26160007_1 WHERE exports = "1,278.13" |
### Instruction:
WHich Name origin has a Longitude of 332.5e?
### Response:
| SELECT "Name origin" FROM table_50140 WHERE "Longitude" = '332.5e' |
### Instruction:
What was the number of passengers going to MCO with a rank larger than 9?
### Response:
| SELECT COUNT(passengers) FROM table_name_54 WHERE airport = "mco" AND rank > 9 |
### Instruction:
A bar chart shows the distribution of Sex and the amount of Sex , and group by attribute Sex, sort by the x axis in asc.
### Response:
| SELECT Sex, COUNT(Sex) FROM people GROUP BY Sex ORDER BY Sex |
### Instruction:
Show me the correlation between the number of platforms and the number of total_passengers in a scatter chart.
### Response:
| SELECT SUM(Number_of_Platforms), SUM(Total_Passengers) FROM station GROUP BY Location |
### Instruction:
For the Persian Title , what were the results?
### Response:
| SELECT "Result" FROM table_23115 WHERE "Persian title" = 'میم مثل مادر' |
### Instruction:
How many games lost for the team that drew 5 times and had over 41 points?
### Response:
| SELECT AVG(lost) FROM table_name_83 WHERE drawn = 5 AND points > 41 |
### Instruction:
What was Rudy Harris' pick number in round 4?
### Response:
| SELECT MAX(pick) FROM table_name_25 WHERE round = "round 4" AND player = "rudy harris" |
### Instruction:
What are the tries against when points against 287?
### Response:
| SELECT tries_against FROM table_13564637_5 WHERE points_against = "287" |
### Instruction:
Show me a bar chart for how many faculty members do we have for each faculty rank?, rank x-axis in desc order please.
### Response:
| SELECT Rank, COUNT(*) FROM Faculty GROUP BY Rank ORDER BY Rank DESC |
### Instruction:
What company is the kit manufacturer that Gareth Southgate belongs to?
### Response:
| SELECT "Kit manufacturer" FROM table_71146 WHERE "Captain" = 'gareth southgate' |
### Instruction:
What is the GDP (nominal) for Uzbekistan?
### Response:
| SELECT gdp__nominal_ FROM table_11780179_1 WHERE country = "Uzbekistan" |
### Instruction:
When olympikus is the main sponsor who is the secondary sponsor?
### Response:
| SELECT secondary_sponsor FROM table_187239_1 WHERE main_sponsor = "Olympikus" |
### Instruction:
How many cop apps in the season with fewer than 12 league apps?
### Response:
| SELECT SUM("Cup Apps") FROM table_32374 WHERE "League Apps" < '12' |
### Instruction:
How many people directed the episode that Joe Toplyn wrote?
### Response:
| SELECT COUNT(directed_by) FROM table_25716397_1 WHERE written_by = "Joe Toplyn" |
### Instruction:
who was the winner /2nd for the British Champion Stakes race?
### Response:
| SELECT winner_2nd FROM table_24850630_4 WHERE race = "British Champion Stakes" |
### Instruction:
When circuit ricardo tormo is the circuit what is the round?
### Response:
| SELECT COUNT("Round") FROM table_24202 WHERE "Circuit" = 'Circuit Ricardo Tormo' |
### Instruction:
How many wins for bruce fleisher with over 31 events?
### Response:
| SELECT AVG(wins) FROM table_name_16 WHERE player = "bruce fleisher" AND events > 31 |
### Instruction:
Which base has a company of Theatro Technis Karolos Koun?
### Response:
| SELECT "base" FROM table_64335 WHERE "company" = 'theatro technis karolos koun' |
### Instruction:
Give me a histogram for what are the names of all the documents, as well as the access counts of each, ordered alphabetically?
### Response:
| SELECT document_name, access_count FROM Documents ORDER BY document_name |
### Instruction:
Show me department_id by first name in a histogram, order by the bar from high to low.
### Response:
| SELECT FIRST_NAME, DEPARTMENT_ID FROM employees ORDER BY FIRST_NAME DESC |
### Instruction:
What was the HT for the game at Stadio Luigi Ferraris?
### Response:
| SELECT "H.T." FROM table_71076 WHERE "VENUE" = 'stadio luigi ferraris' |
### Instruction:
WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO?
### Response:
| SELECT 2 AS nd_leg FROM table_name_27 WHERE team_2 = "haro" |
### Instruction:
Name the 2011 with 2006 of 2r
### Response:
| SELECT "2011" FROM table_69451 WHERE "2006" = '2r' |
### Instruction:
When Pat Robertson was at 16%, what did Pete du Pont have?
### Response:
| SELECT "Pete du Pont" FROM table_36256 WHERE "Pat Robertson" = '16%' |
### Instruction:
For which Category was Outstanding Main Title Design a Recipient and nominee?
### Response:
| SELECT category FROM table_name_71 WHERE recipients_and_nominees = "outstanding main title design" |
### Instruction:
Stacked bar chart of how many away team for with each Home_team in each away team
### Response:
| SELECT Away_team, COUNT(Away_team) FROM game GROUP BY Home_team, Away_team |
### Instruction:
WHAT IS THE 2012 WITH 2005 OF 1R?
### Response:
| SELECT 2012 FROM table_name_35 WHERE 2005 = "1r" |
### Instruction:
What is the English name of the country that has Doha as its capital?
### Response:
| SELECT english_country_name FROM table_name_5 WHERE english_capital_name = "doha" |
### Instruction:
If the rank is 26, what is the disposable USD growth?
### Response:
| SELECT "Disposable USD growth" FROM table_26871 WHERE "Rank" = '26' |
### Instruction:
which location has the best time other than brussels ?
### Response:
| SELECT "location" FROM table_204_576 WHERE "location" <> 'brussels' ORDER BY "best" LIMIT 1 |
### Instruction:
what is the only year that had 114 minor children registered ?
### Response:
| SELECT "year" FROM table_203_467 WHERE "registration\nof a minor child" = 114 |
### Instruction:
When did Going for Gold return in BBC One?
### Response:
| SELECT date_s__of_return FROM table_name_67 WHERE original_channel = "bbc one" AND programme = "going for gold" |
### Instruction:
Attendance of 55,340 had what opponent?
### Response:
| SELECT "Opponent" FROM table_37636 WHERE "Attendance" = '55,340' |
### Instruction:
What's the name of the county where 54.6% voted for Bush?
### Response:
| SELECT "County" FROM table_17957 WHERE "Bush%" = '54.6%' |
### Instruction:
What is the natural change per year for the 7.2 CDR group?
### Response:
| SELECT "Natural change per year" FROM table_29508 WHERE "CDR*" = '7.2' |
### Instruction:
What's the clock speed of the model that costs $910?
### Response:
| SELECT "Clock Speed" FROM table_17764 WHERE "Price ( USD )" = '$910' |
### Instruction:
When was the person who became queen on 15 April 1820 born?
### Response:
| SELECT birth FROM table_name_79 WHERE became_queen = "15 april 1820" |
### Instruction:
What year did they get 4 points with Suzuki?
### Response:
| SELECT AVG("Year") FROM table_5114 WHERE "Team" = 'suzuki' AND "Points" = '4' |
### Instruction:
who was the incoming manager for the 12th position in the table
### Response:
| SELECT incoming_manager FROM table_26914759_3 WHERE position_in_table = "12th" |
### Instruction:
What is Player, when Score is '68-71=139'?
### Response:
| SELECT player FROM table_name_80 WHERE score = 68 - 71 = 139 |
### Instruction:
How many incumbents were first elected in 1930?
### Response:
| SELECT COUNT(party) FROM table_1342292_45 WHERE first_elected = 1930 |
### Instruction:
What's the average crowd size when the venue is western oval?
### Response:
| SELECT AVG("Crowd") FROM table_55624 WHERE "Venue" = 'western oval' |
### Instruction:
What was Team Dnepr's position in 2006?
### Response:
| SELECT "Position in 2006" FROM table_10068 WHERE "Team" = 'dnepr' |
### Instruction:
What is Pinnacle height of chimney of orot rabin?
### Response:
| SELECT "Pinnacle height" FROM table_6443 WHERE "Name" = 'chimney of orot rabin' |
### Instruction:
Name the round eliminated where conference record is 12-6
### Response:
| SELECT round_eliminated FROM table_16295365_2 WHERE conf_record = "12-6" |
### Instruction:
Which parish has an area of 750.51?
### Response:
| SELECT "Official Name" FROM table_78569 WHERE "Area km 2" = '750.51' |
### Instruction:
What is the away team's score when hawthorn is away?
### Response:
| SELECT "Away team score" FROM table_33740 WHERE "Away team" = 'hawthorn' |
### Instruction:
What is the total for 3rd place on season 9?
### Response:
| SELECT "Total" FROM table_40465 WHERE "Place" = '3rd' AND "Season" = '9' |
### Instruction:
What is the frequency for the city of Lamar, Colorado?
### Response:
| SELECT AVG("Frequency MHz") FROM table_37753 WHERE "City of license" = 'lamar, colorado' |
### Instruction:
what is the total age of what a myth and rough tweed ?
### Response:
| SELECT SUM("age") FROM table_204_561 WHERE "name" IN ('what a myth', 'rough tweed') |
### Instruction:
What is the name when tfl-yds is 2-2?
### Response:
| SELECT name FROM table_26176081_29 WHERE tfl_yds = "2-2" |
### Instruction:
What is the 2 vs 3 when total is bigger than 38?
### Response:
| SELECT AVG("2. vs 3.") FROM table_12201 WHERE "Total" > '38' |
### Instruction:
What rank were the Buckeyes when there were 68,586 in attendance?
### Response:
| SELECT rank__number FROM table_name_90 WHERE attendance = "68,586" |
### Instruction:
What party is Peter Fisher from Vic serve in office?
### Response:
| SELECT "Party" FROM table_71588 WHERE "State" = 'vic' AND "Member" = 'peter fisher' |
### Instruction:
Which Losses have a Wins % of 48.6%?
### Response:
| SELECT "Losses" FROM table_60513 WHERE "Wins %" = '48.6%' |
### Instruction:
what is the record when the round is before 3 and the time si 4:59?
### Response:
| SELECT record FROM table_name_41 WHERE round < 3 AND time = "4:59" |
### Instruction:
What is the date of the match when Detroit is the home team and Colorado is the visiting team?
### Response:
| SELECT date FROM table_name_21 WHERE home = "detroit" AND visitor = "colorado" |
### Instruction:
What poor law union is Curradonohoe a part of?
### Response:
| SELECT "Poor law union" FROM table_4288 WHERE "Townland" = 'Curradonohoe' |
### Instruction:
What is the days held the champion with a reign larger than 3 and less than 1 defense has?
### Response:
| SELECT days_held FROM table_name_1 WHERE reign > 3 AND defenses < 1 |
### Instruction:
What's the price of the team whose captain is Sanath Jayasuriya?
### Response:
| SELECT price FROM table_19905183_1 WHERE captain = "Sanath Jayasuriya" |
### Instruction:
How many eliminations did each team have Visualize by bar chart, I want to rank by the X-axis in descending please.
### Response:
| SELECT Team, COUNT(*) FROM Elimination GROUP BY Team ORDER BY Team DESC |
### Instruction:
What away team scored 6.12 (48)?
### Response:
| SELECT "Away team" FROM table_33115 WHERE "Away team score" = '6.12 (48)' |
### Instruction:
Who is the team that has a pick less than 154 and an offensive guard position?
### Response:
| SELECT team FROM table_name_8 WHERE position = "offensive guard" AND pick < 154 |
### Instruction:
what is 1977 when 1980 is chile?
### Response:
| SELECT "1977" FROM table_76813 WHERE "1980" = 'chile' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.