Select ID as IDAllegato, Allegato, Descrizione, IDTipoAllegato, LinkMedia, DownloadMedia, (Select descrizione from Eventi_Tipo_Allegato where id=Eventi_Allegati.IDTipoAllegato) AS TipoAllegato from Eventi_Allegati where idevento=242 Order by Ordinamento