How do I do a generic join on splayed and mapped tables? In SQL, we can do something like:
select from T1,T2 where T1.c1=T2.c2
The tables are not keyed. An alternative is to create linked columns but it is messy and requires updating. I want to be able to join against any columns. These are fairly large tables. Designating a primary key is not possible as there are potentially repeating entries. I want to be able to get everything in T1 and everything in T2 (and also be able to get first/last entries optionally) joined across that column.