CREATE TABLE "list_of_elected_m_ps" (
  "constituency" text,
  "winner" text,
  "party" text,
  "margin" real,
  "runner_up_a" text,
  "party_a" text
);

Question: What is the margin when k. balathandayutham is the winner?
SQL: SELECT MAX("margin") FROM "list_of_elected_m_ps" WHERE "winner"='K. Balathandayutham';

Question: What is the margin when periyakulam is the constituency?
SQL: SELECT "margin" FROM "list_of_elected_m_ps" WHERE "constituency"='Periyakulam';