nerdexam
PostgreSQL_CE

PGCES-02 · Question #126

The "sample" table consists of the following data. How many rows are returned by executing the following SQL statement? SELECT i FROM sample GROUP BY i; PostgreSQL CE PGCES-02 Exam

The correct answer is C. 3 rows. See the full explanation below for the reasoning.

Question

The "sample" table consists of the following data. How many rows are returned by executing the following SQL statement? SELECT i FROM sample GROUP BY i; PostgreSQL CE PGCES-02 Exam

Options

  • A1 row
  • B2 rows
  • C3 rows
  • D4 rows
  • E5 rows

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    10% (4)
  • C
    73% (30)
  • D
    12% (5)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full PGCES-02 Practice