nerdexam
PostgreSQL_CE

PGCES-02 · Question #140

PGCES-02 Question #140: Real Exam Question with Answer & Explanation

Sign in or unlock PGCES-02 to reveal the answer and full explanation for question #140. The question stem and answer options stay visible for context.

Question

Table t1 is defined as follows: CREATE TABLE t1 (value VARCHAR(5)); A set of SQL statements were executed in the following order. Select the number of rows that table "t1" has after execution. BEGIN; INSERT INTO t1 VALUES ('A'); SAVEPOINT sp; INSERT INTO t1 VALUES ('B'); ROLLBACK TO sp; INSERT INTO t1 VALUES ('C'); COMMIT;

Options

  • A1 row
  • B2 rows
  • C3 rows
  • D4 rows
  • E0 rows

Unlock PGCES-02 to see the answer

You've previewed enough free PGCES-02 questions. Unlock PGCES-02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PGCES-02 Practice