There is a table "tb1" that has a column "c1" defined as type TEXT. The following SQL is executed while client "A" is connected.
BEGIN;
LOCK TABLE tb1 IN ACCESS EXCLUSIVE MODE; SELECT * FROM tb1; While the above 'SELECT' statement is being executed, client "B" connects to the same database and executes the following SQL.
Select two correct statements describing the behavior of PostgreSQL. INSERT INTO tb1 (c1) VALUES ('new line');
Note: the default transaction isolation level is set to "read committed".
A. The process for client "B" is blocked until the current connection for client "A" is finished.Select two incorrect statements regarding large objects.
A. A large object is generated by 'CREATE LARGE OBJECT'.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;
A. 1 rowSelect one incorrect statement about the command shown below. Note: $ is the command prompt. $ dropuser -U admin foo A. If there is a database owned by foo, an error will occur.
B. If admin is not the owner of foo, an error will occur.Select two incorrect statements about the Point-In-Time Recovery (PITR) from below.
A. This is a backup method integrating a physical backup and a transaction log (WAL).Select the correct SQL statement which concatenates strings 'ABC' and 'abc' to form 'ABCabc'.
A. SELECT 'ABC' . 'abc';Select the most appropriate statement about the initdb command.
A. It can not be executed by an OS administrator-level user (root user).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 | [email protected] | 1 3 | [email protected] | 2 4 | [email protected] | 2 Three SQL statements were executed in the following order: INSERT INTO custom SELECT max(id) + 1, '[email protected]', 4 FROM custom; UPDATE custom SET introducer = 999 WHERE email = '[email protected]'; DELETE FROM custom WHERE introducer NOT IN (SELECT id FROM custom); Select the number of rows in the "custom" table after the execution.
A. 0 rowsSelect two suitable statements regarding the data types of PostgreSQL.
A. One field can handle up to 1GB of data.I would like to enable all users to SELECT the "item" table. Select the most appropriate SQL statement from below.
A. GRANT public SELECT ON item;Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only PostgreSQL-CE exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PGCES-02 exam preparations and PostgreSQL-CE certification application, do not hesitate to visit our Vcedump.com to find your solutions here.