CBSE Class 12 Informatics Practices Question 24 of 79

MySQL SQL Revision Tour — Question 17

Back to all questions
17
Question

Question 14

Add a constraint (NN-Grade) in table Empl (given before assignment) that declares column Grade not null.

Answer
ALTER TABLE Empl
ADD CONSTRAINT NN_Grade 
(Grade NOT NULL) ;