Table: turkish_referendum_2010
Columns: province
registered_voters
people_voted
valid_votes
invalid_votes
yes
yes_2
no
no_2
turnout

Question: When Denizli was the province, what was the total number of valid votes?
SQL: SELECT COUNT("valid_votes") FROM turkish_referendum_2010 WHERE "province" = 'Denizli'

Question: When 54.86% of people votes yes, howe many votes were invalid?
SQL: SELECT "invalid_votes" FROM turkish_referendum_2010 WHERE "yes_2" = '54.86'

Question: How many registered voters were there when 36.32% of people voted yes?
SQL: SELECT MIN("registered_voters") FROM turkish_referendum_2010 WHERE "yes_2" = '36.32'

Question: What province had a turnout of 54.09%?
SQL: SELECT "province" FROM turkish_referendum_2010 WHERE "turnout" = '54.09'

Question: How many people voted yes when the percentage of yeses was 95.17?
SQL: SELECT MAX("yes") FROM turkish_referendum_2010 WHERE "yes_2" = '95.17'

Question: What was the turnout percentage when the percentage of people that voted no was 36.51?
SQL: SELECT "turnout" FROM turkish_referendum_2010 WHERE "no_2" = '36.51'