Come faccio in un select distinct a prendere anche i campi del primo record di ogni distinct?