Subject | Re: Help: Multiple rows in singleton select |
---|---|
Author | mcrosman1957 |
Post date | 2003-04-24T14:37:04Z |
Thank you.
Best regards,
Marcelo.
--- In ib-support@yahoogroups.com, "Martijn Tonies" <m.tonies@u...>
wrote:
Best regards,
Marcelo.
--- In ib-support@yahoogroups.com, "Martijn Tonies" <m.tonies@u...>
wrote:
> Answered in public.interbase.general...Germany
>
>
> With regards,
>
> Martijn Tonies
> Database Workbench - the developer tool for InterBase & Firebird
> Upscene Productions
> http://www.upscene.com
>
> See you at the First European Firebird Conference in May in Fulda,
> http://www.firebird-conference.comselect"
>
> > Hi,
> >
> > I am using InterBase 6.0.2.
> >
> > I have a table MyTable with the following fields:
> > Number, NumDoc, AnswerA and AnswerB.
> >
> > I have tried to execute the following select instruction:
> >
> > Select Number from MyTable
> > where NumDoc <> (Select NumDoc from MyTable
> > where (AnswerA = 'Yes') or (AnswerB = 'Yes'));
> >
> > But I have get the error message "Multiple rows in singleton
> >NumDoc is
> > How can I solve this problem ?
> >
> > Problem.
> > =======
> > I have to select all Number values from the records in which
> > different from the NumDoc values of the records in which theAnswerA
> > or AnswerB values are equal to 'Yes'.