text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_62 (type VARCHAR, position VARCHAR, location VARCHAR)
  ### Question:
  what is the type when the position is ambassador and the location is rabat?
  ### Answer:
  SELECT type FROM table_name_62 WHERE position = "ambassador" AND location = "rabat"