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_87 (state VARCHAR, royal_house VARCHAR, name VARCHAR)
### Question:
What state is Ding and has a royal house of Ji?
### Answer:
SELECT state FROM table_name_87 WHERE royal_house = "ji" AND name = "ding"