Ver originalSELECT XTRA0, memberNameFROM g_members INNER JOIN g_buddies ON g_members.ID = g_buddies.ID_USUARIOINNER JOIN g_mensajes ON g_members.AMIG_DE_QUIEN = g_mensajes.ID_MEMBERWHERE g_members.memberName = 'Juan'