Re: Simple select problem.

2001-09-10 Thread Paul DuBois
At 5:46 PM +0300 9/9/01, Eyal Rif wrote: >Hi, > >I have a table with the format of : > >char(20),int(7),char(32) > >the "Date char(20)" contents in actually a number(seconds since 1970) - > >I want to use a "select" query that will give the max value according to >number value of that column. > >s

Re: Simple select problem.

2001-09-10 Thread Gerald Clark
How about SELECT @last:=MAX(Date + 0) from stat; Eyal Rif wrote: > Hi, > > I have a table with the format of : > > char(20),int(7),char(32) > > the "Date char(20)" contents in actually a number(seconds since 1970) - > > I want to use a "select" query that will give the max value according t