Massimo Arnaudo wrote:
non riesco a capire perchè questa query non funziona:
mysql> SELECT id_agente FROM agente WHERE (agente.agente = new_tbl.agente); ERROR 1109: Unknown table 'new_tbl' in where clause mysql>
Qualche suggerimento?
Devi specificare anche new_tbl nella join, che diventa:
SELECT id_agente FROM agente,new_tbl WHERE agente.agente = new_tbl.agente; -- asettico [ http://www.rossomaltese.it/ ] GPG fingerprint [ BA20 8C8D 7712 9D9A 57F3 A96A A7BE 905C 1CB9 26BA ]
-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/IT/O d++(-) s:+>: a34 C++$ ULAVH*++$>++++ P+ L+>++++ E--- W++(-) N(++) o? K-? w(---) !O M@ V@ PS+@ PE- Y? PGP->++ t+++ 5? X++ R tv+ b+ DI(+) D++(---) G(-)>-- e>++++ h---() r++ y+++* ------END GEEK CODE BLOCK------
========----------
Archivio delle e-mail postate in lista //www.freelists.org/archives/lugge/
Prima di scrivere in m-list per favore leggi il regolamento http://www.lugge.net/index.php?mod=cosa_facciamo/gruppo_di_discussione
Modifica dell'account sulla lista LUGGe http://www.lugge.net/index.php?mod=cosa_facciamo/gruppo_di_discussione#list