Which Election has a Party of democratic party, and a Mayor of leonardo betti?
CREATE TABLE table_name_52 (election INTEGER, party VARCHAR, mayor VARCHAR)
SELECT MAX(election) FROM table_name_52 WHERE party = "democratic party" AND mayor = "leonardo betti"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (election INTEGER, party VARCHAR, mayor VARCHAR) Question: Which Election has a Party of democratic party, and a Mayor of leonardo betti? [/INST] SELECT MAX(election) FROM table_name_52 WHERE party = "democratic party" AND mayor = "leonardo betti" </s>