'distance from/between A and B'을 어떻게 말할 수 있나요?
예를 들면:
1) 태양에서 달까지 거리를 알고 싶다.
A-에서 B-까지
Here, the particle 에서 is an adverbial case particle that shows A is used as a beginning/starting point. And the particle '-까지' is an aux particle.
A-에서-부터 B-까지
Here, the aux particle 부터 is attached to the case particle '-에서'.
2) 달까지 태양으로부터의 거리를 알고 싶다.
(표현 '-(으)로부터의...'는 사전에서 봤는데 이상해 보여요.)
달까지 태양으로부터의 거리 (X)
Correction:
태양-에서(-부터) 달-까지-의 거리
Or
태양-으로-부터 달-까지-의 거리
Here, the adverbial case particle '-으로' is used instead of '-에서' in the same meaning with it.
And the adverbial phrase "태양으로부터 달까지" is used as a noun phrase with the genitive case partucle '-의'.
3) 태양과 달 사이-의/사이에(x) 거리를 알고 싶다.
You should note that the word 사이 is a noun, and the genitive case particle can be left out.
태양과 달 사이(-의) 거리, the distance between the sun and the moon.