The CREATE VIEW statement defines a virtual table that shows data from one or more tables based on a SELECT query.
Step 2: Compare options with the purpose
Only Creates a virtual table based on a SELECT query describes creating a virtual table from a SELECT query. Other options describe different SQL commands.
Final Answer:
Creates a virtual table based on a SELECT query -> Option B
Quick Check:
CREATE VIEW purpose = virtual table [OK]
Quick Trick:CREATE VIEW makes a virtual table from a SELECT query [OK]
Common Mistakes:
MISTAKES
Confusing CREATE VIEW with CREATE TABLE
Thinking it modifies data
Assuming it deletes tables
Master "Views" in SQL
9 interactive learning modes - each teaches the same concept differently