Table: state_leaders_300_bc
Columns: state
type
name
title
royal_house
from

Question: What is the title from 302 bc?
SQL: SELECT "title" FROM state_leaders_300_bc WHERE "from" = '302 bc'

Question: Which royal house has the name huai?
SQL: SELECT "royal_house" FROM state_leaders_300_bc WHERE "name" = 'huai'

Question: Who has the title of marquis?
SQL: SELECT "name" FROM state_leaders_300_bc WHERE "title" = 'marquis'

Question: Which royal house is in the state of chu?
SQL: SELECT "royal_house" FROM state_leaders_300_bc WHERE "state" = 'chu'

Question: Which state has a king named xiang?
SQL: SELECT "state" FROM state_leaders_300_bc WHERE "title" = 'king' AND "name" = 'xiang'