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
30 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
1 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
7 days ago
User 3: I agree, let's double-check our SQL statement before submitting.
upvoted 0 times
...
Myra
8 days ago
User 2: Yeah, that makes sense. Let's make sure we get this right for the exam.
upvoted 0 times
...
Glenna
9 days ago
User 1: I think you're right, we should use the BETWEEN clause for date ranges.
upvoted 0 times
...
...
Helaine
1 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
1 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
Cheryll
2 days ago
Yes, D selects all tuples from Orders in 2002 and arranges by Amount.
upvoted 0 times
...
Cassandra
27 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77