Table: oklahoma_legislators
Columns: district
name
party
hometown
first_elected
towns_represented

Question: Which district had first elected earlier than 2006 for representation of Broken Arrow, Tulsa?
SQL: SELECT "district" FROM oklahoma_legislators WHERE "first_elected" < 2006 AND "towns_represented" = 'broken arrow, tulsa'

Question: How many values of first elected are for district 16?
SQL: SELECT COUNT("first_elected") FROM oklahoma_legislators WHERE "district" = '16'

Question: Which towns are represented in district 31?
SQL: SELECT "towns_represented" FROM oklahoma_legislators WHERE "district" = '31'