Use FeatureJoiner rather than FeatureMerger where possible as FeatureJoiner has a higher performance, supports Bulk Mode etc.
Assuming what you mean is something like this:
SELECT *
FROM A INNER JOIN B ON (A.road_id = B.road_id)
WHERE A.tdist_start >= B.tdist_start AND A.tdist_end <= B.tdist_end
In FME the default equivalent of this is following steps:
- BulkAttributeRenamer to Table B. Add String Prefix “B_”
- FeatureJoiner A to B. road_id Join to B_road_id (FeatureJoiner is equivalent to SQL JOIN)
- Tester tdist_start>=B_tdist_start AND tdist_end <= B_tdist_end (Tester is equivalent to SQL WHERE)
Or….alternatively can use InlineQuerier , with 1 input to Port A and 1 input to Port B and use the plain SQL above to give the results. Works faster with large datasets, particularly where FeatureJoiner would give an exceedingly large number of results before the Tester.