On 17 Aug 2001, at 19:23, Bill Downall wrote: > Then your best bet is the view someone suggested, of > > CREATE VIEW lastdatetime (personid, lastDateTime) as + > select personid, max (datetime(transdate,transtime)) group by personid > Bill -- that was me <g>. What I'm trying to get is the transNum, that is from the same record as the memberid / max date, included. The speed of the above is not too big an issue as there would rarely be more than a few hundred records. On my 500mhz machine 300 records return instantly. Thanks, Ben
- Select / Group by Ben Petersen
- Re: Select / Group by Lawrence Lustig
- Re: Select / Group by Ben Petersen
- Re: Select / Group by Bill Downall
- Re: Select / Group by Ben Petersen
- Re: Select / Group by Tom Grimshaw
- Re: Select / Group by Ben Petersen
- Re: Select / Group by Bill Downall
- Re: Select / Group by Ben Petersen
- Re: Select / Group by Tom Grimshaw
- Re: Select / Group by Ben Petersen
- RE: Re: Select / Group by Albert Berry
- Re: Re: Select / Group by Lawrence Lustig
- Re: Select / Group by Ben Petersen
- Re: Select / Group by Lawrence Lustig
- Re: Select / Group by Ben Petersen
