On 12/08/10 00:04 -0700, pobsteta wrote:
> Bonjour,
> 
> J'ai deux tables que je voudrais joindre pour réaliser une vue graph :
> la table cadastre et son id devrait être jointe au champ cadastre
> (many2one) de la table parcelle, autrement dit
> cadastre.id = parcelle.cadastre. Comment le réaliser dans la
> table_query ?

Il faut faire un "JOIN" SQL

http://www.postgresql.org/docs/8.3/static/tutorial-join.html

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgp32NwRIMoNY.pgp
Description: PGP signature

Répondre à