instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
what is the score when the country is united states and the player is george fazio?
### Response:
| SELECT score FROM table_name_4 WHERE country = "united states" AND player = "george fazio" |
### Instruction:
What is the League with a Year that is 1990/91?
### Response:
| SELECT "League" FROM table_41847 WHERE "Year" = '1990/91' |
### Instruction:
If Firefox is 30.45%, what is the other Mozilla amount?
### Response:
| SELECT other_mozilla FROM table_1876262_10 WHERE firefox = "30.45%" |
### Instruction:
When dizzee rascal is 5th, who was the winner?
### Response:
| SELECT "Winner" FROM table_72847 WHERE "Fifth" = 'Dizzee Rascal' |
### Instruction:
In which tournament was Ian Baker-Finch the runner-up?
### Response:
| SELECT "Tournament" FROM table_40832 WHERE "Runner(s)-up" = 'ian baker-finch' |
### Instruction:
What two teams were competing in the match with 103,158 in attendance?
### Response:
| SELECT opponent FROM table_name_50 WHERE attendance = "103,158" |
### Instruction:
What rounds did rider Mika Kallio with a Ducati constructor have?
### Response:
| SELECT rounds FROM table_name_63 WHERE constructor = "ducati" AND rider = "mika kallio" |
### Instruction:
Louisville International Airport had how many tonnes of cargo in 2011?
### Response:
| SELECT "Tonnes" FROM table_22105 WHERE "Airport Name" = 'Louisville International Airport' |
### Instruction:
500 lowest scored accepted answers.
### Response:
| SELECT q.Id AS "post_link", q.Score FROM Posts AS q WHERE NOT q.ParentId IS NULL ORDER BY q.Score LIMIT 500 |
### Instruction:
How many locomotives were made that were withdrawn in 1913?
### Response:
| SELECT "Quantity made" FROM table_68864 WHERE "Withdrawn" = '1913' |
### Instruction:
what is phenytoin infatab's intake method?
### Response:
| SELECT DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'phenytoin infatab' |
### Instruction:
What was the result in 2008 under head coach Mike Sherman?
### Response:
| SELECT "Result" FROM table_32714 WHERE "2008 head coach" = 'mike sherman' |
### Instruction:
how many times was the incumbent is john b. yates?
### Response:
| SELECT COUNT("Party") FROM table_28900 WHERE "Incumbent" = 'John B. Yates' |
### Instruction:
Which venue led to a result of 13th and had an extra of Long Race?
### Response:
| SELECT venue FROM table_name_51 WHERE extra = "long race" AND result = "13th" |
### Instruction:
who was the first runner to place from kenya ?
### Response:
| SELECT "name" FROM table_204_849 WHERE "nationality" = 'kenya' ORDER BY "rank" LIMIT 1 |
### Instruction:
Select the names of all the products in the store, and count them by a bar chart, could you order X-axis in asc order?
### Response:
| SELECT Name, COUNT(Name) FROM Products GROUP BY Name ORDER BY Name |
### Instruction:
what is the year when the role/episode is david duchovny?
### Response:
| SELECT "Year" FROM table_65860 WHERE "Role/Episode" = 'david duchovny' |
### Instruction:
what position did madonna rank on the top 40 singles of 1995 chart ?
### Response:
| SELECT "position" FROM table_203_249 WHERE "artist" = 'madonna' |
### Instruction:
WHAT YEAR DID MIKE BRADY GET RUNNER-UP?
### Response:
| SELECT MIN("Year") FROM table_72644 WHERE "Runner-up" = 'Mike Brady' |
### Instruction:
How many headphone classes have a US MSRP of $150?
### Response:
| SELECT COUNT("Headphone Class") FROM table_20474 WHERE "US MSRP" = '$150' |
### Instruction:
List of suggested edits to particular post.
### Response:
| SELECT E.* FROM SuggestedEdits AS E, Posts AS P WHERE P.Id = '##PostID##' AND E.PostId = P.Id |
### Instruction:
When has a Score of 0 1, and a Tie no of 3?
### Response:
| SELECT date FROM table_name_12 WHERE score = "0–1" AND tie_no = "3" |
### Instruction:
Which party has wa as the state, and hon victor garland as the memeber?
### Response:
| SELECT party FROM table_name_14 WHERE state = "wa" AND member = "hon victor garland" |
### Instruction:
What are the fewest points that Roger Dutton/Tony Wright have received?
### Response:
| SELECT MIN(points) FROM table_name_15 WHERE rider = "roger dutton/tony wright" |
### Instruction:
How many apps have 28 goals, and a Total smaller than 191?
### Response:
| SELECT SUM(apps) FROM table_name_42 WHERE goals = "28" AND total < 191 |
### Instruction:
What is the last 10 meetings that have 12 as the games played?
### Response:
| SELECT last_10_meetings FROM table_name_43 WHERE games_played = "12" |
### Instruction:
What location is listed from 2005-2010?
### Response:
| SELECT location FROM table_26476336_2 WHERE years = "2005-2010" |
### Instruction:
Who was the interview subject when the centerfold model was Sherry Arnett?
### Response:
| SELECT COUNT("Interview subject") FROM table_20217 WHERE "Centerfold model" = 'Sherry Arnett' |
### Instruction:
What is the rank of the cadillac northstar lmp02 chassis?
### Response:
| SELECT rank FROM table_name_78 WHERE chassis = "cadillac northstar lmp02" |
### Instruction:
How many dvd releases where directed by david decoteau?
### Response:
| SELECT COUNT(dvd_release) FROM table_19982699_1 WHERE director = "David DeCoteau" |
### Instruction:
What's the smallest total with a bronze count of 5 and a gold count less than 8?
### Response:
| SELECT MIN(total) FROM table_name_89 WHERE bronze = 5 AND gold < 8 |
### Instruction:
If the opponent was @ Boston Bruins, what was the Location/Attendance?
### Response:
| SELECT location_attendance FROM table_27537870_6 WHERE opponent = "@ Boston Bruins" |
### Instruction:
Which round was Mike Peca (C) of Canada selected in?
### Response:
| SELECT SUM(round) FROM table_name_84 WHERE nationality = "canada" AND player = "mike peca (c)" |
### Instruction:
What race is held in Germany in the month of May?
### Response:
| SELECT "Road race" FROM table_28346 WHERE "Country" = 'Germany' AND "Month held" = 'May' |
### Instruction:
What was the tv time on december 6, 1998?
### Response:
| SELECT "TV Time" FROM table_7898 WHERE "Date" = 'december 6, 1998' |
### Instruction:
Who directed the episode with 6.37 million viewers?
### Response:
| SELECT directed_by FROM table_27927185_1 WHERE viewers__millions_ = "6.37" |
### Instruction:
Which Written by has a Code of 1.2 1.3?
### Response:
| SELECT "Written by" FROM table_13037 WHERE "Code" = '1.2 1.3' |
### Instruction:
how many for christer tornell where the total is 30?
### Response:
| SELECT COUNT(christer_tornell) FROM table_28677723_11 WHERE total = 30 |
### Instruction:
What is the largest amount of sunlight hours for the City of Pontevedra?
### Response:
| SELECT MAX(sunlight_hours) FROM table_name_23 WHERE city_town = "pontevedra" |
### Instruction:
What was the reading score in the year the science score was 96.13?
### Response:
| SELECT "Reading" FROM table_27576 WHERE "Science" = '96.13' |
### Instruction:
What is the status of the London Aquatics Centre project at the time of production?
### Response:
| SELECT "Status at production" FROM table_21996 WHERE "Project" = 'London Aquatics Centre' |
### Instruction:
How many on the list are called the Austrian Grand Prix?
### Response:
| SELECT COUNT(rd) FROM table_1132568_3 WHERE grand_prix = "Austrian grand_prix" |
### Instruction:
Users in or near Austin, Texas, by Reputation.
### Response:
| SELECT Id, DisplayName, Reputation, WebsiteUrl FROM Users WHERE Location LIKE '%Austin%' OR Location LIKE '%Texas%' ORDER BY Reputation DESC |
### Instruction:
How many numbers are given for losses by the Keighley Cougars?
### Response:
| SELECT COUNT(lost) FROM table_13015539_1 WHERE club = "Keighley Cougars" |
### Instruction:
who was the top competitor at the carolina 500 ?
### Response:
| SELECT "winner" FROM table_204_630 WHERE "race" = 'carolina 500' |
### Instruction:
What year did the University of California, San Diego take 1st place?
### Response:
| SELECT MAX("Year") FROM table_16885 WHERE "1st Place" = 'University of California, San Diego' |
### Instruction:
What is the sum of runs that are associated with 10WM values over 13?
### Response:
| SELECT SUM("Runs") FROM table_80051 WHERE "10WM" > '13' |
### Instruction:
What was the high assists from a high points of dorell wright (20)?
### Response:
| SELECT high_assists FROM table_name_98 WHERE high_points = "dorell wright (20)" |
### Instruction:
, could you sort y-axis in asc order?
### Response:
| SELECT card_type_code, SUM(card_number) FROM Customers_Cards GROUP BY card_type_code ORDER BY SUM(card_number) |
### Instruction:
On what Surface was the match with a Score of 3-6, 1-6 played?
### Response:
| SELECT surface FROM table_name_99 WHERE score = "3-6, 1-6" |
### Instruction:
What type of quattroporte iv only produced 340 units?
### Response:
| SELECT "Quattroporte IV" FROM table_17689 WHERE "Units Produced" = '340' |
### Instruction:
What date(s) was the game(s) at Candlestick Park?
### Response:
| SELECT "Date" FROM table_62564 WHERE "Venue" = 'candlestick park' |
### Instruction:
Who is the 92.5 with the press of 282.5?
### Response:
| SELECT "92.5" FROM table_8024 WHERE "Press" = '282.5' |
### Instruction:
What country is the contestant from San Francisco de Yojoa from?
### Response:
| SELECT country FROM table_20669355_2 WHERE hometown = "San Francisco de Yojoa" |
### Instruction:
Which Car # has a Make of toyota, and a Pos of 7?
### Response:
| SELECT MAX(car__number) FROM table_name_98 WHERE make = "toyota" AND pos = 7 |
### Instruction:
On what date was it announced that an asset was acquired for US$9 Million?
### Response:
| SELECT "Date Announced" FROM table_18942 WHERE "Reported Cost" = 'US$9 million' |
### Instruction:
What is the lowest attendance when the Atlanta Falcons were the opponent?
### Response:
| SELECT MIN("Week") FROM table_47077 WHERE "Opponent" = 'atlanta falcons' |
### Instruction:
What is every weekly schedule of TV network Viasat 4?
### Response:
| SELECT "Weekly Schedule" FROM table_22626 WHERE "TV Network(s)" = 'Viasat 4' |
### Instruction:
What Tunnel has an Imperial Length of 307 yd?
### Response:
| SELECT "Tunnel" FROM table_46918 WHERE "Length (Imperial)" = '307 yd' |
### Instruction:
How many RolePlay actors played the role requiring a 'male, younger' actor?
### Response:
| SELECT COUNT("RolePlay") FROM table_21945 WHERE "Actor required" = 'Male, younger' |
### Instruction:
who got the first position when fujieda city government got the fourth position?
### Response:
| SELECT champions FROM table_21632864_1 WHERE fourth_place = "Fujieda City Government" |
### Instruction:
What was the loss/gain when the votes -cast was 166?
### Response:
| SELECT loss_gain FROM table_25818630_2 WHERE votes__cast = 166 |
### Instruction:
what is the team with the best of 1:43.134?
### Response:
| SELECT "Team" FROM table_68798 WHERE "Best" = '1:43.134' |
### Instruction:
What is the position for the university of akron michigan bucks affiliation
### Response:
| SELECT position FROM table_29626583_1 WHERE affiliation = "University of Akron Michigan Bucks" |
### Instruction:
What was the final score when the opponent was Atl tico Choloma?
### Response:
| SELECT "Final score" FROM table_7995 WHERE "Opponent" = 'atlético choloma' |
### Instruction:
How many entries are in the ranking for jacqueline kohl?
### Response:
| SELECT COUNT(place) FROM table_26427332_17 WHERE contestant = "Jacqueline Kohl" |
### Instruction:
Draw a bar chart about the distribution of All_Road and Team_ID , display Team_ID in descending order.
### Response:
| SELECT All_Road, Team_ID FROM basketball_match ORDER BY Team_ID DESC |
### Instruction:
How many margins have a winner of S. Singaravadivel?
### Response:
| SELECT COUNT("Margin") FROM table_25280 WHERE "Winner" = 'S. Singaravadivel' |
### Instruction:
What is the data limit for a T-Mobile internet basic plan?
### Response:
| SELECT data_limit__gb FROM table_name_18 WHERE company = "t-mobile" AND plan_name = "internet basic" |
### Instruction:
Name the number of top 10s for scoring rank of 9
### Response:
| SELECT COUNT(top_10s) FROM table_18198579_6 WHERE scoring_rank = "9" |
### Instruction:
Which result has a Date of november 2, 2007?
### Response:
| SELECT "Result" FROM table_71875 WHERE "Date" = 'november 2, 2007' |
### Instruction:
What episode number in the series had a production code of bdf405?
### Response:
| SELECT MIN("Series #") FROM table_3961 WHERE "Production code" = 'BDF405' |
### Instruction:
What Player is from Argentina and whose position is a guard-forward?
### Response:
| SELECT "Player" FROM table_4316 WHERE "Position" = 'guard-forward' AND "Nationality" = 'argentina' |
### Instruction:
Name the number of production code for 5.08
### Response:
| SELECT COUNT("Production code") FROM table_1893 WHERE "U.S. viewers (million)" = '5.08' |
### Instruction:
Which Visa 3 has a Visa 4 of youssouf hersi?
### Response:
| SELECT visa_3 FROM table_name_70 WHERE visa_4 = "youssouf hersi" |
### Instruction:
What is the date of birth for the staff member named Janessa Sawayn?
### Response:
| SELECT date_of_birth FROM staff WHERE first_name = "Janessa" AND last_name = "Sawayn" |
### Instruction:
For the race Champion Spark Plug 300, what is the report?
### Response:
| SELECT "Report" FROM table_4653 WHERE "Race Name" = 'champion spark plug 300' |
### Instruction:
What was the final score when the New York Jets were the Visiting Team?
### Response:
| SELECT "Final Score" FROM table_69366 WHERE "Visiting Team" = 'new york jets' |
### Instruction:
What is he archive for the episode with a run time of 24:05?
### Response:
| SELECT "Archive" FROM table_24066 WHERE "Run time" = '24:05' |
### Instruction:
What was the lowest number of pieces for a board released in 1984?
### Response:
| SELECT MIN("Pieces") FROM table_50304 WHERE "Release" = '1984' |
### Instruction:
What is the highest earnings of a player with more than 19 wins?
### Response:
| SELECT MAX("Earnings ( $ )") FROM table_37575 WHERE "Wins" > '19' |
### Instruction:
Show the authors of their total submissions with a bar chart, and order from high to low by the how many author please.
### Response:
| SELECT Author, COUNT(Author) FROM submission GROUP BY Author ORDER BY COUNT(Author) DESC |
### Instruction:
what is age and primary disease of subject name steven sepulveda?
### Response:
| SELECT demographic.age, demographic.diagnosis FROM demographic WHERE demographic.name = "Steven Sepulveda" |
### Instruction:
What date was Notts County the opponent and the league position was 1st?
### Response:
| SELECT date FROM table_name_96 WHERE opponents = "notts county" AND league_position = "1st" |
### Instruction:
What is every entry for 1982-83 for rank 1?
### Response:
| SELECT "1982-83" FROM table_25168 WHERE "Rank" = '1' |
### Instruction:
What is the score of the match with opponents Gretchen Magers Kelly Jones?
### Response:
| SELECT score FROM table_1028356_3 WHERE opponents = "Gretchen Magers Kelly Jones" |
### Instruction:
If the title is The Way Through The Woods, what is the release date?
### Response:
| SELECT release_date FROM table_20174050_7 WHERE title = "The Way Through the Woods" |
### Instruction:
When 2/1939 is the withdrawn when was it built?
### Response:
| SELECT built FROM table_1886270_1 WHERE withdrawn = "2/1939" |
### Instruction:
which stage was longer , 3 or 8 ?
### Response:
| SELECT "stage" FROM table_204_312 WHERE "stage" IN ('3', '8') ORDER BY "length" DESC LIMIT 1 |
### Instruction:
how many stackexchange non-meta sites?.
### Response:
| SELECT COUNT(name) FROM sys.databases WHERE (NOT name LIKE '%.Meta' OR name = 'StackExchange.Meta') AND database_id > 5 |
### Instruction:
What is the lowest value for runs when the average is 42.36?
### Response:
| SELECT MIN("Runs") FROM table_4247 WHERE "Average" = '42.36' |
### Instruction:
In the district of Pennsylvania 1, what is the total number of political parties?
### Response:
| SELECT COUNT("Party") FROM table_22113 WHERE "District" = 'Pennsylvania 1' |
### Instruction:
the richmond kickers future made the national semifinals only once . what year was it ?
### Response:
| SELECT "year" FROM table_204_676 WHERE "playoffs" = 'national semifinals' |
### Instruction:
What is the local name given to the capital of Anguilla?
### Response:
| SELECT "Capital ( endonym )" FROM table_72083 WHERE "Country ( endonym )" = 'Anguilla' |
### Instruction:
What is the total account balance for customers with a credit score of above 100 for the different states?
### Response:
| SELECT SUM(acc_bal), state FROM customer WHERE credit_score > 100 GROUP BY state |
### Instruction:
Tell me the host for midwest thomas assembly center
### Response:
| SELECT "Host" FROM table_31663 WHERE "Region" = 'midwest' AND "Venue" = 'thomas assembly center' |
### Instruction:
What are all episodes with a viewing figure of 6.72 million?
### Response:
| SELECT episode FROM table_15026994_2 WHERE viewing_figure = "6.72 million" |
### Instruction:
Name The Ground on 18 january 1998?
### Response:
| SELECT "Ground" FROM table_60774 WHERE "Date" = '18 january 1998' |
### Instruction:
What are the names of customers using the most popular payment method?
### Response:
| SELECT customer_name FROM customers WHERE payment_method = (SELECT payment_method FROM customers GROUP BY payment_method ORDER BY COUNT(*) DESC LIMIT 1) |
### Instruction:
How many people voted for Kerry in the county where 8 voted for others?
### Response:
| SELECT MIN(kerry_number) FROM table_2401326_1 WHERE others_number = 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.