Hello Ross,
Can you give a plain language description of what you are trying to achieve? It might be easier to come up with something creative.
Here is an example with a Join and then sub-select.
Select * from STATES,STATECAP where STATES.State = STATECAP.State AND OBJ Within (Select OBJ From WORLD Where Country = "United States") into Selection
I think the above is close to what you are trying to achieve.
Another thought is you may need to do this as two SQL's. Run the join first and then apply the filter.
Here is a query where three tables are joined and then filtered.
Select * from US_CUSTG,STATES,STATECAP where STATES.STATE = STATECAP.STATE AND US_CUSTG.OBJ WITHIN STATES.OBJ AND US_CUSTG.ROWID = 1 into Selection
We have a few articles on using the sub-selecting technique which might be helpful: https://li360.pitneybowes.com/s/search/All/Home/sub-selecting
Hope this helps! Thanks for participating in this community!