schemas/util.sql: added trim(), which trims a table to include only original columns, as defined by a map table
schemas/util.sql: added trim(), which trims a table to include only original columns, as defined by a map table