[#2984] Add <R extends Record> Table<R> table(Result<R>) to allow to fetch from / join / etc in-memory tables