Advertisements
Advertisements
Question
Which SQL command can change the cardinality of an existing relation?
Options
Insert
Delete
Both Insert & Delete
Drop
MCQ
Advertisements
Solution
Both Insert & Delete
Explanation:
Cardinality means the number of rows in a table.
INSERTadds new rows → increases cardinality.DELETEremoves rows → decreases cardinality.
Hence, both INSERT and DELETE change the table’s cardinality.
shaalaa.com
Is there an error in this question or solution?
