instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What enrollement would you expect if you were attending the university in St. Louis?
### Response:
| SELECT "Enrollment" FROM table_2319 WHERE "Location(s)" = 'St. Louis' |
### Instruction:
what is the number of years that the team did not qualify for playoffs ?
### Response:
| SELECT COUNT("year") FROM table_203_595 WHERE "playoffs" = 'did not qualify' |
### Instruction:
Is 443 allowed for undergrads ?
### Response:
| SELECT DISTINCT advisory_requirement, enforced_requirement, name FROM course WHERE department = 'EECS' AND number = 443 |
### Instruction:
Tell me the launch date/time for payload of gsat-4
### Response:
| SELECT "Launch date/time (UTC)" FROM table_31681 WHERE "Payload" = 'gsat-4' |
### Instruction:
Plot the total number by grouped by carrier as a bar graph, and could you show in descending by the Y-axis?
### Response:
| SELECT Carrier, COUNT(*) FROM phone GROUP BY Carrier ORDER BY COUNT(*) DESC |
### Instruction:
What percent of others did ogm/news count when MARTIN had 9%?
### Response:
| SELECT others FROM table_name_33 WHERE martin = "9%" AND source = "ogm/news" |
### Instruction:
Which party was joseph t. johnson in?
### Response:
| SELECT "Party" FROM table_35817 WHERE "Incumbent" = 'joseph t. johnson' |
### Instruction:
What is 1st Leg, when Team 1 is 'Makedonija'?
### Response:
| SELECT 1 AS st_leg FROM table_name_52 WHERE team_1 = "makedonija" |
### Instruction:
which of the listed segments has the most electorates ?
### Response:
| SELECT "name" FROM table_204_255 ORDER BY "number of electorates (2009)" DESC LIMIT 1 |
### Instruction:
What's the amount of winnings (in $) in the year with 2 wins?
### Response:
| SELECT "Winnings" FROM table_22810 WHERE "Wins" = '2' |
### Instruction:
The minimum average number of dancers is 34.1 how many times
### Response:
| SELECT MIN("Number of dances") FROM table_806 WHERE "Average" = '34.1' |
### Instruction:
how many tracks in word ... life were produced by buckwild ?
### Response:
| SELECT COUNT("title") FROM table_203_228 WHERE "producer(s)" = 'buckwild' |
### Instruction:
What position was drafted by the Hamilton Tiger-Cats?
### Response:
| SELECT position FROM table_21321804_5 WHERE cfl_team = "Hamilton Tiger-Cats" |
### Instruction:
What is the Nationality of Mike Gatting, who played 551 games?
### Response:
| SELECT nationality FROM table_name_7 WHERE games = "551" AND player = "mike gatting" |
### Instruction:
What Opponent in the final had a Partner of Gast n Etlis?
### Response:
| SELECT opponent_in_the_final FROM table_name_76 WHERE partner = "gastón etlis" |
### Instruction:
Name the numbers of the nba draft where the player went to kentucky
### Response:
| SELECT nba_draft FROM table_11677760_31 WHERE college = "Kentucky" |
### Instruction:
Which second team had a first leg score of 83-69?
### Response:
| SELECT "Team #2" FROM table_48966 WHERE "1st leg" = '83-69' |
### Instruction:
What is the 1st leg that has a Rc Cannes Team 1?
### Response:
| SELECT "1st leg" FROM table_59269 WHERE "Team 1" = 'rc cannes' |
### Instruction:
What time in eastern standard time was game held at denver broncos?
### Response:
| SELECT time___et__ FROM table_14433719_1 WHERE opponent = "at Denver Broncos" |
### Instruction:
What is 1984, when 1979 is '1R'?
### Response:
| SELECT 1984 FROM table_name_94 WHERE 1979 = "1r" |
### Instruction:
Vsevolod Shilovskiy is from what country?
### Response:
| SELECT "Country" FROM table_16005 WHERE "Actors Name" = 'Vsevolod Shilovskiy' |
### Instruction:
how many municipalities have above 15 % korean american percentage of overall population ?
### Response:
| SELECT COUNT("city") FROM table_204_190 WHERE "percentage" > 15 |
### Instruction:
What is the name of the opponent when anastasia pivovarova was the partner?
### Response:
| SELECT opponents FROM table_name_15 WHERE partner = "anastasia pivovarova" |
### Instruction:
Give me the comparison about the sum of Instructor over the Days , and group by attribute Days by a bar chart.
### Response:
| SELECT Days, SUM(Instructor) FROM Course GROUP BY Days ORDER BY Credits |
### Instruction:
How many losses did ev bruckberg have when the drawn was more than 1?
### Response:
| SELECT SUM(lost) FROM table_name_42 WHERE name = "ev bruckberg" AND drawn > 1 |
### Instruction:
How many arson-related fires were there in 2010?
### Response:
| SELECT COUNT(*) FROM fires WHERE fire_year = 2010 AND stat_cause_descr LIKE "%Arson%" |
### Instruction:
What is the highest episode number in which Jamie Oliver guest-hosted?
### Response:
| SELECT MAX(episode_number) FROM table_name_89 WHERE guest_host = "jamie oliver" |
### Instruction:
During which years did number 13 play for the Rockets?
### Response:
| SELECT years_for_rockets FROM table_11734041_3 WHERE no_s_ = "13" |
### Instruction:
Name the Report which has heinrich-joachim von morgen?
### Response:
| SELECT "Report" FROM table_62010 WHERE "Winning driver" = 'heinrich-joachim von morgen' |
### Instruction:
What school is from 45 Lake county and is located in Merrillville?
### Response:
| SELECT school FROM table_name_32 WHERE county = "45 lake" AND location = "merrillville" |
### Instruction:
What was the lowest judge rank for danny and frankie?
### Response:
| SELECT MIN(judges) FROM table_26375386_16 WHERE couple = "Danny and Frankie" |
### Instruction:
How many original air dates did the episode directed by Bethany rooney have?
### Response:
| SELECT COUNT("Original air date") FROM table_4117 WHERE "Directed by" = 'Bethany Rooney' |
### Instruction:
What is the name of every college in alphabetical order that has more than 18000 students enrolled?
### Response:
| SELECT cname FROM college WHERE enr > 18000 ORDER BY cname |
### Instruction:
Who was the losing pitcher when 40583 attended?
### Response:
| SELECT "Losing Pitcher" FROM table_18926 WHERE "Attendance" = '40583' |
### Instruction:
What is the away team's score when the away team is geelong?
### Response:
| SELECT "Away team score" FROM table_33125 WHERE "Away team" = 'geelong' |
### Instruction:
how many teams had their cws best finish in 1955 ?
### Response:
| SELECT COUNT("school") FROM table_203_412 WHERE "cws best finish" = 1955 |
### Instruction:
Which pinyin have a population of 374047?
### Response:
| SELECT "Pinyin" FROM table_17397 WHERE "Population" = '374047' |
### Instruction:
Which player played the guard position from 1968?
### Response:
| SELECT "Player" FROM table_33084 WHERE "Position" = 'guard' AND "From" = '1968' |
### Instruction:
find out the route of drug administration for the patient with patient id 2560.
### Response:
| SELECT prescriptions.route FROM prescriptions WHERE prescriptions.subject_id = "2560" |
### Instruction:
What's Matts Nilsson's team that's ranked better than 7?
### Response:
| SELECT team FROM table_name_81 WHERE rank < 7 AND rider = "matts nilsson" |
### Instruction:
Which party had a term start of 5 august 1999?
### Response:
| SELECT "Party" FROM table_61582 WHERE "Term start" = '5 august 1999' |
### Instruction:
What is the round number of the match with Michael Buell as the opponent?
### Response:
| SELECT "Round" FROM table_6307 WHERE "Opponent" = 'michael buell' |
### Instruction:
Which Slalom has an overall of 25 in the 2009 season?
### Response:
| SELECT slalom FROM table_name_32 WHERE overall = "25" AND season = 2009 |
### Instruction:
what is subject name and date of birth of subject id 2110?
### Response:
| SELECT demographic.name, demographic.dob FROM demographic WHERE demographic.subject_id = "2110" |
### Instruction:
What was the score in the final played with Fred McNair as partner?
### Response:
| SELECT "Score in the final" FROM table_30399 WHERE "Partner" = 'Fred McNair' |
### Instruction:
how many tour wins did nancy lopez have before 1980 ?
### Response:
| SELECT COUNT("tournament") FROM table_204_328 WHERE "date" < 1980 |
### Instruction:
what was the first year boston college won the championship ?
### Response:
| SELECT "year" FROM table_203_13 WHERE "champion" = 'boston college' ORDER BY "year" LIMIT 1 |
### Instruction:
What are all the stations with a license in Cincinnati?
### Response:
| SELECT station FROM table_1847523_2 WHERE city_of_license__market = "Cincinnati" |
### Instruction:
In what season did Raquel Pacheco finish in third place?
### Response:
| SELECT "Season" FROM table_73757 WHERE "Third Place" = 'Raquel Pacheco' |
### Instruction:
what's the percentage of votes with election date being 1981
### Response:
| SELECT "Percentage of votes" FROM table_18966 WHERE "Election date" = '1981' |
### Instruction:
Which act's album has a name of All That You Can't Leave Behind?
### Response:
| SELECT pop_act FROM table_name_58 WHERE album = "all that you can't leave behind" |
### Instruction:
When total goals is 11 what was the league apps (sub)?
### Response:
| SELECT MAX("League Apps (Sub)") FROM table_16475 WHERE "Total Goals" = '11' |
### Instruction:
What is the time of the tim trophy competition where juventus was the opponent?
### Response:
| SELECT time FROM table_name_4 WHERE competition = "tim trophy" AND opponent = "juventus" |
### Instruction:
How many of the schools are designated private/Presbyterian?
### Response:
| SELECT COUNT(location) FROM table_10082596_1 WHERE affiliation = "Private/Presbyterian" |
### Instruction:
What was the result when incumbent gil gutknecht ran?
### Response:
| SELECT results FROM table_1341423_23 WHERE incumbent = "Gil Gutknecht" |
### Instruction:
What is the minimum die size for an SM count of exactly 2?
### Response:
| SELECT MIN("Die size (mm 2 )") FROM table_28267 WHERE "SM count" = '2' |
### Instruction:
What year did the B-Side of Just Squeeze Me come out?
### Response:
| SELECT "Year" FROM table_64255 WHERE "B-side" = 'just squeeze me' |
### Instruction:
How many tackle assists for the player who averages 23.7?
### Response:
| SELECT ast FROM table_18064020_21 WHERE avg = "23.7" |
### Instruction:
What is the lowest Draw, when the Song is 'The Innocent Days'?
### Response:
| SELECT MIN("Draw") FROM table_40716 WHERE "Song" = 'the innocent days' |
### Instruction:
Which season had 0 wins and 5 losses for the Surrey team?
### Response:
| SELECT season FROM table_name_61 WHERE wins = "0" AND losses = "5" AND team = "surrey" |
### Instruction:
What opponent has tomko (1-1) as a loss?
### Response:
| SELECT "Opponent" FROM table_34985 WHERE "Loss" = 'tomko (1-1)' |
### Instruction:
What is the Player with a Cross Code Debut of RL Test GB v France?
### Response:
| SELECT player FROM table_name_25 WHERE cross_code_debut = "rl test gb v france" |
### Instruction:
What is Joanne Carner's average score in Canadian Women's Open games that she has won?
### Response:
| SELECT AVG(score) FROM table_name_70 WHERE champion = "joanne carner" |
### Instruction:
what is the total number of movies he made in 2010 ?
### Response:
| SELECT COUNT("english title") FROM table_204_307 WHERE "year" = 2010 |
### Instruction:
What is the least amount of games played with 21 losses?
### Response:
| SELECT MIN(games_played) FROM table_18018248_2 WHERE loses = 21 |
### Instruction:
Which Name had a Rank of 18 Out of a number smaller than 149?
### Response:
| SELECT name FROM table_name_31 WHERE out_of < 149 AND rank = 18 |
### Instruction:
Tell me the name for 2008 club of vol ro z rich
### Response:
| SELECT "Name" FROM table_54011 WHERE "2008 club" = 'voléro zürich' |
### Instruction:
Which player from the United States won in 1962?
### Response:
| SELECT player FROM table_name_50 WHERE country = "united states" AND year_s__won = "1962" |
### Instruction:
weight > 136.4 kg or < 42 kg
### Response:
| SELECT * FROM table_train_163 WHERE body_weight > 136.4 OR body_weight < 42 |
### Instruction:
How many different high rebound results are there for the game number 26?
### Response:
| SELECT COUNT(high_rebounds) FROM table_23286223_5 WHERE game = 26 |
### Instruction:
Which entrant has a Mclaren m7c Chassis?
### Response:
| SELECT "Entrant" FROM table_14649 WHERE "Chassis" = 'mclaren m7c' |
### Instruction:
What is the Population of the subdivision with the English Name of nanbin farm?
### Response:
| SELECT MIN("Population") FROM table_47013 WHERE "English Name" = 'nanbin farm' |
### Instruction:
Name the number of complement for 4th hanoverian brigade
### Response:
| SELECT COUNT(complement) FROM table_11793221_4 WHERE unit = "4th Hanoverian Brigade" |
### Instruction:
Who has a Construction of 1873, foochow navy yard?
### Response:
| SELECT characters FROM table_name_33 WHERE construction = "1873, foochow navy yard" |
### Instruction:
Name the least transfers out when transfers is 21
### Response:
| SELECT MIN(transfers_out) FROM table_17650725_1 WHERE total_transfers = 21 |
### Instruction:
give the least number of times an episode was shown from 1997-1998
### Response:
| SELECT MIN(no_in_season) FROM table_10953197_6 |
### Instruction:
When river ness is the hr name how many builts are there?
### Response:
| SELECT COUNT(built) FROM table_1886270_1 WHERE hr_name = "River Ness" |
### Instruction:
Who was the Rookie of the Year for the Season in 2000?
### Response:
| SELECT rookie_of_the_year FROM table_name_72 WHERE season = 2000 |
### Instruction:
who was the first winner men 's winner , in 1965 ?
### Response:
| SELECT "men's winner" FROM table_203_872 WHERE "year" = 1965 |
### Instruction:
On what date was the home team the Dallas Cowboys 34?
### Response:
| SELECT "Date" FROM table_71953 WHERE "Home team" = 'dallas cowboys 34' |
### Instruction:
How many different horse-powers does the Cochrane have?
### Response:
| SELECT COUNT(horse__power) FROM table_23614702_1 WHERE warship = "Cochrane" |
### Instruction:
What is the name of the author of ' jerry was a man '?
### Response:
| SELECT "Original story author" FROM table_55367 WHERE "Title" = ' jerry was a man ' |
### Instruction:
Which team plays in Goa, Salcette?
### Response:
| SELECT "Home venue" FROM table_66767 WHERE "State" = 'goa' AND "City" = 'salcette' |
### Instruction:
What is the Winner's share in 2007?
### Response:
| SELECT COUNT("Winner's share ($)") FROM table_41261 WHERE "Year" = '2007' |
### Instruction:
Provide the age and language spoken for the subject id 8990.
### Response:
| SELECT demographic.age, demographic.language FROM demographic WHERE demographic.subject_id = "8990" |
### Instruction:
how many parks were established after the year 2000 ?
### Response:
| SELECT COUNT("national park") FROM table_204_143 WHERE "established" > 2000 |
### Instruction:
in how many countries was the album released before 1990 ?
### Response:
| SELECT COUNT(DISTINCT ("region")) FROM table_204_128 WHERE "date" < 1990 |
### Instruction:
Which position was selected for by the Toronto Maple Leafs?
### Response:
| SELECT position FROM table_2850912_4 WHERE nhl_team = "Toronto Maple Leafs" |
### Instruction:
What is the segment A name, having a Netflix of s01e12?
### Response:
| SELECT segment_a FROM table_name_18 WHERE netflix = "s01e12" |
### Instruction:
Which visiting team had a final score of 14-34?
### Response:
| SELECT "Visiting Team" FROM table_52745 WHERE "Final Score" = '14-34' |
### Instruction:
Show the proportion of the number of countries for all people whose age is smaller than the average.
### Response:
| SELECT Country, COUNT(Country) FROM people WHERE Age < (SELECT AVG(Age) FROM people) GROUP BY Country |
### Instruction:
What Junior Marquee team is Harry Kewell of?
### Response:
| SELECT "Junior Marquee player" FROM table_67336 WHERE "Captain" = 'harry kewell' |
### Instruction:
What was the Tie no when the Home team was carshalton athletic?
### Response:
| SELECT "Tie no" FROM table_44032 WHERE "Home team" = 'carshalton athletic' |
### Instruction:
Which Melbourne has an Auckland of no, and a Gold Coast of no?
### Response:
| SELECT melbourne FROM table_name_14 WHERE auckland = "no" AND gold_coast = "no" |
### Instruction:
What was the arrival time of the train that departed at 18.16?
### Response:
| SELECT arrival FROM table_18365784_3 WHERE departure = "18.16" |
### Instruction:
subject has a modified hachinski ischemia scale ( his ) score greater than 4 .
### Response:
| SELECT * FROM table_train_94 WHERE modified_hachinski_ischemia_scale > 4 |
### Instruction:
What was the aggregate score for Montauban?
### Response:
| SELECT aggregate_score FROM table_27986200_3 WHERE proceed_to_quarter_final = "Montauban" |
### Instruction:
Which Frequency MHz has a Call Sign of K218BE?
### Response:
| SELECT "Frequency MHz" FROM table_75668 WHERE "Call sign" = 'k218be' |
### Instruction:
How many catches did Clifford McWatt have?
### Response:
| SELECT MIN(catches) FROM table_27771406_1 WHERE player = "Clifford McWatt" |
### Instruction:
What attendance has October 16, 2005 as the date?
### Response:
| SELECT attendance FROM table_name_81 WHERE date = "october 16, 2005" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.