SELECT f.*,a.razon_social as nombre FROM facturas f LEFT OUTER JOIN aseguradoras a ON f.aseguradora_id=a.id where f.razon_social LIKE '%%'