J.P. Morgan interview question

How would you implement SCD type1