CREATE TABLE table_name_50 (election NUMBER, province VARCHAR2, established VARCHAR2)

What is the average election result for the province of Grosseto from 1766 and prior?
SELECT AVG(election) FROM table_name_50 WHERE province = "grosseto" AND established < 1766
SELECT AVG("election") FROM "table_name_50" WHERE "established" < 1766 AND "grosseto" = "province"