Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE performance ( Performance_ID real, Date text, Host text, Location text, Attendance int )
TABLE: CREATE TABLE member ( Member_ID text, Name text, Nationality text, Role text )
TABLE: CREATE TABLE member_attendance ( Member_ID int, Performance_ID int, Num_of_Pieces int )

### Question ###
Show the names of members and the location of the performances they attended. Compute the total number of each location using a pie chart.

### Accurate SQL ###

SELECT Location, COUNT(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 GROUP BY Location