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

PostgreSQL Exam PGCES-02 Topic 1 Question 42 Discussion

Actual exam question for PostgreSQL's PGCES-02 exam
Question #: 42
Topic #: 1
[All PGCES-02 Questions]

The "animal" table consists of the following data: Select the correct result returned by executing the following SQL statement: SELECT name FROM animal ORDER BY weight DESC LIMIT 2 OFFSET 1;

Show Suggested Answer Hide Answer
Suggested Answer: A, D

Contribute your Thoughts:

Daren
2 days ago
Nah, man, this is totally wrong. A syntax error? Come on, this is basic SQL stuff. I bet the person who wrote this question is a llama in disguise.
upvoted 0 times
...
Minna
9 days ago
Hold on, isn't OFFSET 1 going to skip the first record? I think this query will return the third and fourth heaviest animals instead.
upvoted 0 times
...
Lashunda
13 days ago
I'm pretty sure the query is valid. It should return the second and third heaviest animals in the 'animal' table, ordered by weight in descending order.
upvoted 0 times
...
Franklyn
21 days ago
I'm not sure, but I think the SQL statement will return the name of the heaviest animal.
upvoted 0 times
...
Sherman
22 days ago
I agree with German, the SQL statement will return the name of the second heaviest animal.
upvoted 0 times
...
German
23 days ago
I think the correct result will be the name of the second heaviest animal.
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