A table named "sample" is defined as below. Select two statements which will generate a constraint error. CREATE TABLE sample ( i INTEGER PRIMARY KEY, j INTEGER, CHECK ( i > 0 AND j < 0 ) );
Answer(s): A,D
The following is the result of executing the createlang command which is installed with PostgreSQL. $ createlang -U postgres --list mydb Procedural Languages Name | Trusted? ---------+----------plpgsql | yes Select two correct statements from below.
Answer(s): B,E
Given the following two table definitions, select one SQL statement which will cause an error. CREATE TABLE sample1 (id INTEGER, data TEXT); CREATE TABLE sample2 (id INTEGER);
Answer(s): E
Select two suitable statements regarding creating a new table.
Post your Comments and Discuss Postgresql PGCES-02 exam with other Community members:
Gabe commented on January 02, 2020 easy check out UNITED STATES upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the PGCES-02 content, but please register or login to continue.