instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
How many original air dates did episode 12 have?h
### Response:
| SELECT COUNT(original_air_date) FROM table_23255941_1 WHERE episode__number = 12 |
### Instruction:
history of severe diabetic complication ( neuropathy
### Response:
| SELECT * FROM table_train_266 WHERE severe_diabetic_complication = 1 OR neuropathy = 1 |
### Instruction:
Which item has the suffix containing thiocyanato- (-scn) as a prefix?
### Response:
| SELECT suffix FROM table_name_77 WHERE prefix = "thiocyanato- (-scn)" |
### Instruction:
which album was the next one to end up on the us dance list after new jack city ?
### Response:
| SELECT "album" FROM table_204_438 ORDER BY "us dance" DESC LIMIT 1 |
### Instruction:
What player had a transfer window of winter, and free as the transfer fee?
### Response:
| SELECT name FROM table_name_72 WHERE transfer_window = "winter" AND transfer_fee = "free" |
### Instruction:
What is the unformatted capacity per side if the size is 8in?
### Response:
| SELECT "Unformatted capacity per side" FROM table_64893 WHERE "Size" = '8in' |
### Instruction:
Who is the director when the production code is 60034?
### Response:
| SELECT "Directed by" FROM table_3987 WHERE "Production code" = '60034' |
### Instruction:
Name the jason for public vote being 19.20%
### Response:
| SELECT "Jason" FROM table_24208 WHERE "Public Vote %" = '19.20%' |
### Instruction:
How many losses had a total of 17 and more than 10 wins?
### Response:
| SELECT COUNT(losses) FROM table_name_94 WHERE total = 17 AND wins > 10 |
### Instruction:
What team has a Rank Ret, and rider Frank A Applebee?
### Response:
| SELECT team FROM table_name_92 WHERE rank = "ret" AND rider = "frank a applebee" |
### Instruction:
What tyres are associated with a year after 1974 and 5 points?
### Response:
| SELECT tyres FROM table_name_37 WHERE year > 1974 AND points = "5" |
### Instruction:
What is the Unami Delaware value for a Thomas value of nacha?
### Response:
| SELECT unami_delaware FROM table_name_18 WHERE thomas__1698_ = "nacha" |
### Instruction:
What is the save of the game that 23,394 people attended?
### Response:
| SELECT "Save" FROM table_6365 WHERE "Attendance" = '23,394' |
### Instruction:
what is the total number of racers who finished under 6:00.00 ?
### Response:
| SELECT COUNT("athlete") FROM table_204_262 WHERE "time" < 6 |
### Instruction:
Who was the player from the United States, with a total larger than 145?
### Response:
| SELECT player FROM table_name_32 WHERE country = "united states" AND total > 145 |
### Instruction:
Which channel has Joel Meyers as the Play by play commentator?
### Response:
| SELECT "Channel" FROM table_45374 WHERE "Play-by-play" = 'joel meyers' |
### Instruction:
What is the Tie number for the match where Dartford was the hone team?
### Response:
| SELECT "Tie no" FROM table_50152 WHERE "Home team" = 'dartford' |
### Instruction:
What is the time of Troy Bayliss with less than 8 grids?
### Response:
| SELECT time FROM table_name_96 WHERE grid < 8 AND rider = "troy bayliss" |
### Instruction:
What is the manhattan for richmond 35%?
### Response:
| SELECT "Manhattan" FROM table_16448 WHERE "Richmond [Staten Is.]" = '35%' |
### Instruction:
What is the round on 26 August 1995?
### Response:
| SELECT "Round" FROM table_59435 WHERE "Date" = '26 august 1995' |
### Instruction:
Who is the incumbent first elected in 1944?
### Response:
| SELECT incumbent FROM table_1342013_20 WHERE first_elected = 1944 |
### Instruction:
Name the minimum inhabitants for markatal 49
### Response:
| SELECT MIN("Inhabitants per km\u00b2") FROM table_1430 WHERE "Markatal" = '49' |
### Instruction:
What is the vessel type for vessel operator Jumbo shipping?
### Response:
| SELECT vessel_type FROM table_26168687_3 WHERE vessel_operator = "Jumbo Shipping" |
### Instruction:
Who had the fastest lap at the brazilian grand prix?
### Response:
| SELECT "Fastest Lap" FROM table_16657 WHERE "Grand Prix" = 'Brazilian Grand Prix' |
### Instruction:
Who directed the episode with 899000 viewers?
### Response:
| SELECT directed_by FROM table_27547668_3 WHERE viewers = 899000 |
### Instruction:
In the game against Essendon at home, what did the away team score?
### Response:
| SELECT "Away team score" FROM table_12066 WHERE "Home team" = 'essendon' |
### Instruction:
What is the crowd size of the game when Fitzroy is the away team?
### Response:
| SELECT COUNT("Crowd") FROM table_74711 WHERE "Away team" = 'fitzroy' |
### Instruction:
What is the latest year listed with the Alabama 4 voting district?
### Response:
| SELECT MAX(first_elected) FROM table_1341973_3 WHERE district = "Alabama 4" |
### Instruction:
What is Tries Against, when Points Against is 213?
### Response:
| SELECT tries_against FROM table_name_78 WHERE points_against = "213" |
### Instruction:
What fraction has a value for dots of 0.\dot{3}?
### Response:
| SELECT "Fraction" FROM table_36621 WHERE "Dots" = '0.\dot{3}' |
### Instruction:
What is the away team's score when geelong is the away team?
### Response:
| SELECT "Away team score" FROM table_4822 WHERE "Away team" = 'geelong' |
### Instruction:
What was the Obama% when McCain% was 61.2%?
### Response:
| SELECT "Obama%" FROM table_2307 WHERE "McCain%" = '61.2%' |
### Instruction:
Who is the television commentator for the year 2006?
### Response:
| SELECT television_commentator FROM table_1998037_9 WHERE year_s_ = 2006 |
### Instruction:
Name the Tracking Method which has a Company of mapmyuser, llc?
### Response:
| SELECT "Tracking Method" FROM table_8265 WHERE "Company" = 'mapmyuser, llc' |
### Instruction:
What was the kickoff time on monday, may 13?
### Response:
| SELECT kickoff FROM table_1639689_2 WHERE date = "Monday, May 13" |
### Instruction:
who is the tallest member of estonia 's men 's national volleyball team ?
### Response:
| SELECT "player" FROM table_203_116 ORDER BY "height" DESC LIMIT 1 |
### Instruction:
What is the FCC info for the city of Tribune, Kansas?
### Response:
| SELECT fcc_info FROM table_name_74 WHERE city_of_license = "tribune, kansas" |
### Instruction:
What is the year that Dewi Claire Schreefel is the champion?
### Response:
| SELECT "Year" FROM table_471 WHERE "Champion" = 'Dewi Claire Schreefel' |
### Instruction:
What is the main legion base that disbanded 70 xx?
### Response:
| SELECT "Main legion base" FROM table_26713 WHERE "Date disband" = '70 XX' |
### Instruction:
If the Representative is Barbara sears, what is the district number?
### Response:
| SELECT MAX(district) FROM table_26131768_4 WHERE representative = "Barbara Sears" |
### Instruction:
What game was held against a team with a 6-3 record against the Cowboys?
### Response:
| SELECT game FROM table_22801331_1 WHERE record = "6-3" |
### Instruction:
What year did the university of Pittsburgh school join the hockey league?
### Response:
| SELECT joined_tschl FROM table_16384648_2 WHERE institution = "University of Pittsburgh" |
### Instruction:
Who has a license of proprietary (available on inquiry)?
### Response:
| SELECT "Name" FROM table_54561 WHERE "License" = 'proprietary (available on inquiry)' |
### Instruction:
Name the chassis for sfacs ecurie france
### Response:
| SELECT "Chassis" FROM table_74238 WHERE "Entrant" = 'SFACS Ecurie France' |
### Instruction:
Which IHSAA class A school are the Cavaliers from?
### Response:
| SELECT county FROM table_name_38 WHERE ihsaa_class = "a" AND mascot = "cavaliers" |
### Instruction:
What is the lowest December, when Score is '4 - 4'?
### Response:
| SELECT MIN("December") FROM table_76952 WHERE "Score" = '4 - 4' |
### Instruction:
Find all the ids and dates of the logs for the problem whose id is 10.
### Response:
| SELECT problem_log_id, log_entry_date FROM problem_log WHERE problem_id = 10 |
### Instruction:
For couple Todd and Susie, what was the vote percentage?
### Response:
| SELECT vote_percentage FROM table_19744915_17 WHERE couple = "Todd and Susie" |
### Instruction:
What is every director with production code of NABF13?
### Response:
| SELECT directed_by FROM table_20942925_1 WHERE production_code = "NABF13" |
### Instruction:
Which region was on June 8, 2004?
### Response:
| SELECT "Region" FROM table_57960 WHERE "Date" = 'june 8, 2004' |
### Instruction:
What is Block A when Prince Devitt is Devitt (9:53)?
### Response:
| SELECT block_a FROM table_name_49 WHERE prince_devitt = "devitt (9:53)" |
### Instruction:
What's the series number of the episode with season number 2?
### Response:
| SELECT MIN(series_no) FROM table_19236587_4 WHERE season_no = 2 |
### Instruction:
How many totals are there for players with an average under 8 and less than 4 matches?
### Response:
| SELECT COUNT(total) FROM table_name_53 WHERE average < 8 AND matches < 4 |
### Instruction:
What is the geo id for Joliette?
### Response:
| SELECT MAX(geo_id) FROM table_18600760_10 WHERE township = "Joliette" |
### Instruction:
What tyres were used with the mp4/14 chassis?
### Response:
| SELECT "Tyres" FROM table_70492 WHERE "Chassis" = 'mp4/14' |
### Instruction:
What is the average Total for the Rank of 6, when Silver is smaller than 0?
### Response:
| SELECT AVG(total) FROM table_name_36 WHERE rank = 6 AND silver < 0 |
### Instruction:
In 2005-06 what was the disaster?
### Response:
| SELECT disaster FROM table_11649123_1 WHERE year = "2005-06" |
### Instruction:
What shows for 3rd place when Runner-up shows as runner-up?
### Response:
| SELECT 3 AS rd_place FROM table_name_36 WHERE runner_up = "runner-up" |
### Instruction:
Who are all of the players on the Westchester High School club team?
### Response:
| SELECT player FROM table_10015132_9 WHERE school_club_team = "Westchester High School" |
### Instruction:
WHAT IS THE HOMETOWN OF TONY STEWARD?
### Response:
| SELECT hometown FROM table_11677691_2 WHERE player = "Tony Steward" |
### Instruction:
How many draws did gary o'shaughnessy have?
### Response:
| SELECT SUM("Draw") FROM table_7646 WHERE "Performer" = 'gary o''shaughnessy' |
### Instruction:
What is the most gold when the rank is 7 and bronze is less than 0?
### Response:
| SELECT MAX(gold) FROM table_name_40 WHERE rank = "7" AND bronze < 0 |
### Instruction:
What city of license is associated with call sign w244bk?
### Response:
| SELECT city_of_license FROM table_name_44 WHERE call_sign = "w244bk" |
### Instruction:
how many teams other than italy have qualifications ?
### Response:
| SELECT COUNT("team") FROM table_204_735 WHERE "team" <> 'italy' AND NOT "qualification" IS NULL |
### Instruction:
In what week number was the attendance 74716?
### Response:
| SELECT COUNT(week) FROM table_16729063_2 WHERE attendance = 74716 |
### Instruction:
What are the names of the categories when the player is olsen racela?
### Response:
| SELECT category FROM table_28628309_9 WHERE player = "Olsen Racela" |
### Instruction:
What is the name of the race for which the circuit was Snetterton?
### Response:
| SELECT "Race Name" FROM table_54652 WHERE "Circuit" = 'snetterton' |
### Instruction:
Return a histogram on what are the names and prices of all products in the store?, show bars in desc order please.
### Response:
| SELECT Name, AVG(Price) FROM Products GROUP BY Name ORDER BY Name DESC |
### Instruction:
What is the score for the team that has a record of 80-64?
### Response:
| SELECT "Score" FROM table_71283 WHERE "Record" = '80-64' |
### Instruction:
What time did the game start on saturday, april 20?
### Response:
| SELECT "Kickoff" FROM table_26868 WHERE "Date" = 'Saturday, April 20' |
### Instruction:
what was the total number of home team wins in the first round proper , november 1988 ?
### Response:
| SELECT COUNT(*) FROM table_204_802 WHERE "score" > "score" |
### Instruction:
who won the highest number of legs in the 2009 world matchplay ?
### Response:
| SELECT "player" FROM table_203_460 ORDER BY "legs won" DESC LIMIT 1 |
### Instruction:
which year was he nominated for cheers : the motion picture .
### Response:
| SELECT "year" FROM table_204_787 WHERE "episode" = '"cheers: the motion picture"' |
### Instruction:
Who directed the episode with production code 4akj08?
### Response:
| SELECT directed_by FROM table_19929970_1 WHERE production_code = "4AKJ08" |
### Instruction:
If the version is 1.5b, what is the distribution mechanism?
### Response:
| SELECT distribution_mechanism FROM table_2263152_1 WHERE version = "1.5b" |
### Instruction:
Name the year when the publisher was argonaut games sierra entertainment
### Response:
| SELECT "Year" FROM table_14367 WHERE "Publisher" = 'argonaut games sierra entertainment' |
### Instruction:
How many in attendance with a loss of volquez (1 4)?
### Response:
| SELECT "Attendance" FROM table_52845 WHERE "Loss" = 'volquez (1–4)' |
### Instruction:
What is every party with a winner of P. Chidambaram?
### Response:
| SELECT "Party a" FROM table_25282 WHERE "Winner" = 'P. Chidambaram' |
### Instruction:
in how many games was the crowd above 20,000 people ?
### Response:
| SELECT COUNT(*) FROM table_203_371 WHERE "crowd" > 20000 |
### Instruction:
What's the original artist of the song performed in the top 3 episode?
### Response:
| SELECT original_artist FROM table_12310814_1 WHERE episode = "Top 3" |
### Instruction:
What is the Magnitude on the Date May 28, 2004?
### Response:
| SELECT magnitude FROM table_name_49 WHERE date = "may 28, 2004" |
### Instruction:
What category did MCG get a nominee in?
### Response:
| SELECT "Category" FROM table_15694 WHERE "Label" = 'mcg' AND "Result" = 'nominee' |
### Instruction:
how many albums did david d'or release with the hed arzi label ?
### Response:
| SELECT COUNT("title") FROM table_203_325 WHERE "label" = 'hed arzi' |
### Instruction:
What team did they lose to when they had a 28-22 record?
### Response:
| SELECT "Loss" FROM table_80259 WHERE "Record" = '28-22' |
### Instruction:
Which Polish Cup has a Puchat Ligi larger than 0?
### Response:
| SELECT AVG("Polish Cup") FROM table_60818 WHERE "Puchat Ligi" > '0' |
### Instruction:
What is the enrollment for the AAAA class in IHSAA?
### Response:
| SELECT SUM(enrollment) FROM table_name_85 WHERE ihsaa_football_class = "aaaa" |
### Instruction:
What instruments does the the song 'Le Pop' use?
### Response:
| SELECT instrument FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Le Pop" |
### Instruction:
Who was the leading lady for Uni studio and Frank Strayer?
### Response:
| SELECT leading_lady FROM table_name_71 WHERE studio = "uni" AND director = "frank strayer" |
### Instruction:
What were the sales for Dj Casper when he was in a position lower than 13?
### Response:
| SELECT sales FROM table_name_51 WHERE position < 13 AND artist = "dj casper" |
### Instruction:
Which parish has a church named Vangsnes Kyrkje?
### Response:
| SELECT parish__prestegjeld_ FROM table_name_44 WHERE church_name = "vangsnes kyrkje" |
### Instruction:
what is the maximum age of male patients above 49?
### Response:
| SELECT MAX(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.age >= "49" |
### Instruction:
What is the number in season of the episode whose production code is pabf05?
### Response:
| SELECT "#" FROM table_4005 WHERE "Production code" = 'PABF05' |
### Instruction:
What is 3 dree if 8 acht is 8th achta?
### Response:
| SELECT "3 dree" FROM table_58638 WHERE "8 acht" = '8th achta' |
### Instruction:
WHAT OPPONENT HAD A SCORE OF 5:5?
### Response:
| SELECT "Opponent" FROM table_47635 WHERE "Score" = '5:5' |
### Instruction:
What are the distinct salaries of all instructors who earned less than the maximum salary?
### Response:
| SELECT DISTINCT salary FROM instructor WHERE salary < (SELECT MAX(salary) FROM instructor) |
### Instruction:
how many air date with overall being 83/95
### Response:
| SELECT COUNT(air_date) FROM table_13110459_2 WHERE overall = "83/95" |
### Instruction:
What was the Attendance after Week 7 at Tiger Stadium?
### Response:
| SELECT COUNT(attendance) FROM table_name_27 WHERE game_site = "tiger stadium" AND week > 7 |
### Instruction:
what is date of birth and primary disease of subject name gus marques?
### Response:
| SELECT demographic.dob, demographic.diagnosis FROM demographic WHERE demographic.name = "Gus Marques" |
### Instruction:
What is the money won by Frank Nobilo?
### Response:
| SELECT COUNT("Money ( \u00a3 )") FROM table_79154 WHERE "Player" = 'frank nobilo' |
### Instruction:
What is the date for the tooheys 1000?
### Response:
| SELECT "Date" FROM table_61214 WHERE "Series" = 'tooheys 1000' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.