SELECT id
,strtotime("%d/%m/%Y %H:%M:%S", datetime(fecha,"unixepoch")) as fecha
,tipo
,mensaje
, "sesion: " || sesion || " " || fichero || ":" || linea || "nn" || descripcion as descripcion
FROM registros
SELECT id
,strtotime("%d/%m/%Y %H:%M:%S", datetime(fecha,"unixepoch")) as fecha
,tipo
,mensaje
, "sesion: " || sesion || " " || fichero || ":" || linea || "nn" || descripcion as descripcion
FROM registros