select e.id as imid, concat(day(e.fecha)," de ",m.nombre," ", year(e.fecha)) as imdate, e.nombre as imname, e.correo as imail, e.texto as immsg from entrada as e inner join vuelo.mes as m on m.id=month(e.fecha) where e.id= ? ; #imid