instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What Date has a time of (seconds) 42.172?
### Response:
| SELECT "Date" FROM table_40333 WHERE "Time (seconds)" = '42.172' |
### Instruction:
Draw a pie chart about the proportion of ACC_Regular_Season and All_Games_Percent.
### Response:
| SELECT ACC_Regular_Season, All_Games_Percent FROM basketball_match |
### Instruction:
Which record has a score of l 121 127?
### Response:
| SELECT "Record" FROM table_43733 WHERE "Score" = 'l 121–127' |
### Instruction:
Show the draft pick numbers and draft classes of players whose positions are defenders in a bar chart.
### Response:
| SELECT Draft_Class, Draft_Pick_Number FROM match_season WHERE Position = "Defender" |
### Instruction:
How many points did Carlin have when they had 3 wins?
### Response:
| SELECT "Points" FROM table_40247 WHERE "Wins" = '3' AND "Team" = 'carlin' |
### Instruction:
what is 1980 when 1978 is 2.3?
### Response:
| SELECT 1980 FROM table_name_22 WHERE 1978 = "2.3" |
### Instruction:
What are the different ship flags, and how many ships have each Plot them as bar chart, and list Y-axis in ascending order.
### Response:
| SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag ORDER BY COUNT(*) |
### Instruction:
Give me a bar chart for how many name of each name, and could you sort by the y-axis in ascending?
### Response:
| SELECT Name, COUNT(Name) FROM train GROUP BY Name ORDER BY COUNT(Name) |
### Instruction:
What is the rank that when Serbia is the nation, and gold is larger than 0?
### Response:
| SELECT SUM(rank) FROM table_name_10 WHERE nation = "serbia" AND gold > 0 |
### Instruction:
What's the value for race 4 when race 1 is dsq?
### Response:
| SELECT "Race 4" FROM table_46389 WHERE "Race 1" = 'dsq' |
### Instruction:
What is the lowest total from slovenia with a Gold smaller than 0?
### Response:
| SELECT MIN(total) FROM table_name_79 WHERE nation = "slovenia" AND gold < 0 |
### Instruction:
What is the total number that Tom Watson parred larger than 10?
### Response:
| SELECT COUNT(total) FROM table_name_93 WHERE player = "tom watson" AND to_par > 10 |
### Instruction:
which party has the most house members ?
### Response:
| SELECT "affiliation" FROM table_202_157 ORDER BY "house members\n2000 election\nresults" DESC LIMIT 1 |
### Instruction:
What is the result of the ceremony in 2006 (79th)?
### Response:
| SELECT result FROM table_name_1 WHERE year__ceremony_ = "2006 (79th)" |
### Instruction:
Marion Buisson with a 4.00 of o had what result?
### Response:
| SELECT result FROM table_name_89 WHERE 400 = "o" AND name = "marion buisson" |
### Instruction:
What is the population per km2 in Fishing Lake?
### Response:
| SELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = "Fishing Lake" |
### Instruction:
What are the results of the incumbent who was first elected in 1996?
### Response:
| SELECT "Results" FROM table_79086 WHERE "First elected" = '1996' |
### Instruction:
When dydek (11) has the highest rebounds what is the date?
### Response:
| SELECT "Date" FROM table_22681 WHERE "High rebounds" = 'Dydek (11)' |
### Instruction:
What was the record for December 5, 1948?
### Response:
| SELECT "Record" FROM table_77155 WHERE "Date" = 'december 5, 1948' |
### Instruction:
What was the new WNBA team of the player selected with a pick over 7?
### Response:
| SELECT "New WNBA Team" FROM table_45807 WHERE "Pick" > '7' |
### Instruction:
What is song 1 title is the artist is Danny Byrd?
### Response:
| SELECT "Song 1 title" FROM table_2922 WHERE "Artist 1" = 'Danny Byrd' |
### Instruction:
How many towns or cities are at milepost 71.1?
### Response:
| SELECT COUNT(town_city) FROM table_2572788_1 WHERE milepost = "71.1" |
### Instruction:
Who was the opposition at 11,682 excl. exhibition match?
### Response:
| SELECT opposition FROM table_name_39 WHERE stadium = "11,682 excl. exhibition match" |
### Instruction:
What was the earliest year that a structure was located in gray court, south carolina?
### Response:
| SELECT MIN(year) FROM table_name_63 WHERE town = "gray court, south carolina" |
### Instruction:
Which First elected has a District of south carolina 2?
### Response:
| SELECT MIN("First elected") FROM table_38383 WHERE "District" = 'south carolina 2' |
### Instruction:
Which tyre was before 1995 with 142 laps?
### Response:
| SELECT tyres FROM table_name_14 WHERE year < 1995 AND laps = 142 |
### Instruction:
Who are the blockers where points are scored by Zach Randolph (24)?
### Response:
| SELECT blocks FROM table_13050003_2 WHERE points = "Zach Randolph (24)" |
### Instruction:
What is the pba team for the player who went to santo tomas college?
### Response:
| SELECT "PBA team" FROM table_65356 WHERE "College" = 'santo tomas' |
### Instruction:
What tournament has Samantha Stosur as the opponent in the final?
### Response:
| SELECT tournament FROM table_name_99 WHERE opponent_in_the_final = "samantha stosur" |
### Instruction:
Plot the total number by grouped by directed by as a bar graph, sort from high to low by the Y.
### Response:
| SELECT Directed_by, COUNT(*) FROM film GROUP BY Directed_by ORDER BY COUNT(*) DESC |
### Instruction:
What was the score of the match in which Portsmouth was the Away team?
### Response:
| SELECT "Score 1" FROM table_10274 WHERE "Away team" = 'portsmouth' |
### Instruction:
how many parishes had fr frank thorpe as their parish priest ?
### Response:
| SELECT COUNT("parish") FROM table_203_36 WHERE "parish priest" = 'fr frank thorpe' |
### Instruction:
What was the record on October 8, 1989?
### Response:
| SELECT "Record" FROM table_20484 WHERE "Date" = 'October 8, 1989' |
### Instruction:
what is the total rank where the rank is 58?
### Response:
| SELECT COUNT(rank__timeslot_) FROM table_15681686_4 WHERE rank__week_ = "58" |
### Instruction:
what is the maximum number that entered when the eliminator was Triple H?
### Response:
| SELECT MAX("Entered") FROM table_27027 WHERE "Eliminated by" = 'Triple H' |
### Instruction:
Which Week has an Opponent of san francisco 49ers?
### Response:
| SELECT MAX(week) FROM table_name_46 WHERE opponent = "san francisco 49ers" |
### Instruction:
For a Team 1 of Al-Merrikh, what was the aggregate?
### Response:
| SELECT "Agg." FROM table_71485 WHERE "Team 1" = 'al-merrikh' |
### Instruction:
What is the average pick of player jim h. mitchell?
### Response:
| SELECT AVG("Pick") FROM table_79476 WHERE "Player" = 'jim h. mitchell' |
### Instruction:
Give me a histogram for how many climbers are from each country?, I want to show by the X-axis from low to high please.
### Response:
| SELECT Country, COUNT(*) FROM climber GROUP BY Country ORDER BY Country |
### Instruction:
What are the number of floors for the building of td building redevelopment (office)?
### Response:
| SELECT AVG(floors) FROM table_name_45 WHERE building = "td building redevelopment (office)" |
### Instruction:
Specify the birthdate and insurance of patient id 2560
### Response:
| SELECT demographic.dob, demographic.insurance FROM demographic WHERE demographic.subject_id = "2560" |
### Instruction:
What engine has g tyres and is driven by elio de angelis?
### Response:
| SELECT engine FROM table_name_30 WHERE tyres = "g" AND driver = "elio de angelis" |
### Instruction:
what's the bleeding time with condition being liver failure, end-stage
### Response:
| SELECT bleeding_time FROM table_14006_1 WHERE condition = "Liver failure, end-stage" |
### Instruction:
What was the manner of departure for the manager of Cercle Brugge?
### Response:
| SELECT "Manner of departure" FROM table_29467 WHERE "Team" = 'Cercle Brugge' |
### Instruction:
What was the score of the match played on 5 September 2001?
### Response:
| SELECT "Score" FROM table_60768 WHERE "Date" = '5 september 2001' |
### Instruction:
What date was the surface hard and Eva Hrdinov was the opponent?
### Response:
| SELECT date FROM table_name_40 WHERE surface = "hard" AND opponent = "eva hrdinová" |
### Instruction:
What's the total Lost that has a Played that's larger than 42?
### Response:
| SELECT SUM("Lost") FROM table_38994 WHERE "Played" > '42' |
### Instruction:
What was the score of the game when the attendance was 48945?
### Response:
| SELECT "Result" FROM table_18019 WHERE "Attendance" = '48945' |
### Instruction:
When william b. campbell (u) is the successor what is the district?
### Response:
| SELECT district FROM table_2147588_4 WHERE successor = "William B. Campbell (U)" |
### Instruction:
How many players born in USA are right-handed batters? That is, have the batter value 'R'.
### Response:
| SELECT COUNT(*) FROM player WHERE birth_country = 'USA' AND bats = 'R' |
### Instruction:
Show school id vs all_games_percent as scatter plot use a different color for each ACC_Home
### Response:
| SELECT School_ID, All_Games_Percent FROM basketball_match GROUP BY ACC_Home |
### Instruction:
What is the date of the game with an attendance larger than 62,491?
### Response:
| SELECT date FROM table_name_55 WHERE attendance > 62 OFFSET 491 |
### Instruction:
What is 2011, when 2008 is '2R'?
### Response:
| SELECT 2011 FROM table_name_40 WHERE 2008 = "2r" |
### Instruction:
What was the average attendance when the record was 58 49?
### Response:
| SELECT AVG("Attendance") FROM table_38813 WHERE "Record" = '58–49' |
### Instruction:
Who was from Morocco and scored 6 goals?
### Response:
| SELECT "Name" FROM table_15824 WHERE "Goals" = '6' AND "Nationality" = 'morocco' |
### Instruction:
Which of the R. Epp, has J Thiessen of Tjoatj?
### Response:
| SELECT r_epp FROM table_name_90 WHERE j_thiessen = "tjoatj" |
### Instruction:
What is T8 Place Player Scott Hoch's Score?
### Response:
| SELECT "Score" FROM table_47498 WHERE "Place" = 't8' AND "Player" = 'scott hoch' |
### Instruction:
Name the number of dismissals for adam gilchrist
### Response:
| SELECT COUNT(dismissals) FROM table_23316034_23 WHERE player = "Adam Gilchrist" |
### Instruction:
When baoruco is the province, community what is the lowest age?
### Response:
| SELECT MIN("Age") FROM table_22508 WHERE "Province, Community" = 'Baoruco' |
### Instruction:
Who were the writers for production code 2t6268?
### Response:
| SELECT "Written by" FROM table_21739 WHERE "Production Code" = '2T6268' |
### Instruction:
How many stumpings did the player Tim Latham have?
### Response:
| SELECT MAX(stumpings) FROM table_13337302_16 WHERE player = "Tim Latham" |
### Instruction:
What is the total number of players who had a money list rank of 96?
### Response:
| SELECT COUNT("Best finish") FROM table_23760 WHERE "Money list rank" = '96' |
### Instruction:
What is the score of the Boston Bruins game from April 11?
### Response:
| SELECT score FROM table_name_39 WHERE home = "boston bruins" AND date = "april 11" |
### Instruction:
What is the average number played of the team with 1 drawn and 24 against?
### Response:
| SELECT AVG(played) FROM table_name_79 WHERE drawn = 1 AND against = 24 |
### Instruction:
What is the Total for 1953 1964?
### Response:
| SELECT "Total" FROM table_7348 WHERE "Years" = '1953–1964' |
### Instruction:
What's Kaia Kanepi's Sd?
### Response:
| SELECT MIN(sd) FROM table_27615896_20 WHERE player = "Kaia Kanepi" |
### Instruction:
How many days were the Kansas City Chiefs the opposing team?
### Response:
| SELECT COUNT(date) FROM table_14563349_11 WHERE opponent = "Kansas City Chiefs" |
### Instruction:
What's the value for oklahoma when nevada and colorado are clinton?
### Response:
| SELECT oklahoma FROM table_name_94 WHERE nevada = "clinton" AND colorado = "clinton" |
### Instruction:
What is the sum of Against values for teams with 5 losses and 0 draws?
### Response:
| SELECT SUM(against) FROM table_name_8 WHERE losses = 5 AND draws < 0 |
### Instruction:
What are the record(s) for the team with a winning percentage of .464?
### Response:
| SELECT records FROM table_15313204_1 WHERE pct = ".464" |
### Instruction:
What is the record of the game on 5 February 2008?
### Response:
| SELECT "Record" FROM table_51867 WHERE "Date" = '5 february 2008' |
### Instruction:
What is the title(s) of episodes written by aron eli coleite?
### Response:
| SELECT "Title" FROM table_30414 WHERE "Written by" = 'Aron Eli Coleite' |
### Instruction:
What is the pick # of cfl team bc lions (7)
### Response:
| SELECT "Pick #" FROM table_29229 WHERE "CFL Team" = 'BC Lions (7)' |
### Instruction:
Where was the game that took place in November 21 located and how many attended?
### Response:
| SELECT "Location Attendance" FROM table_21234 WHERE "Date" = 'November 21' |
### Instruction:
What are all of the order # where authentic artist is maroon 5
### Response:
| SELECT order__number FROM table_26250227_1 WHERE original_artist = "Maroon 5" |
### Instruction:
What is the score of the away team that played at Kardinia Park?
### Response:
| SELECT "Away team score" FROM table_51746 WHERE "Venue" = 'kardinia park' |
### Instruction:
What word is listed under part 2 for part 4 *ridanaz?
### Response:
| SELECT "Part 2" FROM table_21718 WHERE "Part 4" = '*ridanaz' |
### Instruction:
Who was the coastal Carolina head coach in 2013?
### Response:
| SELECT "Coastal Carolina Head Coach" FROM table_74276 WHERE "Year" = '2013' |
### Instruction:
From what series was Tokio Jokio, directed by Norm McCabe?
### Response:
| SELECT series FROM table_name_35 WHERE director = "norm mccabe" AND title = "tokio jokio" |
### Instruction:
What is the entered number for the person with a time of 29:28?
### Response:
| SELECT "Entered" FROM table_40330 WHERE "Time" = '29:28' |
### Instruction:
What is the pennant for 4 may 1943?
### Response:
| SELECT "Pennant" FROM table_462 WHERE "Laid Down" = '4 May 1943' |
### Instruction:
What is the sum of Kilometers that has a Station Code of KGQ?
### Response:
| SELECT COUNT("Kilometers") FROM table_38538 WHERE "Station Code" = 'kgq' |
### Instruction:
If team two is Lan s, what was the total number of points?
### Response:
| SELECT COUNT(points) FROM table_16795394_3 WHERE team__number2 = "Lanús" |
### Instruction:
where catalog number is 81258 , what are all the studio ?
### Response:
| SELECT studio FROM table_11222744_2 WHERE catalog_number = "81258" |
### Instruction:
How many house mascots are associated with yellow house colours?
### Response:
| SELECT COUNT(house_mascot) FROM table_1942683_1 WHERE house_colour = "Yellow" |
### Instruction:
What max processor has a maximum memory of 256 gb?
### Response:
| SELECT max_processors FROM table_10818465_1 WHERE max_memory = "256 GB" |
### Instruction:
What is the percentage of Buddhists associated with a Christianity percentage of 52.32%?
### Response:
| SELECT buddhism FROM table_name_6 WHERE christianity = "52.32%" |
### Instruction:
Who was the game attended by 60425 people played against?
### Response:
| SELECT "Opponent" FROM table_72984 WHERE "Attendance" = '60425' |
### Instruction:
Find the official names of cities with population bigger than 1500 or smaller than 500.
### Response:
| SELECT Official_Name FROM city WHERE Population > 1500 OR Population < 500 |
### Instruction:
Give me a bar chart for sum price of each name, and display from low to high by the y-axis please.
### Response:
| SELECT Name, SUM(Price) FROM Products GROUP BY Name ORDER BY SUM(Price) |
### Instruction:
what is date of birth and admission type of subject name james sloan?
### Response:
| SELECT demographic.dob, demographic.admission_type FROM demographic WHERE demographic.name = "James Sloan" |
### Instruction:
Who played on clay on 3 march 2012?
### Response:
| SELECT opponent FROM table_name_16 WHERE surface = "clay" AND date = "3 march 2012" |
### Instruction:
What year has a Nominee of , and a Result of nominated?
### Response:
| SELECT AVG(year) FROM table_name_14 WHERE nominee = "—" AND result = "nominated" |
### Instruction:
During which Game 4, did Brett Kenny play Game 2?
### Response:
| SELECT "Game 4" FROM table_58358 WHERE "Game 2" = 'brett kenny' |
### Instruction:
what is the location when began is before 1990 and the country is france?
### Response:
| SELECT location FROM table_name_87 WHERE began < 1990 AND country = "france" |
### Instruction:
Which competition has stuart potts as the man of the match?
### Response:
| SELECT "Competition" FROM table_45183 WHERE "Man of the Match" = 'stuart potts' |
### Instruction:
What is the position that has the outgoing manager l szl Dajka?
### Response:
| SELECT position_in_table FROM table_name_60 WHERE outgoing_manager = "lászló dajka" |
### Instruction:
What are the categories of events that occurred after 2007 that were World Championships?
### Response:
| SELECT category FROM table_name_93 WHERE year > 2007 AND competition = "world championships" |
### Instruction:
are there any other aircraft listed besides the nieuport 17 ?
### Response:
| SELECT "aircraft" FROM table_204_353 WHERE "aircraft" <> 'nieuport 17' |
### Instruction:
What was the day of vacancy for vit ria de guimar es?
### Response:
| SELECT date_of_vacancy FROM table_name_78 WHERE team = "vitória de guimarães" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.