good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^3: (OT) Exclusion selection on DBIby moritz (Cardinal) |
on Jan 25, 2008 at 14:14 UTC ( [id://664286]=note: print w/replies, xml ) | Need Help?? |
The additional requirement of the supermarket id just adds a WHERE clause WHERE supermarket in (1, 2).
And of course the supermarket ID has to appear in your SELECT list.
In Section
Seekers of Perl Wisdom
|
|