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