看在从句中作什么状语.时间状语用when,地点状语用where, 表示原因用why.
Do you still remember the day on which we first met?(on which=when)
This is the room in which we lived last year.(in which=where)
Do you know the reason for which he refused to go to Mary's birthday party. (for which=why)