code: def make_delete_table(table: Table, delete_prefix='delete_from__') -> Table:
      
  
      name = delete_prefix + table.name
      primary_key = table.primary_key
      key_names = set(primary_key.column_names)
      columns = [column for column in table.columns if column.name in key_names]
      table = Table(name, columns, primary_key)
  
      return table
docs: Table referencing a delete from using primary key join.