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:

Enola
1 days ago
I think the answer is B) 2 rows.
upvoted 0 times
...
Tori
3 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
5 days ago
I agree with Gayla, because there are 2 rows where the max score is greater than 60.
upvoted 0 times
...
Gayla
13 days ago
I think the answer is B) 2 rows.
upvoted 0 times
...

Save Cancel