ho risolto utilizzando distinct e sono risucito ad inserire tutto nel select!!!
perfetto!

grazie e tutti