CREATE TABLE "references" (
  "name" text,
  "took_office" text,
  "left_office" text,
  "president" text,
  "party" text
);

Question: What is Left Office, when Took Office is 2006?
SQL: SELECT "left_office" FROM "references" WHERE "took_office"='2006';

Question: What is Left Office, when Party is Vacant (1999-2001)?
SQL: SELECT "left_office" FROM "references" WHERE "party"='vacant (1999-2001)';

Question: What is Name, when President is Khamtai Siphandon, and when Left Office is 1999?
SQL: SELECT "name" FROM "references" WHERE "president"='khamtai siphandon' AND "left_office"='1999';

Question: What is Party, when Name is Oudom Khattigna?
SQL: SELECT "party" FROM "references" WHERE "name"='oudom khattigna';

Question: What is Party, when Took Office is 1998?
SQL: SELECT "party" FROM "references" WHERE "took_office"='1998';

Question: What is Left Office, when Took Office is 1998?
SQL: SELECT "left_office" FROM "references" WHERE "took_office"='1998';