SELECT *, FROM_UNIXTIME(`created_at`,"%Y-%m-%d %h:%i:%s") AS a
FROM `tb_backup`;
created_at is timestamp string row name created_at=1668049479 a=2022-11-10 08:34:39
you can use inside stored procedure
SELECT *, FROM_UNIXTIME(`created_at`,"%Y-%m-%d %h:%i:%s") AS a
FROM `tb_backup`;
created_at is timestamp string row name created_at=1668049479 a=2022-11-10 08:34:39
you can use inside stored procedure