Table: election_2004_kansas
Columns: county
bush
bush_2
kerry
kerry_2
others
others_2
total

Question: what is the minimum total with kerry % being 16.71%
SQL: SELECT MIN("total") FROM election_2004_kansas WHERE "kerry_2" = '16.71%'

Question: what is the minimum kerry # with bush % being 78.40%
SQL: SELECT MIN("kerry") FROM election_2004_kansas WHERE "bush_2" = '78.40%'

Question: what's the kerry # with county being ness county, kansas
SQL: SELECT "kerry" FROM election_2004_kansas WHERE "county" = 'Ness County, Kansas'

Question:  how many total with bush # being 1552
SQL: SELECT COUNT("total") FROM election_2004_kansas WHERE "bush" = 1552

Question: what is the minimum bush # with kerry # being 3938
SQL: SELECT MIN("bush") FROM election_2004_kansas WHERE "kerry" = 3938

Question:  how many total with county being rooks county, kansas
SQL: SELECT COUNT("total") FROM election_2004_kansas WHERE "county" = 'Rooks County, Kansas'