Test Index

CBSE Class 12 Computer Science 2026 Paper Set 4 Get it on Google PlayDownload on the App Store

© examsnet.com
Question : 13 of 37
Marks: +1, -0
Which of the following SQL command can change the degree of the existing relation ?
Solution:  
Concept:
Degree of a relation = number of attributes (columns).
Explanation:
ALTER TABLE can add or drop columns (e.g. ALTER TABLE T ADD Age INT;), so it changes the degree.
DROP TABLE removes the whole table; the relation no longer exists.
UPDATE...SET changes values in existing rows (degree and cardinality unchanged).
DELETE removes rows, so it changes the cardinality, not the degree.
Answer:
Option B (ALTER TABLE)
© examsnet.com
Advertisements
Go to Question: