Which statement is correct about the use of ORDER BY clauses?

The syntax of the ORDER BY clause is defined in the Java Persistence API as:

orderby_clause ::=ORDER BY orderby_item {, orderbyjtem}*
Which statement is correct about the use of ORDER BY clauses?

The syntax of the ORDER BY clause is defined in the Java Persistence API as:

orderby_clause ::=ORDER BY orderby_item {, orderbyjtem}*
Which statement is correct about the use of ORDER BY clauses?

A.
Only literals can be specified as an orderby_item.

B.
Fields or properties of any type can be specified as an orderby_item.

C.
The ordering must be specified if two or more orderby_item methods are provided.

D.
If two orderby_item methods are provided the left orderby_item has the higher precedence.



Leave a Reply 0

Your email address will not be published. Required fields are marked *