Hi,
sp_agent_summary is a stored procedure. All select statements will be contained in the stored procedure itself. Crystal Reports will just invoke the SPL with the appropriate arguments and it will do the queries in the DB and then just return the results in table form.
If you want to see the actual queries in the SPL you can connect to the DB Informix instance with something like Squirrel or AGS with uccxhruser, you can read the SPLs and see the actual commands. More info on this is in the HR Admin and Dveloper guide.
-Ryan
This post was made from the TSC at CiscoLive 2012!