PostgreSQL_CE
PGCES-02 · Question #43
PGCES-02 Question #43: Real Exam Question with Answer & Explanation
Sign in or unlock PGCES-02 to reveal the answer and full explanation for question #43. The question stem and answer options stay visible for context.
Question
Select two incorrect descriptions regarding the following SQL statements. CREATE TABLE cities ( name text, population float ); CREATE TABLE capitals ( state char(2) ) INHERITS (cities);
Options
- ADefines the tables called "cities" and "capitals".
- B"capitals" inherits "cities".
- CSearching "capitals" also searches rows in "cities".
- DThe columns "name" and "population" are also defined in "capitals".
- EThe second SQL statement results in an error, since the 'INHERITS' keyword is no longer
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.