Per queste cose esiste la SELECT con JOIN delle due tabelle.
Select i campi che vuoi
from tab1
inner join tab2 ON tab1.id_commento = tab2.id_commento
where quel che ti pare
Per queste cose esiste la SELECT con JOIN delle due tabelle.
Select i campi che vuoi
from tab1
inner join tab2 ON tab1.id_commento = tab2.id_commento
where quel che ti pare
Il silenzio è spesso la cosa migliore. Pensa ... è gratis.