get_table function

Get the table of the flat table