Error writing file '/tmp/MYTJX4Lr' (Errcode: 28 "No space left on device")
select r.*, IF(COALESCE(r.hm, '') = '', '-', IF(r.hm = 'H', 'Masculino', 'Femenino')) AS genero, r.PKResponsable as idpersona, (select GROUP_CONCAT(DISTINCT trim(tp.ProfRespTipInst) ORDER BY trim(tp.ProfRespTipInst) DESC SEPARATOR ', ') from responsablesprofesionestipos rtp left join tiposprofresptiporg tp on tp.PKtpProfRespTipInst=rtp.FKtpProfRespTipInst where rtp.FKRespInst=r.PKResponsable) as ProfRespTipInst, (select GROUP_CONCAT(DISTINCT trim(s.seudonimo) ORDER BY trim(s.seudonimo) DESC SEPARATOR ', ') from seudonpersonas sr left join seudonimos s on (s.PKseudonimo=sr.FKseudonimo) where sr.FKpersona=r.PKResponsable) as seudonimo FROM `responsables` r where r.FKtpPersInst=1 group by r.PKResponsable order by r.nombre DESC limit 3030,30