CBSE Class 12 Informatics Practices Question 41 of 79

MySQL SQL Revision Tour — Question 9

Back to all questions
9
Question

Question 9

Write a command to add a NOT NULL constraint on FEES column of a student table.

Answer
ALTER TABLE student
MODIFY COLUMN FEES INT NOT NULL;