encyclopegia.org

Object Query Language

Object Query Language (OQL) is a query language standard for object-oriented databases modeled after SQL and developed by the Object Data Management Group (ODMG). Because of its overall complexity the complete OQL standard has not yet been fully implemented in any software. The OQL standard influenced the design of later query languages such as JDOQL and EJB QL, though none are considered to be any version of OQL.

Object Query Language (OQL) is a query language standard for object-oriented databases modeled after SQL and developed by the Object Data Management Group (ODMG). Because of its overall complexity the complete OQL standard has not yet been fully implemented in any software. The OQL standard influenced the design of later query languages such as JDOQL and EJB QL, though none are considered to be any version of OQL. ==General rules== The following rules apply to OQL statements: All complete statements must be terminated by a semi-colon. A list of entries in OQL is usually separated by commas but not terminated by a comma. Strings of text are enclosed by matching quotation marks. ==Examples== ===Simple query=== The following example illustrates how one might retrieve the CPU-speed of all PCs with more than 64MB of RAM from a fictional PC database: SELECT pc.cpuspeed FROM PCs pc WHERE pc.ram > 64; ===Query with grouping and aggregation=== The following example illustrates how one might retrieve the average amount of RAM on a PC, grouped by manufacturer: SELECT manufacturer, AVG(SELECT part.pc.ram FROM partition part) FROM PCs pc GROUP BY manufacturer: pc.manufacturer; Note the use of the keyword partition , as opposed to aggregation in traditional SQL. ==See also== Object Data Management Group (ODMG) Object Definition Language ==References==

References

  1. books.google.com . retrieved 2026-11-19 source revision 1329628224 · retrieved 2026-11-18 · rev 1329628224
    Cite this reference

    MLA "books.google.com . retrieved 2026-11-19 source revision 1329628224." books. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1329628224. Accessed 24 November 2026.

    Chicago "books.google.com . retrieved 2026-11-19 source revision 1329628224." books. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1329628224.

    APA books. (2026). books.google.com . retrieved 2026-11-19 source revision 1329628224. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1329628224

Cite this article

MLA

"Object Query Language." encyclopegia.org, 2025, https://encyclopegia.org/wiki/object-query-language. Accessed 24 November 2026.

Chicago

"Object Query Language." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/object-query-language.

APA

encyclopegia.org. (2025). Object Query Language. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/object-query-language

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Digital Object Identifier

article · references available

Electronic Object Identifier

article · references available

trans-Neptunian object

stub · references available

Messier object

stub · references available

official language

stub · references available

pan-Slavic language

stub · references available

Hawaiʻi Sign Language

stub · references available

Taiwanese Sign Language

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1329628224 · 0.5 · snapshot enwiki-001329628224

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.