Using Functions in PeopleSoft Query