G
Guest
I have a table fields PlyrID and TransDate with accompanying currency fields.
I want to select the last 6 transactions recorded for each UserID from which
I will apply aggregate functions and analysis. If I could add a
chronological count of records for each user I could select records with
additonal qurey to select last 6 for each UserID but can it be done in one
SQL query?
I want to select the last 6 transactions recorded for each UserID from which
I will apply aggregate functions and analysis. If I could add a
chronological count of records for each user I could select records with
I number all records based on UserID Asce, TransDate Desc and then add a=MaxCount-5. How woudl I go about this. From other postings it looks like
additonal qurey to select last 6 for each UserID but can it be done in one
SQL query?