Re: Implementing Equi-Joins
From: Marko Kind <kind.marko_at_ems.guj.de>
Date: 2000/03/15
Message-ID: <38CF6B38.66CEF82_at_ems.guj.de>#1/1
Date: 2000/03/15
Message-ID: <38CF6B38.66CEF82_at_ems.guj.de>#1/1
Joachim Pimiskern wrote:
> Hallo Marko,
>
> > UPDATE %hash1 SET $hash1{foo}= $hash2{bar} WHERE $hash1{boo}=
> >$hash2{far}
>
> your should take a look at foreach, keys and values
>
> Regards,
> Joachim
Hi, Joachim,
that's what I've done to implement a simple inner join between two tables, no problems with that. The fun starts as soon as more tables/auto joins/functions get involved. I guess without a good parser and some knowledge about the relational data model you will need loads of "foreach, keys and values".
Regards,
Marko
Received on Wed Mar 15 2000 - 00:00:00 CET