PostgreSQL_CE
PGCES-02 · Question #138
PGCES-02 Question #138: Real Exam Question with Answer & Explanation
Sign in or unlock PGCES-02 to reveal the answer and full explanation for question #138. The question stem and answer options stay visible for context.
Question
Select one incorrect statement concerning the following SQL statement. CREATE OR REPLACE VIEW sales_view AS SELECT * FROM sales_table ORDER BY sales_date DESC LIMIT 10;
Options
- ADefines the view called "sales_view".
- BReplaces "sales_view" if it already exists.
- CWhen you 'SELECT' the "sales_view", it displays the first 10 records from the "sales_table"
- DSome errors occur when "SELECT * FROM sales_table" is executed after the view is defined.
- EYou can confirm that the "sales_view" has been added by querying the view called "pg_views".
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.