It's hard to understand what the tables & relationships you are working with from your code. Could you perhaps create a reproduction scripts (http://ralphschindler.com/2010/02/18/the-anatomy-of-a-bug-issue-reproduction-script) that would help the community understand the tables, their relationships and what you expect the query to look like?

Thanks, -ralph

Hector Virgen wrote:
What does your query look like? Try echoing the select to examine it, or var_dump($select->__toString());

--
Hector


On Wed, Apr 7, 2010 at 7:04 AM, Vincenzo Di Biaggio <[email protected] <mailto:[email protected]>> wrote:

    Hi all,
    I have a problem with this code: http://codepad.org/FkHkUR6V

    Data output is replicated and I use distinct() method.

    Thanks!


Reply via email to