Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 1z0-071 topic 1 question 146 discussion

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

Examine the description of the BOOKS table:



Examine these requirements:

1. Display book titles for books purchased before January 17, 2007 costing less than 500 or more than 1000.
2. Sort the titles by date of purchase, starting with the most recently purchased book.

Which two queries can be used? (Choose two.)

  • A.
  • B.
  • C.
  • D.
  • E.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
ArslanAltaf
2 weeks, 2 days ago
B&D can be eliminated straight away by looking at the ORDER BY AESC because the question states that the highest date should be first which means DESC should be used with the column PURCHASE_DATE Rule out A because of syntax error in OR operator usage C & D is correct
upvoted 1 times
ArslanAltaf
2 weeks, 2 days ago
Correction C & E is correct Answer
upvoted 1 times
...
...
Tarlann
1 month, 2 weeks ago
where (price < 500 or >1000) it is not correct. where (price <500 or price >1000) it is correct. CE correct answer
upvoted 1 times
...
yaya32
3 months, 2 weeks ago
Selected Answer: CE
CE is correct
upvoted 2 times
...
Mcromeo
5 months ago
Selected Answer: CE
A gives error because of > 1000
upvoted 1 times
...
lucemqy
5 months, 3 weeks ago
CE is correct A have incorrect syntax
upvoted 2 times
...
MooonLight
1 year ago
CE is correct. A - where condition should have 'price' as well for 1000 B - where condition 'between 500 and 1000' does not satisfy what is asked; 'order by' clause's default is ascending D - where condition 'price IN (500,1000)' and order by ASC is wrong
upvoted 2 times
...
Rik92
1 year ago
Selected Answer: CE
Price needs to be repeated after the OR statement, so C,E correct. A results in error
upvoted 1 times
...
kesammy9
1 year, 2 months ago
Selected Answer: CE
A results in an error and to get the most recent you need to order by desc
upvoted 1 times
...
jfc1
1 year, 2 months ago
Selected Answer: CE
A is not valid . CE is the correct
upvoted 2 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 ...