example3.c selects information from the titles table in the pubs2 database and prints it, illustrating binding of both aggregate and compute results.
This sample requires access to Adaptive Server that contains the pubs2 database.