exam questions

Exam 1z0-071 All Questions

View all questions & answers for the 1z0-071 exam

Exam 1z0-071 topic 1 question 148 discussion

Actual exam question from Oracle's 1z0-071
Question #: 148
Topic #: 1
[All 1z0-071 Questions]

Which three statements are true about an ORDER BY clause? (Choose three.)

  • A. By default an ORDER BY clause sorts rows in descending order
  • B. An ORDER BY clause will always precede a HAVING clause if both are used in the same top-level query.
  • C. An ORDER BY clause always sorts NULL values last.
  • D. By default an ORDER BY clause sorts rows in ascending order.
  • E. An ORDER BY clause can perform a binary sort.
  • F. An ORDER BY clause can perform a linguistic sort.
Show Suggested Answer Hide Answer
Suggested Answer: DEF 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
lucemqy
1 month, 3 weeks ago
DEF correct, Null is sorted last in ascending and first in descending by default
upvoted 2 times
...
zouve
6 months, 1 week ago
Selected Answer: DEF
The three statements that are true about an ORDER BY clause are: D. By default, an ORDER BY clause sorts rows in ascending order. E. An ORDER BY clause can perform a binary sort. F. An ORDER BY clause can perform a linguistic sort. An ORDER BY clause is used to sort the rows returned by a query in a specified order. By default, if no sort order is specified, the rows are sorted in ascending order. An ORDER BY clause can perform different types of sorts, including binary and linguistic sorts. A binary sort sorts the data based on the binary representation of the values being sorted. A linguistic sort sorts the data based on a specific linguistic definition, taking into account language-specific rules for character and string comparison.
upvoted 2 times
...
Darnun
9 months, 2 weeks ago
Selected Answer: DEF
Shouldn't it be DEF? A - FALSE; by default sorting is ASC B - FALSE; In both syntax and execution ORDER BY is always after HAVING C - FALSE; NULLS FIRST can be used to sort NULL values first D - TRUE; E, F - TRUE; parameter NLS_SORT can be changed between BINARY and linguistic_definition. https://docs.oracle.com/database/121/REFRN/GUID-04243CDA-43CA-4AF8-B59D-6FB841B307BE.htm#REFRN10127
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago