instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
List episode directed and produced by Karen Selway?
### Response:
| SELECT episode FROM table_24725951_1 WHERE directed_and_produced_by = "Karen Selway" |
### Instruction:
What is the lowest number of minutes for a player with 47 steals?
### Response:
| SELECT MIN("Minutes") FROM table_27156 WHERE "Steals" = '47' |
### Instruction:
Who are the away teams when subiaco oval was the grounds?
### Response:
| SELECT "Away team" FROM table_20767 WHERE "Ground" = 'Subiaco Oval' |
### Instruction:
What was the the total top attendance with a score of 0 4?
### Response:
| SELECT MAX("Attendance") FROM table_54461 WHERE "Score" = '0 – 4' |
### Instruction:
When richmond played away, what was the largest number of people who watched?
### Response:
| SELECT MAX("Crowd") FROM table_32567 WHERE "Away team" = 'richmond' |
### Instruction:
Who won the ABA Championship in 1971?
### Response:
| SELECT MIN("Championships") FROM table_49508 WHERE "Years won" = '1971' |
### Instruction:
What is the normal temperature of Abbotsford, British Columbia?
### Response:
| SELECT "Normal temperature" FROM table_14388 WHERE "City" = 'abbotsford, british columbia' |
### Instruction:
What is the total population in the city/town of Arendal?
### Response:
| SELECT COUNT(population) FROM table_157826_1 WHERE city_town = "Arendal" |
### Instruction:
display those departments where more than ten employees work who got a commission percentage.
### Response:
| SELECT department_id FROM employees GROUP BY department_id HAVING COUNT(commission_pct) > 10 |
### Instruction:
How many age figures for the player fired in week 6?
### Response:
| SELECT COUNT(age) FROM table_24501530_1 WHERE result = "Fired in week 6" |
### Instruction:
Show the different countries and the number of members from each with a bar chart, and could you order in asc by the Y-axis?
### Response:
| SELECT Country, COUNT(*) FROM member GROUP BY Country ORDER BY COUNT(*) |
### Instruction:
what is the average number of scotland 's total apps ?
### Response:
| SELECT AVG("total apps") FROM table_204_159 WHERE "nation" = 'scotland' |
### Instruction:
Who was the opponent that led to a record of 23-5?
### Response:
| SELECT "Opponent" FROM table_5882 WHERE "Record" = '23-5' |
### Instruction:
List the name and number of followers for each user, and sort the results by the number of followers in descending order.
### Response:
| SELECT name, followers FROM user_profiles ORDER BY followers DESC |
### Instruction:
How many seats does leader Raymond McCartney have?
### Response:
| SELECT SUM("Number of Seats") FROM table_45638 WHERE "Leader" = 'raymond mccartney' |
### Instruction:
What championships had a match where Natasha Zvereva played as partner?
### Response:
| SELECT championship FROM table_24638867_4 WHERE partner = "Natasha Zvereva" |
### Instruction:
What genre is Set Max's Hindi programming?
### Response:
| SELECT "Genre" FROM table_33463 WHERE "Language" = 'hindi' AND "Network" = 'set max' |
### Instruction:
What's the value for played when points is 8 and position is 11th?
### Response:
| SELECT played FROM table_name_2 WHERE position = "11th" AND points = "8" |
### Instruction:
Who was the opponent for a game over 31 and a date over 30?
### Response:
| SELECT opponent FROM table_name_54 WHERE game > 31 AND date > 30 |
### Instruction:
What years was El Mabrouk the area of operation?
### Response:
| SELECT "Years of Operation" FROM table_15341 WHERE "Area of Operation" = 'el mabrouk' |
### Instruction:
What is the attendance that has a record of 43-28?
### Response:
| SELECT "Attendance" FROM table_70636 WHERE "Record" = '43-28' |
### Instruction:
Who is the Opponents on May 3, 1982?
### Response:
| SELECT opponents FROM table_name_73 WHERE date = "may 3, 1982" |
### Instruction:
How many no outs for an average of 56.38?
### Response:
| SELECT COUNT("Not Out") FROM table_2247 WHERE "Average" = '56.38' |
### Instruction:
on average how many times was the president 's party listed as whig ?
### Response:
| SELECT COUNT(*) FROM table_203_800 WHERE "president's party" = 'whig' |
### Instruction:
Find the name and account balance of the customer whose name includes the letter a . Visualize them using a bar chart.
### Response:
| SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%' |
### Instruction:
What distance did the winning horse run in the Summer Doldrums.
### Response:
| SELECT "Distance" FROM table_58023 WHERE "Winning horse" = 'summer doldrums' |
### Instruction:
posaconazole suspension is administered via which route?
### Response:
| SELECT prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Posaconazole Suspension" |
### Instruction:
which opponent is listed the most on this chart ?
### Response:
| SELECT "opponent" FROM table_203_741 GROUP BY "opponent" ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
What is the candidates for fred e. busbey?
### Response:
| SELECT "Candidates" FROM table_18494 WHERE "Incumbent" = 'Fred E. Busbey' |
### Instruction:
On what Date is the Minnesota Vikings the Opponent?
### Response:
| SELECT "Date" FROM table_37243 WHERE "Opponent" = 'minnesota vikings' |
### Instruction:
What Week falls on September 4, 1994?
### Response:
| SELECT AVG(week) FROM table_name_49 WHERE date = "september 4, 1994" |
### Instruction:
what are the number of points bernie scored in hurdles ?
### Response:
| SELECT "bernie" FROM table_204_345 WHERE "discipline" = 'hurdles' |
### Instruction:
Which School has a National Championships of 2, and a City of orlando?
### Response:
| SELECT school FROM table_name_27 WHERE national_championships = 2 AND city = "orlando" |
### Instruction:
How many losses did 12 de Octubre have ?
### Response:
| SELECT MIN(losses) FROM table_14997324_5 WHERE team = "12 de Octubre" |
### Instruction:
What year did the term end for the office elected in 1984
### Response:
| SELECT "Term ended" FROM table_20483 WHERE "Elected" = '1984' |
### Instruction:
of those listed , which compound has the highest density ?
### Response:
| SELECT "formula" FROM table_203_613 ORDER BY "density, g/cm3" DESC LIMIT 1 |
### Instruction:
What was the date of the game with an attendance of 20,874 fans?
### Response:
| SELECT date FROM table_name_23 WHERE attendance = "20,874" |
### Instruction:
Which 2nd Party has a Election of 1857?
### Response:
| SELECT "2nd Party" FROM table_12983 WHERE "Election" = '1857' |
### Instruction:
name a home city that has at least two teams .
### Response:
| SELECT "home city" FROM table_204_195 GROUP BY "home city" HAVING COUNT("team") >= 2 |
### Instruction:
What years have goals less than 229, and 440 as matches?
### Response:
| SELECT years FROM table_name_70 WHERE goals < 229 AND matches = 440 |
### Instruction:
If the winners from the previous round is 8, what is the round?
### Response:
| SELECT "Round" FROM table_22441 WHERE "Winners from previous round" = '8' |
### Instruction:
what is the number of the rank of the team on october 7 ?
### Response:
| SELECT "rank#" FROM table_203_809 WHERE "date" = 'october 7' |
### Instruction:
What is the mix pack when the artist 2 is Eminem?
### Response:
| SELECT mix_pack FROM table_23649244_2 WHERE artist_2 = "Eminem" |
### Instruction:
What episode number had a cable ranking of 8?
### Response:
| SELECT MIN(episode_no) FROM table_24399615_4 WHERE cable_rank = "8" |
### Instruction:
question for a dask tag.
### Response:
| SELECT *, Tags, CreationDate, LastActivityDate, AnswerCount, PostTypeId FROM Posts WHERE Tags LIKE '%dask%' ORDER BY ParentId, Id |
### Instruction:
What was the result of the election of incumbent john shelley?
### Response:
| SELECT result FROM table_1341973_6 WHERE incumbent = "John Shelley" |
### Instruction:
Which club is associated with Hafiz Abu Sujad?
### Response:
| SELECT "Club" FROM table_55344 WHERE "Name" = 'hafiz abu sujad' |
### Instruction:
Group and count the durations for each actor with a bar graph, sort from low to high by the bar please.
### Response:
| SELECT Duration, COUNT(Duration) FROM actor GROUP BY Duration ORDER BY Duration |
### Instruction:
What is the completed list entry number more than 1356460?
### Response:
| SELECT completed FROM table_name_58 WHERE list_entry_number > 1356460 |
### Instruction:
Which incumbent was first elected in 1936?
### Response:
| SELECT incumbent FROM table_1341897_45 WHERE first_elected = 1936 |
### Instruction:
Name the venue for 2004 and position of 25th
### Response:
| SELECT venue FROM table_name_4 WHERE position = "25th" AND year = 2004 |
### Instruction:
What was the home team score for the game played at Princes Park?
### Response:
| SELECT "Home team score" FROM table_32535 WHERE "Venue" = 'princes park' |
### Instruction:
What is the number of their teams in elimination? Draw a bar chart, list in ascending by the x axis.
### Response:
| SELECT Team, COUNT(Team) FROM Elimination GROUP BY Team ORDER BY Team |
### Instruction:
When the home team was geelong, what did the away team score?
### Response:
| SELECT "Away team score" FROM table_11100 WHERE "Home team" = 'geelong' |
### Instruction:
Who was the director that had a film titled 'Floating Life'?
### Response:
| SELECT director FROM table_name_5 WHERE film_title_used_in_nomination = "floating life" |
### Instruction:
was big bang 2 recorded in japanese or korean ?
### Response:
| SELECT "language" FROM table_204_680 WHERE "title" = 'big bang 2' |
### Instruction:
What was the home team's score in the match at Victoria Park?
### Response:
| SELECT "Home team score" FROM table_32844 WHERE "Venue" = 'victoria park' |
### Instruction:
what is date of birth and death status of subject name jesse ran?
### Response:
| SELECT demographic.dob, demographic.expire_flag FROM demographic WHERE demographic.name = "Jesse Ran" |
### Instruction:
What is the Home team of the game with a Score of 2 2?
### Response:
| SELECT "Home team" FROM table_63660 WHERE "Score" = '2 – 2' |
### Instruction:
What is the latest year that Europe had 471895?
### Response:
| SELECT MAX("Year") FROM table_22856 WHERE "Europe" = '471895' |
### Instruction:
how many 4x 100m relays were run ?
### Response:
| SELECT COUNT(*) FROM table_203_299 WHERE "notes" = '4x100m relay' |
### Instruction:
What is the Result of Venue of edmonton, canada?
### Response:
| SELECT "Result" FROM table_34553 WHERE "Venue" = 'edmonton, canada' |
### Instruction:
How many were in attendance when they played vs. 12 Stanford?
### Response:
| SELECT attendance FROM table_name_57 WHERE opponent_number = "vs. 12 stanford" |
### Instruction:
What was the final score when the Temple Owls beat Virginia Tech?
### Response:
| SELECT score FROM table_25461946_5 WHERE team = "Virginia Tech" |
### Instruction:
Who received 6,131 televotes?
### Response:
| SELECT "Televote Points" FROM table_13380 WHERE "Televotes" = '6,131' |
### Instruction:
in how many of the arkansas colomel the county was pope
### Response:
| SELECT COUNT(colonel) FROM table_29458735_5 WHERE county = "Pope" |
### Instruction:
What week was the Runner-up Lori McNeil?
### Response:
| SELECT "Week of" FROM table_41162 WHERE "Runner-up" = 'lori mcneil' |
### Instruction:
What is the average entry in the against column with draws smaller than 0?
### Response:
| SELECT AVG("Against") FROM table_59313 WHERE "Draws" < '0' |
### Instruction:
What was the urban settlement when the city / municipality was kovin?
### Response:
| SELECT "Urban settlement" FROM table_27902 WHERE "City / municipality" = 'Kovin' |
### Instruction:
what character did Masaharu satou play
### Response:
| SELECT "Character Name" FROM table_38210 WHERE "Voice Actor (Japanese)" = 'masaharu satou' |
### Instruction:
what is the date of appointment for the team osasuna?
### Response:
| SELECT date_of_appointment FROM table_24231638_3 WHERE team = "Osasuna" |
### Instruction:
tell me the birth date and primary disease of patient caren obrien.
### Response:
| SELECT demographic.dob, demographic.diagnosis FROM demographic WHERE demographic.name = "Caren Obrien" |
### Instruction:
What nationality is the player who went to school at South Florida?
### Response:
| SELECT nationality FROM table_16494599_1 WHERE school_club_team = "South Florida" |
### Instruction:
what are the genders of patient 007-7925?
### Response:
| SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '007-7925' |
### Instruction:
What are the countries of all airlines whose names start with Orbit, and count them by a bar chart
### Response:
| SELECT country, COUNT(country) FROM airlines WHERE name LIKE 'Orbit%' GROUP BY country |
### Instruction:
Who was the opponent at the game with a result of W 38-14?
### Response:
| SELECT opponent FROM table_name_92 WHERE result = "w 38-14" |
### Instruction:
Who was the home team when the VFL played Arden Street Oval?
### Response:
| SELECT "Home team" FROM table_33444 WHERE "Venue" = 'arden street oval' |
### Instruction:
Which Studio has a Rank smaller than 3, and a Director of adrian lyne?
### Response:
| SELECT studio FROM table_name_71 WHERE rank < 3 AND director = "adrian lyne" |
### Instruction:
What date did the episode called 'Responsible Parties' air on?
### Response:
| SELECT "Original air date" FROM table_534 WHERE "Title" = 'Responsible Parties' |
### Instruction:
Name the time for result msst 29 24
### Response:
| SELECT time FROM table_26842217_18 WHERE result = "MSST 29–24" |
### Instruction:
What is the total year of release of the title what goes around comes around?
### Response:
| SELECT COUNT(year_of_release) FROM table_name_75 WHERE title = "what goes around comes around" |
### Instruction:
What is the location of the university that was established in 2000?
### Response:
| SELECT "Location" FROM table_50923 WHERE "Established" = '2000' |
### Instruction:
How many timeslots received a rating of 5.7?
### Response:
| SELECT COUNT("Timeslot (EST)") FROM table_27192 WHERE "Rating" = '5.7' |
### Instruction:
Who is the Athlete with a rowing Time of 6:36.05?
### Response:
| SELECT athlete FROM table_name_49 WHERE time = "6:36.05" |
### Instruction:
which country won only one medal , a bronze medal ?
### Response:
| SELECT "nation" FROM table_203_812 WHERE "total" = 1 AND "bronze" = 1 |
### Instruction:
to which religious background does the patient with patient id 6983 belong to?
### Response:
| SELECT demographic.religion FROM demographic WHERE demographic.subject_id = "6983" |
### Instruction:
What is the highest number played with a goal difference less than -27?
### Response:
| SELECT MAX("Played") FROM table_77570 WHERE "Goal Difference" < '-27' |
### Instruction:
HOW MANY GAMES HAD BONUS POINTS OF 6?
### Response:
| SELECT "Points for" FROM table_17821 WHERE "Try bonus" = '6' |
### Instruction:
What was the total when the first was November 1966?
### Response:
| SELECT SUM("Total") FROM table_58732 WHERE "First" = 'november 1966' |
### Instruction:
In fitzroy's match where they were the home team, how much did they score?
### Response:
| SELECT home_team AS score FROM table_name_7 WHERE home_team = "fitzroy" |
### Instruction:
Top 10 Zero score questions with highest view count.
### Response:
| SELECT Id AS "post_link", ViewCount FROM Posts AS p WHERE Score = 0 ORDER BY ViewCount DESC LIMIT 10 |
### Instruction:
How many different meanings does the verb with part 4 gegeven have?
### Response:
| SELECT COUNT("Verb meaning") FROM table_21704 WHERE "Part 4" = 'gegeven' |
### Instruction:
Where was the game with the result of 22-20 played?
### Response:
| SELECT "Venue" FROM table_11982 WHERE "Result" = '22-20' |
### Instruction:
What is the domestic figure when cargo tonnes equal 25 866?
### Response:
| SELECT domestic FROM table_name_61 WHERE cargo__tonnes_ = "25 866" |
### Instruction:
Name the fixed telephone line for 25.6% vehicle
### Response:
| SELECT "Fixed telephone line" FROM table_27324 WHERE "Vehicle" = '25.6%' |
### Instruction:
What is the name of the track that lasts 5:30?
### Response:
| SELECT track AS title FROM table_10416547_1 WHERE duration = "5:30" |
### Instruction:
How many field goals were made by someone playing position of right end?
### Response:
| SELECT COUNT(field_goals) FROM table_14342592_5 WHERE position = "Right end" |
### Instruction:
How large of a crowd can the Brunswick Street Oval hold?
### Response:
| SELECT COUNT(crowd) FROM table_name_48 WHERE venue = "brunswick street oval" |
### Instruction:
What NHL team does Denis Desgagnes play for?
### Response:
| SELECT nhl_team FROM table_1965650_8 WHERE player = "Denis Desgagnes" |
### Instruction:
What is the English name of the country that has Ramallah as its capital?
### Response:
| SELECT "English country name" FROM table_7047 WHERE "English capital name" = 'ramallah' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.