SMS: Balancing expressiveness and inexpressiveness in view design