Subject | Re: [firebird-support] Simple Query? |
---|---|
Author | Svein Erling Tysvaer |
Post date | 2003-06-18T10:36:59Z |
> I think that SP is a simple and fast solution. Helen's query may beWell, then what about
>a bit slow under some circumstances.
"select j.Employee, j.Job, j.Salary, j.EffDate from jobhist j
where NOT EXISTS(SELECT * from jobhist k
where j.EffDate < k.Effdate
and k.Employee = j.Employee)"
Will that also be slow?
Set