la qry

Codice PHP:
$delodr="DELETE from odr t1,speodr t2,epal t3 where t1.ido= $cod OR t2.ido=$cod OR t3.ido=$cod"
non funziona ... non elimina nulla da nessuna tabella...

credo che serva un join tra 3 tabelle.... ma come si fà???