Subject | Re: [ib-support] Searching for last record |
---|---|
Author | Andrew Guts |
Post date | 2002-06-18T13:13:14Z |
Andrew Guts wrote:
"Error: multiple rows in singleton select"
So "max()" could return multiple rows?. How nice.
Andrew
>update catalogueBy the way it's a surprise:
> set last_location =
> (select location from transfers x where x.catalog_id = catalogue.id
>and x.id =
> (select max(id) from transfers cx where cx.catalog_id = x.catalog_id))
>
>
>
"Error: multiple rows in singleton select"
So "max()" could return multiple rows?. How nice.
Andrew