instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What is home ground for coach Andrej Lemanis?
### Response:
| SELECT "Home ground" FROM table_9985 WHERE "Coach" = 'andrej lemanis' |
### Instruction:
What is the Total when the league shows 79 (221)?
### Response:
| SELECT total FROM table_name_39 WHERE league_a = "79 (221)" |
### Instruction:
Which city or state contains Calder Park Raceway?
### Response:
| SELECT "City / State" FROM table_50896 WHERE "Circuit" = 'calder park raceway' |
### Instruction:
List all customer status codes and the number of customers having each status code by a pie chart.
### Response:
| SELECT customer_status_code, COUNT(*) FROM Customers GROUP BY customer_status_code |
### Instruction:
What is the score from the 21-27 Record?
### Response:
| SELECT "Score" FROM table_35349 WHERE "Record" = '21-27' |
### Instruction:
What was the home team when the away team was Frickley Athletic?
### Response:
| SELECT home_team FROM table_name_3 WHERE away_team = "frickley athletic" |
### Instruction:
When is the Save of Ayala and a Loss of Olivares
### Response:
| SELECT date FROM table_name_70 WHERE save = "ayala" AND loss = "olivares" |
### Instruction:
What was the method for the resolution of the fight at UFC 160?
### Response:
| SELECT method FROM table_name_33 WHERE event = "ufc 160" |
### Instruction:
Name the total number of barony for kilmore
### Response:
| SELECT COUNT(barony) FROM table_30120559_1 WHERE townland = "Kilmore" |
### Instruction:
Name the recipientof the year for 1976
### Response:
| SELECT "Recipient" FROM table_74520 WHERE "Year" = '1976' |
### Instruction:
What was the score of the game at the Chicago Stadium?
### Response:
| SELECT "Score" FROM table_64461 WHERE "Location/Attendance" = 'chicago stadium' |
### Instruction:
which live action american superhero movie had the largest gross ?
### Response:
| SELECT "film" FROM table_203_79 ORDER BY "worldwide gross" DESC LIMIT 1 |
### Instruction:
what are the number of titles with a date of november ?
### Response:
| SELECT COUNT("title (latin)") FROM table_203_476 WHERE "date" = 11 |
### Instruction:
How much Overall has a Pick # of 26?
### Response:
| SELECT SUM("Overall") FROM table_39720 WHERE "Pick #" = '26' |
### Instruction:
A bar chart about how many eliminations did each team have?, sort by the X from high to low.
### Response:
| SELECT Team, COUNT(*) FROM Elimination GROUP BY Team ORDER BY Team DESC |
### Instruction:
What was the score of the game on November 12?
### Response:
| SELECT score FROM table_10812293_3 WHERE date = "November 12" |
### Instruction:
Name the kaz hayashi for block A being bushi
### Response:
| SELECT "Kaz Hayashi" FROM table_52494 WHERE "Block A" = 'bushi' |
### Instruction:
how many drivers ended the race early because of engine problems ?
### Response:
| SELECT COUNT("driver") FROM table_204_740 WHERE "time/retired" = 'engine' |
### Instruction:
What venue featured north melbourne as the away side?
### Response:
| SELECT "Venue" FROM table_4602 WHERE "Away team" = 'north melbourne' |
### Instruction:
How many locations have a school that is nicknamed the Panthers?
### Response:
| SELECT COUNT("Location") FROM table_28527 WHERE "Nickname" = 'Panthers' |
### Instruction:
Which Points difference has Points against of 786?
### Response:
| SELECT "Points difference" FROM table_46207 WHERE "Points against" = '786' |
### Instruction:
Name the iso for chungcheongnam
### Response:
| SELECT iso FROM table_160510_5 WHERE rr_romaja = "Chungcheongnam" |
### Instruction:
What is the number of population for lithuania?
### Response:
| SELECT COUNT("Population") FROM table_17977 WHERE "Member countries" = 'Lithuania' |
### Instruction:
What is the college when the over is larger than 15 in round 7?
### Response:
| SELECT college FROM table_name_41 WHERE overall > 15 AND round = 7 |
### Instruction:
If the field goals is 26, what are the players names?
### Response:
| SELECT "Player" FROM table_25986 WHERE "Field Goals" = '26' |
### Instruction:
Who was the winner of the race at Belmont?
### Response:
| SELECT "Winner/2nd" FROM table_18846 WHERE "Venue" = 'Belmont' |
### Instruction:
What couple has an average of 17.2?
### Response:
| SELECT "Couple" FROM table_23708 WHERE "Average" = '17.2' |
### Instruction:
Which chasis was in the year 1954?
### Response:
| SELECT "Chassis" FROM table_70841 WHERE "Year" = '1954' |
### Instruction:
what's result with incumbent being connie mack
### Response:
| SELECT result FROM table_1341577_10 WHERE incumbent = "Connie Mack" |
### Instruction:
Who was the home team when the away team was Telford United?
### Response:
| SELECT home_team FROM table_name_74 WHERE away_team = "telford united" |
### Instruction:
what is the total number of medals won by australia ?
### Response:
| SELECT "total" FROM table_203_707 WHERE "npc" = 'australia' |
### Instruction:
My Comments with fixed score. How many comments do I have for each score.
### Response:
| SELECT PostId, Text FROM Comments WHERE UserId = @UserId AND Score = @Score |
### Instruction:
What is the Spanish word for cas [ kas]?
### Response:
| SELECT spanish FROM table_26614365_1 WHERE central = "cas [ˈkas]" |
### Instruction:
What are the card numbers, names, and hometowns of every member ordered by descending level?
### Response:
| SELECT card_number, name, hometown FROM member ORDER BY level DESC |
### Instruction:
What place had 14:11.15 as the performance?
### Response:
| SELECT place FROM table_name_33 WHERE performance = "14:11.15" |
### Instruction:
Which opponent had an attendance of 40,070?
### Response:
| SELECT opponent FROM table_name_48 WHERE attendance = "40,070" |
### Instruction:
Which city in Texas hosts the Frank Erwin center?
### Response:
| SELECT city FROM table_name_58 WHERE state = "texas" AND venue = "frank erwin center" |
### Instruction:
In what year was Montenegro the host country?
### Response:
| SELECT year FROM table_26669939_1 WHERE host_country = "Montenegro" |
### Instruction:
What is Tries Against, when Tries For is 21?
### Response:
| SELECT tries_against FROM table_name_56 WHERE tries_for = "21" |
### Instruction:
How many wins happened in 1983?
### Response:
| SELECT MIN(wins) FROM table_1012730_1 WHERE year = 1983 |
### Instruction:
What is the maximum population size in the town of Glengallen?
### Response:
| SELECT MAX(population__glengallan_) FROM table_12584173_1 |
### Instruction:
What is the lowest grid number when Colin Edwards is the rider?
### Response:
| SELECT MIN(grid) FROM table_name_46 WHERE rider = "colin edwards" |
### Instruction:
What did Alex Tagliani get for Qual 1?
### Response:
| SELECT "Qual 1" FROM table_35175 WHERE "Name" = 'alex tagliani' |
### Instruction:
What is the average number of points for clubs that have played more than 42 times?
### Response:
| SELECT AVG(points) FROM table_name_96 WHERE played > 42 |
### Instruction:
What number episode in the season was titled 'Shattered'?
### Response:
| SELECT MAX("Season #") FROM table_4237 WHERE "Title" = 'Shattered' |
### Instruction:
What was the crowd size for the Home team of melbourne?
### Response:
| SELECT COUNT("Crowd") FROM table_38753 WHERE "Home team" = 'melbourne' |
### Instruction:
What internet explorer has 29.07% for the chrome?
### Response:
| SELECT internet_explorer FROM table_name_91 WHERE chrome = "29.07%" |
### Instruction:
Which team plays at the Arden Street Oval?
### Response:
| SELECT "Away team" FROM table_54016 WHERE "Venue" = 'arden street oval' |
### Instruction:
What is the # for worthing high school?
### Response:
| SELECT COUNT(_number) FROM table_22496344_1 WHERE high_school = "Worthing" |
### Instruction:
Which party does Timothy Kirkhope lead?
### Response:
| SELECT "Party" FROM table_76475 WHERE "Leader" = 'timothy kirkhope' |
### Instruction:
What is essendon's away team score?
### Response:
| SELECT "Away team score" FROM table_32316 WHERE "Away team" = 'essendon' |
### Instruction:
what would be final four mvp maximum when first team is 1
### Response:
| SELECT MAX("Final Four MVP") FROM table_3466 WHERE "First Team" = '1' |
### Instruction:
Name the most world rank for asian rank being 31
### Response:
| SELECT MAX("World rank") FROM table_25048 WHERE "Asian rank" = '31' |
### Instruction:
When did first minister Henry Mcleish enter office?
### Response:
| SELECT "Entered office" FROM table_68219 WHERE "First Minister" = 'henry mcleish' |
### Instruction:
Where was the Fury FC 4: High Voltage event held?
### Response:
| SELECT location FROM table_name_5 WHERE event = "fury fc 4: high voltage" |
### Instruction:
What class has less than 12 numbers built operated by southern?
### Response:
| SELECT class FROM table_name_1 WHERE no_built < 12 AND operator = "southern" |
### Instruction:
Which candidates are associated with the Georgia 7 district?
### Response:
| SELECT "Candidates" FROM table_18565 WHERE "District" = 'Georgia 7' |
### Instruction:
triglyceride levels < 600 mg / dl
### Response:
| SELECT * FROM table_train_275 WHERE triglyceride_tg < 600 |
### Instruction:
for the name of jamar jackson what is the last update?
### Response:
| SELECT "Last Update" FROM table_67386 WHERE "Name" = 'jamar jackson' |
### Instruction:
what is drug route of subject id 3343?
### Response:
| SELECT prescriptions.route FROM prescriptions WHERE prescriptions.subject_id = "3343" |
### Instruction:
which country did participated in the most number of Tournament competitions?
### Response:
| SELECT country FROM competition WHERE competition_type = 'Tournament' GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
What is the nationality when the player is randy heath?
### Response:
| SELECT "Nationality" FROM table_74026 WHERE "Player" = 'Randy Heath' |
### Instruction:
What Name has a Time of 01:56:52?
### Response:
| SELECT name FROM table_name_46 WHERE time = "01:56:52" |
### Instruction:
Which Comments has a Length Over All of 4.5m?
### Response:
| SELECT comments FROM table_name_56 WHERE length_over_all = "4.5m" |
### Instruction:
Give me a scatter to show the correlations between the number of institutions and total enrollment for each type.
### Response:
| SELECT COUNT(*), SUM(Enrollment) FROM Institution GROUP BY Type |
### Instruction:
Which Played has a Goal Difference larger than 24?
### Response:
| SELECT AVG(played) FROM table_name_35 WHERE goal_difference > 24 |
### Instruction:
Which does the lhp player with the first name lachlan bat?
### Response:
| SELECT bats FROM table_name_9 WHERE position = "lhp" AND first = "lachlan" |
### Instruction:
Who tied with 8 losses and 50% wins?
### Response:
| SELECT tied FROM table_name_19 WHERE losses = "8" AND win__percentage = "50%" |
### Instruction:
How many resulted in a loss with 479 points against?
### Response:
| SELECT "Lost" FROM table_70631 WHERE "Points against" = '479' |
### Instruction:
Which builder has a Built smaller than 1880?
### Response:
| SELECT "Builder" FROM table_46582 WHERE "Built" < '1880' |
### Instruction:
What is the loan start source when the loan club is fulham?
### Response:
| SELECT "Start Source" FROM table_46420 WHERE "Loan Club" = 'fulham' |
### Instruction:
What is the number of bronze medals when there are fewer than 0 silver medals?
### Response:
| SELECT SUM(bronze) FROM table_name_19 WHERE silver < 0 |
### Instruction:
Damani Ralph is associated with which lowest pick #?
### Response:
| SELECT MIN("Pick #") FROM table_31916 WHERE "Player" = 'damani ralph' |
### Instruction:
How much did the away team Geelong score?
### Response:
| SELECT "Away team score" FROM table_55613 WHERE "Away team" = 'geelong' |
### Instruction:
which community has the most airports
### Response:
| SELECT "community" FROM table_204_139 GROUP BY "community" ORDER BY COUNT("airport name") DESC LIMIT 1 |
### Instruction:
When was the game that had Sydney Spirit as the away team?
### Response:
| SELECT "Date" FROM table_47219 WHERE "Away team" = 'sydney spirit' |
### Instruction:
lvef less than 20 %
### Response:
| SELECT * FROM table_test_26 WHERE left_ventricular_ejection_fraction_lvef < 20 |
### Instruction:
WHAT IS THE SUM OF RACES WITH 9 POINTS?
### Response:
| SELECT SUM("Races") FROM table_44249 WHERE "Points" = '9' |
### Instruction:
What was the score when the record was 19 35
### Response:
| SELECT "Score" FROM table_25784 WHERE "Record" = '19–35' |
### Instruction:
What courses would be useful to take before SW 693 ?
### Response:
| SELECT DISTINCT advisory_requirement FROM course WHERE department = 'SW' AND number = 693 |
### Instruction:
number of gangster games released by developer rockstar north
### Response:
| SELECT COUNT("title") FROM table_204_236 WHERE "developer(s)" = 'rockstar north' |
### Instruction:
List the name and assets of each company in ascending order of company name. Plot them as bar chart.
### Response:
| SELECT name, Assets_billion FROM Companies ORDER BY name |
### Instruction:
Which TV station had a Romaji Title Maou?
### Response:
| SELECT "TV Station" FROM table_13777 WHERE "Romaji Title" = 'maou' |
### Instruction:
How many ships were named Carysfort?
### Response:
| SELECT COUNT(completed) FROM table_24496403_1 WHERE ship = "Carysfort" |
### Instruction:
What was the overall score when set 1 was 23 25?
### Response:
| SELECT score FROM table_name_33 WHERE set_1 = "23–25" |
### Instruction:
body mass index ( bmi ) <= 35 kg / m2,
### Response:
| SELECT * FROM table_train_18 WHERE body_mass_index_bmi <= 35 |
### Instruction:
What was the attendance on location when the record was 3 16?
### Response:
| SELECT location_attendance FROM table_name_86 WHERE record = "3–16" |
### Instruction:
Who was the partner of the winner after 2012?
### Response:
| SELECT partner FROM table_name_12 WHERE year > 2012 AND outcome = "winner" |
### Instruction:
What is the week number with Phil Collins as the original artist?
### Response:
| SELECT "Week #" FROM table_75712 WHERE "Original artist" = 'phil collins' |
### Instruction:
Show each location and the number of cinemas there by a bar chart, and I want to show bar in asc order.
### Response:
| SELECT Location, COUNT(*) FROM cinema GROUP BY Location ORDER BY Location |
### Instruction:
Where was the game played on 30 May 2004?
### Response:
| SELECT venue FROM table_name_6 WHERE date = "30 may 2004" |
### Instruction:
What is the engine code for the Xdrive25i?
### Response:
| SELECT "Engine code" FROM table_63376 WHERE "Model" = 'xdrive25i' |
### Instruction:
What year was Norterma Tholus created?
### Response:
| SELECT MAX("Year named") FROM table_21095 WHERE "Name" = 'Norterma Tholus' |
### Instruction:
Name the total number of points for when try bonus is 10
### Response:
| SELECT COUNT("Points for") FROM table_18829 WHERE "Try bonus" = '10' |
### Instruction:
What's the year that Hagerstown joined?
### Response:
| SELECT "Year Joined" FROM table_64105 WHERE "School" = 'hagerstown' |
### Instruction:
What is the Record of the 1991 Port of Spain Games?
### Response:
| SELECT record FROM table_name_56 WHERE games = "1991 port of spain" |
### Instruction:
In how many weeks was the game played on November 3 played?
### Response:
| SELECT COUNT("Week") FROM table_21973 WHERE "Date" = 'November 3' |
### Instruction:
Which is the largest area in Greenville County, by square mile?
### Response:
| SELECT MAX(area__sq_mi_) FROM table_name_88 WHERE county = "greenville county" |
### Instruction:
What was the attendance when the score was 8 7?
### Response:
| SELECT SUM("Attendance") FROM table_38814 WHERE "Score" = '8–7' |
### Instruction:
How many points have a Year larger than 1966?
### Response:
| SELECT COUNT("Points") FROM table_68162 WHERE "Year" > '1966' |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.