user: Question: What district has an assembly segment named Mahidpur?
Columns: ['Constituency number', 'Name', 'Reserved for ( SC / ST /None)', 'District', 'Number of electorates (2009)']
Types: ['text', 'text', 'text', 'text', 'real']
Sample row: ['212', 'Nagada-Khachrod', 'None', 'Ujjain', 162552.0]
SQL:

assistant: SELECT "District" FROM "Table" WHERE "Name" = 'Mahidpur';