Try:
SELECT Coach, [Dist ID],[Last Connect]
FROM [TableWIthNoName]
WHERE [Dist ID]=4823 and
[Last Connect] IN (SELECT TOP 1 [Last Connect] FROM [TableWithNoName] t WHERE t.Coach = [TableWithNoName].Coach ORDER BY [Last Connect]);
Duane Hookom
MS Access MVP
--- In MS_Access_Professionals@yahoogroups.com, "Terry Olsen" <terryomsn@...> wrote:
>
> Hi
> I have a table that has columns Coach, Dist ID, and Last Connect. Each Coach may have multiple rows, differing by Last Connect. I need to find the earliest [Last Connect] for each [Coach] that has [Dist ID] = 4823. I cannot seem to formulate the correct query syntax to get the needed result set.
> Any help would be greatly appreciated.
> Thanks,
> Terryomsn
>
__._,_.___
.
__,_._,___
Tidak ada komentar:
Posting Komentar