Subject | Re: SQL ORDER BY problem |
---|---|
Author | csswa |
Post date | 2002-07-26T07:12:15Z |
--- In ib-support@y..., Svein Erling Tysvær
<svein.erling.tysvaer@k...> wrote:
get my head around that! :-) A nice solution, SET!
Regards,
Andrew Ferguson
-- (did I say that out loud?)
<svein.erling.tysvaer@k...> wrote:
> Nice try Andrew, but you do not need any SP for this question.= 'X' AND
>
> SELECT * FROM TableA
> WHERE C1 = 'X'
> AND (C2 = 'Y' OR NOT EXISTS(SELECT 1 FROM TableA B WHERE B.C1
> B.C2='Y'))I'd rather suck a lemon while chewing on aluminium foil that try to
>
get my head around that! :-) A nice solution, SET!
Regards,
Andrew Ferguson
-- (did I say that out loud?)