Tide interview question

Questions based on dbt & SCD type 2