For example, the
select statement
for
rs_columns should look like the
following:
select * from rs_columns where prsid in
(select source_rsid from rs_routes
where
(through_rsid = 3 or through_rsid = 2)
and dest_rsid = 2)
and rowtype = 1
order by objid, colname