Bird
0
0

Why might a view not reflect changes made to the underlying tables immediately?

hard📝 Conceptual Q10 of 15
SQL - Views
Why might a view not reflect changes made to the underlying tables immediately?
ABecause views require manual refresh after table changes
BBecause views store data separately from tables
CBecause some databases cache view results for performance
DBecause views only update when the database restarts
Step-by-Step Solution
Solution:
  1. Step 1: Understand view behavior

    Views are virtual and usually reflect current data, but some databases cache results.
  2. Step 2: Identify why changes might not show immediately

    Caching can delay view updates until cache expires or is refreshed.
  3. Final Answer:

    Because some databases cache view results for performance -> Option C
  4. Quick Check:

    View caching delays updates = Because some databases cache view results for performance [OK]
Quick Trick: Some DBs cache views, causing delayed data updates [OK]
Common Mistakes:
MISTAKES
  • Thinking views store data separately
  • Believing manual refresh is always needed
  • Assuming database restart is required

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SQL Quizzes