OQL is a database query language(related to ODMG) that is based
on SQL and
supports the adding, retrieving, querying, and invocation of
objects. OQL is a version of the Structured Query Language. A
object query language that supports complex data types such as
multimedia, spatial, compound documents, etc., that are stored as
objects. Standard SQL queries can still be used, and the OQL server
process converts the objects into relational views. Sanjay