add constraint not null in sql code example
Example 1: how to add not null constraint in sql
ALTER TABLE table_name MODIFY column_name datatype NOT NULL;
Example 2: not null constraint
ID int(10) NOT NULL;
ALTER TABLE table_name MODIFY column_name datatype NOT NULL;
ID int(10) NOT NULL;