Bird
0
0

Which statement about views in PostgreSQL is TRUE?

hard📝 Conceptual Q10 of 15
PostgreSQL - Views and Materialized Views
Which statement about views in PostgreSQL is TRUE?
AViews do not store data physically and always reflect current underlying table data.
BViews store data physically and need manual updates to reflect changes.
CViews can be indexed directly to improve performance.
DViews cannot be used in JOIN operations.
Step-by-Step Solution
Solution:
  1. Step 1: Recall view behavior

    Views are virtual tables that do not store data physically but show current data from underlying tables.
  2. Step 2: Evaluate each option

    Views do not store data physically and always reflect current underlying table data. correctly states this. Options A, B, and C are false because views can be used in JOINs, do not store data physically, and cannot be indexed directly.
  3. Final Answer:

    Views do not store data physically and always reflect current underlying table data. -> Option A
  4. Quick Check:

    Views are virtual and reflect live data [OK]
Quick Trick: Views show live data, no physical storage [OK]
Common Mistakes:
  • Thinking views store data physically
  • Believing views can be indexed directly
  • Assuming views cannot be joined

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PostgreSQL Quizzes