Subject | Re: How to optimize this query |
---|---|
Author | Christian Kaufmann |
Post date | 2004-05-25T19:28:33Z |
Hi Alexandre,
ATHLETE is read. Now the fastest time depends on different other
fields:
T_EVENT.STYLEID, T_SESSION.COURSE, T_SESSION.STARTDATE
so I don't think, that this will give correct results.
cu Christian
> Have you tried this kind of query ?T_ATHLETID = A.T_ATHLETID)
> where
> and R.SWINTIME = (select min(SWINTIME) from t_RESULT where
> order byIf I understand that correctly, only the absolute fastest time of a
> R.SWIMTIME
ATHLETE is read. Now the fastest time depends on different other
fields:
T_EVENT.STYLEID, T_SESSION.COURSE, T_SESSION.STARTDATE
so I don't think, that this will give correct results.
cu Christian