MySQL Forums
Forum List  »  Newbie

First and Last
Posted by: M artin Prohn
Date: August 20, 2004 10:23AM

Hi there,

I have a little problem. I have data in my db i want to collect with functions like Max and Min. I also Need First and Last (as in MS Access) which gives me the first and the last Element in the Collection.
The Access Query is

"Select First(data), Last(data), Max(data), Min(data), Date
From Table
Order By Date, Time
Group By Date"

I'm very new in MySQL. Does anybody have a idea what the mysql-query of this is?

Martin Prohn

Options: ReplyQuote

Written By
First and Last
August 20, 2004 10:23AM
August 31, 2004 04:51AM
August 31, 2004 05:19AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.