create table comment(
id int not null primary key,
content text not null,
regdate timestamp(6) not null,
writerId varchar(50) not null,
productId varchar(10) not null
);
insert into comment(id,content,regdate, writerId, productId)
values(1 ,'좋은 상품', '2023-12-31 23:59:59', '현지', 'P0001');
);
① yyyy-mm-dd hh:mm:ss: "2023-12-31 23:59:59"
② yyyymmddhhmmss: 20231231235959