Table: ujjain_loksabha
Columns: constituency_number
name
reserved_for_sc_st_none
district
number_of_electorates_2009

Question: What is the name for the assembly segment with a constituency number of 214?
SQL: SELECT "name" FROM ujjain_loksabha WHERE "constituency_number" = '214'

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