PS/Query allows you to build Ad hoc queries. You can create and run queries to retrieve data from the database on the spot, without writing SQL code. It makes it easy for our non-programming users to create the queries they need.
It has the capability of creating expressions with an expression editor, but no where in the documentation does it list any of the recognized functions. The ones I currently use have been developed by trial and error.