So you want to use XPath to get to the inner table. Then you should apply the same logic to get to the outer table.
If you reached the outer table this way:
/path-to-outer-table/table
Then, considering the provided HTML code, you reach the inner table this way:
/path-to-outer-table/table/tr/td/table