pablocattaneo
12/4/2018 - 11:12 AM

How to make a columun required in MySql

CREATE TABLE table_name
  (
    column_name_1 VARCHAR(20) NOT NULL DEFAULT 'unnamed',
    column_name_2 INT NOT NULL DEFAULT 99
  );