Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW Exam 1D0-541 Topic 8 Question 105 Discussion

Actual exam question for CIW's 1D0-541 exam
Question #: 105
Topic #: 8
[All 1D0-541 Questions]

Consider the Orders relation shown in the exhibit. Which of the following SQL statements

would return all complete tuples for order dates in 2002, arranged by amount from lowest to

highest?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Anabel
21 days ago
Haha, I can't believe they're still using the ancient Orders relation in these exams. I bet the real world has moved on to something more exciting by now!
upvoted 0 times
...
Justa
22 days ago
Hmm, I'm not sure about that. Shouldn't we be using the BETWEEN clause to select the date range instead of LIKE? I hope I don't mess this up on the exam.
upvoted 0 times
...
Helaine
26 days ago
I agree, D is the right choice. The LIKE operator with the wildcard '%' matches any 2-digit year that ends in '02'.
upvoted 0 times
...
Aileen
28 days ago
The correct answer is D. It selects all tuples from the Orders relation where the Order_Date is in 2002, and arranges them by Amount in ascending order.
upvoted 0 times
Cassandra
18 days ago
I think the correct answer is D.
upvoted 0 times
...
...
Nieves
2 months ago
But A specifies ordering by Amount, which is what the question asks for.
upvoted 0 times
...
Rosann
2 months ago
I disagree, I believe the answer is D.
upvoted 0 times
...
Nieves
2 months ago
I think the correct answer is A.
upvoted 0 times
...

Save Cancel