what is the type when the position is ambassador and the location is rabat?
CREATE TABLE "resident_heads_of_missions" (
  "mission" text,
  "location" text,
  "type" text,
  "head_of_mission" text,
  "position" text,
  "list" text
);
SELECT "type" FROM "resident_heads_of_missions" WHERE "position"='ambassador' AND "location"='rabat';