PostgreSQL PGCES-02

Page:    1 / 29   
Total 145 questions | Updated On: Apr 25, 2024
Question 1

The table 'custom' is defined below. The 'id' column and 'introducer' column are of
INTEGER type, and the 'email' column is of TEXT type.
id | email | introducer ----+-- ---------------+-----------2 |
Three SQL statements were executed in the following order:
UPDATE custom SET email = '' FROM custom c WHERE
custom.introducer = c.id; UPDATE custom SET introducer = NULL
WHERE introducer NOT IN (SELECT id FROM custom); DELETE
FROM custom WHERE id = 2 OR introducer = 2; Select the number of rows in the 'custom' table after the execution.


Answer: A
Question 2

Select two SQL statements which abort a transaction.


Answer: B,D
Question 3

Select an appropriate command to check the PostgreSQL version in psql.


Answer: C
Question 4

Select an incorrect statement regarding the following SQL statement. Note that 'user_view' is a view. CREATE OR REPLACE RULE rule_1 AS ON UPDATE TO user_view DO INSTEAD NOTHING;


Answer: D
Question 5

Select one incorrect statement from the below about a database cluster.


Answer: C
Page:    1 / 29   
Total 145 questions | Updated On: Apr 25, 2024

Quickly grab our PGCES-02 product now and kickstart your exam preparation today!

Name: CE 8 Silver
Exam Code: PGCES-02
Certification: PostgreSQL Certified Engineer
Vendor: PostgreSQL
Total Questions: 145
Last Updated: Apr 25, 2024