I need to build a query that (in principle) uses 2 tables:
TABLE 1:
Person_ID: String (for instance, ABC156)
TABLE 2:
First : String (1st volunteer in that batch, f.i. ABC100
Last: " (last volunteer in that batch, f.i. ABC120
Batch: Integer ('1')
and no relationship between T1 and T2.
Query: Person_ID / Batch (i.e., for every Person you get which batch they are into).
This can be done either with a SELECT CASE function in the query, or SQL, or any other way as fas as it works.
Can anyone help to find a quick and clear way to do this? Thanks
TABLE 1:
Person_ID: String (for instance, ABC156)
TABLE 2:
First : String (1st volunteer in that batch, f.i. ABC100
Last: " (last volunteer in that batch, f.i. ABC120
Batch: Integer ('1')
and no relationship between T1 and T2.
Query: Person_ID / Batch (i.e., for every Person you get which batch they are into).
This can be done either with a SELECT CASE function in the query, or SQL, or any other way as fas as it works.
Can anyone help to find a quick and clear way to do this? Thanks