human
Schema:
member (Member_ID, Name, Nationality, Role)
performance (Performance_ID, Date, Host, Location, Attendance)
member_attendance (Member_ID, Performance_ID, Num_of_Pieces)
Please answer with SQL.
assistant
Sure, I understand.
human
can you show me a list of locations?
assistant
SELECT Location FROM performance;
human
what is the average of attendance?
assistant
SELECT AVG ( Attendance ) FROM performance ;