CREATE TABLE pegawai (idpegawai char (6) not null default ' ',
namadepan varchar (20) default null,
namabelakang varchar (25) not null default ' ',
email varchar (25) not null default ' ',
telepon varchar (20) default null,
tglkontrak date not null default ' ');
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''not null')' at line 6
but I want results like this, can you help me? enter image description here