Database: election
Question: Count the number of distinct delegates who are from counties with population above 50000.
SQL:
SELECT count(DISTINCT T2.Delegate) FROM county AS T1 JOIN election AS T2 ON T1.County_id  =  T2.District WHERE T1.Population  >  50000