In SQL, a view is:
A
A virtual table based on a query
Correct answer
B
A physical copy of a table on disk
C
An index that speeds up searches
D
A backup snapshot of the database
Correct answer
A. A virtual table based on a query
14 views
⚔️
Challenge a friend on Database Management Systems
Same MCQs, timed, live leaderboard. Send the link on WhatsApp – no sign-up needed.
Create challenge
Explanation
A view stores only its SELECT statement, and its rows are produced when it is queried. Views simplify complex joins and can restrict which columns users see.
Reference
Asked in: GATE CS, NTS, PPSC, FPSC
Doubts & discussionNot sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ
‹ Previous MCQ Which normal form requires every column to hold atomic values, with no repeating groups? Next MCQ › Which SQL join returns only the rows that have matching values in both tables?