mapping db views