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 visit (visitor_id VARCHAR, Total_spent INTEGER)
TABLE: CREATE TABLE visitor (name VARCHAR, Level_of_membership VARCHAR, id VARCHAR)

### Question ###
What are the id, name and membership level of visitors who have spent the largest amount of money in total in all museum tickets?

### Accurate SQL ###

SELECT t2.visitor_id, t1.name, t1.Level_of_membership FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id GROUP BY t2.visitor_id ORDER BY SUM(t2.Total_spent) DESC LIMIT 1