e fare una select del tipo

select cognome,nome from tabella_utenti where login
in (select select distinct utente from tabella_prodotti with (nolock)

?