instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
Who called the race in 1998?
### Response:
|
SELECT race_caller FROM table_22583466_3 WHERE year = 1998
|
### Instruction:
Show all game ids and the number of hours played by a scatter chart.
### Response:
|
SELECT GameID, SUM(Hours_Played) FROM Plays_Games GROUP BY GameID
|
### Instruction:
Which Result has a Site of rice stadium houston, tx?
### Response:
|
SELECT result FROM table_name_9 WHERE site = "rice stadium • houston, tx"
|
### Instruction:
What should I take before NERS 522 ?
### Response:
|
SELECT DISTINCT advisory_requirement FROM course WHERE department = 'NERS' AND number = 522
|
### Instruction:
what is the arrival time where station code is pnvl?
### Response:
|
SELECT "Arrival" FROM table_19518 WHERE "Station Code" = 'PNVL'
|
### Instruction:
how many finalists are under the age of 25 ?
### Response:
|
SELECT COUNT("finalist") FROM table_203_129 WHERE "age" < 25
|
### Instruction:
How many resulted in draws with 34 tries for?
### Response:
|
SELECT "Drawn" FROM table_70628 WHERE "Tries for" = '34'
|
### Instruction:
What is the description where the date is 1911?
### Response:
|
SELECT "Description" FROM table_51257 WHERE "Date" = '1911'
|
### Instruction:
What many times was the victoria derby raced?
### Response:
|
SELECT COUNT("Date") FROM table_31377 WHERE "Race" = 'Victoria Derby'
|
### Instruction:
What is listed under L when the stolen ends is 1?
### Response:
|
SELECT "L" FROM table_31226 WHERE "Stolen Ends" = '1'
|
### Instruction:
What is the competition on 15 August 2008?
### Response:
|
SELECT competition FROM table_name_27 WHERE date = "15 august 2008"
|
### Instruction:
What was the earliest season where podium was 9?
### Response:
|
SELECT MIN(season) FROM table_26998693_1 WHERE podiums = 9
|
### Instruction:
Which team plays at Punt Road Oval?
### Response:
|
SELECT "Home team" FROM table_55193 WHERE "Venue" = 'punt road oval'
|
### Instruction:
On what date was a match played at Lake Oval?
### Response:
|
SELECT "Date" FROM table_52504 WHERE "Venue" = 'lake oval'
|
### Instruction:
What is every species when Afinsa is 639?
### Response:
|
SELECT species FROM table_1818471_1 WHERE afinsa = 639
|
### Instruction:
What is the attendance in the bye week after week 5?
### Response:
|
SELECT attendance FROM table_name_40 WHERE week > 5 AND opponent = "bye"
|
### Instruction:
Kitchen knives is segment a of what episode?
### Response:
|
SELECT episode FROM table_15187735_5 WHERE segment_a = "Kitchen Knives"
|
### Instruction:
What is Winner, when Date is '20 August'?
### Response:
|
SELECT "Winner" FROM table_58889 WHERE "Date" = '20 august'
|
### Instruction:
What was the score of the game attended by 50,200?
### Response:
|
SELECT score FROM table_name_2 WHERE attendance = "50,200"
|
### Instruction:
The Tag ordered by count. Enter Query Description
### Response:
|
SELECT ROW_NUMBER() OVER (ORDER BY Count DESC) AS rn, Count, TagName FROM Tags ORDER BY Count DESC
|
### Instruction:
What is the total wins with less than 21 goals taken?
### Response:
|
SELECT SUM(wins) FROM table_name_19 WHERE goals_against < 21
|
### Instruction:
What is the points against when try diff is +23?
### Response:
|
SELECT "Points against" FROM table_46054 WHERE "Try diff" = '+23'
|
### Instruction:
List the number of the name of technicians whose team is not 'NYY'.
### Response:
|
SELECT Name, COUNT(Name) FROM technician WHERE Team <> "NYY" GROUP BY Name
|
### Instruction:
What are the names of students and their respective departments, ordered by number of credits from least to greatest?
### Response:
|
SELECT name, dept_name FROM student ORDER BY tot_cred
|
### Instruction:
what is the highest attendance when the week is smaller than 1?
### Response:
|
SELECT MAX("Attendance") FROM table_14287 WHERE "Week" < '1'
|
### Instruction:
what is the competition when the score is 2-1?
### Response:
|
SELECT "Competition" FROM table_48177 WHERE "Score" = '2-1'
|
### Instruction:
What is the name of the race on 16 september?
### Response:
|
SELECT "Race Name" FROM table_77933 WHERE "Date" = '16 september'
|
### Instruction:
what is the quantity made when the class is d-2?
### Response:
|
SELECT "Quantity made" FROM table_79649 WHERE "Class" = 'd-2'
|
### Instruction:
Name the most founded for sea gulls
### Response:
|
SELECT MAX("Founded") FROM table_23202 WHERE "Nickname" = 'Sea Gulls'
|
### Instruction:
Show how many country from each country, could you list by the Y from low to high?
### Response:
|
SELECT Country, COUNT(Country) FROM artist GROUP BY Country ORDER BY COUNT(Country)
|
### Instruction:
What is the sum of totals for FA Cup values of 0?
### Response:
|
SELECT SUM("Total") FROM table_40177 WHERE "FA Cup" < '0'
|
### Instruction:
Find the last name of female (sex is F) students in the descending order of age.
### Response:
|
SELECT LName FROM STUDENT WHERE Sex = "F" ORDER BY Age DESC
|
### Instruction:
What years have a total of 395 (0)?
### Response:
|
SELECT "Years" FROM table_7345 WHERE "Total" = '395 (0)'
|
### Instruction:
What is Road Team, when Result is '74-71'?
### Response:
|
SELECT road_team FROM table_name_36 WHERE result = "74-71"
|
### Instruction:
When vista radio is the owner how many call signs are there?
### Response:
|
SELECT COUNT("Call sign") FROM table_22416 WHERE "Owner" = 'Vista Radio'
|
### Instruction:
What is the Romanization for my old sweetheart?
### Response:
|
SELECT "Romanization" FROM table_54992 WHERE "English title" = 'my old sweetheart'
|
### Instruction:
What season had the title 'A Safe Place'?
### Response:
|
SELECT "No. in season" FROM table_13440 WHERE "Title" = 'a safe place'
|
### Instruction:
Name the venue for 25 may 2008
### Response:
|
SELECT venue FROM table_name_94 WHERE date = "25 may 2008"
|
### Instruction:
How many total publications were the first of the series?
### Response:
|
SELECT COUNT(published) FROM table_name_86 WHERE in_order_of_publication = "first"
|
### Instruction:
At what location was the March 17 race held?
### Response:
|
SELECT location FROM table_29285076_2 WHERE date = "March 17"
|
### Instruction:
Which Surface has a Partner of oliver marach?
### Response:
|
SELECT "Surface" FROM table_5778 WHERE "Partner" = 'oliver marach'
|
### Instruction:
What was the highest total when Norrkoping scored 12?
### Response:
|
SELECT MAX(total) FROM table_name_21 WHERE norrköping = "12"
|
### Instruction:
What is the year Airds High School was founded?
### Response:
|
SELECT "Founded" FROM table_59509 WHERE "School" = 'airds high school'
|
### Instruction:
Find the number of trains starting from each origin Plot them as bar chart, order bars from high to low order.
### Response:
|
SELECT origin, COUNT(*) FROM train GROUP BY origin ORDER BY origin DESC
|
### Instruction:
Name the number of swimsuit for israel
### Response:
|
SELECT COUNT(swimsuit) FROM table_11674683_2 WHERE delegate = "Israel"
|
### Instruction:
How many dates do the dolphins have 6 points?
### Response:
|
SELECT date FROM table_18847736_2 WHERE dolphins_points = 6
|
### Instruction:
Name the maximum leagure for 0 scottish cup
### Response:
|
SELECT MAX("League") FROM table_1723 WHERE "Scottish Cup" = '0'
|
### Instruction:
What player was picked by the New York Rangers?
### Response:
|
SELECT player FROM table_2886617_2 WHERE nhl_team = "New York Rangers"
|
### Instruction:
What is the Venue with the Friendly Competition?
### Response:
|
SELECT "Venue" FROM table_12283 WHERE "Competition" = 'friendly'
|
### Instruction:
What is the real name of the Pick # that is greater than 9?
### Response:
|
SELECT employee__real_name_ FROM table_name_67 WHERE pick__number > 9
|
### Instruction:
What is the total Top-25 when the events were less than 0?
### Response:
|
SELECT SUM(top_25) FROM table_name_23 WHERE events < 0
|
### Instruction:
Which school/club team did blue edwards play for
### Response:
|
SELECT school_club_team FROM table_16494599_5 WHERE player = "Blue Edwards"
|
### Instruction:
which chip has the fewest amount of eeprom ?
### Response:
|
SELECT "chip" FROM table_204_416 ORDER BY "eeprom" LIMIT 1
|
### Instruction:
Which regular season had the playoffs of 0 mls cups?
### Response:
|
SELECT regular_season FROM table_name_87 WHERE playoffs = "0 mls cups"
|
### Instruction:
Where did Hawthorn play as the home team?
### Response:
|
SELECT "Venue" FROM table_33174 WHERE "Home team" = 'hawthorn'
|
### Instruction:
which denomination has the highest margin ?
### Response:
|
SELECT "denomination" FROM table_203_857 ORDER BY "1870" DESC LIMIT 1
|
### Instruction:
which was the only song to earn less than 60 points ?
### Response:
|
SELECT "song" FROM table_203_695 WHERE "points" < 60
|
### Instruction:
What is the colonized year for the chartered year 1958?
### Response:
|
SELECT colonized FROM table_name_83 WHERE chartered = "1958"
|
### Instruction:
What is the highest number of games drawn, where the games played was less than 7?
### Response:
|
SELECT MAX(drawn) FROM table_name_86 WHERE games < 7
|
### Instruction:
Tell me the average Laps for grid larger than 22
### Response:
|
SELECT AVG("Laps") FROM table_32036 WHERE "Grid" > '22'
|
### Instruction:
Name the incumbent for alabama 6
### Response:
|
SELECT "Incumbent" FROM table_73142 WHERE "District" = 'Alabama 6'
|
### Instruction:
How many votes did McCain get in Scott?
### Response:
|
SELECT MIN("McCain#") FROM table_23938 WHERE "County" = 'Scott'
|
### Instruction:
Which college has their team as the New York Jets?
### Response:
|
SELECT "College" FROM table_65313 WHERE "Team" = 'new york jets'
|
### Instruction:
what was the first place eurovision song contest 2008 song ?
### Response:
|
SELECT "song" FROM table_203_430 WHERE "place" = 1
|
### Instruction:
Plot mean age by grouped by sex as a bar graph, and could you sort bar in asc order?
### Response:
|
SELECT Sex, AVG(Age) FROM Student GROUP BY Sex ORDER BY Sex
|
### Instruction:
What week did Cleveland Browns played?
### Response:
|
SELECT AVG("Week") FROM table_59298 WHERE "Opponent" = 'cleveland browns'
|
### Instruction:
Which pick was MIchael Holper?
### Response:
|
SELECT MIN("Pick") FROM table_53676 WHERE "Player" = 'michael holper'
|
### Instruction:
How many resorts have 118 runs?
### Response:
|
SELECT COUNT(name) FROM table_25762852_1 WHERE runs = "118"
|
### Instruction:
What years does milt palacio play?
### Response:
|
SELECT "Years for Jazz" FROM table_56296 WHERE "Player" = 'milt palacio'
|
### Instruction:
what's the total number of report with date 29 april
### Response:
|
SELECT COUNT("Report") FROM table_16734 WHERE "Date" = '29 April'
|
### Instruction:
What was the final episode for Dea Agent?
### Response:
|
SELECT final_episode FROM table_11210576_3 WHERE position = "DEA Agent"
|
### Instruction:
What was the result of the election in california 2?
### Response:
|
SELECT "Result" FROM table_744 WHERE "District" = 'California 2'
|
### Instruction:
Name the first elected for kentucky 3
### Response:
|
SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 3"
|
### Instruction:
What conference does Gonzaga University play in?
### Response:
|
SELECT primary_conference FROM table_16078390_2 WHERE institution = "Gonzaga University"
|
### Instruction:
What are the average price and score of wines grouped by appelation?
### Response:
|
SELECT AVG(Price), AVG(Score), Appelation FROM WINE GROUP BY Appelation
|
### Instruction:
What is the Clubs when there are 4 for the number of fixtures?
### Response:
|
SELECT clubs FROM table_name_3 WHERE number_of_fixtures = 4
|
### Instruction:
What are electricals where secretariat is po(w)?
### Response:
|
SELECT electrical FROM table_1348246_3 WHERE secretariat = "PO(W)"
|
### Instruction:
What was Mark O'Meara's total?
### Response:
|
SELECT "Total" FROM table_62442 WHERE "Player" = 'mark o''meara'
|
### Instruction:
who completed run 1 in the least amount of time ?
### Response:
|
SELECT "athlete" FROM table_203_358 ORDER BY "run 1" LIMIT 1
|
### Instruction:
which player weighed the most on the letter winners roster ?
### Response:
|
SELECT "player" FROM table_204_170 ORDER BY "weight" DESC LIMIT 1
|
### Instruction:
Name the result for 1998
### Response:
|
SELECT result FROM table_25030512_24 WHERE first_elected = "1998"
|
### Instruction:
What is the Location of the match against Bob Stines?
### Response:
|
SELECT "Location" FROM table_9534 WHERE "Opponent" = 'bob stines'
|
### Instruction:
What was Hawthorn's score as the home team?
### Response:
|
SELECT home_team AS score FROM table_name_94 WHERE home_team = "hawthorn"
|
### Instruction:
How many goals on average are there for rank 3?
### Response:
|
SELECT AVG("Goals for") FROM table_47495 WHERE "Rank" = '3'
|
### Instruction:
What Score has a Record of 35-28-6?
### Response:
|
SELECT score FROM table_name_65 WHERE record = "35-28-6"
|
### Instruction:
What was the Attendance on April 28?
### Response:
|
SELECT SUM("Attendance") FROM table_52227 WHERE "Date" = 'april 28'
|
### Instruction:
How many positions did player Ben Harpur play?
### Response:
|
SELECT COUNT(position) FROM table_11803648_22 WHERE player = "Ben Harpur"
|
### Instruction:
What was the Timberwolves' record on April 3?
### Response:
|
SELECT "Record" FROM table_21242 WHERE "Date" = 'April 3'
|
### Instruction:
Who is the January playmate with a September playmate Nikki Schieler?
### Response:
|
SELECT january FROM table_name_15 WHERE september = "nikki schieler"
|
### Instruction:
Top 100 users in Norway.
### Response:
|
SELECT DisplayName, Location, Reputation FROM Users WHERE Location LIKE '%Russia%' ORDER BY Reputation DESC LIMIT 1000
|
### Instruction:
What is the pick # for player david grannis?
### Response:
|
SELECT MAX("Pick #") FROM table_24577 WHERE "Player" = 'David Grannis'
|
### Instruction:
What is the time/retired for grid 23?
### Response:
|
SELECT "Time/Retired" FROM table_55539 WHERE "Grid" = '23'
|
### Instruction:
What year did Omar Gonzalez graduate?
### Response:
|
SELECT SUM(graduated) FROM table_name_94 WHERE player = "omar gonzalez"
|
### Instruction:
Name the total number of rank for tom churchill
### Response:
|
SELECT COUNT(rank) FROM table_26454128_7 WHERE athlete = "Tom Churchill"
|
### Instruction:
Who is the home team when hawthorn is the away team?
### Response:
|
SELECT home_team FROM table_name_95 WHERE away_team = "hawthorn"
|
### Instruction:
What was the date of the game at Lake Oval?
### Response:
|
SELECT "Date" FROM table_10611 WHERE "Venue" = 'lake oval'
|
### Instruction:
What school does John Crotty play for?
### Response:
|
SELECT "School/Club Team" FROM table_53254 WHERE "Player" = 'john crotty'
|
### Instruction:
who was the winner for souderton, pa?
### Response:
|
SELECT "Winner" FROM table_30061 WHERE "Location" = 'Souderton, PA'
|
### Instruction:
What is the highest amount of bronze medals when the rank was larger than 9?
### Response:
|
SELECT MAX(bronze) FROM table_name_46 WHERE rank > 9
|
### Instruction:
What years have 9 (3) as the finals?
### Response:
|
SELECT "Years" FROM table_64569 WHERE "Finals" = '9 (3)'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.