Parli di sintassi SQL???
Cosa intendi con:
from tab1, tab2, tab3 where cond1 = cond2...