用 with which 还是用 from which 引导定语从句,应该看先行词或者定语从句中的某个词与 with 还是与 from 构成搭配。例如:
This is the camera with which he often takes photos. 这就是他经常用来拍照的相机。(这里的先行词 camera 与 with 构成搭配关系。如可以说:He often takes photos with the camera. 他经常用这台相机来拍照。)
This is the book from which I have learned a lot. 这就是我从中学到很多东西的那本书。(这里的搭配关系是:learn sth. from ...)