Table schema:
CREATE TABLE table_name_20 (district VARCHAR, name VARCHAR)

Question: What district has an assembly segment named mahidpur?
SQL: SELECT district FROM table_name_20 WHERE name = "mahidpur"