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 2 Question 65 Discussion

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

The table "score" is defined as follows:

gid | score

-----+-------

1 | 70 1 |

60 2 | 100

3 | 80 3 |

50

The following query was executed. Select the number of rows in the result.

SELECT gid, max(score) FROM score GROUP BY gid HAVING max(score) > 60;

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Hyman
7 days ago
I'm not sure, but I think the answer might be C) 3 rows because there are 3 unique gid values with max score greater than 60.
upvoted 0 times
...
Tracey
8 days ago
I agree with Enola, because there are 2 rows where the max score is greater than 60.
upvoted 0 times
...
Enola
10 days ago
I think the answer is B) 2 rows.
upvoted 0 times
...
Tori
12 days ago
I'm not sure, but I think the answer might be C) 3 rows because there are 3 unique gid values with max score greater than 60.
upvoted 0 times
...
Annamaria
14 days ago
I agree with Gayla, because there are 2 rows where the max score is greater than 60.
upvoted 0 times
...
Gayla
22 days ago
I think the answer is B) 2 rows.
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