Crocdundee
Board Regular
- Joined
- May 10, 2010
- Messages
- 174
- Office Version
- 2013
- Platform
- Windows
Hi I made this query qith the following sql
SELECT RS.[Rcdate], RS.[Trk], RS.[Rn], RS.[Tab], RS.[Horse], RS.[APrice], RS.[CP]
FROM RS
WHERE (((RS.[Rcdate])=#11/20/2015#) AND ((RS.[APrice])<25))
ORDER BY RS.[Trk], RS.[Rn], RS.[CP] DESC;
I wish to filter the top 1 in [cp]
grouped by [rsdate], [trck], [rn]
any help here would be appreciative
Graham
and [aprice] stays same at <25
SELECT RS.[Rcdate], RS.[Trk], RS.[Rn], RS.[Tab], RS.[Horse], RS.[APrice], RS.[CP]
FROM RS
WHERE (((RS.[Rcdate])=#11/20/2015#) AND ((RS.[APrice])<25))
ORDER BY RS.[Trk], RS.[Rn], RS.[CP] DESC;
I wish to filter the top 1 in [cp]
grouped by [rsdate], [trck], [rn]
any help here would be appreciative
Graham
and [aprice] stays same at <25