Based on the relationship of columns within a table, select the most suitable description that shows that column A is dependent on column B.
A. The value in column B is uniquely determined when a value in column A is selected.PostgreSQL can use an index to access a table. Select two incorrect statements about indexes.
A. An index is created by 'CREATE INDEX', and deleted by 'DROP INDEX'.A table and view are defined as follows:
CREATE TABLE item (id INT, name TEXT, description TEXT); CREATE VIEW item_simple AS SELECT id, name FROM item;
A set of SQL statements were executed in the order below. Select the most appropriate statement concerning the execution results.
BEGIN;
SELECT * FROM item_simple;
INSERT INTO item_simple VALUES (1, 'item_name_1'); UPDATE item_simple SET name = 'item_name_2' WHERE id = 1; DELETE FROM item_simple;
END;
A. An error is generated at the point the SELECT statement is executed.Select one false statement about the benefits of using database management systems from below.
A. You can separate the data storage method from the application.Select one correct statement about the createlang command.
A. It is a command for setting the locale for a database.What phenomenon occurs if PostgreSQL is used without performing VACUUM ? Select two appropriate descriptions from those below.
A. Performance is reduced.The tables "s1" and "s2" are defined below. The column "id" for tables "s1" and "s2" is of INTEGER type. The column "enable" for table "s1" is of BOOLEAN type, and the column "name" for table "s2" is of TEXT type. s1: id | enable ----+-------1 | t 2 | f s2: id | name ----+-----1 | post 2 | gre 3 | SQL The following SQL was executed. Select the correct number of rows in the result. SELECT * FROM s2 WHERE id IN (SELECT id FROM s1);
A. 1 rowSQL statements were executed in the following order: CREATE TABLE fmaster (id INTEGER PRIMARY KEY, name TEXT); CREATE TABLE ftrans (id INTEGER REFERENCES fmaster (id), stat INTEGER, date DATE); INSERT INTO
fmaster VALUES (1, 'itemA');
INSERT INTO ftrans VALUES (1, 1, CURRENT_DATE);
Select two SQL statements that will generate an error when executed next.
A. INSERT INTO ftrans VALUES (1, 1, CURRENT_DATE);I would like to set the default character encoding for the client to Unicode. Select the most appropriate configuration parameter in postgresql.conf from those below.
A. backend_encoding = UNICODEThe 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: 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.
A. 0 rowsNowadays, 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.