instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
What was the number of athletes in the host city of Nice?
### Response:
| SELECT "No. of athletes" FROM table_73991 WHERE "Host city" = 'Nice' |
### Instruction:
Name the other name where na plus is 77
### Response:
| SELECT "Other Name" FROM table_20962 WHERE "[Na + ](mmol/L)" = '77' |
### Instruction:
What is Party, when District is 'Tennessee 8'?
### Response:
| SELECT "Party" FROM table_60231 WHERE "District" = 'tennessee 8' |
### Instruction:
in how many total years did the team finish in the preferente division ?
### Response:
| SELECT COUNT("season") FROM table_204_35 WHERE "division" = 'preferente' |
### Instruction:
With the Winter Olympics was 1960, what was the country?
### Response:
| SELECT "Country" FROM table_8686 WHERE "Winter Olympics" = '1960' |
### Instruction:
What is the original air date of the episode titled 'My Hard Labor'?
### Response:
| SELECT "Original air date" FROM table_27765 WHERE "Title" = 'My Hard Labor' |
### Instruction:
What was the result of the election in the Virginia 3 district?
### Response:
| SELECT result FROM table_1341577_47 WHERE district = "Virginia 3" |
### Instruction:
What round was the debut of defender Stephen Laybutt?
### Response:
| SELECT debut FROM table_name_11 WHERE position = "defender" AND name = "stephen laybutt" |
### Instruction:
To which party does Robert W. Edgar belong?
### Response:
| SELECT "Party" FROM table_18283 WHERE "Incumbent" = 'Robert W. Edgar' |
### Instruction:
What is the sum of PTS when there is a PCT smaller than 0.1?
### Response:
| SELECT SUM(pts) FROM table_name_11 WHERE pct < 0.1 |
### Instruction:
When cardboard boxes is segment c what is segment a?
### Response:
| SELECT segment_a FROM table_15187735_5 WHERE segment_c = "Cardboard Boxes" |
### Instruction:
Which opponent has a save of smith (22)?
### Response:
| SELECT "Opponent" FROM table_37074 WHERE "Save" = 'smith (22)' |
### Instruction:
How many years was the chassis a Coloni C3?
### Response:
| SELECT COUNT("Year") FROM table_14793 WHERE "Chassis" = 'coloni c3' |
### Instruction:
What is the total when the score for set 1 is 14 25?
### Response:
| SELECT total FROM table_name_75 WHERE set_1 = "14–25" |
### Instruction:
How many golds does Germany have with more than 1 silver?
### Response:
| SELECT SUM(gold) FROM table_name_74 WHERE silver > 1 AND nation = "germany" |
### Instruction:
What Rank in Respective Divisions has a capacity of 4100?
### Response:
| SELECT Rank IN Respective AS divisions FROM table_name_60 WHERE capacity = "4100" |
### Instruction:
What class is the city of black mountain, north carolina?
### Response:
| SELECT class FROM table_name_45 WHERE city_of_license = "black mountain, north carolina" |
### Instruction:
Name the won promotion for kalmar ff
### Response:
| SELECT won_promotion FROM table_2119448_3 WHERE lost_promotion_playoffs = "Kalmar FF" |
### Instruction:
Name the date for Loss of schilling (5 2)
### Response:
| SELECT "Date" FROM table_53904 WHERE "Loss" = 'schilling (5–2)' |
### Instruction:
what was maxi priest 's only single in 1992 ?
### Response:
| SELECT "song" FROM table_204_654 WHERE "year" = 1992 |
### Instruction:
how many coaches have nebraska as their alma mater ?
### Response:
| SELECT COUNT("name") FROM table_204_95 WHERE "alma mater" = 'nebraska' |
### Instruction:
How many players held the high point records for game 34?
### Response:
| SELECT COUNT(high_points) FROM table_27698941_8 WHERE game = 34 |
### Instruction:
What league has an average attendance of 1452?
### Response:
| SELECT league FROM table_1939202_2 WHERE avg_attendance = 1452 |
### Instruction:
what was the only title she was featured in in 2007 ?
### Response:
| SELECT "title" FROM table_203_224 WHERE "year" = 2007 |
### Instruction:
How many episodes did the actor David Faustino appear in?
### Response:
| SELECT "Episodes" FROM table_79461 WHERE "Actor" = 'david faustino' |
### Instruction:
what's the result with opponent being at oakland raiders
### Response:
| SELECT "Result" FROM table_932 WHERE "Opponent" = 'at Oakland Raiders' |
### Instruction:
When hayden roulston is the winner what is the stage?
### Response:
| SELECT "Stage" FROM table_30468 WHERE "Winner" = 'Hayden Roulston' |
### Instruction:
What were the drawn with points against at 416?
### Response:
| SELECT drawn FROM table_12828723_5 WHERE points_against = "416" |
### Instruction:
how many volts can the flyback handle at most ?
### Response:
| SELECT "input range\n[v]" FROM table_204_187 WHERE "type" = 'flyback' |
### Instruction:
What is the place of player chi-chi rodr guez?
### Response:
| SELECT "Place" FROM table_50236 WHERE "Player" = 'chi-chi rodríguez' |
### Instruction:
what is the zip code of boonville
### Response:
| SELECT "ZIP code Prefix(es)" FROM table_34538 WHERE "County Seat" = 'boonville' |
### Instruction:
In the match where newcastle jets was the away team, what was the crown attendance?
### Response:
| SELECT crowd FROM table_name_79 WHERE away_team = "newcastle jets" |
### Instruction:
let me know the death date of patient with patient id 3343.
### Response:
| SELECT demographic.dod FROM demographic WHERE demographic.subject_id = "3343" |
### Instruction:
What was the date of the game with a score of 15 6?
### Response:
| SELECT "Date" FROM table_39706 WHERE "Score" = '15–6' |
### Instruction:
What was the score when the away team was Footscray?
### Response:
| SELECT "Away team score" FROM table_51216 WHERE "Away team" = 'footscray' |
### Instruction:
Who was the home team when the away team was Bristol Rovers?
### Response:
| SELECT "Home team" FROM table_9698 WHERE "Away team" = 'bristol rovers' |
### Instruction:
What is week 3 when week 6 is 26.05?
### Response:
| SELECT week_3 FROM table_name_78 WHERE week_6 = "26.05" |
### Instruction:
What opponent used the Ko method, and a 6-0 record?
### Response:
| SELECT opponent FROM table_name_12 WHERE method = "ko" AND record = "6-0" |
### Instruction:
What Record has an Event of Pride Shockwave 2004?
### Response:
| SELECT record FROM table_name_22 WHERE event = "pride shockwave 2004" |
### Instruction:
What is the pick number of the player whose college is Florida State?
### Response:
| SELECT "Pick #" FROM table_19482 WHERE "College" = 'Florida State' |
### Instruction:
Find the brand and name for each camera lens, and sort in descending order of maximum aperture.
### Response:
| SELECT brand, name FROM camera_lens ORDER BY max_aperture DESC |
### Instruction:
Who is the player with playoff money from the United States?
### Response:
| SELECT player FROM table_name_87 WHERE money___£__ = "playoff" AND country = "united states" |
### Instruction:
what was the first city to be incorporated into wisconsin ?
### Response:
| SELECT "city" FROM table_201_13 ORDER BY "incorporation\ndate" LIMIT 1 |
### Instruction:
What locomotive built after 1895 has the highest SLM number?
### Response:
| SELECT MAX(SLM) AS number FROM table_name_26 WHERE built > 1895 |
### Instruction:
What is the largest number for bronze with a rank of 19?
### Response:
| SELECT MAX("Bronze") FROM table_34036 WHERE "Rank" = '19' |
### Instruction:
How many writers were there for episode named 'embassy'?
### Response:
| SELECT COUNT("Written by") FROM table_25513 WHERE "Title" = 'Embassy' |
### Instruction:
What is the Method of the match with a Time of 4:07?
### Response:
| SELECT "Method" FROM table_14161 WHERE "Time" = '4:07' |
### Instruction:
Which licence has a release date of 2009-08?
### Response:
| SELECT license FROM table_name_23 WHERE release_date = "2009-08" |
### Instruction:
what is the total number of destinations for the hancock location ?
### Response:
| SELECT COUNT("destinations") FROM table_204_888 WHERE "location" = 'hancock' |
### Instruction:
What is the high lap total for fran ois cevert?
### Response:
| SELECT MAX("Laps") FROM table_54203 WHERE "Driver" = 'françois cevert' |
### Instruction:
What is the tie no that has southport as the away team?
### Response:
| SELECT "Tie no" FROM table_66643 WHERE "Away team" = 'southport' |
### Instruction:
What records are hit where the opponent is Aylesbury United?
### Response:
| SELECT "Record" FROM table_17640 WHERE "Opponent" = 'Aylesbury United' |
### Instruction:
What is the total number of decile for the redwood school locality?
### Response:
| SELECT COUNT("Decile") FROM table_72065 WHERE "Name" = 'redwood school' |
### Instruction:
How many times did drinking games win the poll?
### Response:
| SELECT COUNT(_number) FROM table_15781170_3 WHERE poll_winner = "Drinking Games" |
### Instruction:
When luz mcclinton is the name what is the season?
### Response:
| SELECT season FROM table_19061741_1 WHERE name = "Luz McClinton" |
### Instruction:
How many documents are with document type code BK for each product id?
### Response:
| SELECT COUNT(*), project_id FROM documents WHERE document_type_code = "BK" GROUP BY project_id |
### Instruction:
What is the total number of Years that has the Group, Method Fest Independent Film Festival?
### Response:
| SELECT COUNT(year) FROM table_name_45 WHERE group = "method fest independent film festival" |
### Instruction:
What was the Agg., when Team 1 was VSADC?
### Response:
| SELECT "Agg." FROM table_69488 WHERE "Team 1" = 'vsadc' |
### Instruction:
What shows for Report hen there is a set 1 of 19 25?
### Response:
| SELECT report FROM table_name_15 WHERE set_1 = "19–25" |
### Instruction:
Tell me the highest time for spain and lane larger than 8
### Response:
| SELECT MAX(time) FROM table_name_35 WHERE country = "spain" AND lane > 8 |
### Instruction:
When they played San Lorenzo, what was the score of the second leg?
### Response:
| SELECT "2nd leg" FROM table_21444 WHERE "Team #1" = 'San Lorenzo' |
### Instruction:
What are the numbers for any players from Washington?
### Response:
| SELECT "No.(s)" FROM table_51689 WHERE "School/Club Team/Country" = 'washington' |
### Instruction:
What was the name of the album released by Heavy Winged?
### Response:
| SELECT release_title FROM table_27932399_1 WHERE artist = "Heavy Winged" |
### Instruction:
Name the most number for new england blazers
### Response:
| SELECT MAX(_number) FROM table_16227492_1 WHERE opponent = "New England Blazers" |
### Instruction:
What is the highest Position, when Pilot is 'Mario Kiessling'?
### Response:
| SELECT MAX(position) FROM table_name_66 WHERE pilot = "mario kiessling" |
### Instruction:
How many games did they play in 1905?
### Response:
| SELECT AVG("Played") FROM table_68655 WHERE "Years" = '1905' |
### Instruction:
Film of um sol alaranjado director is what nationality?
### Response:
| SELECT nationality_of_director FROM table_name_65 WHERE film = "um sol alaranjado" |
### Instruction:
What's Babson College's enrollment?
### Response:
| SELECT MAX(enrollment) FROM table_1974782_1 WHERE institution = "Babson College" |
### Instruction:
What is the group a winner for vis pesaro?
### Response:
| SELECT "Group A Winner" FROM table_16654 WHERE "Group C Winner" = 'Vis Pesaro' |
### Instruction:
Return a pie chart on what is the average price for each type of product?
### Response:
| SELECT product_type_code, AVG(product_price) FROM Products GROUP BY product_type_code |
### Instruction:
Tell me the naame of Investigation of thrombus imaging
### Response:
| SELECT "Name" FROM table_31911 WHERE "Investigation" = 'thrombus imaging' |
### Instruction:
What was the attendance for the game with an away team of Hispano?
### Response:
| SELECT "Attendance" FROM table_8674 WHERE "Away" = 'hispano' |
### Instruction:
Which Object type has an NGC number of 2171?
### Response:
| SELECT "Object type" FROM table_58345 WHERE "NGC number" = '2171' |
### Instruction:
What is the D 43 when D 46 is R 6?
### Response:
| SELECT d_43 FROM table_name_68 WHERE d_46 = "r 6" |
### Instruction:
How many entries are there for first driver for Canada?
### Response:
| SELECT COUNT(first_driver_s_) FROM table_13416000_3 WHERE country = "Canada" |
### Instruction:
How many touchdowns did Albert Herrnstein make?
### Response:
| SELECT "Touchdowns (5 points)" FROM table_1013 WHERE "Player" = 'Albert Herrnstein' |
### Instruction:
When was episode 2x11 aired for the first time?
### Response:
| SELECT "First broadcast" FROM table_23439 WHERE "Episode" = '2x11' |
### Instruction:
Show me about the distribution of ACC_Regular_Season and School_ID in a bar chart.
### Response:
| SELECT ACC_Regular_Season, School_ID FROM basketball_match |
### Instruction:
Bar chart x axis name y axis how many name, could you sort Y in descending order please?
### Response:
| SELECT Name, COUNT(Name) FROM editor GROUP BY Name ORDER BY COUNT(Name) DESC |
### Instruction:
How many years had 54 holes and a 2 shot lead?
### Response:
| SELECT COUNT("Year") FROM table_55824 WHERE "54 holes" = '2 shot lead' |
### Instruction:
Where was the game with the attendance of 54,436?
### Response:
| SELECT game_site FROM table_name_99 WHERE attendance = "54,436" |
### Instruction:
Which poll put Dick Durbin at 56%?
### Response:
| SELECT "Poll Source" FROM table_8093 WHERE "Democrat: Dick Durbin" = '56%' |
### Instruction:
Round 3 with less than 54 for Round 4?
### Response:
| SELECT "Round 3" FROM table_9258 WHERE "Round 4" = '54' |
### Instruction:
Who were the original artist(s) when jack stamp arranged?
### Response:
| SELECT "Original Artist" FROM table_74312 WHERE "Arranger(s)" = 'Jack Stamp' |
### Instruction:
Which team has points less than 6 in a year after 1969?
### Response:
| SELECT team FROM table_name_81 WHERE points < 6 AND year > 1969 |
### Instruction:
What was the premiere date of the season won by Matt Hoover?
### Response:
| SELECT premiere FROM table_name_32 WHERE the_biggest_loser = "matt hoover" |
### Instruction:
What is the lowest enrollment at the pioneer school?
### Response:
| SELECT MIN("Enrollment") FROM table_64513 WHERE "School" = 'pioneer' |
### Instruction:
How many tries were against when the number won was 14?
### Response:
| SELECT tries_against FROM table_13399573_3 WHERE won = "14" |
### Instruction:
Group by the result and count them by a bar chart, rank from low to high by the Y.
### Response:
| SELECT Result, COUNT(Result) FROM Acceptance GROUP BY Result ORDER BY COUNT(Result) |
### Instruction:
When did Jeremy Kagan's episode first air?
### Response:
| SELECT "Original air date" FROM table_25844 WHERE "Directed by" = 'Jeremy Kagan' |
### Instruction:
how many goals did cardiff city f.c. score in the month of april ?
### Response:
| SELECT SUM("result") FROM table_203_368 WHERE "date" = 4 |
### Instruction:
For the Indian Wells Masters tournament, what was the country?
### Response:
| SELECT "Country" FROM table_47939 WHERE "Tournament" = 'indian wells masters' |
### Instruction:
Questions Ordered By Number of Answers.
### Response:
| SELECT Id AS "post_link", AnswerCount AS "Answer Count" FROM Posts WHERE PostTypeId = 1 ORDER BY AnswerCount DESC |
### Instruction:
Who was the opponent when the attendance was 80,079?
### Response:
| SELECT opponent FROM table_name_99 WHERE attendance = "80,079" |
### Instruction:
What is the percentage yield for a DPMO of 3.4?
### Response:
| SELECT "Percentage yield" FROM table_2571 WHERE "DPMO" = '3.4' |
### Instruction:
What is the largest round with a Race Title of korean grand prix?
### Response:
| SELECT MAX(round) FROM table_name_58 WHERE race_title = "korean grand prix" |
### Instruction:
Who is the Batsman from the year 1982?
### Response:
| SELECT "Batsmen" FROM table_43869 WHERE "Year" = '1982' |
### Instruction:
What was the vote for Alvin Green when other was 9%?
### Response:
| SELECT "Alvin Greene (D)" FROM table_76982 WHERE "Other" = '9%' |
### Instruction:
when was it commissioned when the destroyer was built by scotts, greenock?
### Response:
| SELECT commissioned FROM table_name_88 WHERE builder = "scotts, greenock" |
### Instruction:
Give me the comparison about ID over the meter_700 by a bar chart, order in ascending by the Y.
### Response:
| SELECT meter_700, ID FROM swimmer ORDER BY ID |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.