exam questions

Exam 1z0-082 All Questions

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

Exam 1z0-082 topic 1 question 93 discussion

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

Examine this SQL statement:
SELECT cust_id, cust_last_name `Last Name`

FROM customers -

WHERE country_id = 10 -

UNION -
SELECT cust_id CUST_NO, cust_last_name

FROM customers -

WHERE country_id = 30 -
Identify three ORDER BY clauses, any one of which can complete the query successfully. (Choose three.)

  • A. ORDER BY ג€Last Nameג€
  • B. ORDER BY 2, 1
  • C. ORDER BY 2, cust_id
  • D. ORDER BY CUST_NO
  • E. ORDER BY ג€CUST_NOג€
Show Suggested Answer Hide Answer
Suggested Answer: ABC 🗳️

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
escoletsgo1
Highly Voted 3 years, 5 months ago
ABC You cant sort by CUST_NO, it is not in the first query.
upvoted 17 times
Ekos
3 years, 1 month ago
yes, agree
upvoted 2 times
...
...
Mandar79
Highly Voted 3 years, 4 months ago
ABC is correct, you cannot sort if cust_no is not present in the first select query
upvoted 6 times
...
musafir
Most Recent 6 months, 1 week ago
Selected Answer: ABC
ABC correct
upvoted 1 times
...
Wh0au
1 year, 3 months ago
corret answer is BCD!! why choice the ABC??
upvoted 1 times
...
saad3577
1 year, 4 months ago
A is correct regarding oracle documentation : The alias can be used in the order_by_clause but not other clauses in the query.
upvoted 1 times
...
LeandroHPN
1 year, 7 months ago
Selected Answer: ABC
A, B, C is correct.
upvoted 1 times
...
algerianphoenix
1 year, 8 months ago
BCD, correct answer by test
upvoted 2 times
...
[Removed]
2 years, 4 months ago
A, B, C (In union the first select statement must have the columns specified to make the usage of the order by clause)
upvoted 1 times
...
BananaSlug
3 years, 5 months ago
B C D is correct
upvoted 3 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