Question: What state is Ding and has a royal house of Ji?
SQL: SELECT State FROM table WHERE Royal house = ji AND Name = ding