Come sono strutturate le tabelle amici e hobby??
Posta la struttura delle tabelle...

PS: prova ad usare nella query un DISTINCT