Re: newby question about datetime fields

2001-11-02 Thread Tony
Try this: select * from my_table order by my_datetime ASC; select * from my_table order by my_datetime DESC; Cheers, T On Thursday 01 November 2001 06:15 am, brainheap wrote: > Hi ppl! > > I have a table with datetime type column in it. > > > when I make request "select * from

RE: newby question about datetime fields

2001-11-01 Thread Rick Emery
select * from my_table order by my_datetime DESC -Original Message- From: brainheap [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 5:16 AM To: MySQL mailing list Subject: newby question about datetime fields Hi ppl! I have a table with datetime type column in it. when

RE: newby question about datetime fields

2001-11-01 Thread Carsten H. Pedersen
> Hi ppl! > > I have a table with datetime type column in it. > > > when I make request "select * from my_table order by my_datetime" > > I get the normal sort i.e. first the oldest dates but I want to get > reverse sort to have most recent dates to be the first. > > How can I do this? http:

newby question about datetime fields

2001-11-01 Thread brainheap
Hi ppl! I have a table with datetime type column in it. when I make request "select * from my_table order by my_datetime" I get the normal sort i.e. first the oldest dates but I want to get reverse sort to have most recent dates to be the first. How can I do this? Thanks for any help :0) Al