I am trying to find a path between zones for delivery. I'm looking at taking 2 zones, and finding the trail of connected zones between them. I'm figuring:
Table: zones
id int
zone varchar(32)
Table: links
id int
zone_a int <- FK zones.id
zone_b int <- FK zones.id
Wondering if there's a JOIN I can do to get a 'trail' betwen the 2. Like if a->b & c, b->d & e, then doing a query(a,e) returns a,b,e.
My frontend is Access 2000, backend is PostgreSQL. I don't think this is a platform/software specific thing though, more of a principle. Any hints greatly appreciated!
----
JBR
Table: zones
id int
zone varchar(32)
Table: links
id int
zone_a int <- FK zones.id
zone_b int <- FK zones.id
Wondering if there's a JOIN I can do to get a 'trail' betwen the 2. Like if a->b & c, b->d & e, then doing a query(a,e) returns a,b,e.
My frontend is Access 2000, backend is PostgreSQL. I don't think this is a platform/software specific thing though, more of a principle. Any hints greatly appreciated!
----
JBR