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 orderbyjtem {, 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 orderbyjtem {, orderbyjtem}*
Which statement is correct about the use of ORDER BY clauses?

A.
Only literals can be specified as an orderbyjtem.

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

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

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



Leave a Reply 0

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