Subject | Re: [firebird-support] last of the SQL |
---|---|
Author | Mark Rotteveel |
Post date | 2009-09-30T14:51:21Z |
Ismael L. Donis Garc?a wrote:
an employee. Since there is no ordering in SQL what you want is not
directly possible with plain SQL. You will need to add an ordering
yourself (eg by adding a date column, or another indication of order or
history).
--
Mark Rotteveel
> What show substitutes the show last of the SQL?You are not being very clear, but I think you want the latest address of
>
> Example: select staff.name, last(staff.address) as address from staff group
> by staff.name order by staff.name
an employee. Since there is no ordering in SQL what you want is not
directly possible with plain SQL. You will need to add an ordering
yourself (eg by adding a date column, or another indication of order or
history).
--
Mark Rotteveel