Table: state_leaders_860s_bc
Columns: state
type
name
title
royal_house

Question: What state had a title of duke for the royal house of ji?
SQL: SELECT "state" FROM state_leaders_860s_bc WHERE "title" = 'duke' AND "royal_house" = 'ji'

Question: What state had the name of wu for the royal house of ji?
SQL: SELECT "state" FROM state_leaders_860s_bc WHERE "royal_house" = 'ji' AND "name" = 'wu'

Question: What was the name listed for the royal house of jiang and a title of duke?
SQL: SELECT "name" FROM state_leaders_860s_bc WHERE "title" = 'duke' AND "royal_house" = 'jiang'

Question: What was the name when the state was wey?
SQL: SELECT "name" FROM state_leaders_860s_bc WHERE "state" = 'wey'

Question: What was the title for the state of qin?
SQL: SELECT "title" FROM state_leaders_860s_bc WHERE "state" = 'qin'

Question: What was the state that had the vassal name of li?
SQL: SELECT "state" FROM state_leaders_860s_bc WHERE "name" = 'li'