English

Which SQL command can change the cardinality of an existing relation? - Computer Science (Python)

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.

  • INSERT adds new rows → increases cardinality.
  • DELETE removes rows → decreases cardinality.

Hence, both INSERT and DELETE change the table’s cardinality.

shaalaa.com
  Is there an error in this question or solution?
2025-2026 (March) Board Sample Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×