Re: [PHP-DB] Query select value on MAX Date

2006-02-25 Thread Neil Smith [MVP, Digital media]
'> Subject: FW: [PHP-DB] Query select value on MAX Date Dear All, Sorry, I wrote the wrong result. You've posted 3x with different results so it's too confusing to work out what you *want* to get. However I woudl write that query like so : SELECT MAX(Date) as NewestDate

FW: [PHP-DB] Query select value on MAX Date

2006-02-24 Thread Nur_Adman
& Regards, Anita From: Adman, Nur anita Sent: Saturday, February 25, 2006 6:05 AM To: 'php-db@lists.php.net' Subject: RE: [PHP-DB] Query select value on MAX Date Dear All, I have table like this : Id | Category |

RE: [PHP-DB] Query select value on MAX Date

2006-02-24 Thread Nur_Adman
Dear All, I have table like this : Id | Category | Date| Value 1 | A | 2005-02-21 | 2000 2 | A | 2004-01-21 | 3000 3 | B | 2006-01-2