Object Query Language
OQL queries can be executed from within C++ ODL/OML programs in one of the following
ways:
n using the query member function of the d_Collection class;
n using the d_OQL_Query interface.
As an example of the first method, to obtain the set of sales staff (wellPaidStaff) with a salary
greater than £30,000, we would write: