Mysql – Need clarity of UNIQUE and DEFAULT Constraints in SQL
So I just started learning SQL online and while learning about constraints, below example was given for using DEFAULT constraint: CREATE TABLE persons( ID INT NULL DEFAULT 100, f_name VARCHAR(25), l_name VCARCHAR(25), UNIQUE(ID) ); My question is, if ID is…