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
2 months 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
2 months 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
Brittani
1 months ago
User 3: I agree, let's double-check our SQL statement before submitting.
upvoted 0 times
...
Myra
1 months ago
User 2: Yeah, that makes sense. Let's make sure we get this right for the exam.
upvoted 0 times
...
Glenna
2 months ago
User 1: I think you're right, we should use the BETWEEN clause for date ranges.
upvoted 0 times
...
...
Helaine
2 months 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
2 months 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
Twana
1 months ago
That makes sense, thanks for clarifying.
upvoted 0 times
...
Cheryll
1 months ago
Yes, D selects all tuples from Orders in 2002 and arranges by Amount.
upvoted 0 times
...
Cassandra
2 months ago
I think the correct answer is D.
upvoted 0 times
...
...
Nieves
3 months ago
But A specifies ordering by Amount, which is what the question asks for.
upvoted 0 times
...
Rosann
3 months ago
I disagree, I believe the answer is D.
upvoted 0 times
...
Nieves
4 months ago
I think the correct answer is A.
upvoted 0 times
...

Save Cancel