- prestiti_dvd
-> id_dvd
-> id_utente
-> inizio_prestito

- dvd
-> id_dvd
-> dvd_titolo

- utenti
-> id_utente
-> nome
-> cognome
Codice PHP:
select from prestiti_dvd  
left join dvd on prestiti_dvd
.id_dvd dvd.id_dvd 
left join utenti on prestiti_dvd
.id_utente utenti.id_utente 
where utenti
.id_utente ""