instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
what is the regulatory citation when the standard is 15 g/m ?
### Response:
| SELECT regulatory_citation FROM table_name_11 WHERE standard = "15 μg/m³" |
### Instruction:
What country has t6 as the place, with seve ballesteros as the player?
### Response:
| SELECT country FROM table_name_2 WHERE place = "t6" AND player = "seve ballesteros" |
### Instruction:
What was the UK broadcast date for the episode presented by Buck Henry?
### Response:
| SELECT uk_broadcast_date FROM table_15211468_3 WHERE presenter = "Buck Henry" |
### Instruction:
Which club has the most losses with 10 matches played and more than 1 draw?
### Response:
| SELECT MAX(losses) FROM table_name_29 WHERE matches = 10 AND draws > 1 |
### Instruction:
Which Opponent has a Attendance of 6,275?
### Response:
| SELECT "Opponent" FROM table_6187 WHERE "Attendance" = '6,275' |
### Instruction:
A scatter chart shows the correlation between School_ID and ACC_Percent , and group by attribute All_Road.
### Response:
| SELECT School_ID, ACC_Percent FROM basketball_match GROUP BY All_Road |
### Instruction:
What is the Score when Donyell Marshall (26) had the high points?
### Response:
| SELECT score FROM table_name_20 WHERE high_points = "donyell marshall (26)" |
### Instruction:
What was the score on September 1, 1996?
### Response:
| SELECT "Result" FROM table_11214 WHERE "Date" = 'september 1, 1996' |
### Instruction:
Who had the most assists and how many did they have on October 5?
### Response:
| SELECT high_assists FROM table_27704187_2 WHERE date = "October 5" |
### Instruction:
For the 2013 completion schedule, what is the total S.no.?
### Response:
| SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013" |
### Instruction:
Who was the partner for the game on October 20, 2013?
### Response:
| SELECT partner FROM table_name_80 WHERE date = "october 20, 2013" |
### Instruction:
What is the highest place of a song by Henri D s that has fewer than 8 points?
### Response:
| SELECT MAX(place) FROM table_name_6 WHERE artist = "henri dès" AND points < 8 |
### Instruction:
What is the amount of silver for rank 11 having less than 0 gold?
### Response:
| SELECT MIN(silver) FROM table_name_21 WHERE rank = "11" AND gold < 0 |
### Instruction:
Which Novick has a Source of surveyusa, and a Neville of 8%?
### Response:
| SELECT novick FROM table_name_59 WHERE source = "surveyusa" AND neville = "8%" |
### Instruction:
What was the tail number of the aircraft that had 5/30 fatalities?
### Response:
| SELECT "Tail number" FROM table_7014 WHERE "Fatalities" = '5/30' |
### Instruction:
Which dates of polls occur in the Mizoram state?
### Response:
| SELECT date_of_polls FROM table_15329030_1 WHERE state = "Mizoram" |
### Instruction:
what was the first competition where this runner placed 1st ?
### Response:
| SELECT "competition" FROM table_204_880 WHERE "position" = 1 ORDER BY "year" LIMIT 1 |
### Instruction:
Which Music has a Record label of moviebox/ speed records / music waves?
### Response:
| SELECT "Music" FROM table_38808 WHERE "Record label" = 'moviebox/ speed records / music waves' |
### Instruction:
What team is sponsored by d3 Outdoors?
### Response:
| SELECT team FROM table_19908313_2 WHERE primary_sponsor_s_ = "D3 Outdoors" |
### Instruction:
Which venue has 13,634 people in attendance?
### Response:
| SELECT "Venue" FROM table_11695 WHERE "Attendance" = '13,634' |
### Instruction:
When is the completed date of the destroyer with a pennant number h63?
### Response:
| SELECT "Completed" FROM table_58383 WHERE "Pennant number" = 'h63' |
### Instruction:
A bar chart about what are the average ages for male and female students?, and order y axis in desc order.
### Response:
| SELECT Sex, AVG(Age) FROM Student GROUP BY Sex ORDER BY AVG(Age) DESC |
### Instruction:
Whose WSOP earnings were $36,372?
### Response:
| SELECT "Name" FROM table_26273 WHERE "WSOP earnings" = '$36,372' |
### Instruction:
Bar chart x axis all games y axis acc_percent, and could you display by the x-axis in asc?
### Response:
| SELECT All_Games, ACC_Percent FROM basketball_match ORDER BY All_Games |
### Instruction:
What is Nat., when Name is 'F bregas ( Captain )'?
### Response:
| SELECT "Nat." FROM table_47658 WHERE "Name" = 'fàbregas ( captain )' |
### Instruction:
Who wrote the episode with production code 2j5568?
### Response:
| SELECT "Written by" FROM table_30533 WHERE "Production code" = '2J5568' |
### Instruction:
Who was the iron chef when herb Faust was the challenger?
### Response:
| SELECT "Iron Chef" FROM table_31056 WHERE "Challenger" = 'Herb Faust' |
### Instruction:
What is the model with a engine type with b5244 s2?
### Response:
| SELECT "model" FROM table_11137 WHERE "engine type" = 'b5244 s2' |
### Instruction:
Wha argon has helium of 1.0000684?
### Response:
| SELECT argon FROM table_name_54 WHERE helium = "1.0000684" |
### Instruction:
Name the total episode for runtime of 24:11
### Response:
| SELECT COUNT(episode) FROM table_2105721_1 WHERE run_time = "24:11" |
### Instruction:
Which year did enrolled Gambier members leave?
### Response:
| SELECT MIN(left) FROM table_261946_3 WHERE location__all_in_ohio_ = "Gambier" |
### Instruction:
Who had the most assists and how many did they have on October 7?
### Response:
| SELECT high_assists FROM table_27722408_2 WHERE date = "October 7" |
### Instruction:
What is the 4wi when the economy is 7.82?
### Response:
| SELECT 4 AS wi FROM table_27268238_5 WHERE economy = "7.82" |
### Instruction:
Who was the leading scorer on April 9, 2008?
### Response:
| SELECT leading_scorer FROM table_name_34 WHERE date = "april 9, 2008" |
### Instruction:
What is the lowest lane with a 0.216 react?
### Response:
| SELECT MIN("Lane") FROM table_64226 WHERE "React" = '0.216' |
### Instruction:
WHAT IS THE AVERAGE DATE OF RELEASE FOR THICKSKIN?
### Response:
| SELECT AVG("Date of release") FROM table_48370 WHERE "Title" = 'thickskin' |
### Instruction:
Name the average fall 07 for fall 07 more than 219
### Response:
| SELECT AVG(fall_07) FROM table_name_34 WHERE fall_06 > 219 |
### Instruction:
How many times did M. Gounder win for Party A?
### Response:
| SELECT COUNT(party) AS a FROM table_22756549_1 WHERE winner = "M. Gounder" |
### Instruction:
What is the traditional Chinese character set for the location that has an area of 181?
### Response:
| SELECT "Traditional Chinese" FROM table_2170 WHERE "Area" = '181' |
### Instruction:
Which home team scored 18.9 (117)?
### Response:
| SELECT "Home team" FROM table_51268 WHERE "Home team score" = '18.9 (117)' |
### Instruction:
When was the Browns' game that over 36,796 attended?
### Response:
| SELECT "Date" FROM table_32900 WHERE "Attendance" > '36,796' |
### Instruction:
Show different teams in eliminations and the number of eliminations from each team by a bar chart, list x-axis in ascending order.
### Response:
| SELECT Team, COUNT(*) FROM Elimination GROUP BY Team ORDER BY Team |
### Instruction:
What is the future stem for the word that has an imperfect stem of hartzen?
### Response:
| SELECT "Future stem" FROM table_14595 WHERE "Imperfect stem" = 'hartzen' |
### Instruction:
On what date did Limerick play in the All-Ireland Final game?
### Response:
| SELECT date FROM table_name_38 WHERE opposition = "limerick" AND game = "all-ireland final" |
### Instruction:
Which entrant scored less than 8 points and used a Maserati chassis?
### Response:
| SELECT entrant FROM table_name_91 WHERE points < 8 AND chassis = "maserati" |
### Instruction:
Visualize a scatter chart about the correlation between Team_ID and School_ID , and group by attribute All_Games.
### Response:
| SELECT Team_ID, School_ID FROM basketball_match GROUP BY All_Games |
### Instruction:
how long did elisabeth irwin live ?
### Response:
| SELECT "lifetime" - "lifetime" FROM table_203_449 WHERE "name" = 'elisabeth irwin' |
### Instruction:
Which Reigon has a Village of Chassagne-Montrachet?
### Response:
| SELECT "Region" FROM table_34296 WHERE "Village" = 'chassagne-montrachet' |
### Instruction:
What is the catalog number with the date November 16, 2004?
### Response:
| SELECT catalog FROM table_name_15 WHERE date = "november 16, 2004" |
### Instruction:
Who is every composer for the media named Hall of Dreams?
### Response:
| SELECT composer FROM table_23829490_1 WHERE name_of_the_media = "Hall Of Dreams" |
### Instruction:
Which category was Gene Barry nominated in?
### Response:
| SELECT "Category" FROM table_57655 WHERE "Result" = 'nominated' AND "Nominee" = 'gene barry' |
### Instruction:
give the location of subtrate coproporphyrinogen iii
### Response:
| SELECT "Location" FROM table_22224 WHERE "Substrate" = 'Coproporphyrinogen III' |
### Instruction:
what number of proposed communities would use the east african shilling currency ?
### Response:
| SELECT COUNT("community") FROM table_204_321 WHERE "currency" = 'east african shilling' |
### Instruction:
Who has the high assists when April 26 is the date?
### Response:
| SELECT high_assists FROM table_23285761_11 WHERE date = "April 26" |
### Instruction:
What is the date of the 1986 FIFA World Cup?
### Response:
| SELECT "Date" FROM table_10186 WHERE "Competition" = '1986 fifa world cup' |
### Instruction:
What is the most recent year for the ajs team when there are fewer than 0 wins?
### Response:
| SELECT MAX(year) FROM table_name_57 WHERE team = "ajs" AND wins < 0 |
### Instruction:
What is the name of the inductee for the ecw arena?
### Response:
| SELECT "Inductee(s)" FROM table_10594 WHERE "Venue" = 'ecw arena' |
### Instruction:
When 6606 is the sail number what is the type of yacht?
### Response:
| SELECT "Yacht Type" FROM table_1898 WHERE "Sail Number" = '6606' |
### Instruction:
What is under segment C when s cuckoo clock is under segment B?
### Response:
| SELECT "Segment C" FROM table_38029 WHERE "Segment B" = 's cuckoo clock' |
### Instruction:
what is the total number of titles coil released on 7 ' vinyl ?
### Response:
| SELECT COUNT("release title") FROM table_203_607 WHERE "format" = '7" vinyl' |
### Instruction:
Sport of football, and a Venue of stadion polonii is what league?
### Response:
| SELECT league FROM table_name_20 WHERE sport = "football" AND venue = "stadion polonii" |
### Instruction:
Which NTFS has a no for ReFS and a yes for HPFS?
### Response:
| SELECT ntfs FROM table_name_50 WHERE refs = "no" AND hpfs = "yes" |
### Instruction:
When 14 is the match number how many usa teams are there?
### Response:
| SELECT COUNT(team_usa) FROM table_19072602_3 WHERE match_no = 14 |
### Instruction:
What is the tournament on 22 October 2012?
### Response:
| SELECT "Tournament" FROM table_5549 WHERE "Date" = '22 october 2012' |
### Instruction:
How many different provinces is Baghaberd the center of?
### Response:
| SELECT COUNT(province__ashkharh_) FROM table_23887174_1 WHERE center = "Baghaberd" |
### Instruction:
give me the number of patients whose primary disease is overdose?
### Response:
| SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "OVERDOSE" |
### Instruction:
Give me a scatter chart that groups by all home, the x-axis is team id and the y-axis is school id.
### Response:
| SELECT Team_ID, School_ID FROM basketball_match GROUP BY All_Home |
### Instruction:
Find the type and route of administration of Avapro?
### Response:
| SELECT prescriptions.drug_type, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Avapro" |
### Instruction:
If the building is Costanera Center Torre 1, what is the height?
### Response:
| SELECT "Height" FROM table_29282 WHERE "Building" = 'Costanera Center Torre 1' |
### Instruction:
the world championships were not held in moscow , russia before what year ?
### Response:
| SELECT "year" FROM table_203_192 WHERE "venue" = 'moscow, russia' |
### Instruction:
Find users in a given reputation range.
### Response:
| SELECT u.Reputation, u.DisplayName FROM Users AS u WHERE u.Reputation > 1000 AND u.Reputation < 1010 |
### Instruction:
What was the Score when the Loss was ruthven (1-4)?
### Response:
| SELECT "Score" FROM table_6472 WHERE "Loss" = 'ruthven (1-4)' |
### Instruction:
How many tries did the player Paul Sykes take when he earned 0 points?
### Response:
| SELECT MAX(tries) FROM table_name_49 WHERE player = "paul sykes" AND points > 0 |
### Instruction:
What is the name of the ruler whose rule began in 1924 BC?
### Response:
| SELECT "Name" FROM table_46030 WHERE "From" = '1924 bc' |
### Instruction:
Which Record has a Result of loss, and an Opponent of @ la clippers?
### Response:
| SELECT record FROM table_name_53 WHERE result = "loss" AND opponent = "@ la clippers" |
### Instruction:
What is the Netflix number having a series episode of 1-01?
### Response:
| SELECT "Netflix" FROM table_75286 WHERE "Series Ep." = '1-01' |
### Instruction:
If the average start is 11.8, what was the team name?
### Response:
| SELECT "Team(s)" FROM table_2511 WHERE "Avg. Start" = '11.8' |
### Instruction:
Wickets of chris gayle caught kapali happened on what date?
### Response:
| SELECT "Date" FROM table_67868 WHERE "Wickets" = 'chris gayle caught kapali' |
### Instruction:
How many positions does building Costanera Center Torre 1 have?
### Response:
| SELECT COUNT(position) FROM table_27067379_1 WHERE building = "Costanera Center Torre 1" |
### Instruction:
Name the investing dragon for razzamataz
### Response:
| SELECT "Investing Dragon(s)" FROM table_68485 WHERE "Company or product name" = 'razzamataz' |
### Instruction:
What is the production code of the episode directed by Stacie Lipp?
### Response:
| SELECT production_code FROM table_2226817_9 WHERE written_by = "Stacie Lipp" |
### Instruction:
Would it be beneficial to take certain courses prior to taking ALA 325 ?
### Response:
| SELECT DISTINCT advisory_requirement FROM course WHERE department = 'ALA' AND number = 325 |
### Instruction:
Which Lost has an Against of 49 and a Played smaller than 20?
### Response:
| SELECT COUNT(lost) FROM table_name_63 WHERE against = 49 AND played < 20 |
### Instruction:
Create a bar chart showing manager_id across last name, and show by the X-axis in ascending please.
### Response:
| SELECT LAST_NAME, MANAGER_ID FROM employees ORDER BY LAST_NAME |
### Instruction:
What is the power of the unit built after 1995?
### Response:
| SELECT SUM("Power (horsepower)") FROM table_37527 WHERE "Year built" > '1995' |
### Instruction:
Result F A of 2 0 had what group position?
### Response:
| SELECT "Group position" FROM table_69700 WHERE "Result F\u2013A" = '2–0' |
### Instruction:
What is the combined crowd in Vancouver on may 22?
### Response:
| SELECT SUM(attendance) FROM table_name_43 WHERE home = "vancouver" AND date = "may 22" |
### Instruction:
What is the ERP for the Mount Goonaneman transmitter?
### Response:
| SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman" |
### Instruction:
What was the highest average attendance in the 2009 season?
### Response:
| SELECT MAX("Average attendance") FROM table_78455 WHERE "Season" = '2009' |
### Instruction:
A scatter chart shows the correlation between Team_ID and School_ID , and group by attribute All_Neutral.
### Response:
| SELECT Team_ID, School_ID FROM basketball_match GROUP BY All_Neutral |
### Instruction:
Who was the Opponent of the Game with a Result of l 23-41?
### Response:
| SELECT opponent FROM table_name_91 WHERE result = "l 23-41" |
### Instruction:
what is drug route of drug code mago140?
### Response:
| SELECT prescriptions.route FROM prescriptions WHERE prescriptions.formulary_drug_cd = "MAGO140" |
### Instruction:
Bin all date of transactions into the weekday interval, and sum the share count of each bin. Return the result using a bar chart.
### Response:
| SELECT date_of_transaction, SUM(share_count) FROM Transactions |
### Instruction:
how many players are age 21 or 33 ?
### Response:
| SELECT COUNT("name") FROM table_203_237 WHERE "age" = 21 OR "age" = 33 |
### Instruction:
What title has a producer of MAQ and Anna as a role?
### Response:
| SELECT "Title" FROM table_37226 WHERE "Producer" = 'maq' AND "Role" = 'anna' |
### Instruction:
Please compare the frequency of the position of the pilots using a bar chart, and could you sort from low to high by the bar please?
### Response:
| SELECT Position, COUNT(Position) FROM pilot GROUP BY Position ORDER BY Position |
### Instruction:
how many are europlug compatible -lrb- yes -rrb- ?
### Response:
| SELECT COUNT(*) FROM table_204_794 WHERE "europlug\ncompatible" = 'yes' |
### Instruction:
What is the team when the time is 1:11.19.89?
### Response:
| SELECT team FROM table_name_36 WHERE time = "1:11.19.89" |
### Instruction:
Which Interview subject has a Centerfold model of athena lundberg?
### Response:
| SELECT "Interview subject" FROM table_39931 WHERE "Centerfold model" = 'athena lundberg' |
### Instruction:
Visualize a bar chart about the distribution of Days and the average of Instructor , and group by attribute Days.
### Response:
| SELECT Days, AVG(Instructor) FROM Course GROUP BY Days ORDER BY Credits |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.