Ciao. A grandi linee la query è qualcosa del genere
Poi rimuovi gli asterischi e seleziona solo i campi che ti servono.codice:select t1.*,t2.*,t3.*,t4.* from tabella1 as t1 left join tabella3 as t3 on t1.id_prodotto = t3.id_prodotto left join tabella2 as t2 on t2.id_categoria = t3.id_categoria left join tabella4 as t4 on t4.id_cliente = t2.id_cliente