I\'m running a query for calculating the total length of an object. The object is made out of several smaller segments(from a different table). Running queries with a single seg