instruction
stringlengths 37
754
| output
stringlengths 9
3.43k
|
---|---|
### Instruction:
Name the musical guest where guest host is elle macpherson
### Response:
| SELECT "Musical Guest (Song performed)" FROM table_72736 WHERE "Guest Host" = 'Elle Macpherson' |
### Instruction:
What school did the 7-4 player attend?
### Response:
| SELECT school_club_team_country FROM table_11734041_17 WHERE height_in_ft = "7-4" |
### Instruction:
What is the result for salmonella spp. if you use citrate?
### Response:
| SELECT COUNT("Citrate") FROM table_20540 WHERE "Species" = 'Salmonella spp.' |
### Instruction:
Which Division Two team were champions as the same time the Premier Division Leominster town team were champs?
### Response:
| SELECT division_two FROM table_name_26 WHERE premier_division = "leominster town" |
### Instruction:
Tell me the actors name for goran paskaljevic
### Response:
| SELECT "Actor's Name" FROM table_31782 WHERE "Director" = 'goran paskaljevic' |
### Instruction:
Where was the game that had an attendance of 39,889?
### Response:
| SELECT "Game site" FROM table_52559 WHERE "Attendance" = '39,889' |
### Instruction:
What was the result of the game that was attended by 16,000 people?
### Response:
| SELECT "Result" FROM table_6710 WHERE "Attendance" = '16,000' |
### Instruction:
what is the round on 21 february 2009?
### Response:
| SELECT "Round" FROM table_79246 WHERE "Date" = '21 february 2009' |
### Instruction:
What are the memories and carriers of phones, order by the x-axis from low to high.
### Response:
| SELECT Carrier, SUM(Memory_in_G) FROM phone GROUP BY Carrier ORDER BY Carrier |
### Instruction:
A bar chart shows the distribution of All_Games and School_ID , I want to show by the total number in asc.
### Response:
| SELECT All_Games, School_ID FROM basketball_match ORDER BY School_ID |
### Instruction:
Which 2 (F) has a 3 (F) of khelto?
### Response:
| SELECT "2 (F)" FROM table_9019 WHERE "3 (F)" = 'সে khelto' |
### Instruction:
Which Nationality has a School/Club Team of louisiana state?
### Response:
| SELECT "Nationality" FROM table_7449 WHERE "School/Club Team" = 'louisiana state' |
### Instruction:
What was Tony Oakey's Rd., Time when he fought against hastings rasani?
### Response:
| SELECT rd, _time FROM table_name_48 WHERE opponent = "hastings rasani" |
### Instruction:
which other year than 1998 was 3rd position ?
### Response:
| SELECT "year" FROM table_204_98 WHERE "year" <> 1998 AND "position" = 3 |
### Instruction:
What is the total number of high points on January 21?
### Response:
| SELECT COUNT(high_points) FROM table_17323092_6 WHERE date = "January 21" |
### Instruction:
Display a bar chart for what is the lowest salary in departments with average salary greater than the overall average.
### Response:
| SELECT dept_name, MIN(salary) FROM instructor GROUP BY dept_name |
### Instruction:
What is the first day cover cancellation for the Karen Smith Design stamp?
### Response:
| SELECT "First Day Cover Cancellation" FROM table_58446 WHERE "Design" = 'karen smith design' |
### Instruction:
Which democratic incumbent is from the district of ohio 7?
### Response:
| SELECT incumbent FROM table_name_93 WHERE party = "democratic" AND district = "ohio 7" |
### Instruction:
What boat was laid down on 25 april 1887?
### Response:
| SELECT "Name" FROM table_75743 WHERE "Laid down" = '25 april 1887' |
### Instruction:
How many prizes were available when Jenny Shin became the champion?
### Response:
| SELECT COUNT(purse__) AS $_ FROM table_15315276_1 WHERE champion = "Jenny Shin" |
### Instruction:
Which country has a score of 70-66=136?
### Response:
| SELECT "Country" FROM table_80160 WHERE "Score" = '70-66=136' |
### Instruction:
When the fastest lap was driven by damon hill who was the winning constructor?
### Response:
| SELECT "Winning Constructor" FROM table_10310 WHERE "Fastest Lap" = 'damon hill' |
### Instruction:
How many Against has a Drawn smaller than 1, and a Lost smaller than 5?
### Response:
| SELECT MAX(against) FROM table_name_86 WHERE drawn < 1 AND lost < 5 |
### Instruction:
What is K236AM's lowest frequency in MHz?
### Response:
| SELECT MIN("Frequency MHz") FROM table_39417 WHERE "Call sign" = 'k236am' |
### Instruction:
Return the countries of the mountains that have a height larger than 5000, and count them by a bar chart
### Response:
| SELECT Country, COUNT(Country) FROM mountain WHERE Height > 5000 GROUP BY Country |
### Instruction:
What is the name of the team song written by ken walther?
### Response:
| SELECT "Basis for team song" FROM table_30435 WHERE "Writer/composer" = 'Ken Walther' |
### Instruction:
when was the loan ended when the loan club is spartak moscow?
### Response:
| SELECT "Ended" FROM table_46419 WHERE "Loan Club" = 'spartak moscow' |
### Instruction:
Who was the RF when the SP was vicente padilla?
### Response:
| SELECT "Rightfielder" FROM table_72288 WHERE "Starting Pitcher" = 'Vicente Padilla' |
### Instruction:
Which Home/Away was on April 27, 2008?
### Response:
| SELECT home_away FROM table_name_70 WHERE date = "april 27, 2008" |
### Instruction:
How many wins for team nsu and over 2 points?
### Response:
| SELECT AVG("Wins") FROM table_36984 WHERE "Team" = 'nsu' AND "Points" > '2' |
### Instruction:
what is the country when the total is 111 and the day 1 is 69?
### Response:
| SELECT country FROM table_name_4 WHERE total = 111 AND day_1 = 69 |
### Instruction:
Which season did the Minnesota Kicks lose 13 games and scored 156 points?
### Response:
| SELECT COUNT(season) FROM table_name_34 WHERE lost = 13 AND points = 156 |
### Instruction:
how many people lived in predeal in 2011 ?
### Response:
| SELECT "population (2011 census)" FROM table_203_465 WHERE "name" = 'predeal' |
### Instruction:
Which award show nominated Cole Sprouse for the Favorite TV Actor category?
### Response:
| SELECT award FROM table_name_49 WHERE category = "favorite tv actor" AND recipient = "cole sprouse" |
### Instruction:
Who this the no. 8 team that has a no. 9 player, Telmo?
### Response:
| SELECT "No.8" FROM table_67738 WHERE "No.9" = 'telmo' |
### Instruction:
How many points did Corbari Italia earn in 1985?
### Response:
| SELECT points FROM table_name_90 WHERE entrant = "corbari italia" AND year = 1985 |
### Instruction:
who had the most televotes on the eurovision song contest 2008 ?
### Response:
| SELECT "artist" FROM table_203_430 ORDER BY "televote" DESC LIMIT 1 |
### Instruction:
what was the foundation of Politeknik Pagoh?
### Response:
| SELECT AVG("Foundation") FROM table_11565 WHERE "Official Name in Malay" = 'politeknik pagoh' |
### Instruction:
What is the round when the prize money is 7,500?
### Response:
| SELECT "Round" FROM table_30172 WHERE "Prize money" = '£7,500' |
### Instruction:
What is the dma when the format is rhythmic contemporary?
### Response:
| SELECT MIN(dma) FROM table_19131921_1 WHERE format = "Rhythmic Contemporary" |
### Instruction:
In the episode where segment a is microphones, what is segment d?
### Response:
| SELECT segment_d FROM table_15187735_11 WHERE segment_a = "Microphones" |
### Instruction:
what 's the number of people who attended the oregon state game ?
### Response:
| SELECT "attendance" FROM table_204_250 WHERE "opponent#" = 'oregon state' |
### Instruction:
User's Reputation, Questions, Comments and Answers.
### Response:
| SELECT TOP(100) AS DisplayName, Reputation, AnswerCount, CommentCount FROM Users, Posts ORDER BY Reputation DESC |
### Instruction:
in how many international competitions did kazlou throw a length of above 80 meters ?
### Response:
| SELECT COUNT("competition") FROM table_203_238 WHERE "notes" > 80 |
### Instruction:
Who was the opponent at the game in Belgrade with a 0:2 result?
### Response:
| SELECT opponent FROM table_name_28 WHERE city = "belgrade" AND results¹ = "0:2" |
### Instruction:
Which NFL Recap had a Kickoff of 7:00pm edt?
### Response:
| SELECT nfl_recap FROM table_name_16 WHERE kickoff = "7:00pm edt" |
### Instruction:
How many first place participants where from croatia?
### Response:
| SELECT 3 AS rd_runner_up FROM table_30018460_1 WHERE country_territory = "Croatia" |
### Instruction:
Who was the winning team at the Homestead-Miami Speedway?
### Response:
| SELECT "Winning team" FROM table_5913 WHERE "Circuit" = 'homestead-miami speedway' |
### Instruction:
What was the domestic box office for 'House on Haunted Hill'?
### Response:
| SELECT domestic_box_office FROM table_2203760_4 WHERE film = "House on Haunted Hill" |
### Instruction:
How many of the episodes were titled 'Guerillas in the Mist'?
### Response:
| SELECT COUNT("No. in series") FROM table_650 WHERE "Title" = 'Guerillas in the Mist' |
### Instruction:
What was the record at the game that had a loss of Wyatt (4 4)?
### Response:
| SELECT "Record" FROM table_15207 WHERE "Loss" = 'wyatt (4–4)' |
### Instruction:
patient with known history of bleeding diathesis or currently active bleeding;
### Response:
| SELECT * FROM table_test_24 WHERE history_of_bleeding_diathesis = 1 OR bleeding = 1 |
### Instruction:
Which player is associated with the date July 6, 1949?
### Response:
| SELECT "Player" FROM table_5510 WHERE "Date" = 'july 6, 1949' |
### Instruction:
How may overall episodes had the title 'this is what they want'?
### Response:
| SELECT COUNT(overall) FROM table_24223834_3 WHERE title = "This is What They Want" |
### Instruction:
Show the hometown of all members, rank in ascending by the y-axis.
### Response:
| SELECT Hometown, COUNT(Hometown) FROM member GROUP BY Hometown ORDER BY COUNT(Hometown) |
### Instruction:
What is the total points for GP/GS of 24/23?
### Response:
| SELECT "Total Points" FROM table_40521 WHERE "GP/GS" = '24/23' |
### Instruction:
Which league has the most player awarded in 2006?
### Response:
| SELECT league_id FROM player_award WHERE year = "2006" GROUP BY league_id ORDER BY COUNT(*) DESC LIMIT 1 |
### Instruction:
List all mbit/s with profiles of 8b.
### Response:
| SELECT "Max. downstream throughput ( Mbit/s )" FROM table_26427 WHERE "Profile" = '8b' |
### Instruction:
What is Beohari's highest number of electorates?
### Response:
| SELECT MAX(number_of_electorates__2009_) FROM table_name_81 WHERE name = "beohari" |
### Instruction:
What is the main color(s) for marlboro?
### Response:
| SELECT main_colour_s_ FROM table_name_36 WHERE main_sponsor_s_ = "marlboro" |
### Instruction:
Who was the Home Captain and the Result for AUS by 4 wkts?
### Response:
| SELECT "Home captain" FROM table_42570 WHERE "Result" = 'aus by 4 wkts' |
### Instruction:
On which date were the 2003 Toronto Blue Jays 54-55?
### Response:
| SELECT "Date" FROM table_14469 WHERE "Record" = '54-55' |
### Instruction:
What is the Average Finals Goals if the Total Goals is less than 1?
### Response:
| SELECT AVG(finals_goals) FROM table_name_40 WHERE total_goals < 1 |
### Instruction:
What is the total for the year (s) won in 1977?
### Response:
| SELECT "Total" FROM table_12195 WHERE "Year(s) won" = '1977' |
### Instruction:
What order has the title Deacon of SS. Cosma E Damiano?
### Response:
| SELECT "Order" FROM table_62435 WHERE "Title" = 'deacon of ss. cosma e damiano' |
### Instruction:
What event had a prize of 900,000?
### Response:
| SELECT "Event" FROM table_79945 WHERE "Prize" = '€900,000' |
### Instruction:
What is the sum of the total of the player who won in 1979?
### Response:
| SELECT SUM(total) FROM table_name_90 WHERE year_s__won = "1979" |
### Instruction:
WHAT IS THE WINNER WITH A FIFTH OF JOSS STONE?
### Response:
| SELECT "Winner" FROM table_50984 WHERE "Fifth" = 'joss stone' |
### Instruction:
What was the sum of the E scores when the total score was 19.466?
### Response:
| SELECT SUM(e_score) FROM table_name_7 WHERE total = 19.466 |
### Instruction:
What was the match type in Budapest where the opponent was Luxembourg?
### Response:
| SELECT match_type FROM table_name_64 WHERE location = "budapest" AND opponenent = "luxembourg" |
### Instruction:
Who is the Opponent of the match with a Record of 0-1?
### Response:
| SELECT "Opponent" FROM table_14159 WHERE "Record" = '0-1' |
### Instruction:
Name the 2012 for when 2010 is q3
### Response:
| SELECT "2012" FROM table_10847 WHERE "2010" = 'q3' |
### Instruction:
What is the least number of candidates running were there when 80 seats were won?
### Response:
| SELECT MIN("# of candidates") FROM table_16214 WHERE "# of seats won" = '80' |
### Instruction:
What Elected has a 1st member of thomas fanshawe?
### Response:
| SELECT "Elected" FROM table_13109 WHERE "1st member" = 'thomas fanshawe' |
### Instruction:
What is the date of birth for basket baller called ido kozikaro
### Response:
| SELECT MAX("Year born") FROM table_26233 WHERE "Player" = 'Ido Kozikaro' |
### Instruction:
What is the highest attendance for games with stevenage borough at home?
### Response:
| SELECT MAX("Attendance") FROM table_78227 WHERE "Home team" = 'stevenage borough' |
### Instruction:
what is the apparent magnitude of NGC number 6027d?
### Response:
| SELECT "Apparent magnitude" FROM table_54276 WHERE "NGC number" = '6027d' |
### Instruction:
Who was the opponent when the attendance was exactly 16642?
### Response:
| SELECT opponent FROM table_20745685_1 WHERE attendance = 16642 |
### Instruction:
What is the average score when the swimsuit score is 8.503?
### Response:
| SELECT "Average" FROM table_430 WHERE "Swimsuit" = '8.503' |
### Instruction:
What is the agg of team 2 for Vantour Club Mangoungou?
### Response:
| SELECT agg FROM table_name_38 WHERE team_2 = "vantour club mangoungou" |
### Instruction:
Name the date for score l 89 91 (ot)
### Response:
| SELECT date FROM table_17288845_8 WHERE score = "L 89–91 (OT)" |
### Instruction:
Who is the director when the production code is 60034?
### Response:
| SELECT directed_by FROM table_28140588_1 WHERE production_code = 60034 |
### Instruction:
What competition took place on 10 August 2011?
### Response:
| SELECT "Competition" FROM table_68030 WHERE "Date" = '10 august 2011' |
### Instruction:
Which catalog has a date of 24 march 2006?
### Response:
| SELECT "Catalog" FROM table_47196 WHERE "Date" = '24 march 2006' |
### Instruction:
What is the season for no award given for rookie of the year?
### Response:
| SELECT "Season" FROM table_17983 WHERE "Rookie of the Year" = 'No award given' |
### Instruction:
What is the value in 2008-09 for the Autumn Gold event?
### Response:
| SELECT 2008 AS _09 FROM table_name_9 WHERE event = "autumn gold" |
### Instruction:
What is the attendance date of the game home team Shrewsbury Town played?
### Response:
| SELECT "Attendance" FROM table_43508 WHERE "Home team" = 'shrewsbury town' |
### Instruction:
What fuel system was used in 1960-62?
### Response:
| SELECT "Fuel system" FROM table_44105 WHERE "Years" = '1960-62' |
### Instruction:
What family was featured in episode us14 of the series?
### Response:
| SELECT family_families FROM table_19897294_11 WHERE no_in_series = "US14" |
### Instruction:
What is the para with a 0.1% sipaliwini?
### Response:
| SELECT "Para" FROM table_46071 WHERE "Sipaliwini" = '0.1%' |
### Instruction:
What group a winner was for nocerina?
### Response:
| SELECT group_a_winner FROM table_1137142_1 WHERE group_d_winner = "Nocerina" |
### Instruction:
WHAT IS THE DEATH WHEN BIRTH DATE IS 2 AUGUST 1424?
### Response:
| SELECT death FROM table_name_96 WHERE birth = "2 august 1424" |
### Instruction:
Which Opponent has a Score of 92 93?
### Response:
| SELECT "Opponent" FROM table_12534 WHERE "Score" = '92–93' |
### Instruction:
Name the matches for mark taylor category:articles with hcards
### Response:
| SELECT MAX("Matches") FROM table_24407 WHERE "Name" = 'Mark Taylor Category:Articles with hCards' |
### Instruction:
What was the first race in Launceston, Tasmania?
### Response:
| SELECT MIN("Race") FROM table_70336 WHERE "Location / State" = 'launceston, tasmania' |
### Instruction:
What is the attendance rate for the Middlesbrough opponent?
### Response:
| SELECT "Attendance" FROM table_74553 WHERE "Opponent" = 'middlesbrough' |
### Instruction:
what is the discharge location of subject id 76508?
### Response:
| SELECT demographic.discharge_location FROM demographic WHERE demographic.subject_id = "76508" |
### Instruction:
What is the Finish when the start shows 3 in the year of 2010?
### Response:
| SELECT finish FROM table_name_74 WHERE start = "3" AND year = 2010 |
### Instruction:
What was the word on episode number 673?
### Response:
| SELECT "The W\u00f8rd" FROM table_27997 WHERE "Episode #" = '673' |
### Instruction:
What city is the bucharest tower center (btc) located in?
### Response:
| SELECT "City" FROM table_35775 WHERE "Building" = 'bucharest tower center (btc)' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.