get_metadata_table_groups function

Get all groups for a specific a table