instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18?
### Response:
|
SELECT score FROM table_name_80 WHERE date = "november 18"
|
### Instruction:
what is the rank when the album is sean kingston?
### Response:
|
SELECT "Rank" FROM table_14041 WHERE "Album" = 'sean kingston'
|
### Instruction:
If the record is 5-8, what is the team name?
### Response:
|
SELECT team FROM table_23285805_4 WHERE record = "5-8"
|
### Instruction:
What is the Voltage for Model Number c3 866?
### Response:
|
SELECT voltage FROM table_name_21 WHERE model_number = "c3 866"
|
### Instruction:
Average hours to first flag by post's creation date.
### Response:
|
SELECT p.CreationDate FROM Posts AS p GROUP BY p.CreationDate ORDER BY p.CreationDate
|
### Instruction:
How many episodes have the season number of 1?
### Response:
|
SELECT COUNT(series__number) FROM table_17152787_3 WHERE season__number = 1
|
### Instruction:
how many semi finals had points more than 10 ?
### Response:
|
SELECT COUNT(*) FROM table_203_439 WHERE "semi-final points" > 10
|
### Instruction:
What was the opponents score when Geelong played as home team?
### Response:
|
SELECT away_team AS score FROM table_name_99 WHERE home_team = "geelong"
|
### Instruction:
When alicia molik is the partner what is the outcome?
### Response:
|
SELECT outcome FROM table_24901152_2 WHERE partner = "Alicia Molik"
|
### Instruction:
What district had someone first elected in 1932?
### Response:
|
SELECT "District" FROM table_18642 WHERE "First elected" = '1932'
|
### Instruction:
What chapter number is Shiqiu?
### Response:
|
SELECT MIN(chapter) FROM table_1216675_1 WHERE pinyin = "Shiqiu"
|
### Instruction:
Can you draw the trend of sum budget in billions over the creation?
### Response:
|
SELECT Creation, SUM(Budget_in_Billions) FROM department GROUP BY Creation
|
### Instruction:
how many episodes had their original airdate in february ?
### Response:
|
SELECT COUNT("episode number") FROM table_201_24 WHERE "original airdate" = 2
|
### Instruction:
Which Gender has a Residence of Haliburton?
### Response:
|
SELECT "Gender" FROM table_69030 WHERE "Residence" = 'haliburton'
|
### Instruction:
How many tracks have the title let love be your energy?
### Response:
|
SELECT COUNT("Track no.") FROM table_74308 WHERE "Track" = 'Let Love Be Your Energy'
|
### Instruction:
What are the mascots for schools with enrollments above the average?
### Response:
|
SELECT mascot FROM school WHERE enrollment > (SELECT AVG(enrollment) FROM school)
|
### Instruction:
What is the average year founded for schools in claremont?
### Response:
|
SELECT AVG("Founded") FROM table_52425 WHERE "Location" = 'claremont'
|
### Instruction:
The venue of Brunswick Street Oval was used on what date?
### Response:
|
SELECT date FROM table_name_53 WHERE venue = "brunswick street oval"
|
### Instruction:
What was the highest number of points when flaps were 0?
### Response:
|
SELECT MAX(points) FROM table_24405773_1 WHERE flaps = 0
|
### Instruction:
What are the life spans of representatives from New York state or Indiana state?
### Response:
|
SELECT Lifespan FROM representative WHERE State = "New York" OR State = "Indiana"
|
### Instruction:
What is the English title for the official number 22 episode?
### Response:
|
SELECT "English title" FROM table_20813 WHERE "Official #" = '22'
|
### Instruction:
What is the status of vessel number K-223?
### Response:
|
SELECT status FROM table_1634376_1 WHERE _number = "K-223"
|
### Instruction:
How many years does simon baker appear as a nominee?
### Response:
|
SELECT COUNT(year) FROM table_name_84 WHERE nominee = "simon baker"
|
### Instruction:
Where did the games that had Wisconsin as big ten team take place?
### Response:
|
SELECT "Location" FROM table_74402 WHERE "Big Ten Team" = 'Wisconsin'
|
### Instruction:
how many cities are in the united states ?
### Response:
|
SELECT COUNT("metropolitan area") FROM table_204_317 WHERE "country" = 'united states'
|
### Instruction:
Where was the venue that had 274 runs?
### Response:
|
SELECT "Venue" FROM table_34000 WHERE "Runs" = '274'
|
### Instruction:
What round was the game against Cedric Marks?
### Response:
|
SELECT "Round" FROM table_48017 WHERE "Opponent" = 'cedric marks'
|
### Instruction:
Which week did the Seattle Seahawks have a record of 6-6?
### Response:
|
SELECT AVG(week) FROM table_name_7 WHERE record = "6-6"
|
### Instruction:
what is the number of the premiere for the 34 peak
### Response:
|
SELECT "Premiere" FROM table_31278 WHERE "Peak" = '34'
|
### Instruction:
What is the total number of different types of codes of products?
### Response:
|
SELECT Product_Type_Code, COUNT(Product_Type_Code) FROM Products GROUP BY Product_Type_Code
|
### Instruction:
What is the location of the Carousel toll plaza?
### Response:
|
SELECT "Location" FROM table_72279 WHERE "Name" = 'Carousel Toll Plaza'
|
### Instruction:
Draw a pie chart about the proportion of ACC_Regular_Season and School_ID.
### Response:
|
SELECT ACC_Regular_Season, School_ID FROM basketball_match
|
### Instruction:
What was the away team when the home was st kilda?
### Response:
|
SELECT "Away team" FROM table_50203 WHERE "Home team" = 'st kilda'
|
### Instruction:
what are the number of league apps ted davis has ?
### Response:
|
SELECT "league apps" FROM table_204_159 WHERE "name" = 'ted davis'
|
### Instruction:
Name the 2010 for tournament of us open
### Response:
|
SELECT "2010" FROM table_80359 WHERE "Tournament" = 'us open'
|
### Instruction:
What is the street address for the Prudential Tower building?
### Response:
|
SELECT "Street address" FROM table_51943 WHERE "Name" = 'prudential tower'
|
### Instruction:
Which players were selected after 2011?
### Response:
|
SELECT "Player name" FROM table_37139 WHERE "Year [A ]" > '2011'
|
### Instruction:
Show the number of each allergie type in a bar chart.
### Response:
|
SELECT AllergyType, COUNT(AllergyType) FROM Allergy_Type GROUP BY AllergyType
|
### Instruction:
What the least quantity having a T2A class?
### Response:
|
SELECT MIN("Quantity rebuilt") FROM table_62824 WHERE "Class" = 't2a'
|
### Instruction:
How many nationalities does athlete Casey Jacobsen have?
### Response:
|
SELECT COUNT("Nationality") FROM table_20862 WHERE "Player" = 'Casey Jacobsen'
|
### Instruction:
Who was the opponent on August 14?
### Response:
|
SELECT "Opponent" FROM table_37178 WHERE "Date" = 'august 14'
|
### Instruction:
how many games had at least a score of two or more points ?
### Response:
|
SELECT COUNT(*) FROM table_203_442 WHERE "score" + "score" >= 2
|
### Instruction:
What is the second leg that has kk bosna?
### Response:
|
SELECT 2 AS nd_leg FROM table_name_49 WHERE team__number1 = "kk bosna"
|
### Instruction:
Who directed the episode titled 'Andare Pescare'?
### Response:
|
SELECT "Directedby" FROM table_2294 WHERE "Title" = 'Andare Pescare'
|
### Instruction:
Which character is yumi kakazu the character voice?
### Response:
|
SELECT "Character" FROM table_30344 WHERE "Character Voice" = 'Yumi Kakazu'
|
### Instruction:
What was the date of the game with a result of 3 2?
### Response:
|
SELECT "Date" FROM table_78152 WHERE "Result" = '3–2'
|
### Instruction:
Name the least game for march 20
### Response:
|
SELECT MIN(game) FROM table_23186738_9 WHERE date = "March 20"
|
### Instruction:
Who was the away team on 9 February 1988?
### Response:
|
SELECT away_team FROM table_name_3 WHERE date = "9 february 1988"
|
### Instruction:
What was the yield for a blast that was in nts area 3s?
### Response:
|
SELECT yield FROM table_name_39 WHERE location = "nts area 3s"
|
### Instruction:
How many courses are located in carmel, indiana?
### Response:
|
SELECT COUNT(course) FROM table_275162_1 WHERE location = "Carmel, Indiana"
|
### Instruction:
Who is the champion of the 1994 season?
### Response:
|
SELECT "Champion" FROM table_27493 WHERE "Season" = '1994'
|
### Instruction:
Which constructor was present at the Redex Trophy race?
### Response:
|
SELECT constructor FROM table_1140114_5 WHERE race_name = "RedeX Trophy"
|
### Instruction:
Which model had a wheelbase of 136 inches?
### Response:
|
SELECT "Model" FROM table_45762 WHERE "Wheelbase in" = '136'
|
### Instruction:
Name the total number of open cup for 1996
### Response:
|
SELECT COUNT("Open Cup") FROM table_26224 WHERE "Year" = '1996'
|
### Instruction:
Which Kickoff had a Game Site of bank of america stadium?
### Response:
|
SELECT kickoff FROM table_name_5 WHERE game_site = "bank of america stadium"
|
### Instruction:
What was the attendance at the game when the record was 74-77?
### Response:
|
SELECT attendance FROM table_name_5 WHERE record = "74-77"
|
### Instruction:
Which Took Office has a District of 29?
### Response:
|
SELECT AVG("Took Office") FROM table_50943 WHERE "District" = '29'
|
### Instruction:
Which mid-hill zone has a slightly warm temperature?
### Response:
|
SELECT high_hill_zone FROM table_name_87 WHERE mid_hill_zone = "slightly warm temperature"
|
### Instruction:
Who was the Hessen the year that Saar was FK Pirmasens?
### Response:
|
SELECT hessen FROM table_name_23 WHERE saar = "fk pirmasens"
|
### Instruction:
What Time is listed for the Loss of Okajima (1-2)?
### Response:
|
SELECT time FROM table_name_72 WHERE loss = "okajima (1-2)"
|
### Instruction:
was chuck bednarik or frank tripucka the first draft pick ?
### Response:
|
SELECT "player" FROM table_203_735 WHERE "pick" = 1
|
### Instruction:
Which nation ran a time of 9.69 seconds?
### Response:
|
SELECT "Nation" FROM table_79379 WHERE "Performance" = '9.69'
|
### Instruction:
what is the year(s) when the city is kunming?
### Response:
|
SELECT "Year(s)" FROM table_10835 WHERE "City" = 'kunming'
|
### Instruction:
Who are the players that have attended Stanford?
### Response:
|
SELECT player FROM table_16494599_10 WHERE school_club_team = "Stanford"
|
### Instruction:
How many times is a score for stolen ends recorded for France?
### Response:
|
SELECT COUNT(stolen_ends) FROM table_1644857_2 WHERE country = France
|
### Instruction:
What was the result of the match held when his record was 7-0-0?
### Response:
|
SELECT result FROM table_name_31 WHERE record = "7-0-0"
|
### Instruction:
what is the drug route of Ascorbic acid?
### Response:
|
SELECT prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Ascorbic Acid"
|
### Instruction:
Who has the Home Score of 52-54?
### Response:
|
SELECT "Home" FROM table_75789 WHERE "Score" = '52-54'
|
### Instruction:
What is the highest of ayr united?
### Response:
|
SELECT MIN(highest) FROM table_11206787_5 WHERE team = "Ayr United"
|
### Instruction:
name a venue that hosted at least five times .
### Response:
|
SELECT "venue" FROM table_204_894 GROUP BY "venue" HAVING COUNT(*) >= 5
|
### Instruction:
Name the date when 33,307 attended
### Response:
|
SELECT "Date" FROM table_10602 WHERE "Attendance" = '33,307'
|
### Instruction:
How many points did Goole Town accumulate?
### Response:
|
SELECT COUNT(points_2) FROM table_17358515_1 WHERE team = "Goole Town"
|
### Instruction:
what is the no when the distance is 4168km?
### Response:
|
SELECT "No" FROM table_3637 WHERE "Distance" = '4168km'
|
### Instruction:
What is the name of a pick more than 5 at Washington College?
### Response:
|
SELECT name FROM table_name_45 WHERE pick__number > 5 AND college = "washington"
|
### Instruction:
What was the result of the game with a score of 4-1?
### Response:
|
SELECT "Result" FROM table_40533 WHERE "Score" = '4-1'
|
### Instruction:
What is the sum of all the rounds when a Florida State player was drafted?
### Response:
|
SELECT COUNT(round) FROM table_name_8 WHERE college = "florida state"
|
### Instruction:
What is the Perfect fifth with a Minor that is seventh of d?
### Response:
|
SELECT perfect_fifth FROM table_name_48 WHERE minor_seventh = "d"
|
### Instruction:
Tell me the greatest att with an avg of 4.3
### Response:
|
SELECT MAX("Att.") FROM table_10789 WHERE "Avg." = '4.3'
|
### Instruction:
When was Inki and the Minah Bird released?
### Response:
|
SELECT "Release date" FROM table_64289 WHERE "Title" = 'inki and the minah bird'
|
### Instruction:
How many total rounds were there at UFC 114?
### Response:
|
SELECT COUNT(round) FROM table_name_30 WHERE event = "ufc 114"
|
### Instruction:
What is the service charge of the boat howitzers with 456 made?
### Response:
|
SELECT service_charge FROM table_name_38 WHERE number_made = 456
|
### Instruction:
What is the average Total with a Gold that is larger than 4?
### Response:
|
SELECT AVG("Total") FROM table_42344 WHERE "Gold" > '4'
|
### Instruction:
Can you tell me the Position that has the CFL Team of toronto?
### Response:
|
SELECT "Position" FROM table_8951 WHERE "CFL Team" = 'toronto'
|
### Instruction:
What is the BARB ratings of episode 6?
### Response:
|
SELECT official_barb_ratings FROM table_26591309_3 WHERE episode = 6
|
### Instruction:
Post Count Comparison Between Esri and Qgis tags..
### Response:
|
SELECT 'QGIS Tags' AS Software, Count AS PostCount FROM Tags WHERE TagName LIKE 'qgis%'
|
### Instruction:
What was the capacity for the Denver Broncos?
### Response:
|
SELECT "Capacity Percentage" FROM table_74335 WHERE "Team" = 'Denver Broncos'
|
### Instruction:
What is the name of the dead end type ranked 22?
### Response:
|
SELECT name FROM table_name_42 WHERE type = "dead end" AND rank = "22"
|
### Instruction:
what was the total attendance in january 2009 ?
### Response:
|
SELECT SUM("attendance") FROM table_203_290 WHERE "date" = 1
|
### Instruction:
What country has deltamac (hk) as the publisher?
### Response:
|
SELECT country FROM table_name_34 WHERE publisher = "deltamac (hk)"
|
### Instruction:
Who played bass in 1994 for the Atlantic label?
### Response:
|
SELECT bass FROM table_name_2 WHERE label = "atlantic" AND year = 1994
|
### Instruction:
Episode smaller than 210 had what segment c?
### Response:
|
SELECT "Segment C" FROM table_75010 WHERE "Episode" < '210'
|
### Instruction:
Name the most tackles for 3.5 sacks
### Response:
|
SELECT MAX("Tackles") FROM table_72678 WHERE "Sacks" = '3.5'
|
### Instruction:
What is the Song by Artist Robert Cogoi?
### Response:
|
SELECT "Song" FROM table_63175 WHERE "Artist" = 'robert cogoi'
|
### Instruction:
In what series did Alice Levine Jamie East give a presentation on Saturday?
### Response:
|
SELECT series FROM table_name_60 WHERE saturday = "alice levine jamie east"
|
### Instruction:
What is the greatest first elected for Pennsylvania 10?
### Response:
|
SELECT MAX(first_elected) FROM table_name_56 WHERE district = "pennsylvania 10"
|
### Instruction:
who are the candidates for district new york 10?
### Response:
|
SELECT candidates FROM table_2668347_14 WHERE district = "New York 10"
|
### Instruction:
which company had the most employees ?
### Response:
|
SELECT "name of\nconcern" FROM table_203_320 ORDER BY "employees" DESC LIMIT 1
|
### Instruction:
what was the total for the Wolverhampton Wanderers?
### Response:
|
SELECT league_goals FROM table_name_61 WHERE club = "wolverhampton wanderers"
|
### Instruction:
How many wins for average start less than 25?
### Response:
|
SELECT COUNT("Wins") FROM table_76598 WHERE "Avg. Start" < '25'
|
### Instruction:
What is Played, when Points Against is '374'?
### Response:
|
SELECT played FROM table_name_62 WHERE points_against = "374"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.