1. 同位语从句中的where和that不能互换。
如果同位语从句为陈述句且不缺少任何成分,则用that来引导;
如果同位语从句含有疑问含义且缺少“是否”,则用whether来引导;
如:I know the truth that the earth moves around the sun.
I'd like to ask the question whether the earth moves around the sun.
2. 定语从句中的where和that的能否互换问题,要分两者情况来讨论;
1)如果定语从句缺少的是名词性成分,则只能用that,不能用where
如:This is the place that I visited last year.
that代替the place做visited的宾语,不能用where
2)如果定语从句缺少的是地点状语,则一般用where,但是在非正式场合如口语中时可以换用成that.
如:This is the place where I stayed last month.
定语从句I stayed last month中缺少地点状语in the place,所以最好用关系副词where,但是有时也可以用that来代替。
注:该用法比较少见,建议不要乱用,考试时还是以where为好。
参考资料:原创回答团(第159号团员)
来自:求助得到的回答