Unfortunately that SQL statement won't work with Sybase - specifically the
syntax is not supported.select ... from (select ...) alias
Usually the same thing can be achieved with temporary tables (which is what the above will do under the covers anyway), or with some interesting GROUP BY and HAVING clauses.
Michael
In reply to Re: Re: Searching (sybase) Database and SQL help (was: Neophyte needs help.)
by mpeppler
in thread Searching (sybase) Database and SQL help (was: Neophyte needs help.)
by cjacksonjr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |