unybrands interview question

How do you model business logic in the data warehouse?