Machine-translated by Google. Questions are authored in English.
Top

Discussion

Using OQL, you may do which of the following?

  • A.Return an entire collection of elements including duplicates.
  • B.Return a collection of elements without duplicates.
  • C.Return a specific subset of elements using a given criteria.
  • D.All of the above.

Answer: D

Correct answer: All of the above.

OQL provides select for a filtered subset, select distinct for a collection without duplicates, and a plain selection that returns everything including duplicates. The parallel with SQL is deliberate, so that a query language familiar from the relational world carries over to objects.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.