Return indexes used to sample table.