Subject | Re: [firebird-support] Re: intersect operation |
---|---|
Author | Helen Borrie |
Post date | 2004-07-22T12:28:34Z |
At 12:40 PM 22/07/2004 +0100, you wrote:
Look at Svein Erling's solution - that's the one you want - an inner self-join.
/heLen
>Nigel Weeks wrote:You're right - it was the wrong logic.
> > Students majoring in math AND CS:
> > select Student
> > from MajorsIN
> > where Major = 'math' AND Major = 'CS'
>
>I am confused - is this a Firebird specific SQL trick that I missed?
>FWICS the where clause should always fail - giving an empty result set.
Look at Svein Erling's solution - that's the one you want - an inner self-join.
/heLen