Table: domain_officials
Columns: name
tenure
courtesy_title
court_rank
revenues
lineage

Question: What are the revenues for ōoka tadayoshi (2nd) (大岡忠愛)?
SQL: SELECT "revenues" FROM domain_officials WHERE "name" = 'ōoka tadayoshi (2nd) (大岡忠愛)'

Question: What's the lineage of ōoka tadatomo (大岡忠與)?
SQL: SELECT "lineage" FROM domain_officials WHERE "name" = 'ōoka tadatomo (大岡忠與)'

Question: What's the tenure of 3rd son of tadatsune?
SQL: SELECT "tenure" FROM domain_officials WHERE "lineage" = '3rd son of tadatsune'

Question: What's the court ranking of 5th son of tadayori and has revenues of 10,000 koku?
SQL: SELECT "court_rank" FROM domain_officials WHERE "revenues" = '10,000 koku' AND "lineage" = '5th son of tadayori'

Question: What's the courtesy title of 4th son of hatamoto ōoka tadataka?
SQL: SELECT "courtesy_title" FROM domain_officials WHERE "lineage" = '4th son of hatamoto ōoka tadataka'