Creating transformations for internal tables