Let say I have route 1 from A -> B -> C, route 2 from C -> B -> D,
how can I write SQL for pgRouting which can let me have the result route 1 -> route 2 when I want to get the shortest path from A to D?
Or should I just use Neo4j or other server side solutions in this case?