given a table, the aim is to return the schema.