Context: CREATE TABLE table_name_20 (district VARCHAR, name VARCHAR)
Question: What district has an assembly segment named mahidpur?
Answer: SELECT district FROM table_name_20 WHERE name = "mahidpur"