<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def table(self):
 """Build and cache a table from query results"""

        if self._table is None:
            self._table = list(self._iter_rows())

        return self._table