human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Election, Leader, # of candidates, # of seats to be won, # of seats won, # of total votes, % of popular vote
###Question: Name the number of total votes for # of seats won being 30
gpt
SELECT # of total votes FROM table WHERE # of seats won = 30