answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT college_junior_club_team FROM table_2679061_12 WHERE player = "Harold Duvall"
Which school did harold duvall attend?
CREATE TABLE table_2679061_12 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT MIN(erp_w) FROM table_name_54 WHERE facility_id = 67829
What is the lowest ERP W of the 67829 Facility ID?
CREATE TABLE table_name_54 (erp_w INTEGER, facility_id VARCHAR)
SELECT performer_3 FROM table_name_82 WHERE episode = 9
Episode of 9 in which performer 3 had?
CREATE TABLE table_name_82 (performer_3 VARCHAR, episode VARCHAR)
SELECT COUNT(population_2000_census) FROM table_14986292_1 WHERE administrative_division = "Mesquita"
Name the total number of population 2000 census for mesquita
CREATE TABLE table_14986292_1 (population_2000_census VARCHAR, administrative_division VARCHAR)
SELECT COUNT(clubs_remaining) FROM table_1281200_1 WHERE new_entries_this_round = "8"
When looking at new entries this round and seeing 8; what number in total is there for clubs remaining?
CREATE TABLE table_1281200_1 (clubs_remaining VARCHAR, new_entries_this_round VARCHAR)
SELECT week__number FROM table_27614707_1 WHERE result = "Bottom 3"
What week number was the result bottom 3?
CREATE TABLE table_27614707_1 (week__number VARCHAR, result VARCHAR)
SELECT incumbent FROM table_1342359_17 WHERE first_elected = 1927
Who won in 1927
CREATE TABLE table_1342359_17 (incumbent VARCHAR, first_elected VARCHAR)
SELECT odds_of_winning__1in_ FROM table_20195922_3 WHERE divisions = "6th"
How many odd of winning have 6th as the division?
CREATE TABLE table_20195922_3 (odds_of_winning__1in_ VARCHAR, divisions VARCHAR)
SELECT venue FROM table_name_68 WHERE date = "august 29, 1980"
Where was the location for the August 29, 1980 game?
CREATE TABLE table_name_68 (venue VARCHAR, date VARCHAR)
SELECT broadcast_date FROM table_2114308_1 WHERE viewers__in_millions_ = "6.9"
Name the broadcast date of 6.9 million viewers
CREATE TABLE table_2114308_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
SELECT city FROM table_name_39 WHERE region = "mideast" AND host = "temple university"
Which city in the mideast region is the hot of Temple University?
CREATE TABLE table_name_39 (city VARCHAR, region VARCHAR, host VARCHAR)
SELECT state_served FROM table_24415627_2 WHERE time_since_entry = "49years, 29days"
List the states that have entry times of 49years, 29days
CREATE TABLE table_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)
SELECT COUNT(chroma_format) FROM table_1376890_2 WHERE name = "High profile"
how many chroma format with name being high profile
CREATE TABLE table_1376890_2 (chroma_format VARCHAR, name VARCHAR)
SELECT SUM(lost) FROM table_name_42 WHERE name = "ev bruckberg" AND drawn > 1
How many losses did ev bruckberg have when the drawn was more than 1?
CREATE TABLE table_name_42 (lost INTEGER, name VARCHAR, drawn VARCHAR)
SELECT date FROM table_name_24 WHERE method = "technical knockout" AND opponent = "fatu tuimanono"
When did the technical knockout against Fatu Tuimanono happen?
CREATE TABLE table_name_24 (date VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT COUNT(grid) FROM table_name_53 WHERE time_retired = "+7.346"
What is the total grid of the team with a time/retired of +7.346?
CREATE TABLE table_name_53 (grid VARCHAR, time_retired VARCHAR)
SELECT label FROM table_name_16 WHERE year < 1979
What is the label of the Year before 1979?
CREATE TABLE table_name_16 (label VARCHAR, year INTEGER)
SELECT third_vice_president FROM table_name_16 WHERE second_vice_president = "baudelio palma"
What is Third Vice President, when Second Vice President is "Baudelio Palma"?
CREATE TABLE table_name_16 (third_vice_president VARCHAR, second_vice_president VARCHAR)
SELECT MIN(week) FROM table_name_46 WHERE record = "2–9"
What is the value of the lowest Week with a Record of 2–9?
CREATE TABLE table_name_46 (week INTEGER, record VARCHAR)
SELECT film FROM table_name_10 WHERE award = "troisième prix" AND year < 2010 AND director = "jan komasa"
Award of troisième prix, and a Year smaller than 2010, and a Director of jan komasa is what film?
CREATE TABLE table_name_10 (film VARCHAR, director VARCHAR, award VARCHAR, year VARCHAR)
SELECT original_air_dates FROM table_2322716_2 WHERE prod_code = 201
Name the original air date for prod code 201
CREATE TABLE table_2322716_2 (original_air_dates VARCHAR, prod_code VARCHAR)
SELECT away_captain FROM table_name_86 WHERE venue = "the oval"
Who was the Away Captain at The Oval?
CREATE TABLE table_name_86 (away_captain VARCHAR, venue VARCHAR)
SELECT school_club_team FROM table_10015132_16 WHERE years_in_toronto = "1995-96"
What clu was in toronto 1995-96
CREATE TABLE table_10015132_16 (school_club_team VARCHAR, years_in_toronto VARCHAR)
SELECT week__number FROM table_26250253_1 WHERE original_artist = "The Temptations"
The original artist The Temptations has what week #?
CREATE TABLE table_26250253_1 (week__number VARCHAR, original_artist VARCHAR)
SELECT AVG(matches) FROM table_name_5 WHERE goals < 41 AND team = "ca osasuna" AND average < 1.06
For players with fewer than 41 goals for CA Osasuna and averages under 1.06, what is the average number of matches?
CREATE TABLE table_name_5 (matches INTEGER, average VARCHAR, goals VARCHAR, team VARCHAR)
SELECT name FROM table_name_15 WHERE venue = "hong kong"
What is Name, when Venue is "Hong Kong"?
CREATE TABLE table_name_15 (name VARCHAR, venue VARCHAR)
SELECT no_9 FROM table_name_37 WHERE no_4 = "ava" AND no_6 = "addison"
Who was No. 9 when Ava was No. 4 and Addison was No. 6?
CREATE TABLE table_name_37 (no_9 VARCHAR, no_4 VARCHAR, no_6 VARCHAR)
SELECT cause_of_death FROM table_24143253_4 WHERE length_of_marriage = "28 years"
What was the cause of death in the marriage that lasted 28 years?
CREATE TABLE table_24143253_4 (cause_of_death VARCHAR, length_of_marriage VARCHAR)
SELECT AVG(pick) FROM table_name_22 WHERE school_club_team = "alabama" AND round < 9
What's the Pick average that has a School/Club Team of Alabama, with a Round that's smaller than 9?
CREATE TABLE table_name_22 (pick INTEGER, school_club_team VARCHAR, round VARCHAR)
SELECT COUNT(original_air_date) FROM table_24649082_1 WHERE written_by = "David H. Goodman & Andrew Kreisberg"
How many original air dates for the episode written by David H. Goodman & Andrew Kreisberg?
CREATE TABLE table_24649082_1 (original_air_date VARCHAR, written_by VARCHAR)
SELECT high_assists FROM table_name_7 WHERE game = 3
What was the highest assists for game 3?
CREATE TABLE table_name_7 (high_assists VARCHAR, game VARCHAR)
SELECT roomName FROM Rooms WHERE basePrice < 160 AND beds = 2 AND decor = 'modern'
Find the names of all modern rooms with a base price below $160 and two beds.
CREATE TABLE Rooms (roomName VARCHAR, decor VARCHAR, basePrice VARCHAR, beds VARCHAR)
SELECT to_par FROM table_name_18 WHERE place = "t8" AND player = "johnny miller"
What is the to par of player johnny miller, who has a t8 place?
CREATE TABLE table_name_18 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT DISTINCT gtype FROM Video_games
Show all video game types.
CREATE TABLE Video_games (gtype VARCHAR)
SELECT score FROM table_name_90 WHERE round = "rd 26, 2001"
What was the score of the game that had a round of Rd 26, 2001?
CREATE TABLE table_name_90 (score VARCHAR, round VARCHAR)
SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = "Badlands" AND T1.StagePosition = "back"
Who is performing in the back stage position for the song "Badlands"? Show the first name and the last name.
CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR, StagePosition VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)
SELECT name FROM table_name_36 WHERE rank > 7 AND goals < 305 AND matches = "418"
Who had a rank larger than 7, less than 305 goals, and 418 matches?
CREATE TABLE table_name_36 (name VARCHAR, matches VARCHAR, rank VARCHAR, goals VARCHAR)
SELECT city_of_license__market FROM table_name_96 WHERE station = "kpix"
Which city contains the KPIX station?
CREATE TABLE table_name_96 (city_of_license__market VARCHAR, station VARCHAR)
SELECT opponent FROM table_name_82 WHERE game = 30
Who were the opponents during game 30?
CREATE TABLE table_name_82 (opponent VARCHAR, game VARCHAR)
SELECT COUNT(pick) FROM table_name_95 WHERE college = "letran"
How many picks went to College of Letran?
CREATE TABLE table_name_95 (pick VARCHAR, college VARCHAR)
SELECT COUNT(position) FROM table_24330803_1 WHERE points = "30"
How many positions were given when 30 points were won?
CREATE TABLE table_24330803_1 (position VARCHAR, points VARCHAR)
SELECT MIN(round) FROM table_22379931_2 WHERE fastest_lap = "Takashi Kogure"
What was the earlier round where Takashi Kogure got the fastest lap?
CREATE TABLE table_22379931_2 (round INTEGER, fastest_lap VARCHAR)
SELECT player FROM table_name_57 WHERE position = "cornerback"
What player is a cornerback?
CREATE TABLE table_name_57 (player VARCHAR, position VARCHAR)
SELECT date FROM table_name_97 WHERE visitor = "toronto"
what day did the team go to toronto
CREATE TABLE table_name_97 (date VARCHAR, visitor VARCHAR)
SELECT league FROM table_name_88 WHERE league_position = "8/13"
What league has a position of 8/13?
CREATE TABLE table_name_88 (league VARCHAR, league_position VARCHAR)
SELECT record FROM table_name_53 WHERE result = "loss" AND opponent = "@ la clippers"
Which Record has a Result of loss, and an Opponent of @ la clippers?
CREATE TABLE table_name_53 (record VARCHAR, result VARCHAR, opponent VARCHAR)
SELECT MAX(round) FROM table_name_25 WHERE college = "arizona" AND overall > 120
Which Round is the highest one that has a College of arizona, and an Overall larger than 120?
CREATE TABLE table_name_25 (round INTEGER, college VARCHAR, overall VARCHAR)
SELECT MIN(population__2002_) FROM table_2562572_5 WHERE population__2011_ = 9564
Name the least population for 2002 for 2011 being 9564
CREATE TABLE table_2562572_5 (population__2002_ INTEGER, population__2011_ VARCHAR)
SELECT document_name, document_date FROM Documents AS T1 JOIN projects AS T2 ON T1.project_id = T2.project_id WHERE T2.project_details = 'Graph Database project'
Show the document name and the document date for all documents on project with details 'Graph Database project'.
CREATE TABLE Documents (project_id VARCHAR); CREATE TABLE projects (project_id VARCHAR, project_details VARCHAR)
SELECT team FROM table_26124171_1 WHERE series = "Championnat de France Formula Renault 2.0"
How many teams were in the series championnat de france formula renault 2.0?
CREATE TABLE table_26124171_1 (team VARCHAR, series VARCHAR)
SELECT tournament FROM table_name_78 WHERE date = "september 25, 2006"
Which tournament happened on september 25, 2006?
CREATE TABLE table_name_78 (tournament VARCHAR, date VARCHAR)
SELECT elected FROM table_name_31 WHERE party = "republican" AND incumbent = "dave reichert"
What was the year Elected of Republican Incumbent Dave Reichert?
CREATE TABLE table_name_31 (elected VARCHAR, party VARCHAR, incumbent VARCHAR)
SELECT chassis FROM table_1771753_3 WHERE average_speed__mph_ = "169.182"
When 169.182 is the average speed miles per hour what is the chassis?
CREATE TABLE table_1771753_3 (chassis VARCHAR, average_speed__mph_ VARCHAR)
SELECT COUNT(against) FROM table_name_66 WHERE losses < 52 AND matches > 4 AND draw < 2
What is the total number of Against, when Losses is less than 52, when Matches is greater than 4, and when Draw is less than 2?
CREATE TABLE table_name_66 (against VARCHAR, draw VARCHAR, losses VARCHAR, matches VARCHAR)
SELECT lost FROM table_name_35 WHERE tries_against = "30"
What team lost with 30 tries against?
CREATE TABLE table_name_35 (lost VARCHAR, tries_against VARCHAR)
SELECT year FROM table_name_93 WHERE league = "malaysia premier league" AND league_position = "8/12"
What year did the malaysia premier league get a position of 8/12?
CREATE TABLE table_name_93 (year VARCHAR, league VARCHAR, league_position VARCHAR)
SELECT vmax FROM table_name_78 WHERE type = "p4-1 (24/36 ps)"
What was the maximum speed for the P4-1 (24/36 ps)?
CREATE TABLE table_name_78 (vmax VARCHAR, type VARCHAR)
SELECT grand_prix FROM table_name_50 WHERE fastest_lap = "gerhard berger" AND pole_position = "michael schumacher"
What is the grand prix with Gerhard Berger as the fastest lap and Michael Schumacher as the pole position?
CREATE TABLE table_name_50 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT COUNT(2006) FROM table_name_47 WHERE country = "argentina" AND 2007 < 0 OFFSET 15
What is the 2006 figure for Argentina when 2007 is less than 0,15?
CREATE TABLE table_name_47 (country VARCHAR)
SELECT MIN(laps) FROM table_name_36 WHERE driver = "mike spence" AND grid < 8
What is the lowest Laps for mike spence, with a Grid smaller than 8?
CREATE TABLE table_name_36 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MIN(founded) FROM table_10577579_2 WHERE location = "Nashville, Tennessee"
That is the year founded for the institution location of Nashville, Tennessee?
CREATE TABLE table_10577579_2 (founded INTEGER, location VARCHAR)
SELECT player FROM table_18042409_1 WHERE national_lacrosse_league = "Toronto Rock"
List all of the NLL Toronto Rock players.
CREATE TABLE table_18042409_1 (player VARCHAR, national_lacrosse_league VARCHAR)
SELECT MAX(week) FROM table_name_17 WHERE result = "l 17-31"
What week has a result of L 17-31 first?
CREATE TABLE table_name_17 (week INTEGER, result VARCHAR)
SELECT introductory_phrase FROM table_14835674_1 WHERE original_airdate = "January 21"
What was the inroductory phase for the episode that originally aired january 21?
CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, original_airdate VARCHAR)
SELECT eliminated FROM table_name_28 WHERE entered < 4 AND wrestler = "shawn michaels"
What is the Eliminated when there are less than 4 entered and the wrestler was shawn michaels?
CREATE TABLE table_name_28 (eliminated VARCHAR, entered VARCHAR, wrestler VARCHAR)
SELECT model FROM table_name_60 WHERE torque = "n·m (lb·ft)@1500-2500"
What model is the n·m (lb·ft)@1500-2500 torque?
CREATE TABLE table_name_60 (model VARCHAR, torque VARCHAR)
SELECT class FROM table_name_47 WHERE points > 2 AND year < 1973 AND wins > 0
Which class corresponds to more than 2 points, wins greater than 0, and a year earlier than 1973?
CREATE TABLE table_name_47 (class VARCHAR, wins VARCHAR, points VARCHAR, year VARCHAR)
SELECT AVG(week) FROM table_name_20 WHERE result = "w 20-13"
Which Week has a Result of w 20-13?
CREATE TABLE table_name_20 (week INTEGER, result VARCHAR)
SELECT COUNT(*) FROM party
How many parties are there?
CREATE TABLE party (Id VARCHAR)
SELECT T2.date_of_enrolment FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "Spanish"
What is the date of enrollment of the course named "Spanish"?
CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, course_id VARCHAR); CREATE TABLE Courses (course_id VARCHAR, course_name VARCHAR)
SELECT home_team FROM table_name_50 WHERE venue = "emcg"
What is the name of the home team that has a venue called EMCG?
CREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)
SELECT film FROM table_name_49 WHERE president = "richard nixon" AND year > 1996
What was the film of Richard Nixon as President in a year newer than 1996?
CREATE TABLE table_name_49 (film VARCHAR, president VARCHAR, year VARCHAR)
SELECT school_club_team FROM table_name_66 WHERE pick > 229 AND round < 12 AND position = "defensive back"
Pick larger than 229, and a Round smaller than 12, and a Position of defensive back is what school/club team?
CREATE TABLE table_name_66 (school_club_team VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)
SELECT COUNT(touchdowns) FROM table_25647137_2 WHERE player = "Bill Culligan"
How many touchdowns did bill culligan have?
CREATE TABLE table_25647137_2 (touchdowns VARCHAR, player VARCHAR)
SELECT catalog FROM table_name_2 WHERE date = "26 march 1996"
Name the catalog for 26 march 1996
CREATE TABLE table_name_2 (catalog VARCHAR, date VARCHAR)
SELECT original_air_date__uk_ FROM table_2570269_2 WHERE episode__number = "2-01"
If the episode number is 2-01 what is the original UK air date?
CREATE TABLE table_2570269_2 (original_air_date__uk_ VARCHAR, episode__number VARCHAR)
SELECT COUNT(*) FROM film WHERE title LIKE "%Dummy%"
How many films have the word 'Dummy' in their titles?
CREATE TABLE film (title VARCHAR)
SELECT period FROM table_26041144_16 WHERE player = "Hashan Tillakaratne"
what is the period if the player is Hashan Tillakaratne?
CREATE TABLE table_26041144_16 (period VARCHAR, player VARCHAR)
SELECT away_team FROM table_name_26 WHERE venue = "princes park"
Who was the away team at Princes Park?
CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_56 WHERE venue = "windy hill"
What was the highest crowd at Windy Hill?
CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)
SELECT date FROM table_name_27 WHERE home_team = "hartlepool united"
What was the date of the game for the HartlePool United team?
CREATE TABLE table_name_27 (date VARCHAR, home_team VARCHAR)
SELECT bask FROM table_name_69 WHERE indoor_track = "yes" AND school = "valparaiso"
What is the basketball status for Valparaiso who has an indoor track status of yes?
CREATE TABLE table_name_69 (bask VARCHAR, indoor_track VARCHAR, school VARCHAR)
SELECT prohibition_ticket FROM table_name_91 WHERE office = "lieutenant governor"
What kind of Prohibition ticket that has a Office of lieutenant governor?
CREATE TABLE table_name_91 (prohibition_ticket VARCHAR, office VARCHAR)
SELECT recopa_sudamericana_1998 FROM table_14962316_9 WHERE team = "Flamengo"
Did Flamengo play in the Recopa Sudamericana in 1998
CREATE TABLE table_14962316_9 (recopa_sudamericana_1998 VARCHAR, team VARCHAR)
SELECT episode_title FROM table_2655016_4 WHERE nick_prod__number = 342
What's the name of the episode associated with Nick production number 342?
CREATE TABLE table_2655016_4 (episode_title VARCHAR, nick_prod__number VARCHAR)
SELECT COUNT(directed_by) FROM table_1854728_2 WHERE production_code = "1008/1009"
When 1008/1009 is the production code how many directors are there?
CREATE TABLE table_1854728_2 (directed_by VARCHAR, production_code VARCHAR)
SELECT status FROM table_name_18 WHERE total_votes = "0" AND couples_team = "purple team"
Who had 0 total votes in the purple team?
CREATE TABLE table_name_18 (status VARCHAR, total_votes VARCHAR, couples_team VARCHAR)
SELECT callback_audition_date FROM table_27455867_1 WHERE episode_air_date = "February 2, 2011"
When was the callback audition date for the audition city from the episode aired on February 2, 2011?
CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR)
SELECT COUNT(gold) FROM table_name_42 WHERE rank = 2 AND total > 21
What's the gold medal count ranked 2 with a total of more than 21?
CREATE TABLE table_name_42 (gold VARCHAR, rank VARCHAR, total VARCHAR)
SELECT AVG(federal_excise_tax___cad) AS ¢___l__ FROM table_name_85 WHERE total_excise_tax__cad¢_l_ > 33.2 AND government = "vancouver, bc" AND minimum_tax_incl_sales_taxes__cad¢_l_ < 41.01
What's the fed tax that has a total tax greater than 33.2, a minimum sales tax less than 41.01 and in Vancouver, BC?
CREATE TABLE table_name_85 (federal_excise_tax___cad INTEGER, minimum_tax_incl_sales_taxes__cad¢_l_ VARCHAR, total_excise_tax__cad¢_l_ VARCHAR, government VARCHAR)
SELECT away_team AS score FROM table_name_28 WHERE venue = "princes park"
What was the away score at the Princes Park game?
CREATE TABLE table_name_28 (away_team VARCHAR, venue VARCHAR)
SELECT surface FROM table_name_84 WHERE partner = "marty riessen"
Marty Riessen played as a partner during a match with what kind of surface?
CREATE TABLE table_name_84 (surface VARCHAR, partner VARCHAR)
SELECT warship FROM table_23614702_1 WHERE horse__power = 1500
What warship has horse-power of 1500?
CREATE TABLE table_23614702_1 (warship VARCHAR, horse__power VARCHAR)
SELECT series FROM table_name_96 WHERE title = "elmer's pet rabbit"
Name the Series with a Title of elmer's pet rabbit?
CREATE TABLE table_name_96 (series VARCHAR, title VARCHAR)
SELECT date FROM table_name_6 WHERE venue = "away" AND win_draw_lose = "lost" AND team = "accrington"
What was the date of the away game that they lost to Accrington?
CREATE TABLE table_name_6 (date VARCHAR, team VARCHAR, venue VARCHAR, win_draw_lose VARCHAR)
SELECT competition FROM table_name_84 WHERE venue = "shay stadium"
What competition was played at Shay Stadium?
CREATE TABLE table_name_84 (competition VARCHAR, venue VARCHAR)
SELECT district FROM table_name_86 WHERE counties_represented = "baltimore county" AND committee = "health and government operations" AND first_elected < 2002
What district has counties represented by Baltimore county, a committee of health and government operations, and a first elected smaller than 2002?
CREATE TABLE table_name_86 (district VARCHAR, first_elected VARCHAR, counties_represented VARCHAR, committee VARCHAR)
SELECT title FROM table_2791668_1 WHERE directed_by = "Michael Pressman" AND no_in_season < 10.0
what is the name of the episode whose director is Michael Pressman and the number of that episode in that season is less than 10.0?
CREATE TABLE table_2791668_1 (title VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
SELECT second FROM table_25563779_4 WHERE national_trophy_rookie = "Gerrard Barrabeig"
If the national trophy/rookie is Gerrard Barrabeig, what is the name of the second?
CREATE TABLE table_25563779_4 (second VARCHAR, national_trophy_rookie VARCHAR)
SELECT T2.Name, T3.Location FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID ORDER BY T2.Name
Show the names of members and the location of performances they attended in ascending alphabetical order of their names.
CREATE TABLE performance (Location VARCHAR, Performance_ID VARCHAR); CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance_ID VARCHAR)