instruction
stringlengths
37
754
output
stringlengths
9
3.43k
### Instruction: What is the name of the role that has a Title of Olvidarte Jamas? ### Response:
SELECT role FROM table_name_41 WHERE title = "olvidarte jamas"
### Instruction: Who is the champion of the title previously held by Lash? ### Response:
SELECT champion_s_ FROM table_name_4 WHERE previous_champion_s_ = "lash"
### Instruction: Whose attendance was the highest when the team played Arsenal? ### Response:
SELECT MAX(attendance) FROM table_name_95 WHERE opponent = "arsenal"
### Instruction: What's the classification of the institution nicknamed Dolphins? ### Response:
SELECT "Classification" FROM table_587 WHERE "Nickname" = 'Dolphins'
### Instruction: Name the stage for 08:46 ### Response:
SELECT "Stage" FROM table_69051 WHERE "Time (EEST)" = '08:46'
### Instruction: Who won the race on June 26? ### Response:
SELECT "Race Winner" FROM table_30831 WHERE "Date" = 'June 26'
### Instruction: What position did Nell McAndrew finish? ### Response:
SELECT "Finished" FROM table_19287 WHERE "Celebrity" = 'Nell McAndrew'
### Instruction: What are the top 3 countries which have the most nuclear power plants? ### Response:
SELECT country FROM nuclear_power_plants GROUP BY country ORDER BY SUM(name) DESC LIMIT 3
### Instruction: When was the institution in boise, idaho founded? ### Response:
SELECT "Founded" FROM table_30006 WHERE "Location" = 'Boise, Idaho'
### Instruction: What is the Away team of Tie no 1? ### Response:
SELECT "Away team" FROM table_59122 WHERE "Tie no" = '1'
### Instruction: What was the venue when the result was 3-2? ### Response:
SELECT "Venue" FROM table_9171 WHERE "Result" = '3-2'
### Instruction: Which title had Muriel Evans as leading lady? ### Response:
SELECT "Title" FROM table_70877 WHERE "Leading lady" = 'muriel evans'
### Instruction: What is the title of the representative appointed by James K. Polk? ### Response:
SELECT title FROM table_name_52 WHERE appointed_by = "james k. polk"
### Instruction: Which Byes has a Losses smaller than 1? ### Response:
SELECT MAX("Byes") FROM table_41869 WHERE "Losses" < '1'
### Instruction: In 2010-11, what was the League name? ### Response:
SELECT league FROM table_name_18 WHERE year = "2010-11"
### Instruction: if Against is 20 how much is Won? ### Response:
SELECT "Won" FROM table_20033 WHERE "Against" = '20'
### Instruction: Which sign had a yellow background and a triangular shape? ### Response:
SELECT border FROM table_name_86 WHERE background_colour = "yellow" AND shape = "triangular"
### Instruction: Bar chart of total number of height from each sex, rank by the y axis in asc. ### Response:
SELECT Sex, SUM(Height) FROM people GROUP BY Sex ORDER BY SUM(Height)
### Instruction: What is Record, when H/A/N is n? ### Response:
SELECT "Record" FROM table_45435 WHERE "H/A/N" = 'n'
### Instruction: Who was the opponent when Richmond played as the home team? ### Response:
SELECT "Away team" FROM table_32952 WHERE "Home team" = 'richmond'
### Instruction: Count of Post History entries in 2015. ### Response:
SELECT COUNT(Id) FROM PostHistory WHERE CreationDate >= '2015-01-01'
### Instruction: WHAT IS THE ROUND WITH PICK OF 7? ### Response:
SELECT SUM("Round") FROM table_44218 WHERE "Pick" = '7'
### Instruction: What was the score of the other team that played Geelong? ### Response:
SELECT away_team AS score FROM table_name_89 WHERE home_team = "geelong"
### Instruction: What is the building for the r90 pennant? ### Response:
SELECT "Builder" FROM table_57762 WHERE "Pennant" = 'r90'
### Instruction: For the Avg/G of 5.9, what was the long? ### Response:
SELECT long FROM table_name_56 WHERE avg_g = "5.9"
### Instruction: What division is Sai Kung in? ### Response:
SELECT "League/Division" FROM table_63933 WHERE "Club" = 'sai kung'
### Instruction: What is the result for district pennsylvania 6? ### Response:
SELECT result FROM table_2668199_2 WHERE district = "Pennsylvania 6"
### Instruction: What is the Total of Set 2 of 21:12? ### Response:
SELECT total FROM table_name_58 WHERE set_2 = "21:12"
### Instruction: For which constructor does Juan Manuel Fangio drive? ### Response:
SELECT "Constructor" FROM table_53133 WHERE "Driver" = 'juan manuel fangio'
### Instruction: Who was the away team at Lake Oval? ### Response:
SELECT "Away team" FROM table_32455 WHERE "Venue" = 'lake oval'
### Instruction: How many seasons did coach steve fisher have? ### Response:
SELECT COUNT("Season") FROM table_33480 WHERE "Coach" = 'steve fisher'
### Instruction: Who directed the episode with the production code 10? ### Response:
SELECT directed_by FROM table_25679312_2 WHERE prod_code = 10
### Instruction: What is the smallest round with a time of 1:12? ### Response:
SELECT MIN(round) FROM table_name_96 WHERE time = "1:12"
### Instruction: In what Year is the length of the Song 7:42? ### Response:
SELECT AVG(year) FROM table_name_40 WHERE length = "7:42"
### Instruction: What's the report for the mexican grand prix? ### Response:
SELECT "Report" FROM table_52606 WHERE "Race" = 'mexican grand prix'
### Instruction: What is the total number of poles for arden international? ### Response:
SELECT COUNT("Poles") FROM table_16112 WHERE "Team" = 'Arden International'
### Instruction: Who won gold in the games where Pan Cheng-Tsung won silver? ### Response:
SELECT gold FROM table_name_76 WHERE silver = "pan cheng-tsung"
### Instruction: what is maximum days of hospital stay of patients whose gender is m? ### Response:
SELECT MAX(demographic.days_stay) FROM demographic WHERE demographic.gender = "M"
### Instruction: What is Fuzzy Zoeller's To par? ### Response:
SELECT "To par" FROM table_60303 WHERE "Player" = 'fuzzy zoeller'
### Instruction: Name the tournament for 2012 grand slam tournaments ### Response:
SELECT tournament FROM table_name_32 WHERE 2012 = "grand slam tournaments"
### Instruction: What was the score of the game with a record of 81-60? ### Response:
SELECT score FROM table_name_71 WHERE record = "81-60"
### Instruction: When has a Status of five nations, and a Against of 7? ### Response:
SELECT date FROM table_name_71 WHERE status = "five nations" AND against = 7
### Instruction: When was Jonny Leadbeater President? ### Response:
SELECT season FROM table_16446652_1 WHERE president = "Jonny Leadbeater"
### Instruction: What is the home team's score at kardinia park? ### Response:
SELECT home_team AS score FROM table_name_85 WHERE venue = "kardinia park"
### Instruction: How many points were made when the tries for was 83? ### Response:
SELECT "Points" FROM table_19101 WHERE "Tries for" = '83'
### Instruction: What was the location and attendance for game 41? ### Response:
SELECT "Location/Attendance" FROM table_29619 WHERE "Game" = '41'
### Instruction: Which Date has a Time of 12:00? ### Response:
SELECT "Date" FROM table_46026 WHERE "Time" = '12:00'
### Instruction: Which Constructor won the Roussillon Grand Prix? ### Response:
SELECT "Winning constructor" FROM table_32876 WHERE "Name" = 'roussillon grand prix'
### Instruction: What regular season did the team reach the conference semifinals in the playoffs? ### Response:
SELECT regular_season FROM table_name_78 WHERE playoffs = "conference semifinals"
### Instruction: What team played against Al-Ismaily (team 1)? ### Response:
SELECT team_2 FROM table_name_79 WHERE team_1 = "al-ismaily"
### Instruction: What was the position in 2010 with team notes? ### Response:
SELECT position FROM table_name_90 WHERE year = 2010 AND notes = "team"
### Instruction: What date had a catalog of kicp-1321? ### Response:
SELECT date FROM table_name_61 WHERE catalog = "kicp-1321"
### Instruction: Which Entrant of stp march engineering scored the lowest points? ### Response:
SELECT MIN(points) FROM table_name_78 WHERE entrant = "stp march engineering"
### Instruction: Show the account id and the number of transactions for each accoun. Show scatter chart. ### Response:
SELECT account_id, COUNT(*) FROM Financial_Transactions GROUP BY account_id
### Instruction: What are the names of customers who do not have saving accounts? ### Response:
SELECT cust_name FROM customer EXCEPT SELECT cust_name FROM customer WHERE acc_type = 'saving'
### Instruction: How many rounds were there a height of 6'5? ### Response:
SELECT "Round" FROM table_23962 WHERE "Height" = '6''5'
### Instruction: What is the area in square kilometers of Studholm? ### Response:
SELECT COUNT(area_km_2) FROM table_name_87 WHERE official_name = "studholm"
### Instruction: Give me a bar chart for the number of date moved in of each date moved in ### Response:
SELECT date_moved_in, COUNT(date_moved_in) FROM Residents
### Instruction: What venue was the match against the guest team, FK ibar, played at? ### Response:
SELECT venue FROM table_name_65 WHERE guest = "fk ibar"
### Instruction: What is the lowest overall number of hurricanes? ### Response:
SELECT MIN(number_of_hurricanes) FROM table_2930244_3
### Instruction: What is the power for the Spirit R (Type B)? ### Response:
SELECT "Power" FROM table_27286 WHERE "Model" = 'Spirit R (Type B)'
### Instruction: What is the score on 22 September 1972? ### Response:
SELECT score FROM table_name_24 WHERE date = "22 september 1972"
### Instruction: What is the home team score at windy hill? ### Response:
SELECT "Home team score" FROM table_56251 WHERE "Venue" = 'windy hill'
### Instruction: What is the distance of the Mooresbridge Stakes race? ### Response:
SELECT "Distance" FROM table_3145 WHERE "Race" = 'Mooresbridge Stakes'
### Instruction: What is the position of the player from Glades Day School? ### Response:
SELECT "Position" FROM table_53382 WHERE "School" = 'glades day school'
### Instruction: Tell me the discovery/publication for still living ### Response:
SELECT discovery___publication_of_name FROM table_name_55 WHERE fossil_record = "still living"
### Instruction: How many games were played against when the team played more than 22 total? ### Response:
SELECT SUM(against) FROM table_name_97 WHERE played > 22
### Instruction: How long did Witold Latoszek character lasted? ### Response:
SELECT "Duration" FROM table_64452 WHERE "Character" = 'witold latoszek'
### Instruction: What was the score of the game at RIch Stadium? ### Response:
SELECT "Result" FROM table_33208 WHERE "Stadium" = 'rich stadium'
### Instruction: How big was the crowd when the away team was Richmond? ### Response:
SELECT "Crowd" FROM table_74638 WHERE "Away team" = 'richmond'
### Instruction: What is the most recent episode number written by Matthew Pitts? ### Response:
SELECT MAX("#") FROM table_27042 WHERE "Written by" = 'Matthew Pitts'
### Instruction: Name the pronunciation for meaning b of border, frontier ### Response:
SELECT pronunciation_b FROM table_name_64 WHERE meaning_b = "border, frontier"
### Instruction: Name the hometown for barahona ### Response:
SELECT "Hometown" FROM table_24298 WHERE "Province, Community" = 'Barahona'
### Instruction: What was the score on 15 march 2006? ### Response:
SELECT score FROM table_name_85 WHERE date = "15 march 2006"
### Instruction: What are the total points of gymnasts, ordered by their floor exercise points descending? ### Response:
SELECT total_points FROM gymnast ORDER BY floor_exercise_points DESC
### Instruction: Who was the team played on January 23? ### Response:
SELECT team FROM table_17311759_6 WHERE date = "January 23"
### Instruction: What is the female rank in Karnataka? ### Response:
SELECT females_rank FROM table_14785903_1 WHERE states = "Karnataka"
### Instruction: What episode number was written by Karin Gist? ### Response:
SELECT MAX("No.") FROM table_28174 WHERE "Written by" = 'Karin Gist'
### Instruction: How many episodes were directed by Sarah Pia Anderson? ### Response:
SELECT COUNT("Title") FROM table_25896 WHERE "Directed by" = 'Sarah Pia Anderson'
### Instruction: When 11 is the episode what is the air date? ### Response:
SELECT "First Air Date" FROM table_30900 WHERE "Episode" = '11'
### Instruction: What is the home location for team flora tallinn? ### Response:
SELECT ground FROM table_27409644_1 WHERE club = "Flora Tallinn"
### Instruction: Which is least lap is mika salo in? ### Response:
SELECT MIN("Laps") FROM table_11931 WHERE "Driver" = 'mika salo'
### Instruction: Visualize a scatter chart about the correlation between Body_Builder_ID and Clean_Jerk . ### Response:
SELECT Body_Builder_ID, Clean_Jerk FROM body_builder
### Instruction: What was the Attendance when Oxford United was the Home team? ### Response:
SELECT SUM(attendance) FROM table_name_58 WHERE home_team = "oxford united"
### Instruction: Tell me the player with overs of 87.4 ### Response:
SELECT "Player" FROM table_56738 WHERE "Overs" = '87.4'
### Instruction: what is the only conference school located in kentucky ? ### Response:
SELECT "institution" FROM table_203_135 WHERE "location" = 'kentucky'
### Instruction: When did the episode written by Jim Morris air? ### Response:
SELECT us_air_date FROM table_10470082_8 WHERE writer = "Jim Morris"
### Instruction: What is the to par that has macdonald smith as the player? ### Response:
SELECT to_par FROM table_name_41 WHERE player = "macdonald smith"
### Instruction: what is subject name of subject id 66411? ### Response:
SELECT demographic.name FROM demographic WHERE demographic.subject_id = "66411"
### Instruction: Which Drawn is the highest one that has a Played smaller than 18? ### Response:
SELECT MAX(drawn) FROM table_name_36 WHERE played < 18
### Instruction: What season had bachelor Byron Velvick? ### Response:
SELECT MIN(season) FROM table_name_19 WHERE bachelor = "byron velvick"
### Instruction: Which course had a mountain stage type on 3 June? ### Response:
SELECT course FROM table_name_76 WHERE type = "mountain stage" AND date = "3 june"
### Instruction: What is the lowest position for driver Kyle Busch? ### Response:
SELECT MIN("Pos.") FROM table_35211 WHERE "Driver" = 'kyle busch'
### Instruction: What is the highest number won with a difference of 1? ### Response:
SELECT MAX(won) FROM table_15331868_1 WHERE difference = "1"
### Instruction: Name the original title directed by luis bu uel ### Response:
SELECT "Original title" FROM table_71429 WHERE "Director" = 'luis buñuel'
### Instruction: previous to 2007 what tier was the team in ? ### Response:
SELECT "level" FROM table_204_42 WHERE "season" < 2007
### Instruction: What was the attendance when they had a ranking of #4? ### Response:
SELECT "Attendance" FROM table_61714 WHERE "Rank #" = '4'
### Instruction: what playoff result occurred the most ? ### Response:
SELECT "playoffs" FROM table_204_463 GROUP BY "playoffs" ORDER BY COUNT(*) DESC LIMIT 1
### Instruction: what's current club with height being 2.09 ### Response:
SELECT "Current Club" FROM table_17877 WHERE "Height" = '2.09'
### Instruction: who is the top team ? ### Response:
SELECT "team\n(equipo)" FROM table_203_171 WHERE "place\n(posicion)" = 1