Extract a table for every entry in a table