cleanair4me46
Technical User
I have a query in Oracle 9i where I sort by name:
It works great but I also need to sort the firstname which appears after a comma:
I would like for it to sort where the lastname is first sort and the first name would also be sorted:
Code:
select fullname from PersonTable
order by fullname
It works great but I also need to sort the firstname which appears after a comma:
Code:
Baker, Ben A
Collins Jennings, Jerry R
Crewson, Albert W
Davis, Sam S
Davis, Karen W
Miller-Smith, Jan
Miller, Andy
I would like for it to sort where the lastname is first sort and the first name would also be sorted:
Code:
Baker, Ben A
Collins Jennings, Jerry R
Crewson, Albert W
Davis, Karen W
Davis, Sam S
Miller, Andy
Miller-Smith, Jan