CREATE TABLE table_name_87 (state VARCHAR(255), royal_house VARCHAR(255), name VARCHAR(255))
What state is Ding and has a royal house of Ji?
    
SQL: SELECT state FROM table_name_87 WHERE royal_house = "ji" AND name = "ding"