G
Guest
I have a table that contains quite a few field, the ones I am interested in
are as follows;
REL_ID Relationship ID (table
key)
RTY_CODE Text, the criteria needs to
be 'SCP' for this.
REL_SOURCE_PER_GRO_ID This is my client identifyer, there
can be
duplicates for this
field in the table
REL_START_DATE Date Field (need the max of this)
REL_TO_PER_GRO_ID This is who the relationship is
too...
The table stores relationships, I need the Most currently created (Max REL
START DATE) Per Client And i need to display the START DATE, CLIENT ID and
REL TO PER GRO ID.
I have tried searching these forums but I can seem to apply any of the help
found to me query. I have not used nested selects before so any help would
be great.
Many thanks,
Mark Stephenson
are as follows;
REL_ID Relationship ID (table
key)
RTY_CODE Text, the criteria needs to
be 'SCP' for this.
REL_SOURCE_PER_GRO_ID This is my client identifyer, there
can be
duplicates for this
field in the table
REL_START_DATE Date Field (need the max of this)
REL_TO_PER_GRO_ID This is who the relationship is
too...
The table stores relationships, I need the Most currently created (Max REL
START DATE) Per Client And i need to display the START DATE, CLIENT ID and
REL TO PER GRO ID.
I have tried searching these forums but I can seem to apply any of the help
found to me query. I have not used nested selects before so any help would
be great.
Many thanks,
Mark Stephenson